Mange / roadie

Compare f8cd7d9 ... +2 ... eff6fe7

Coverage Reach
spec/lib/roadie/document_spec.rb spec/lib/roadie/inliner_spec.rb spec/lib/roadie/asset_scanner_spec.rb spec/lib/roadie/net_http_provider_spec.rb spec/lib/roadie/url_generator_spec.rb spec/lib/roadie/provider_list_spec.rb spec/lib/roadie/url_rewriter_spec.rb spec/lib/roadie/filesystem_provider_spec.rb spec/lib/roadie/markup_improver_spec.rb spec/lib/roadie/stylesheet_spec.rb spec/lib/roadie/cached_provider_spec.rb spec/lib/roadie/style_property_spec.rb spec/lib/roadie/selector_spec.rb spec/lib/roadie/style_block_spec.rb spec/lib/roadie/path_rewriter_provider_spec.rb spec/lib/roadie/style_attribute_builder_spec.rb spec/lib/roadie/utils_spec.rb spec/lib/roadie/test_provider_spec.rb spec/lib/roadie/null_provider_spec.rb spec/lib/roadie/css_not_found_spec.rb spec/lib/roadie/deduplicator_spec.rb spec/lib/roadie/null_url_rewriter_spec.rb spec/integration_spec.rb spec/support/have_styling_matcher.rb spec/support/have_attribute_matcher.rb spec/support/have_node_matcher.rb spec/support/test_provider.rb spec/support/have_xpath_matcher.rb spec/support/have_selector_matcher.rb spec/shared_examples/url_rewriter.rb spec/shared_examples/asset_provider.rb lib/roadie/inliner.rb lib/roadie/document.rb lib/roadie/url_generator.rb lib/roadie/net_http_provider.rb lib/roadie/markup_improver.rb lib/roadie/errors.rb lib/roadie/rspec/asset_provider.rb lib/roadie/rspec/cache_store.rb lib/roadie/asset_scanner.rb lib/roadie/stylesheet.rb lib/roadie/provider_list.rb lib/roadie/selector.rb lib/roadie/style_property.rb lib/roadie/deduplicator.rb lib/roadie/url_rewriter.rb lib/roadie/filesystem_provider.rb lib/roadie/style_block.rb lib/roadie/cached_provider.rb lib/roadie/path_rewriter_provider.rb lib/roadie/utils.rb lib/roadie/style_attribute_builder.rb lib/roadie/null_provider.rb lib/roadie/null_url_rewriter.rb lib/roadie/asset_provider.rb lib/roadie/rspec.rb lib/roadie.rb

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.


@@ -60,9 +60,9 @@
Loading
60 60
    # Redundant method argument is to keep API compatability without major version bump.
61 61
    # TODO: Remove argument on version 4.0.
62 62
    def build_message(extra_message = @extra_message)
63 -
      message = %(Could not find stylesheet "#{css_name}")
64 -
      message += ": #{extra_message}" if extra_message
65 -
      message += "\nUsed provider:\n#{provider}" if provider
63 +
      message = +%(Could not find stylesheet "#{css_name}")
64 +
      message << ": #{extra_message}" if extra_message
65 +
      message << "\nUsed provider:\n#{provider}" if provider
66 66
      message
67 67
    end
68 68
  end
@@ -77,9 +77,9 @@
Loading
77 77
78 78
    private
79 79
    def build_message(extra_message)
80 -
      message = %(Could not find stylesheet "#{css_name}": #{extra_message}\nUsed providers:\n)
80 +
      message = +%(Could not find stylesheet "#{css_name}": #{extra_message}\nUsed providers:\n)
81 81
      each_error_row(errors) do |row|
82 -
        message += "\t" + row + "\n"
82 +
        message << "\t" << row << "\n"
83 83
      end
84 84
      message
85 85
    end

@@ -1,4 +1,3 @@
Loading
1 -
# encoding: UTF-8
2 1
# frozen_string_literal: true
3 2
4 3
require 'spec_helper'

@@ -1,4 +1,3 @@
Loading
1 -
# encoding: UTF-8
2 1
# frozen_string_literal: true
3 2
4 3
require 'spec_helper'

@@ -1,4 +1,3 @@
Loading
1 -
# encoding: UTF-8
2 1
# frozen_string_literal: true
3 2
4 3
require 'spec_helper'

@@ -59,7 +59,7 @@
Loading
59 59
    # Append additional CSS to the document's internal stylesheet.
60 60
    # @param [String] new_css
61 61
    def add_css(new_css)
62 -
      @css += "\n\n" + new_css
62 +
      @css << "\n\n" << new_css
63 63
    end
64 64
65 65
    # Transform the input HTML as a full document and returns the processed

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
lib 99.17%
spec 97.29%
Project Totals (57 files) 97.98%
Loading