commit rubygem-rails-dom-testing for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rails-dom-testing for openSUSE:Factory checked in at 2017-06-08 15:01:29 Comparing /work/SRC/openSUSE:Factory/rubygem-rails-dom-testing (Old) and /work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new (New) Package is "rubygem-rails-dom-testing" Thu Jun 8 15:01:29 2017 rev:7 rq:497704 version:2.0.3 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rails-dom-testing/rubygem-rails-dom-testing.changes 2017-01-15 11:18:47.344361868 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new/rubygem-rails-dom-testing.changes 2017-06-08 15:01:30.851631290 +0200 @@ -1,0 +2,6 @@ +Tue May 23 10:13:43 UTC 2017 - co...@suse.com + +- updated to version 2.0.3 + no changelog found + +--- Old: rails-dom-testing-2.0.2.gem New: rails-dom-testing-2.0.3.gem Other differences: -- ++ rubygem-rails-dom-testing.spec ++ --- /var/tmp/diff_new_pack.6d0r5C/_old 2017-06-08 15:01:31.415551703 +0200 +++ /var/tmp/diff_new_pack.6d0r5C/_new 2017-06-08 15:01:31.423550575 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rails-dom-testing # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-rails-dom-testing -Version:2.0.2 +Version:2.0.3 Release:0 %define mod_name rails-dom-testing %define mod_full_name %{mod_name}-%{version} ++ rails-dom-testing-2.0.2.gem -> rails-dom-testing-2.0.3.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/dom/testing/version.rb new/lib/rails/dom/testing/version.rb --- old/lib/rails/dom/testing/version.rb2016-12-27 14:20:00.0 +0100 +++ new/lib/rails/dom/testing/version.rb2017-05-10 18:34:51.0 +0200 @@ -1,7 +1,7 @@ module Rails module Dom module Testing - VERSION = "2.0.2" + VERSION = "2.0.3" end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-12-27 14:20:00.0 +0100 +++ new/metadata2017-05-10 18:34:51.0 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: rails-dom-testing version: !ruby/object:Gem::Version - version: 2.0.2 + version: 2.0.3 platform: ruby authors: - Rafael Mendonça França @@ -9,20 +9,20 @@ autorequire: bindir: bin cert_chain: [] -date: 2016-12-27 00:00:00.0 Z +date: 2017-05-10 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: nokogiri requirement: !ruby/object:Gem::Requirement requirements: -- - "~>" +- - ">=" - !ruby/object:Gem::Version version: '1.6' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: -- - "~>" +- - ">=" - !ruby/object:Gem::Version version: '1.6' - !ruby/object:Gem::Dependency @@ -32,9 +32,6 @@ - - ">=" - !ruby/object:Gem::Version version: 4.2.0 -- - "<" - - !ruby/object:Gem::Version -version: '6.0' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement @@ -42,21 +39,18 @@ - - ">=" - !ruby/object:Gem::Version version: 4.2.0 -- - "<" - - !ruby/object:Gem::Version -version: '6.0' - !ruby/object:Gem::Dependency name: bundler requirement: !ruby/object:Gem::Requirement requirements: -- - "~>" +- - ">=" - !ruby/object:Gem::Version version: '1.3' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: -- - "~>" +- - ">=" - !ruby/object:Gem::Version version: '1.3' - !ruby/object:Gem::Dependency
commit rubygem-rails-dom-testing for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rails-dom-testing for openSUSE:Factory checked in at 2016-06-12 18:54:29 Comparing /work/SRC/openSUSE:Factory/rubygem-rails-dom-testing (Old) and /work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new (New) Package is "rubygem-rails-dom-testing" Changes: --- /work/SRC/openSUSE:Factory/rubygem-rails-dom-testing/rubygem-rails-dom-testing.changes 2016-05-13 09:23:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new/rubygem-rails-dom-testing.changes 2016-06-12 18:54:30.0 +0200 @@ -1,0 +2,6 @@ +Thu Jun 2 04:32:36 UTC 2016 - co...@suse.com + +- updated to version 2.0.1 + no changelog found + +--- Old: rails-dom-testing-2.0.0.gem New: rails-dom-testing-2.0.1.gem Other differences: -- ++ rubygem-rails-dom-testing.spec ++ --- /var/tmp/diff_new_pack.DOz6p8/_old 2016-06-12 18:54:31.0 +0200 +++ /var/tmp/diff_new_pack.DOz6p8/_new 2016-06-12 18:54:31.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-rails-dom-testing -Version:2.0.0 +Version:2.0.1 Release:0 %define mod_name rails-dom-testing %define mod_full_name %{mod_name}-%{version} ++ rails-dom-testing-2.0.0.gem -> rails-dom-testing-2.0.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-05-08 20:52:32.0 +0200 +++ new/README.md 2016-06-01 11:55:37.0 +0200 @@ -5,13 +5,9 @@ Elements are asserted via `assert_select`, `assert_select_encoded`, `assert_select_email` and a subset of the dom can be selected with `css_select`. The gem is developed for Rails 4.2 and above, and will not work on previous versions. -## Deprecation warnings when upgrading to Rails 4.2: +## Nokogiri::CSS::SyntaxError exceptions when upgrading to Rails 4.2: -Nokogiri is slightly more strict about the format of css selectors than the previous implementation. That's why you have warnings like: - -``` -DEPRECATION WARNING: The assertion was not run because of an invalid css selector. -``` +Nokogiri is slightly stricter about the format of CSS selectors than the previous implementation. Check the 4.2 release notes [section on `assert_select`](http://edgeguides.rubyonrails.org/4_2_release_notes.html#assert-select) for help. Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/dom/testing/assertions/selector_assertions.rb new/lib/rails/dom/testing/assertions/selector_assertions.rb --- old/lib/rails/dom/testing/assertions/selector_assertions.rb 2016-05-08 20:52:32.0 +0200 +++ new/lib/rails/dom/testing/assertions/selector_assertions.rb 2016-06-01 11:55:37.0 +0200 @@ -62,9 +62,6 @@ root = args.size == 1 ? document_root_element : args.shift nodeset(root).css(args.first) -rescue Nokogiri::CSS::SyntaxError => e - ActiveSupport::Deprecation.warn("The assertion was not run because of an invalid css selector.\n#{e}", caller(2)) - return end # An assertion that selects elements and makes one or more equality tests. @@ -177,9 +174,6 @@ nest_selection(matches, ) if block_given? && !matches.empty? end -rescue Nokogiri::CSS::SyntaxError => e - ActiveSupport::Deprecation.warn("The assertion was not run because of an invalid css selector.\n#{e}", caller(2)) - return end # Extracts the content of an element, treats it as encoded HTML and runs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/dom/testing/version.rb new/lib/rails/dom/testing/version.rb --- old/lib/rails/dom/testing/version.rb2016-05-08 20:52:32.0 +0200 +++ new/lib/rails/dom/testing/version.rb2016-06-01 11:55:37.0 +0200 @@ -1,7 +1,7 @@ module Rails module Dom module Testing - VERSION = "2.0.0" + VERSION = "2.0.1" end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-05-08 20:52:32.0 +0200 +++ new/metadata2016-06-01 11:55:37.0 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: rails-dom-testing version: !ruby/object:Gem::Version - version: 2.0.0 + version: 2.0.1 platform: ruby authors: - Rafael Mendonça França @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: []
commit rubygem-rails-dom-testing for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rails-dom-testing for openSUSE:Factory checked in at 2016-05-13 09:23:47 Comparing /work/SRC/openSUSE:Factory/rubygem-rails-dom-testing (Old) and /work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new (New) Package is "rubygem-rails-dom-testing" Changes: --- /work/SRC/openSUSE:Factory/rubygem-rails-dom-testing/rubygem-rails-dom-testing.changes 2015-08-27 08:56:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new/rubygem-rails-dom-testing.changes 2016-05-13 09:23:48.0 +0200 @@ -1,0 +2,6 @@ +Mon May 9 04:45:08 UTC 2016 - co...@suse.com + +- updated to version 2.0.0 + no changelog found + +--- Old: rails-dom-testing-1.0.7.gem New: rails-dom-testing-2.0.0.gem Other differences: -- ++ rubygem-rails-dom-testing.spec ++ --- /var/tmp/diff_new_pack.18E0aH/_old 2016-05-13 09:23:49.0 +0200 +++ /var/tmp/diff_new_pack.18E0aH/_new 2016-05-13 09:23:49.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rails-dom-testing # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-rails-dom-testing -Version:1.0.7 +Version:2.0.0 Release:0 %define mod_name rails-dom-testing %define mod_full_name %{mod_name}-%{version} @@ -54,7 +54,7 @@ %install %gem_install \ - --doc-files="LICENSE.txt README.md" \ + --doc-files="README.md" \ -f %gem_packages ++ rails-dom-testing-1.0.7.gem -> rails-dom-testing-2.0.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE.txt new/LICENSE.txt --- old/LICENSE.txt 2015-08-14 18:10:13.0 +0200 +++ new/LICENSE.txt 1970-01-01 01:00:00.0 +0100 @@ -1,22 +0,0 @@ -Copyright (c) 2013 Kasper Timm Hansen - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2015-08-14 18:10:13.0 +0200 +++ new/README.md 2016-05-08 20:52:32.0 +0200 @@ -1,5 +1,4 @@ # Rails::Dom::Testing -[![Build Status](https://travis-ci.org/rails/rails-dom-testing.svg)](https://travis-ci.org/rails/rails-dom-testing) This gem is responsible for comparing HTML doms and asserting that DOM elements are present in Rails applications. Doms are compared via `assert_dom_equal` and `assert_dom_not_equal`. @@ -56,7 +55,7 @@ assert_select_email '#you-got-mail' ``` -The documentation in [selector_assertions.rb](https://github.com/kaspth/rails-dom-testing/blob/master/lib/rails/dom/testing/assertions/selector_assertions.rb) goes into a lot more detail of how selector assertions can be used. +The documentation in [selector_assertions.rb](https://github.com/rails/rails-dom-testing/blob/master/lib/rails/dom/testing/assertions/selector_assertions.rb) goes into a lot more detail of how selector assertions can be used. ## Read more @@ -67,10 +66,12 @@ Read more about Nokogiri: - [Nokogiri](http://nokogiri.org) -## Contributing +## Contributing to Rails::Dom::Testing -1. Fork it -2. Create your feature branch (`git checkout -b my-new-feature`) -3. Commit your changes (`git commit -am 'Add some feature'`) -4. Push to the branch (`git push origin my-new-feature`) -5. Create new Pull Request +Rails::Dom::Testing is work of many
commit rubygem-rails-dom-testing for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rails-dom-testing for openSUSE:Factory checked in at 2015-08-27 08:56:15 Comparing /work/SRC/openSUSE:Factory/rubygem-rails-dom-testing (Old) and /work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new (New) Package is rubygem-rails-dom-testing Changes: --- /work/SRC/openSUSE:Factory/rubygem-rails-dom-testing/rubygem-rails-dom-testing.changes 2015-03-23 12:17:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new/rubygem-rails-dom-testing.changes 2015-08-27 08:56:16.0 +0200 @@ -1,0 +2,6 @@ +Sat Aug 15 04:32:36 UTC 2015 - co...@suse.com + +- updated to version 1.0.7 + no changelog found + +--- Old: rails-dom-testing-1.0.6.gem New: rails-dom-testing-1.0.7.gem Other differences: -- ++ rubygem-rails-dom-testing.spec ++ --- /var/tmp/diff_new_pack.TnkGjK/_old 2015-08-27 08:56:16.0 +0200 +++ /var/tmp/diff_new_pack.TnkGjK/_new 2015-08-27 08:56:16.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-rails-dom-testing -Version:1.0.6 +Version:1.0.7 Release:0 %define mod_name rails-dom-testing %define mod_full_name %{mod_name}-%{version} ++ rails-dom-testing-1.0.6.gem - rails-dom-testing-1.0.7.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2015-03-17 19:14:55.0 +0100 +++ new/README.md 2015-08-14 18:10:13.0 +0200 @@ -61,8 +61,8 @@ ## Read more Under the hood the doms are parsed with Nokogiri and you'll generally be working with these two classes: -- [`Nokogiri::XML::Node`](http://nokogiri.org/Nokogiri/XML/Node.html) -- [`Nokogiri::XML::NodeSet`](http://nokogiri.org/Nokogiri/XML/NodeSet.html) +- [`Nokogiri::XML::Node`](http://www.rubydoc.info/github/sparklemotion/nokogiri/Nokogiri/XML/Node) +- [`Nokogiri::XML::NodeSet`](http://www.rubydoc.info/github/sparklemotion/nokogiri/Nokogiri/XML/NodeSet) Read more about Nokogiri: - [Nokogiri](http://nokogiri.org) Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/dom/testing/assertions/selector_assertions/count_describable.rb new/lib/rails/dom/testing/assertions/selector_assertions/count_describable.rb --- old/lib/rails/dom/testing/assertions/selector_assertions/count_describable.rb 2015-03-17 19:14:55.0 +0100 +++ new/lib/rails/dom/testing/assertions/selector_assertions/count_describable.rb 2015-08-14 18:10:13.0 +0200 @@ -1,22 +1,32 @@ require 'active_support/concern' -module CountDescripable - extend ActiveSupport::Concern +module Rails + module Dom +module Testing + module Assertions +module SelectorAssertions + module CountDescribable +extend ActiveSupport::Concern - private -def count_description(min, max, count) #:nodoc: - if min max (max != min) -between #{min} and #{max} elements - elsif min max max == min count -exactly #{count} #{pluralize_element(min)} - elsif min !(min == 1 max == 1) -at least #{min} #{pluralize_element(min)} - elsif max -at most #{max} #{pluralize_element(max)} - end -end +private + def count_description(min, max, count) #:nodoc: +if min max (max != min) + between #{min} and #{max} elements +elsif min max max == min count + exactly #{count} #{pluralize_element(min)} +elsif min !(min == 1 max == 1) + at least #{min} #{pluralize_element(min)} +elsif max + at most #{max} #{pluralize_element(max)} +end + end -def pluralize_element(quantity) - quantity == 1 ? 'element' : 'elements' + def pluralize_element(quantity) +quantity == 1 ? 'element' : 'elements' + end + end +end + end end + end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/dom/testing/assertions/selector_assertions.rb new/lib/rails/dom/testing/assertions/selector_assertions.rb --- old/lib/rails/dom/testing/assertions/selector_assertions.rb 2015-03-17 19:14:55.0 +0100 +++ new/lib/rails/dom/testing/assertions/selector_assertions.rb 2015-08-14 18:10:13.0 +0200 @@ -262,7 +262,7 @@ end private - include CountDescripable +
commit rubygem-rails-dom-testing for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rails-dom-testing for openSUSE:Factory checked in at 2015-03-23 12:17:58 Comparing /work/SRC/openSUSE:Factory/rubygem-rails-dom-testing (Old) and /work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new (New) Package is rubygem-rails-dom-testing Changes: --- /work/SRC/openSUSE:Factory/rubygem-rails-dom-testing/rubygem-rails-dom-testing.changes 2015-02-16 21:12:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new/rubygem-rails-dom-testing.changes 2015-03-23 12:17:59.0 +0100 @@ -1,0 +2,14 @@ +Wed Mar 18 15:38:28 UTC 2015 - co...@suse.com + +- updated to version 1.0.6 + ## Deprecation warnings when upgrading to Rails 4.2: + + Nokogiri is slightly more strict about the format of css selectors than the previous implementation. That's why you have warnings like: + + ``` + DEPRECATION WARNING: The assertion was not run because of an invalid css selector. + ``` + + Check the 4.2 release notes [section on `assert_select`](http://edgeguides.rubyonrails.org/4_2_release_notes.html#assert-select) for help. + +--- Old: rails-dom-testing-1.0.5.gem New: rails-dom-testing-1.0.6.gem Other differences: -- ++ rubygem-rails-dom-testing.spec ++ --- /var/tmp/diff_new_pack.7J9FXK/_old 2015-03-23 12:18:00.0 +0100 +++ /var/tmp/diff_new_pack.7J9FXK/_new 2015-03-23 12:18:00.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rails-dom-testing # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-rails-dom-testing -Version:1.0.5 +Version:1.0.6 Release:0 %define mod_name rails-dom-testing %define mod_full_name %{mod_name}-%{version} @@ -34,18 +34,19 @@ %endif # /MANUAL BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros = 5 -BuildRequires: %{ruby} BuildRequires: %{rubygem gem2rpm} -Url:https://github.com/kaspth/rails-dom-testing +BuildRequires: %{ruby} +BuildRequires: ruby-macros = 5 +Url:https://github.com/rails/rails-dom-testing Source: http://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml -Summary:This gem can compare doms and assert certain elements exists in doms +Summary:Dom and Selector assertions for Rails applications License:MIT Group: Development/Languages/Ruby %description -Dom and Selector assertions for Rails applications . +This gem can compare doms and assert certain elements exists in doms using +Nokogiri. . %prep ++ rails-dom-testing-1.0.5.gem - rails-dom-testing-1.0.6.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2014-11-25 22:41:06.0 +0100 +++ new/README.md 2015-03-17 19:14:55.0 +0100 @@ -6,6 +6,15 @@ Elements are asserted via `assert_select`, `assert_select_encoded`, `assert_select_email` and a subset of the dom can be selected with `css_select`. The gem is developed for Rails 4.2 and above, and will not work on previous versions. +## Deprecation warnings when upgrading to Rails 4.2: + +Nokogiri is slightly more strict about the format of css selectors than the previous implementation. That's why you have warnings like: + +``` +DEPRECATION WARNING: The assertion was not run because of an invalid css selector. +``` + +Check the 4.2 release notes [section on `assert_select`](http://edgeguides.rubyonrails.org/4_2_release_notes.html#assert-select) for help. ## Installation Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb new/lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb --- old/lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb 2014-11-25 22:41:06.0 +0100 +++ new/lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb 2015-03-17 19:14:55.0 +0100 @@ -1,27 +1,21 @@ class SubstitutionContext def initialize @substitute = '?' -@regexes = [] end def substitute!(selector, values) while !values.empty? substitutable?(values.first)