rubygem-rspec-mocks

Edit Package rubygem-rspec-mocks
No description set
Refresh
Refresh
Source Files
Filename Size Changed
gem2rpm.yml 0000001676 1.64 KB
rspec-mocks-3.3.2.gem 0000074752 73 KB
rubygem-rspec-mocks.changes 0000013460 13.1 KB
rubygem-rspec-mocks.spec 0000001839 1.8 KB
Latest Revision
Ruediger Oertel's avatar Ruediger Oertel (oertel) committed (revision 2)
- upgrade to version 3.x (bsc#939726)
old: SUSE:SLE-12-SP1:GA/rubygem-rspec-mocks
new: home:lslezak:branches:SUSE:SLE-12-SP1:GA/rubygem-rspec-mocks rev None
Index: rubygem-rspec-mocks.changes
===================================================================
--- rubygem-rspec-mocks.changes (revision 2)
+++ rubygem-rspec-mocks.changes (revision 3)
@@ -1,12 +1,177 @@
 -------------------------------------------------------------------
-Tue Jul 15 16:24:35 UTC 2014 - mrueckert@suse.com
+Tue Jul 28 16:10:57 UTC 2015 - lslezak@suse.cz
 
-- regenerate with new template
+- upgrade to version 3.x (bsc#939726)
 
 -------------------------------------------------------------------
-Thu Jun 26 10:20:40 UTC 2014 - mrueckert@suse.com
+Thu Jul 16 04:32:38 UTC 2015 - coolo@suse.com
 
-- move to SLE 12 packaging schema
+- updated to version 3.3.2
+ see installed Changelog.md
+
+  ### 3.3.2 / 2015-07-15
+  [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.1...v3.3.2)
+  
+  Bug Fixes:
+  
+  * Prevent thread deadlock errors during proxy creation (e.g. when using
+    `before_verifying_doubles` callbacks). (Jon Rowe, #980, #979)
+
+-------------------------------------------------------------------
+Sun Jun 21 04:33:06 UTC 2015 - coolo@suse.com
+
+- updated to version 3.3.1
+ see installed Changelog.md
+
+  ### 3.3.1 / 2015-06-19
+  [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.0...v3.3.1)
+  
+  Bug Fixes:
+  
+  * Fix bug in `before_verifying_double` callback logic that caused it to be called
+    once for each class in the ancestor list when mocking or stubbing a class. Now
+    it is only called for the mocked or stubbed class, as you would expect. (Sam
+    Phippen, #974)
+
+-------------------------------------------------------------------
+Sat Jun 13 04:35:08 UTC 2015 - coolo@suse.com
+
+- updated to version 3.3.0
+ see installed Changelog.md
+
+  ### 3.3.0 / 2015-06-12
+  [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.2.1...v3.3.0)
+  
+  Enhancements:
+  
+  * When stubbing `new` on `MyClass` or `class_double(MyClass)`, use the
+    method signature from `MyClass#initialize` to verify arguments.
+    (Myron Marston, #886)
+  * Use matcher descriptions when generating description of received arguments
+    for mock expectation failures. (Tim Wade, #891)
+  * Avoid loading `stringio` unnecessarily. (Myron Marston, #894)
+  * Verifying doubles failure messages now distinguish between class and instance
+    level methods. (Tim Wade, #896, #908)
+  * Improve mock expectation failure messages so that it combines both
+    number of times and the received arguments in the output. (John Ceh, #918)
+  * Improve how test doubles are represented in failure messages.
+    (Siva Gollapalli, Myron Marston, #932)
+  * Rename `RSpec::Mocks::Configuration#when_declaring_verifying_double` to
+    `RSpec::Mocks::Configuration#before_verifying_doubles` and utilise when
+    verifying partial doubles. (Jon Rowe, #940)
+  * Use rspec-support's `ObjectFormatter` for improved formatting of
+    arguments in failure messages so that, for example, full time
+    precisions is displayed for time objects. (Gavin Miller, Myron Marston, #955)
+  
+  Bug Fixes:
+  
+  * Ensure expectations that raise eagerly also raise during RSpec verification.
+    This means that if exceptions are caught inside test execution the test will
+    still fail. (Sam Phippen, #884)
+  * Fix `have_received(msg).with(args).exactly(n).times` and
+    `receive(msg).with(args).exactly(n).times` failure messages
+    for when the message was received the wrong number of times with
+    the specified args, and also received additional times with other
+    arguments. Previously it confusingly listed the arguments as being
+    mis-matched (even when the double was allowed to receive with any
+    args) rather than listing the count. (John Ceh, #918)
+  * Fix `any_args`/`anything` support so that we avoid calling `obj == anything`
+    on user objects that may have improperly implemented `==` in a way that
+    raises errors. (Myron Marston, #924)
+  * Fix edge case involving stubbing the same method on a class and a subclass
+    which previously hit a `NoMethodError` internally in RSpec. (Myron Marston #954)
+  * Fix edge case where the message received count would be incremented multiple
+    times for one failure. (Myron Marston, #957)
+  * Fix failure messages for when spies received the expected message with
+    different arguments and also received another message. (MaurĂ­cio Linhares, #960)
+  * Silence whitespace-only diffs. (Myron Marston, #969)
+
+-------------------------------------------------------------------
+Thu Feb 26 05:33:55 UTC 2015 - coolo@suse.com
+
+- updated to version 3.2.1
+ Bug Fixes:
+ 
+ * Add missing `rspec/support/differ` require so that rspec-mocks can be
+   used w/o rspec-expectations (which also loads the differ and hided the
+   fact we forgot to require it). (Myron Marston, #893)
+ * Revert tracking of received arg mutation (added in 3.2.0 to provide an
+   error in a situation we can't support) as our implementation has side
+   effects on non-standard objects and there's no solution we could come
+   up with that always works. (Myron Marston, #900)
+
+-------------------------------------------------------------------
+Fri Feb  6 20:13:06 UTC 2015 - coolo@suse.com
+
+- updated to version 3.2.0
+ Enhancements:
+ 
+ * Treat `any_args` as an arg splat, allowing it to match an arbitrary
+   number of args at any point in an arg list. (Myron Marston, #786)
+ * Print diffs when arguments in mock expectations are mismatched.
+   (Sam Phippen, #751)
+ * Support names for verified doubles (`instance_double`, `instance_spy`,
+   `class_double`, `class_spy`, `object_double`, `object_spy`). (Cezary
+   Baginski, #826)
+ * Make `array_including` and `hash_including` argument matchers composable.
+   (Sam Phippen, #819)
+ * Make `allow_any_instance_of(...).to receive(...).and_wrap_original`
+   work. (Ryan Fitzgerald, #869)
+ 
+ Bug Fixes:
+ 
+ * Provide a clear error when users wrongly combine `no_args` with
+   additional arguments (e.g. `expect().to receive().with(no_args, 1)`).
+   (Myron Marston, #786)
+ * Provide a clear error when users wrongly use `any_args` multiple times in the
+   same argument list (e.g. `expect().to receive().with(any_args, 1, any_args)`.
+   (Myron Marston, #786)
+ * Prevent the error generator from using user object #description methods.
+   See [#685](https://github.com/rspec/rspec-mocks/issues/685).
+   (Sam Phippen, #751)
+ * Make verified doubles declared as `(instance|class)_double(SomeConst)`
+   work properly when `SomeConst` has previously been stubbed.
+   `(instance|class)_double("SomeClass")` already worked properly.
+   (Myron Marston, #824)
+ * Add a matcher description for `receive`, `receive_messages` and
+   `receive_message_chain`. (Myron Marston, #828)
+ * Validate invocation args for null object verified doubles.
+   (Myron Marston, #829)
+ * Fix `RSpec::Mocks::Constant.original` when called with an invalid
+   constant to return an object indicating the constant name is invalid,
+   rather than blowing up. (Myron Marston, #833)
+
+-------------------------------------------------------------------
+Tue Jan 20 10:15:12 UTC 2015 - dmueller@suse.com
+
+- update to 3.1.3:
+  * Rails 4.1
+  [too many changes to list here, see
+   http://www.rubydoc.info/gems/rspec-mocks/file/Changelog.md ]
+
+-------------------------------------------------------------------
+Mon Oct 13 18:41:48 UTC 2014 - coolo@suse.com
+
+- adapt to new rubygem packaging
+
+-------------------------------------------------------------------
+Sun Feb 23 09:24:50 UTC 2014 - coolo@suse.com
+
+- updated to version 2.14.6
+ Bug Fixes:
+ * Ensure `any_instance` method stubs and expectations are torn down regardless of
+   expectation failures. (Sam Phippen)
+
+-------------------------------------------------------------------
+Thu Feb  6 18:00:19 UTC 2014 - coolo@suse.com
+
+- updated to version 2.14.5
+ Bug Fixes:
+ 
+ * Fix regression that caused block implementations to not receive all
+   args on 1.8.7 if the block also receives a block, due to Proc#arity
+   reporting `1` no matter how many args the block receives if it
+   receives a block, too. (Myron Marston)
 
 -------------------------------------------------------------------
 Sun Oct 20 12:05:39 UTC 2013 - coolo@suse.com
Index: rubygem-rspec-mocks.spec
===================================================================
--- rubygem-rspec-mocks.spec (revision 2)
+++ rubygem-rspec-mocks.spec (revision 3)
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rspec-mocks
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,24 +15,33 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
 Name:           rubygem-rspec-mocks
-Version:        2.14.4
+Version:        3.3.2
 Release:        0
 %define mod_name rspec-mocks
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 5
-BuildRequires:  %{ruby}
+BuildRequires:  %{ruby >= 1.8.7}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
+BuildRequires:  ruby-macros >= 5
 Url:            http://github.com/rspec/rspec-mocks
 Source:         http://rubygems.org/gems/%{mod_full_name}.gem
-Summary:        rspec-mocks-2.14.4
+Source1:        gem2rpm.yml
+Summary:        RSpec's 'test double' framework, with support for stubbing and mocking
 License:        MIT
 Group:          Development/Languages/Ruby
 
 %description
-RSpec's 'test double' framework, with support for stubbing and mocking
+RSpec's 'test double' framework, with support for stubbing and mocking.
 
 %prep
 
@@ -40,7 +49,7 @@
 
 %install
 %gem_install \
-  --doc-files="README.md License.txt Changelog.md" \
+  --doc-files="Changelog.md License.txt README.md" \
   -f
 
 %gem_packages
Index: gem2rpm.yml
===================================================================
--- gem2rpm.yml (added)
+++ gem2rpm.yml (revision 3)
@@ -0,0 +1,70 @@
+# ---
+# ## used by gem2rpm
+:summary: RSpec's 'test double' framework, with support for stubbing and mocking
+# ## used by gem2rpm
+# :description: |-
+#   this is a custom description
+#
+#   it can be multiline
+# ## used by gem2rpm
+# :license: MIT or Ruby
+# ## used by gem2rpm and gem_packages
+# :version_suffix: -x_y
+# ## used by gem2rpm and gem_packages
+# :disable_docs: true
+# ## used by gem2rpm
+# :disable_automatic_rdoc_dep: true
+# ## used by gem2rpm
+# :preamble: |-
+#   BuildRequires: foobar
+#   Requires: foobar
+# ## used by gem2rpm
+# :patches:
+#   foo.patch: -p1
+#   bar.patch: 
+# ## used by gem2rpm
+:sources:
+# - foo.desktop
+# - bar.desktop
+# :gem_install_args: '....'
+# ## used by gem2rpm
+# :pre_install: |-
+#   %if 0%{?use_system_libev}
+#   export USE_VENDORED_LIBEV="no"
+#   %endif
+# ## used by gem2rpm
+# :post_install: |-
+#   # delete custom files here or do other fancy stuff
+#   install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
+# ## used by gem2rpm
+# :testsuite_command: |-
+#   (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
+# ## used by gem2rpm
+# :filelist: |-
+#   /usr/bin/gem2rpm-opensuse
+# ## used by gem2rpm
+# :scripts:
+#   :post: |-
+#     /bin/echo foo
+# ## used by gem_packages
+# :main:
+#   :preamble: |-
+#     Requires: util-linux
+#     Recommends: pwgen
+#   :filelist: |-
+#     /usr/bin/gem2rpm-opensuse
+# ## used by gem_packages
+# :custom:
+#   apache:
+#     :preamble: |-
+#       Requires: .....
+#     :filelist: |-
+#       /etc/apache2/conf.d/passenger.conf
+#     :summary: Custom summary is optional
+#     :description: |-
+#       Custom description is optional
+#
+#       bar
+#     :post: |-
+#       /bin/echo foo
+#
Index: rspec-mocks-3.3.2.gem
===================================================================
Binary files rspec-mocks-3.3.2.gem (revision 3) added
Index: rspec-mocks-2.14.4.gem
===================================================================
Binary files rspec-mocks-2.14.4.gem (revision 2) deleted
Comments 0
openSUSE Build Service is sponsored by