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.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-rails-dom-testing.new/rubygem-rails-dom-testing.changes
2015-08-27 08:56:16.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Aug 15 04:32:36 UTC 2015 - [email protected]
+
+- 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.000000000 +0200
+++ /var/tmp/diff_new_pack.TnkGjK/_new 2015-08-27 08:56:16.000000000 +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.000000000 +0100
+++ new/README.md 2015-08-14 18:10:13.000000000 +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.000000000 +0100
+++
new/lib/rails/dom/testing/assertions/selector_assertions/count_describable.rb
2015-08-14 18:10:13.000000000 +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.000000000 +0100
+++ new/lib/rails/dom/testing/assertions/selector_assertions.rb 2015-08-14
18:10:13.000000000 +0200
@@ -262,7 +262,7 @@
end
private
- include CountDescripable
+ include CountDescribable
def document_root_element
raise NotImplementedError, 'Implementing document_root_element
makes ' \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rails/dom/testing/assertions/tag_assertions.rb
new/lib/rails/dom/testing/assertions/tag_assertions.rb
--- old/lib/rails/dom/testing/assertions/tag_assertions.rb 2015-03-17
19:14:55.000000000 +0100
+++ new/lib/rails/dom/testing/assertions/tag_assertions.rb 2015-08-14
18:10:13.000000000 +0200
@@ -146,7 +146,7 @@
def html_scanner_document
xml = @response.content_type =~ /xml$/
- @html_document ||= HTML::Document.new(@response.body, false, xml)
+ @html_scanner_document ||= HTML::Document.new(@response.body,
false, xml)
end
end
end
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.rb 2015-03-17 19:14:55.000000000
+0100
+++ new/lib/rails/dom/testing/version.rb 2015-08-14 18:10:13.000000000
+0200
@@ -1,7 +1,7 @@
module Rails
module Dom
module Testing
- VERSION = "1.0.6"
+ VERSION = "1.0.7"
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-03-17 19:14:55.000000000 +0100
+++ new/metadata 2015-08-14 18:10:13.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rails-dom-testing
version: !ruby/object:Gem::Version
- version: 1.0.6
+ version: 1.0.7
platform: ruby
authors:
- Rafael Mendonça França
@@ -9,7 +9,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2015-03-17 00:00:00.000000000 Z
+date: 2015-08-14 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: nokogiri
@@ -145,7 +145,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.4.5
+rubygems_version: 2.4.7
signing_key:
specification_version: 4
summary: Dom and Selector assertions for Rails applications
@@ -154,3 +154,4 @@
- test/selector_assertions_test.rb
- test/tag_assertions_test.rb
- test/test_helper.rb
+has_rdoc: