Hello community,
here is the log from the commit of package rubygem-rspec-mocks for
openSUSE:Factory checked in at 2017-11-01 11:08:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-mocks (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rspec-mocks.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-mocks"
Wed Nov 1 11:08:14 2017 rev:16 rq:537497 version:3.7.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rspec-mocks/rubygem-rspec-mocks.changes
2017-05-27 13:11:34.057165325 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-rspec-mocks.new/rubygem-rspec-mocks.changes
2017-11-01 11:08:13.424873543 +0100
@@ -1,0 +2,22 @@
+Thu Oct 26 10:12:42 UTC 2017 - [email protected]
+
+- updated to version 3.7.0
+ see installed Changelog.md
+
+ ### 3.8 Development
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.7.0...master)
+
+ ### 3.7.0 / 2017-10-17
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.6.0...v3.7.0)
+
+ Enhancements:
+
+ * Improve compatibility with `--enable-frozen-string-literal` option
+ on Ruby 2.3+. (Pat Allan, #1165)
+
+ Bug Fixes:
+
+ * Fix `hash_including` and `hash_excluding` so that they work against
+ subclasses of `Hash`. (Aaron Rosenberg, #1167)
+
+-------------------------------------------------------------------
Old:
----
rspec-mocks-3.6.0.gem
New:
----
rspec-mocks-3.7.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rspec-mocks.spec ++++++
--- /var/tmp/diff_new_pack.m1saRW/_old 2017-11-01 11:08:14.148847097 +0100
+++ /var/tmp/diff_new_pack.m1saRW/_new 2017-11-01 11:08:14.152846951 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-rspec-mocks
-Version: 3.6.0
+Version: 3.7.0
Release: 0
%define mod_name rspec-mocks
%define mod_full_name %{mod_name}-%{version}
@@ -34,7 +34,7 @@
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5
Url: https://github.com/rspec/rspec-mocks
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: RSpec's 'test double' framework, with support for stubbing and
mocking
License: MIT
++++++ rspec-mocks-3.6.0.gem -> rspec-mocks-3.7.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md 2017-05-05 01:58:58.000000000 +0200
+++ new/Changelog.md 2017-10-17 17:13:59.000000000 +0200
@@ -1,3 +1,19 @@
+### 3.8 Development
+[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.7.0...master)
+
+### 3.7.0 / 2017-10-17
+[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.6.0...v3.7.0)
+
+Enhancements:
+
+* Improve compatibility with `--enable-frozen-string-literal` option
+ on Ruby 2.3+. (Pat Allan, #1165)
+
+Bug Fixes:
+
+* Fix `hash_including` and `hash_excluding` so that they work against
+ subclasses of `Hash`. (Aaron Rosenberg, #1167)
+
### 3.6.0 / 2017-05-04
[Full
Changelog](http://github.com/rspec/rspec-mocks/compare/v3.6.0.beta2...v3.6.0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2017-05-05 01:58:58.000000000 +0200
+++ new/README.md 2017-10-17 17:13:59.000000000 +0200
@@ -257,7 +257,7 @@
## Argument Matchers
Arguments that are passed to `with` are compared with actual arguments
-received using ==. In cases in which you want to specify things about the
+received using ===. In cases in which you want to specify things about the
arguments rather than the arguments themselves, you can use any of the
matchers that ship with rspec-expectations. They don't all make syntactic
sense (they were primarily designed for use with RSpec::Expectations), but
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rspec/mocks/argument_matchers.rb
new/lib/rspec/mocks/argument_matchers.rb
--- old/lib/rspec/mocks/argument_matchers.rb 2017-05-05 01:58:58.000000000
+0200
+++ new/lib/rspec/mocks/argument_matchers.rb 2017-10-17 17:13:59.000000000
+0200
@@ -116,7 +116,7 @@
# @private
def self.anythingize_lonely_keys(*args)
- hash = args.last.class == Hash ? args.delete_at(-1) : {}
+ hash = Hash === args.last ? args.delete_at(-1) : {}
args.each { | arg | hash[arg] = AnyArgMatcher::INSTANCE }
hash
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rspec/mocks/error_generator.rb
new/lib/rspec/mocks/error_generator.rb
--- old/lib/rspec/mocks/error_generator.rb 2017-05-05 01:58:58.000000000
+0200
+++ new/lib/rspec/mocks/error_generator.rb 2017-10-17 17:13:59.000000000
+0200
@@ -57,10 +57,10 @@
# @private
def raise_missing_default_stub_error(expectation,
args_for_multiple_calls)
- message = error_message(expectation, args_for_multiple_calls)
- message << "\n Please stub a default value first if message might be
received with other args as well. \n"
-
- __raise message
+ __raise(
+ error_message(expectation, args_for_multiple_calls) +
+ "\n Please stub a default value first if message might be received
with other args as well. \n"
+ )
end
# @private
@@ -69,7 +69,7 @@
end
def default_error_message(expectation, expected_args, actual_args)
- "#{intro} received #{expectation.message.inspect}
#{unexpected_arguments_message(expected_args, actual_args)}"
+ "#{intro} received #{expectation.message.inspect}
#{unexpected_arguments_message(expected_args, actual_args)}".dup
end
# rubocop:disable Style/ParameterLists
@@ -87,14 +87,14 @@
def raise_unimplemented_error(doubled_module, method_name, object)
message = case object
when InstanceVerifyingDouble
- "the %s class does not implement the instance method: %s"
<<
+ "the %s class does not implement the instance method:
%s".dup <<
if ObjectMethodReference.for(doubled_module,
method_name).implemented?
". Perhaps you meant to use `class_double` instead?"
else
""
end
when ClassVerifyingDouble
- "the %s class does not implement the class method: %s" <<
+ "the %s class does not implement the class method: %s".dup
<<
if InstanceMethodReference.for(doubled_module,
method_name).implemented?
". Perhaps you meant to use `instance_double` instead?"
else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rspec/mocks/version.rb
new/lib/rspec/mocks/version.rb
--- old/lib/rspec/mocks/version.rb 2017-05-05 01:58:58.000000000 +0200
+++ new/lib/rspec/mocks/version.rb 2017-10-17 17:13:59.000000000 +0200
@@ -3,7 +3,7 @@
# Version information for RSpec mocks.
module Version
# Version of RSpec mocks currently in use in SemVer format.
- STRING = '3.6.0'
+ STRING = '3.7.0'
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-05-05 01:58:58.000000000 +0200
+++ new/metadata 2017-10-17 17:13:59.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rspec-mocks
version: !ruby/object:Gem::Version
- version: 3.6.0
+ version: 3.7.0
platform: ruby
authors:
- Steven Baker
@@ -45,7 +45,7 @@
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
F3MdtaDehhjC
-----END CERTIFICATE-----
-date: 2017-05-04 00:00:00.000000000 Z
+date: 2017-10-17 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec-support
@@ -53,14 +53,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.6.0
+ version: 3.7.0
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.6.0
+ version: 3.7.0
- !ruby/object:Gem::Dependency
name: diff-lcs
requirement: !ruby/object:Gem::Requirement
@@ -210,9 +210,9 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.4.5.2
+rubygems_version: 2.6.14
signing_key:
specification_version: 4
-summary: rspec-mocks-3.6.0
+summary: rspec-mocks-3.7.0
test_files: []
has_rdoc:
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ