Hello community,
here is the log from the commit of package rubygem-rspec-mocks-3_5 for
openSUSE:Factory checked in at 2017-12-06 08:58:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-mocks-3_5 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rspec-mocks-3_5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-mocks-3_5"
Wed Dec 6 08:58:15 2017 rev:1 rq:546302 version:3.5.0
Changes:
--------
New Changes file:
--- /dev/null 2017-10-14 16:26:57.428140955 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-rspec-mocks-3_5.new/rubygem-rspec-mocks-3_5.changes
2017-12-06 08:58:17.161650776 +0100
@@ -0,0 +1,205 @@
+-------------------------------------------------------------------
+Thu Nov 16 19:59:27 UTC 2017 - [email protected]
+
+- created versioned gem for version 3.5
+
+-------------------------------------------------------------------
+Tue Jun 13 20:55:10 UTC 2017 - [email protected]
+
+- updated to version 2.14.6
+ see installed Changelog.md
+
+ ### 2.14.6 development
+ [full
changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.5...v2.14.6)
+
+ Bug Fixes:
+
+ * Ensure `any_instance` method stubs and expectations are torn down
regardless of
+ expectation failures. (Sam Phippen)
+
+ ### 2.14.5 / 2014-02-01
+ [full
changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.4...v2.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)
+
+-------------------------------------------------------------------
+Mon May 29 19:06:41 UTC 2017 - [email protected]
+
+- changed package name with suffix -2_14, renamed spec and changes file
+
+-------------------------------------------------------------------
+Tue May 23 20:43:24 UTC 2017 - [email protected]
+
+- changed naming of the package, as this is a versioned gem
+
+-------------------------------------------------------------------
+Tue Jul 15 16:24:35 UTC 2014 - [email protected]
+
+- regenerate with new template
+
+-------------------------------------------------------------------
+Thu Jun 26 10:20:40 UTC 2014 - [email protected]
+
+- move to SLE 12 packaging schema
+
+-------------------------------------------------------------------
+Sun Oct 20 12:05:39 UTC 2013 - [email protected]
+
+- updated to version 2.14.4
+ Bug Fixes:
+
+ * Fix issue where unstubing methods on "any instances" would not
+ remove stubs on existing instances (Jon Rowe)
+ * Fix issue with receive(:message) do ... end precedence preventing
+ the usage of modifications (`and_return` etc) (Jon Rowe)
+
+-------------------------------------------------------------------
+Mon Aug 26 05:05:53 UTC 2013 - [email protected]
+
+- updated to version 2.14.3
+ Bug Fixes:
+
+ * Fix stubbing some instance methods for classes whose hierarchy includes
+ a prepended Module (Bradley Schaefer)
+
+-------------------------------------------------------------------
+Tue Jul 30 18:46:51 UTC 2013 - [email protected]
+
+- updated to version 2.14.2
+ Bug Fixes:
+
+ * Fix `as_null_object` doubles so that they return `nil` from `to_ary`
+ (Jon Rowe).
+ * Fix regression in 2.14 that made `stub!` (with an implicit receiver)
+ return a test double rather than stub a method (Myron Marston).
+
+ ### 2.14.1 / 2013-07-07
+ [full
changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.0...v2.14.1)
+
+ Bug Fixes:
+
+ * Restore `double.as_null_object` behavior from 2.13 and earlier: a
+ double's nullness persisted between examples in earlier examples.
+ While this is not an intended use case (test doubles are meant to live
+ for only one example), we don't want to break behavior users rely
+ on in a minor relase. This will be deprecated in 2.99 and removed
+ in 3.0. (Myron Marston)
+
+ ### 2.14.0 / 2013-07-06
+ [full
changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.0.rc1...v2.14.0)
+
+ Enhancements:
+
+ * Document test spies in the readme. (Adarsh Pandit)
+ * Add an `array_including` matcher. (Sam Phippen)
+ * Add a syntax-agnostic API for mocking or stubbing a method. This is
+ intended for use by libraries such as rspec-rails that need to mock
+ or stub a method, and work regardless of the syntax the user has
+ configured (Paul Annesley, Myron Marston and Sam Phippen).
+
+ Bug Fixes:
+
+ * Fix `double` so that it sets up passed stubs correctly regardless of
+ the configured syntax (Paul Annesley).
+ * Allow a block implementation to be used in combination with
+ `and_yield`, `and_raise`, `and_return` or `and_throw`. This got fixed
+ in 2.13.1 but failed to get merged into master for the 2.14.0.rc1
+ release (Myron Marston).
+ * `Marshal.dump` does not unnecessarily duplicate objects when rspec-mocks
has
+ not been fully initialized. This could cause errors when using `spork` or
+ similar preloading gems (Andy Lindeman).
+
+-------------------------------------------------------------------
+Fri Apr 12 08:45:37 UTC 2013 - [email protected]
+
+- updated to version 2.13.1
+ Bug fixes
+
+ * Allow a block implementation to be used in combination with
+ `and_yield`, `and_raise`, `and_return` or `and_throw` (Myron Marston).
+
+-------------------------------------------------------------------
+Sun Mar 3 09:45:19 UTC 2013 - [email protected]
+
+- updated to version 2.13.0
+
+-------------------------------------------------------------------
+Sun Feb 3 17:13:04 UTC 2013 - [email protected]
+
+- updated to version 2.12.2
+
+ [full
changelog](http://github.com/rspec/rspec-mocks/compare/v2.12.1...v.2.12.2)
+
+ Bug fixes
+
+ * Fix `and_call_original` to work properly for methods defined
+ on a module extended onto an object instance (Myron Marston).
+ * Fix `stub_const` with an undefined constnat name to work properly
+ with constant strings that are prefixed with `::` -- and edge case
+ I missed in the bug fix in the 2.12.1 release (Myron Marston).
+ * Ensure method visibility on a partial mock is restored after reseting
+ method stubs, even on a singleton module (created via `extend self`)
+ when the method visibility differs between the instance and singleton
+ versions (Andy Lindeman).
+
+
+-------------------------------------------------------------------
+Sat Dec 22 07:30:56 UTC 2012 - [email protected]
+
+- updated to version 2.12.1
+ Bug fixes
+
+ * Fix `any_instance` to support `and_call_original`.
+ (Myron Marston)
+ * Properly restore stubbed aliased methods on rubies
+ that report the incorrect owner (Myron Marston and Andy Lindeman).
+
+-------------------------------------------------------------------
+Tue Nov 13 14:05:18 UTC 2012 - [email protected]
+
+- updated to version 2.12.0
+ Enhancements
+
+ * `and_raise` can accept an exception class and message, more closely
+ matching `Kernel#raise` (e.g., `foo.stub(:bar).and_raise(RuntimeError,
"message")`)
+ (Bas Vodde)
+ * Add `and_call_original`, which will delegate the message to the
+ original method (Myron Marston).
+
+ Deprecations:
+
+ * Add deprecation warning when using `and_return` with `should_not_receive`
+ (Neha Kumari)
+
+-------------------------------------------------------------------
+Sun Sep 23 09:54:55 UTC 2012 - [email protected]
+
+- updated to version 2.11.3
+ [full
changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.2...v2.11.3)
+
+ Bug fixes
+
+ * Fix `:transfer_nested_constants` option of `stub_const` so that it
+ doesn't blow up when there are inherited constants. (Myron Marston)
+ * `any_instance` stubs can be used on classes that override `Object#method`.
+ (Andy Lindeman)
+ * Methods stubbed with `any_instance` are unstubbed after the test finishes.
+ (Andy Lindeman)
+ * Fix confusing error message when calling a mocked class method an
+ extra time with the wrong arguments (Myron Marston).
+
+-------------------------------------------------------------------
+Mon Aug 27 19:48:45 UTC 2012 - [email protected]
++++ 8 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Factory/.rubygem-rspec-mocks-3_5.new/rubygem-rspec-mocks-3_5.changes
New:
----
gem2rpm.yml
rspec-mocks-3.5.0.gem
rubygem-rspec-mocks-3_5.changes
rubygem-rspec-mocks-3_5.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rspec-mocks-3_5.spec ++++++
#
# spec file for package rubygem-rspec-mocks-3_5
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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-3_5
Version: 3.5.0
Release: 0
%define mod_name rspec-mocks
%define mod_full_name %{mod_name}-%{version}
%define mod_version_suffix -3_5
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby >= 1.8.7}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
Url: https://github.com/rspec/rspec-mocks
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: RSpecs test double framework, with support for stubbing and
mocking
License: MIT
Group: Development/Languages/Ruby
%description
rspec-mocks is a test-double framework for rspec with support for method stubs,
fakes, and message expectations on generated test-doubles and real objects
alike.
%prep
%build
%install
%gem_install \
--doc-files="Changelog.md LICENSE.md README.md" \
-f
%gem_packages
%changelog
++++++ gem2rpm.yml ++++++
# ---
# ## used by gem2rpm
:summary: RSpecs test double framework, with support for stubbing and mocking
# ## used by gem2rpm
:description: |-
rspec-mocks is a test-double framework for rspec with support for method
stubs, fakes, and message expectations on generated test-doubles and real
objects alike.
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
:version_suffix: "-3_5"
# ## 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:
# :post_patch:
# if you need to fiddle with the source dir before rebuilding the gem
# ## 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_pkgs:
# 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
#