openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
December 2019
- 1 participants
- 2204 discussions
Hello community,
here is the log from the commit of package tallow for openSUSE:Factory checked in at 2019-12-28 13:40:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tallow (Old)
and /work/SRC/openSUSE:Factory/.tallow.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tallow"
Sat Dec 28 13:40:13 2019 rev:7 rq:759096 version:19+git20191106.4b071b0
Changes:
--------
--- /work/SRC/openSUSE:Factory/tallow/tallow.changes 2019-12-07 15:20:32.131752498 +0100
+++ /work/SRC/openSUSE:Factory/.tallow.new.6675/tallow.changes 2019-12-28 13:40:16.622925659 +0100
@@ -1,0 +2,6 @@
+Thu Dec 19 14:50:26 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- BuildRequire pkgconfig(libsystemd) instead of systemd-devel:
+ Allow OBS to shortcut through the -mini flavors.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tallow.spec ++++++
--- /var/tmp/diff_new_pack.n84amz/_old 2019-12-28 13:40:18.038926373 +0100
+++ /var/tmp/diff_new_pack.n84amz/_new 2019-12-28 13:40:18.038926373 +0100
@@ -34,7 +34,7 @@
BuildRequires: libjson-c-devel
BuildRequires: pcre-devel
BuildRequires: pkgconfig
-BuildRequires: systemd-devel
+BuildRequires: pkgconfig(libsystemd)
BuildRequires: rubygem(ronn)
%description
1
0
Hello community,
here is the log from the commit of package rubygem-rspec for openSUSE:Factory checked in at 2019-12-28 13:40:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rspec.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec"
Sat Dec 28 13:40:09 2019 rev:11 rq:758824 version:3.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rspec/rubygem-rspec.changes 2018-11-01 18:53:54.537960320 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rspec.new.6675/rubygem-rspec.changes 2019-12-28 13:40:13.762924218 +0100
@@ -1,0 +2,6 @@
+Fri Dec 20 07:36:04 UTC 2019 - Johannes Kastl <kastl(a)b1-systems.de>
+
+- updated to version 3.9.0
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
rspec-3.8.0.gem
New:
----
rspec-3.9.0.gem
rspec-3.9.0.gem.sha256
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rspec.spec ++++++
--- /var/tmp/diff_new_pack.FIJcn3/_old 2019-12-28 13:40:14.218924447 +0100
+++ /var/tmp/diff_new_pack.FIJcn3/_new 2019-12-28 13:40:14.230924454 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rspec
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@
#
Name: rubygem-rspec
-Version: 3.8.0
+Version: 3.9.0
Release: 0
%define mod_name rspec
%define mod_full_name %{mod_name}-%{version}
@@ -33,9 +33,10 @@
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
-Url: http://github.com/rspec
+URL: http://github.com/rspec
Source: https://rubygems.org/gems/%{mod_full_name}.gem
-Source1: gem2rpm.yml
+Source1: rspec-3.9.0.gem.sha256
+Source2: gem2rpm.yml
Summary: meta-gem that depends on the other components
License: MIT
Group: Development/Languages/Ruby
++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.FIJcn3/_old 2019-12-28 13:40:14.254924466 +0100
+++ /var/tmp/diff_new_pack.FIJcn3/_new 2019-12-28 13:40:14.254924466 +0100
@@ -21,9 +21,12 @@
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
-# bar.patch:
+# bar.patch:
+# :post_patch:
+# if you need to fiddle with the source dir before rebuilding the gem
# ## used by gem2rpm
:sources:
+- rspec-3.9.0.gem.sha256
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
@@ -54,7 +57,7 @@
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
-# :custom:
+# :custom_pkgs:
# apache:
# :preamble: |-
# Requires: .....
@@ -67,4 +70,8 @@
# bar
# :post: |-
# /bin/echo foo
-#
+# :preamble: |-
+# %if 0%{?suse_version} && 0%{?suse_version} < 1330
+# %define rb_build_versions ruby24 ruby25
+# %define rb_default_ruby_abi ruby:2.4.0 ruby:2.5.0
+# %endif
++++++ rspec-3.8.0.gem -> rspec-3.9.0.gem ++++++
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/version.rb new/lib/rspec/version.rb
--- old/lib/rspec/version.rb 2018-08-04 21:46:02.000000000 +0200
+++ new/lib/rspec/version.rb 2019-10-08 11:15:42.000000000 +0200
@@ -1,5 +1,5 @@
module RSpec # :nodoc:
module Version # :nodoc:
- STRING = '3.8.0'
+ STRING = '3.9.0'
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-08-04 21:46:02.000000000 +0200
+++ new/metadata 2019-10-08 11:15:42.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rspec
version: !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
platform: ruby
authors:
- Steven Baker
@@ -45,7 +45,7 @@
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
F3MdtaDehhjC
-----END CERTIFICATE-----
-date: 2018-08-04 00:00:00.000000000 Z
+date: 2019-10-08 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec-core
@@ -53,42 +53,42 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
- !ruby/object:Gem::Dependency
name: rspec-expectations
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
- !ruby/object:Gem::Dependency
name: rspec-mocks
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
description: BDD for Ruby
email: rspec(a)googlegroups.com
executables: []
@@ -103,7 +103,11 @@
homepage: http://github.com/rspec
licenses:
- MIT
-metadata: {}
+metadata:
+ bug_tracker_uri: https://github.com/rspec/rspec/issues
+ documentation_uri: https://rspec.info/documentation/
+ mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
+ source_code_uri: https://github.com/rspec/rspec
post_install_message:
rdoc_options:
- "--charset=UTF-8"
@@ -120,9 +124,8 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubyforge_project:
-rubygems_version: 2.6.13
+rubygems_version: 3.0.6
signing_key:
specification_version: 4
-summary: rspec-3.8.0
+summary: rspec-3.9.0
test_files: []
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ
++++++ rspec-3.9.0.gem.sha256 ++++++
90a037a7cc02365d7c112201881839aafbc875a88094423bc8cba778c98bfac3 rspec-3.9.0.gem
1
0
Hello community,
here is the log from the commit of package rubygem-rspec-support for openSUSE:Factory checked in at 2019-12-28 13:40:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-support (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rspec-support.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-support"
Sat Dec 28 13:40:05 2019 rev:11 rq:747741 version:3.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rspec-support/rubygem-rspec-support.changes 2019-07-22 12:16:34.659725068 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rspec-support.new.6675/rubygem-rspec-support.changes 2019-12-28 13:40:13.098923883 +0100
@@ -1,0 +2,11 @@
+Tue Nov 12 14:48:40 UTC 2019 - Manuel Schnitzer <mschnitzer(a)suse.com>
+
+- updated to version 3.9.0
+
+ [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.3...v3.9.0)
+
+ *NO CHANGES*
+
+ Version 3.9.0 was released to allow other RSpec gems to release 3.9.0.
+
+-------------------------------------------------------------------
Old:
----
rspec-support-3.8.2.gem
New:
----
rspec-support-3.9.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rspec-support.spec ++++++
--- /var/tmp/diff_new_pack.cYjC8s/_old 2019-12-28 13:40:13.490924080 +0100
+++ /var/tmp/diff_new_pack.cYjC8s/_new 2019-12-28 13:40:13.494924082 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-rspec-support
-Version: 3.8.2
+Version: 3.9.0
Release: 0
%define mod_name rspec-support
%define mod_full_name %{mod_name}-%{version}
++++++ rspec-support-3.8.2.gem -> rspec-support-3.9.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md 2019-06-10 22:04:21.000000000 +0200
+++ new/Changelog.md 2019-10-07 23:34:56.000000000 +0200
@@ -1,10 +1,23 @@
-### 3.8.2 / 2019-06-10
-[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.1...v3.8.2)
+### 3.9.0 / 2019-10-07
+
+*NO CHANGES*
+
+Version 3.9.0 was released to allow other RSpec gems to release 3.9.0.
+
+### 3.8.3 / 2019-10-02
Bug Fixes:
+* Escape \r when outputting strings inside arrays.
+ (Tomita Masahiro, Jon Rowe, #378)
* Ensure that optional hash arguments are recognised correctly vs keyword
arguments. (Evgeni Dzhelyov, #366)
+
+### 3.8.2 / 2019-06-10
+[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.1...v3.8.2)
+
+Bug Fixes:
+
* Ensure that an empty hash is recognised as empty keyword arguments when
applicable. (Thomas Walpole, #375)
* Ensure that diffing truthy values produce diffs consistently.
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/support/differ.rb new/lib/rspec/support/differ.rb
--- old/lib/rspec/support/differ.rb 2019-06-10 22:04:21.000000000 +0200
+++ new/lib/rspec/support/differ.rb 2019-10-07 23:34:56.000000000 +0200
@@ -97,7 +97,7 @@
if Array === entry
entry.inspect
else
- entry.to_s.gsub("\n", "\\n")
+ entry.to_s.gsub("\n", "\\n").gsub("\r", "\\r")
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/support/method_signature_verifier.rb new/lib/rspec/support/method_signature_verifier.rb
--- old/lib/rspec/support/method_signature_verifier.rb 2019-06-10 22:04:21.000000000 +0200
+++ new/lib/rspec/support/method_signature_verifier.rb 2019-10-07 23:34:56.000000000 +0200
@@ -77,6 +77,8 @@
given_kw_args - @allowed_kw_args
end
+ # If the last argument is Hash, Ruby will treat only symbol keys as keyword arguments
+ # the rest will be grouped in another Hash and passed as positional argument.
def has_kw_args_in?(args)
Hash === args.last &&
could_contain_kw_args?(args) &&
@@ -87,6 +89,7 @@
# contain keyword arguments?
def could_contain_kw_args?(args)
return false if args.count <= min_non_kw_args
+
@allows_any_kw_args || @allowed_kw_args.any?
end
@@ -359,7 +362,14 @@
def split_args(*args)
kw_args = if @signature.has_kw_args_in?(args)
- args.pop.keys
+ last = args.pop
+ non_kw_args = last.reject { |k, _| k.is_a?(Symbol) }
+ if non_kw_args.empty?
+ last.keys
+ else
+ args << non_kw_args
+ last.select { |k, _| k.is_a?(Symbol) }.keys
+ end
else
[]
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/support/version.rb new/lib/rspec/support/version.rb
--- old/lib/rspec/support/version.rb 2019-06-10 22:04:21.000000000 +0200
+++ new/lib/rspec/support/version.rb 2019-10-07 23:34:56.000000000 +0200
@@ -1,7 +1,7 @@
module RSpec
module Support
module Version
- STRING = '3.8.2'
+ STRING = '3.9.0'
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/support.rb new/lib/rspec/support.rb
--- old/lib/rspec/support.rb 2019-06-10 22:04:21.000000000 +0200
+++ new/lib/rspec/support.rb 2019-10-07 23:34:56.000000000 +0200
@@ -139,7 +139,7 @@
end
end
- # The Differ is only needed when a a spec fails with a diffable failure.
+ # The Differ is only needed when a spec fails with a diffable failure.
# In the more common case of all specs passing or the only failures being
# non-diffable, we can avoid the extra cost of loading the differ, diff-lcs,
# pp, etc by avoiding an unnecessary require. Instead, autoload will take
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-06-10 22:04:21.000000000 +0200
+++ new/metadata 2019-10-07 23:34:56.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rspec-support
version: !ruby/object:Gem::Version
- version: 3.8.2
+ version: 3.9.0
platform: ruby
authors:
- David Chelimsky
@@ -48,7 +48,7 @@
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
F3MdtaDehhjC
-----END CERTIFICATE-----
-date: 2019-06-10 00:00:00.000000000 Z
+date: 2019-10-07 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rake
@@ -123,7 +123,7 @@
- MIT
metadata:
bug_tracker_uri: https://github.com/rspec/rspec-support/issues
- changelog_uri: https://github.com/rspec/rspec-support/blob/v3.8.2/Changelog.md
+ changelog_uri: https://github.com/rspec/rspec-support/blob/v3.9.0/Changelog.md
documentation_uri: https://rspec.info/documentation/
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
source_code_uri: https://github.com/rspec/rspec-support
@@ -143,8 +143,8 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.0.3
+rubygems_version: 3.0.6
signing_key:
specification_version: 4
-summary: rspec-support-3.8.2
+summary: rspec-support-3.9.0
test_files: []
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ
1
0
Hello community,
here is the log from the commit of package rubygem-rspec-mocks for openSUSE:Factory checked in at 2019-12-28 13:40:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-mocks (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rspec-mocks.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-mocks"
Sat Dec 28 13:40:01 2019 rev:19 rq:747740 version:3.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rspec-mocks/rubygem-rspec-mocks.changes 2019-07-22 12:16:26.431727304 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rspec-mocks.new.6675/rubygem-rspec-mocks.changes 2019-12-28 13:40:09.698922169 +0100
@@ -1,0 +2,15 @@
+Tue Nov 12 14:47:37 UTC 2019 - Manuel Schnitzer <mschnitzer(a)suse.com>
+
+- updated to version 3.9.0
+
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.8.2...v3.9.0)
+
+ Enhancements:
+
+ * Improve thread safety of message expectations by using Mutex to prevent
+ deadlocking errors. (Ry Biesemeyer, #1236)
+ * Add the ability to use `time` as an alias for `times`. For example:
+ `expect(Class).to receive(:method).exactly(1).time`.
+ (Pistos, Benoit Tigeot, #1271)
+
+-------------------------------------------------------------------
Old:
----
rspec-mocks-3.8.1.gem
New:
----
rspec-mocks-3.9.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rspec-mocks.spec ++++++
--- /var/tmp/diff_new_pack.ZDsTkK/_old 2019-12-28 13:40:10.594922620 +0100
+++ /var/tmp/diff_new_pack.ZDsTkK/_new 2019-12-28 13:40:10.594922620 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-rspec-mocks
-Version: 3.8.1
+Version: 3.9.0
Release: 0
%define mod_name rspec-mocks
%define mod_full_name %{mod_name}-%{version}
++++++ rspec-mocks-3.8.1.gem -> rspec-mocks-3.9.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md 2019-06-13 10:35:48.000000000 +0200
+++ new/Changelog.md 2019-10-07 23:42:39.000000000 +0200
@@ -1,3 +1,20 @@
+### 3.9.0 / 2019-10-07
+[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.8.2...v3.9.0)
+
+Enhancements:
+
+* Improve thread safety of message expectations by using Mutex to prevent
+ deadlocking errors. (Ry Biesemeyer, #1236)
+* Add the ability to use `time` as an alias for `times`. For example:
+ `expect(Class).to receive(:method).exactly(1).time`.
+ (Pistos, Benoit Tigeot, #1271)
+
+### 3.8.2 / 2019-10-02
+[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.8.1...v3.8.2)
+
+* Allow `array_including` argument matchers to be nested.
+ (Emmanuel Delmas, #1291)
+
### 3.8.1 / 2019-06-13
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.8.0...v3.8.1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2019-06-13 10:35:48.000000000 +0200
+++ new/README.md 2019-10-07 23:42:39.000000000 +0200
@@ -285,12 +285,15 @@
```ruby
expect(double).to receive(:msg).once
expect(double).to receive(:msg).twice
+expect(double).to receive(:msg).exactly(n).time
expect(double).to receive(:msg).exactly(n).times
expect(double).to receive(:msg).at_least(:once)
expect(double).to receive(:msg).at_least(:twice)
+expect(double).to receive(:msg).at_least(n).time
expect(double).to receive(:msg).at_least(n).times
expect(double).to receive(:msg).at_most(:once)
expect(double).to receive(:msg).at_most(:twice)
+expect(double).to receive(:msg).at_most(n).time
expect(double).to receive(:msg).at_most(n).times
```
@@ -327,7 +330,7 @@
expect(double).to receive(:msg).exactly(3).times.and_return(value1, value2, value3)
# returns value1 the first time, value2 the second, etc
expect(double).to receive(:msg).and_raise(error)
- # error can be an instantiated object or a class
+ # `error` can be an instantiated object (e.g. `StandardError.new(some_arg)`) or a class (e.g. `StandardError`)
# if it is a class, it must be instantiable with no args
expect(double).to receive(:msg).and_throw(:msg)
expect(double).to receive(:msg).and_yield(values, to, yield)
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/any_instance/chain.rb new/lib/rspec/mocks/any_instance/chain.rb
--- old/lib/rspec/mocks/any_instance/chain.rb 2019-06-13 10:35:48.000000000 +0200
+++ new/lib/rspec/mocks/any_instance/chain.rb 2019-10-07 23:42:39.000000000 +0200
@@ -41,6 +41,7 @@
record :thrice
record :exactly
record :times
+ record :time
record :never
record :at_least
record :at_most
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 2019-06-13 10:35:48.000000000 +0200
+++ new/lib/rspec/mocks/argument_matchers.rb 2019-10-07 23:42:39.000000000 +0200
@@ -241,6 +241,8 @@
RSpec::Support::FuzzyMatcher.values_match?(expected_element, actual_element)
end
end
+ rescue NoMethodError
+ false
end
def description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/mocks/matchers/have_received.rb new/lib/rspec/mocks/matchers/have_received.rb
--- old/lib/rspec/mocks/matchers/have_received.rb 2019-06-13 10:35:48.000000000 +0200
+++ new/lib/rspec/mocks/matchers/have_received.rb 2019-10-07 23:42:39.000000000 +0200
@@ -5,7 +5,7 @@
class HaveReceived
include Matcher
- COUNT_CONSTRAINTS = %w[exactly at_least at_most times once twice thrice]
+ COUNT_CONSTRAINTS = %w[exactly at_least at_most times time once twice thrice]
ARGS_CONSTRAINTS = %w[with]
CONSTRAINTS = COUNT_CONSTRAINTS + ARGS_CONSTRAINTS + %w[ordered]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/mocks/message_expectation.rb new/lib/rspec/mocks/message_expectation.rb
--- old/lib/rspec/mocks/message_expectation.rb 2019-06-13 10:35:48.000000000 +0200
+++ new/lib/rspec/mocks/message_expectation.rb 2019-10-07 23:42:39.000000000 +0200
@@ -1,3 +1,5 @@
+RSpec::Support.require_rspec_support 'mutex'
+
module RSpec
module Mocks
# A message expectation that only allows concrete return values to be set
@@ -236,6 +238,7 @@
self.inner_implementation_action = block
self
end
+ alias time times
# Expect a message not to be received at all.
#
@@ -357,6 +360,7 @@
# some collaborators it delegates to for this stuff but for now this was
# the simplest way to split the public from private stuff to make it
# easier to publish the docs for the APIs we want published.
+ # rubocop:disable Metrics/ModuleLength
module ImplementationDetails
attr_accessor :error_generator, :implementation
attr_reader :message
@@ -378,6 +382,7 @@
@orig_object = @method_double.object
@message = @method_double.method_name
@actual_received_count = 0
+ @actual_received_count_write_mutex = Support::Mutex.new
@expected_received_count = type == :expectation ? 1 : :any
@argument_list_matcher = ArgumentListMatcher::MATCH_ALL
@order_group = expectation_ordering
@@ -536,7 +541,9 @@
end
def increase_actual_received_count!
- @actual_received_count += 1
+ @actual_received_count_write_mutex.synchronize do
+ @actual_received_count += 1
+ end
end
private
@@ -567,7 +574,9 @@
parent_stub.invoke(nil, *args, &block)
end
ensure
- @actual_received_count += increment
+ @actual_received_count_write_mutex.synchronize do
+ @actual_received_count += increment
+ end
end
def has_been_invoked?
@@ -626,6 +635,7 @@
nil
end
end
+ # rubocop:enable Metrics/ModuleLength
include ImplementationDetails
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/mocks/proxy.rb new/lib/rspec/mocks/proxy.rb
--- old/lib/rspec/mocks/proxy.rb 2019-06-13 10:35:48.000000000 +0200
+++ new/lib/rspec/mocks/proxy.rb 2019-10-07 23:42:39.000000000 +0200
@@ -9,6 +9,11 @@
end
end
+ unless defined?(Mutex)
+ Support.require_rspec_support 'mutex'
+ Mutex = Support::Mutex
+ end
+
# @private
def ensure_implemented(*_args)
# noop for basic proxies, see VerifyingProxy for behaviour.
@@ -20,6 +25,7 @@
@order_group = order_group
@error_generator = ErrorGenerator.new(object)
@messages_received = []
+ @messages_received_mutex = Mutex.new
@options = options
@null_object = false
@method_doubles = Hash.new { |h, k| h[k] = MethodDouble.new(@object, k, self) }
@@ -90,27 +96,31 @@
@error_generator.raise_expectation_on_unstubbed_method(expected_method_name)
end
- @messages_received.each do |(actual_method_name, args, received_block)|
- next unless expectation.matches?(actual_method_name, *args)
+ @messages_received_mutex.synchronize do
+ @messages_received.each do |(actual_method_name, args, received_block)|
+ next unless expectation.matches?(actual_method_name, *args)
- expectation.safe_invoke(nil)
- block.call(*args, &received_block) if block
+ expectation.safe_invoke(nil)
+ block.call(*args, &received_block) if block
+ end
end
end
# @private
def check_for_unexpected_arguments(expectation)
- return if @messages_received.empty?
+ @messages_received_mutex.synchronize do
+ return if @messages_received.empty?
- return if @messages_received.any? { |method_name, args, _| expectation.matches?(method_name, *args) }
+ return if @messages_received.any? { |method_name, args, _| expectation.matches?(method_name, *args) }
- name_but_not_args, others = @messages_received.partition do |(method_name, args, _)|
- expectation.matches_name_but_not_args(method_name, *args)
- end
+ name_but_not_args, others = @messages_received.partition do |(method_name, args, _)|
+ expectation.matches_name_but_not_args(method_name, *args)
+ end
- return if name_but_not_args.empty? && !others.empty?
+ return if name_but_not_args.empty? && !others.empty?
- expectation.raise_unexpected_message_args_error(name_but_not_args.map { |args| args[1] })
+ expectation.raise_unexpected_message_args_error(name_but_not_args.map { |args| args[1] })
+ end
end
# @private
@@ -141,17 +151,23 @@
# @private
def reset
- @messages_received.clear
+ @messages_received_mutex.synchronize do
+ @messages_received.clear
+ end
end
# @private
def received_message?(method_name, *args, &block)
- @messages_received.any? { |array| array == [method_name, args, block] }
+ @messages_received_mutex.synchronize do
+ @messages_received.any? { |array| array == [method_name, args, block] }
+ end
end
# @private
def messages_arg_list
- @messages_received.map { |_, args, _| args }
+ @messages_received_mutex.synchronize do
+ @messages_received.map { |_, args, _| args }
+ end
end
# @private
@@ -162,7 +178,9 @@
# @private
def record_message_received(message, *args, &block)
@order_group.invoked SpecificMessage.new(object, message, args)
- @messages_received << [message, args, block]
+ @messages_received_mutex.synchronize do
+ @messages_received << [message, args, block]
+ end
end
# @private
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 2019-06-13 10:35:48.000000000 +0200
+++ new/lib/rspec/mocks/version.rb 2019-10-07 23:42:39.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.8.1'
+ STRING = '3.9.0'
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-06-13 10:35:48.000000000 +0200
+++ new/metadata 2019-10-07 23:42:39.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rspec-mocks
version: !ruby/object:Gem::Version
- version: 3.8.1
+ version: 3.9.0
platform: ruby
authors:
- Steven Baker
@@ -45,7 +45,7 @@
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
F3MdtaDehhjC
-----END CERTIFICATE-----
-date: 2019-06-13 00:00:00.000000000 Z
+date: 2019-10-07 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec-support
@@ -53,14 +53,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
- !ruby/object:Gem::Dependency
name: diff-lcs
requirement: !ruby/object:Gem::Requirement
@@ -115,14 +115,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 0.6.2
+ version: 0.14.10
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 0.6.2
+ version: 0.14.10
- !ruby/object:Gem::Dependency
name: minitest
requirement: !ruby/object:Gem::Requirement
@@ -194,7 +194,7 @@
- MIT
metadata:
bug_tracker_uri: https://github.com/rspec/rspec-mocks/issues
- changelog_uri: https://github.com/rspec/rspec-mocks/blob/v3.8.1/Changelog.md
+ changelog_uri: https://github.com/rspec/rspec-mocks/blob/v3.9.0/Changelog.md
documentation_uri: https://rspec.info/documentation/
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
source_code_uri: https://github.com/rspec/rspec-mocks
@@ -214,8 +214,8 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.0.3
+rubygems_version: 3.0.6
signing_key:
specification_version: 4
-summary: rspec-mocks-3.8.1
+summary: rspec-mocks-3.9.0
test_files: []
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ
1
0
Hello community,
here is the log from the commit of package rubygem-rspec-core for openSUSE:Factory checked in at 2019-12-28 13:39:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-core (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rspec-core.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-core"
Sat Dec 28 13:39:58 2019 rev:27 rq:747739 version:3.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rspec-core/rubygem-rspec-core.changes 2019-07-22 12:16:12.707731034 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rspec-core.new.6675/rubygem-rspec-core.changes 2019-12-28 13:40:05.898920253 +0100
@@ -1,0 +2,26 @@
+Tue Nov 12 14:46:03 UTC 2019 - Manuel Schnitzer <mschnitzer(a)suse.com>
+
+- updated to version 3.9.0
+
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.2...v3.9.0)
+
+ Enhancements:
+ * Improve the handling of errors during loading support files, if a file
+ errors before loading specs, RSpec will now skip loading the specs.
+ (David Rodríguez, #2568)
+ * Add support for --example-matches to run examples by regular expression.
+ (Sam Joseph, Matt Rider, @okothkongo1, #2586)
+ * Add `did_you_mean` suggestions for file names encountering a `LoadError`
+ outside of examples. (@obromios, #2601)
+ * Add a minimalist quick fix style formatter, only outputs failures as
+ `file:line:message`. (Romain Tartière, #2614)
+ * Convert string number values to integer when used for `RSpec::Configuration#fail_fast`
+ (Viktor Fonic, #2634)
+ * Issue warning when invalid values are used for `RSpec::Configuration#fail_fast`
+ (Viktor Fonic, #2634)
+ * Add support for running the Rake task in a clean environment.
+ (Jon Rowe, #2632)
+ * Indent messages by there example group / example in the documentation formatter.
+ (Samuel Williams, #2649)
+
+-------------------------------------------------------------------
Old:
----
rspec-core-3.8.2.gem
New:
----
rspec-core-3.9.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rspec-core.spec ++++++
--- /var/tmp/diff_new_pack.Y32z1T/_old 2019-12-28 13:40:06.554920583 +0100
+++ /var/tmp/diff_new_pack.Y32z1T/_new 2019-12-28 13:40:06.558920585 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-rspec-core
-Version: 3.8.2
+Version: 3.9.0
Release: 0
%define mod_name rspec-core
%define mod_full_name %{mod_name}-%{version}
++++++ rspec-core-3.8.2.gem -> rspec-core-3.9.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md 2019-06-29 12:58:42.000000000 +0200
+++ new/Changelog.md 2019-10-07 23:38:46.000000000 +0200
@@ -1,3 +1,25 @@
+### 3.9.0 / 2019-10-07
+[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.2...v3.9.0)
+
+Enhancements:
+* Improve the handling of errors during loading support files, if a file
+ errors before loading specs, RSpec will now skip loading the specs.
+ (David Rodríguez, #2568)
+* Add support for --example-matches to run examples by regular expression.
+ (Sam Joseph, Matt Rider, @okothkongo1, #2586)
+* Add `did_you_mean` suggestions for file names encountering a `LoadError`
+ outside of examples. (@obromios, #2601)
+* Add a minimalist quick fix style formatter, only outputs failures as
+ `file:line:message`. (Romain Tartière, #2614)
+* Convert string number values to integer when used for `RSpec::Configuration#fail_fast`
+ (Viktor Fonic, #2634)
+* Issue warning when invalid values are used for `RSpec::Configuration#fail_fast`
+ (Viktor Fonic, #2634)
+* Add support for running the Rake task in a clean environment.
+ (Jon Rowe, #2632)
+* Indent messages by there example group / example in the documentation formatter.
+ (Samuel Williams, #2649)
+
### 3.8.2 / 2019-06-29
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.1...v3.8.2)
@@ -8,7 +30,7 @@
(Myron Marston, #2635).
### 3.8.1 / 2019-06-13
-[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.0...3.8.1)
+[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.0...v3.8.1)
Bug Fixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2019-06-29 12:58:42.000000000 +0200
+++ new/README.md 2019-10-07 23:38:46.000000000 +0200
@@ -53,7 +53,7 @@
## Nested Groups
-You can also declare nested nested groups using the `describe` or `context`
+You can also declare nested groups using the `describe` or `context`
methods:
```ruby
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/core/bisect/server.rb new/lib/rspec/core/bisect/server.rb
--- old/lib/rspec/core/bisect/server.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/bisect/server.rb 2019-10-07 23:38:46.000000000 +0200
@@ -33,7 +33,7 @@
def start
# Only allow remote DRb requests from this machine.
- DRb.install_acl ACL.new(%w[ deny all allow localhost allow 127.0.0.1 ])
+ DRb.install_acl ACL.new(%w[ deny all allow localhost allow 127.0.0.1 allow ::1 ])
# We pass `nil` as the first arg to allow it to pick a DRb port.
@drb = DRb.start_service(nil, self)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/configuration.rb new/lib/rspec/core/configuration.rb
--- old/lib/rspec/core/configuration.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/configuration.rb 2019-10-07 23:38:46.000000000 +0200
@@ -202,10 +202,33 @@
only_failures? && !example_status_persistence_file_path
end
- # @macro add_setting
+ # @macro define_reader
# If specified, indicates the number of failures required before cleaning
- # up and exit (default: `nil`).
- add_setting :fail_fast
+ # up and exit (default: `nil`). Can also be `true` to fail and exit on first
+ # failure
+ define_reader :fail_fast
+
+ # @see fail_fast
+ def fail_fast=(value)
+ case value
+ when true, 'true'
+ @fail_fast = true
+ when false, 'false', 0
+ @fail_fast = false
+ when nil
+ @fail_fast = nil
+ else
+ @fail_fast = value.to_i
+
+ if value.to_i == 0
+ # TODO: in RSpec 4, consider raising an error here.
+ RSpec.warning "Cannot set `RSpec.configuration.fail_fast`" \
+ " to `#{value.inspect}`. Only `true`, `false`, `nil` and integers" \
+ " are valid values."
+ @fail_fast = true
+ end
+ end
+ end
# @macro add_setting
# Prints the formatter output of your suite without running any
@@ -1106,7 +1129,7 @@
#
# # This lets you do this:
#
- # describe Thing do
+ # RSpec.describe Thing do
# pending "does something" do
# thing = Thing.new
# end
@@ -1114,7 +1137,7 @@
#
# # ... which is the equivalent of
#
- # describe Thing do
+ # RSpec.describe Thing do
# it "does something", :pending => true do
# thing = Thing.new
# end
@@ -1167,7 +1190,7 @@
#
# # allows the user to include a shared example group like:
#
- # describe Entity do
+ # RSpec.describe Entity do
# it_has_behavior 'sortability' do
# let(:sortable) { Entity.new }
# end
@@ -1718,7 +1741,7 @@
# rspec.expose_current_running_example_as :example
# end
#
- # describe MyClass do
+ # RSpec.describe MyClass do
# before do
# # `example` can be used here because of the above config.
# do_something if example.metadata[:type] == "foo"
@@ -2051,6 +2074,11 @@
def load_file_handling_errors(method, file)
__send__(method, file)
+ rescue LoadError => ex
+ relative_file = Metadata.relative_path(file)
+ suggestions = DidYouMean.new(relative_file).call
+ reporter.notify_non_example_exception(ex, "An error occurred while loading #{relative_file}.#{suggestions}")
+ RSpec.world.wants_to_quit = true
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
relative_file = Metadata.relative_path(file)
reporter.notify_non_example_exception(ex, "An error occurred while loading #{relative_file}.")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/did_you_mean.rb new/lib/rspec/core/did_you_mean.rb
--- old/lib/rspec/core/did_you_mean.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/rspec/core/did_you_mean.rb 2019-10-07 23:38:46.000000000 +0200
@@ -0,0 +1,46 @@
+module RSpec
+ module Core
+ # @private
+ # Wrapper around Ruby's `DidYouMean::SpellChecker` when available to provide file name suggestions.
+ class DidYouMean
+ attr_reader :relative_file_name
+
+ def initialize(relative_file_name)
+ @relative_file_name = relative_file_name
+ end
+
+ if defined?(::DidYouMean::SpellChecker)
+ # provide probable suggestions
+ def call
+ checker = ::DidYouMean::SpellChecker.new(:dictionary => Dir["spec/**/*.rb"])
+ probables = checker.correct(relative_file_name.sub('./', ''))[0..2]
+ return '' unless probables.any?
+
+ formats probables
+ end
+ else
+ # return a hint if API for ::DidYouMean::SpellChecker not supported
+ def call
+ "\nHint: Install the `did_you_mean` gem in order to provide suggestions for similarly named files."
+ end
+ end
+
+ private
+
+ def formats(probables)
+ rspec_format = probables.map { |s, _| "rspec ./#{s}" }
+ red_font(top_and_tail rspec_format)
+ end
+
+ def top_and_tail(rspec_format)
+ spaces = ' ' * 20
+ rspec_format.insert(0, ' - Did you mean?').join("\n#{spaces}") + "\n"
+ end
+
+ def red_font(mytext)
+ colorizer = ::RSpec::Core::Formatters::ConsoleCodes
+ colorizer.wrap mytext, :failure
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/example_group.rb new/lib/rspec/core/example_group.rb
--- old/lib/rspec/core/example_group.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/example_group.rb 2019-10-07 23:38:46.000000000 +0200
@@ -7,7 +7,7 @@
# ExampleGroup and {Example} are the main structural elements of
# rspec-core. Consider this example:
#
- # describe Thing do
+ # RSpec.describe Thing do
# it "does something" do
# end
# end
@@ -90,7 +90,7 @@
# Returns the class or module passed to the `describe` method (or alias).
# Returns nil if the subject is not a class or module.
# @example
- # describe Thing do
+ # RSpec.describe Thing do
# it "does something" do
# described_class == Thing
# end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/formatters/documentation_formatter.rb new/lib/rspec/core/formatters/documentation_formatter.rb
--- old/lib/rspec/core/formatters/documentation_formatter.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/formatters/documentation_formatter.rb 2019-10-07 23:38:46.000000000 +0200
@@ -6,12 +6,19 @@
module Formatters
# @private
class DocumentationFormatter < BaseTextFormatter
- Formatters.register self, :example_group_started, :example_group_finished,
+ Formatters.register self, :example_started, :example_group_started, :example_group_finished,
:example_passed, :example_pending, :example_failed
def initialize(output)
super
@group_level = 0
+
+ @example_running = false
+ @messages = []
+ end
+
+ def example_started(_notification)
+ @example_running = true
end
def example_group_started(notification)
@@ -27,19 +34,44 @@
def example_passed(passed)
output.puts passed_output(passed.example)
+
+ flush_messages
+ @example_running = false
end
def example_pending(pending)
output.puts pending_output(pending.example,
pending.example.execution_result.pending_message)
+
+ flush_messages
+ @example_running = false
end
def example_failed(failure)
output.puts failure_output(failure.example)
+
+ flush_messages
+ @example_running = false
+ end
+
+ def message(notification)
+ if @example_running
+ @messages << notification.message
+ else
+ output.puts "#{current_indentation}#{notification.message}"
+ end
end
private
+ def flush_messages
+ @messages.each do |message|
+ output.puts "#{current_indentation(1)}#{message}"
+ end
+
+ @messages.clear
+ end
+
def passed_output(example)
ConsoleCodes.wrap("#{current_indentation}#{example.description.strip}", :success)
end
@@ -61,8 +93,8 @@
@next_failure_index += 1
end
- def current_indentation
- ' ' * @group_level
+ def current_indentation(offset=0)
+ ' ' * (@group_level + offset)
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/formatters/failure_list_formatter.rb new/lib/rspec/core/formatters/failure_list_formatter.rb
--- old/lib/rspec/core/formatters/failure_list_formatter.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/rspec/core/formatters/failure_list_formatter.rb 2019-10-07 23:38:46.000000000 +0200
@@ -0,0 +1,23 @@
+RSpec::Support.require_rspec_core "formatters/base_formatter"
+
+module RSpec
+ module Core
+ module Formatters
+ # @private
+ class FailureListFormatter < BaseFormatter
+ Formatters.register self, :example_failed, :dump_profile, :message
+
+ def example_failed(failure)
+ output.puts "#{failure.example.location}:#{failure.example.description}"
+ end
+
+ # Discard profile and messages
+ #
+ # These outputs are not really relevant in the context of this failure
+ # list formatter.
+ def dump_profile(_profile); end
+ def message(_message); end
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/formatters.rb new/lib/rspec/core/formatters.rb
--- old/lib/rspec/core/formatters.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/formatters.rb 2019-10-07 23:38:46.000000000 +0200
@@ -74,6 +74,7 @@
autoload :JsonFormatter, 'rspec/core/formatters/json_formatter'
autoload :BisectDRbFormatter, 'rspec/core/formatters/bisect_drb_formatter'
autoload :ExceptionPresenter, 'rspec/core/formatters/exception_presenter'
+ autoload :FailureListFormatter, 'rspec/core/formatters/failure_list_formatter'
# Register the formatter class
# @param formatter_class [Class] formatter class to register
@@ -212,6 +213,8 @@
JsonFormatter
when 'bisect-drb'
BisectDRbFormatter
+ when 'f', 'failures'
+ FailureListFormatter
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/hooks.rb new/lib/rspec/core/hooks.rb
--- old/lib/rspec/core/hooks.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/hooks.rb 2019-10-07 23:38:46.000000000 +0200
@@ -60,7 +60,8 @@
# before(:example) # Declared in the current group.
#
# If more than one `before` is declared within any one scope, they are run
- # in the order in which they are declared.
+ # in the order in which they are declared. Any `around` hooks will execute
+ # later than any `before` hook regardless of scope.
#
# ### Conditions
#
@@ -74,11 +75,11 @@
# end
# end
#
- # describe Something, :authorized => true do
+ # RSpec.describe Something, :authorized => true do
# # The before hook will run in before each example in this group.
# end
#
- # describe SomethingElse do
+ # RSpec.describe SomethingElse do
# it "does something", :authorized => true do
# # The before hook will run before this example.
# end
@@ -159,7 +160,7 @@
#
# @example before(:example) declared in an {ExampleGroup}
#
- # describe Thing do
+ # RSpec.describe Thing do
# before(:example) do
# @thing = Thing.new
# end
@@ -171,7 +172,7 @@
#
# @example before(:context) declared in an {ExampleGroup}
#
- # describe Parser do
+ # RSpec.describe Parser do
# before(:context) do
# File.open(file_to_parse, 'w') do |f|
# f.write <<-CONTENT
@@ -261,7 +262,8 @@
#
# This is the reverse of the order in which `before` hooks are run.
# Similarly, if more than one `after` is declared within any one scope,
- # they are run in reverse order of that in which they are declared.
+ # they are run in reverse order of that in which they are declared. Also
+ # `around` hooks will all have run before any after hooks are invoked.
#
# @note The `:example` and `:context` scopes are also available as
# `:each` and `:all`, respectively. Use whichever you prefer.
@@ -329,6 +331,12 @@
# around(:example) {|ex| Database.transaction(&ex)}
# around(:example) {|ex| FakeFS(&ex)}
#
+ # ### Order
+ #
+ # All `around` hooks execute immediately surrounding an example, this means
+ # that all `before` hooks will have run and no `after` hooks will have run yet.
+ #
+ # They are not a synonym for `before`/`after`.
def around(*args, &block)
hooks.register :prepend, :around, *args, &block
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/memoized_helpers.rb new/lib/rspec/core/memoized_helpers.rb
--- old/lib/rspec/core/memoized_helpers.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/memoized_helpers.rb 2019-10-07 23:38:46.000000000 +0200
@@ -10,7 +10,7 @@
# @note `subject` was contributed by Joe Ferris to support the one-liner
# syntax embraced by shoulda matchers:
#
- # describe Widget do
+ # RSpec.describe Widget do
# it { is_expected.to validate_presence_of(:name) }
# # or
# it { should validate_presence_of(:name) }
@@ -23,7 +23,7 @@
# @example
#
# # Explicit declaration of subject.
- # describe Person do
+ # RSpec.describe Person do
# subject { Person.new(:birthdate => 19.years.ago) }
# it "should be eligible to vote" do
# subject.should be_eligible_to_vote
@@ -32,7 +32,7 @@
# end
#
# # Implicit subject => { Person.new }.
- # describe Person do
+ # RSpec.describe Person do
# it "should be eligible to vote" do
# subject.should be_eligible_to_vote
# # ^ ^ explicit reference to subject not recommended
@@ -40,7 +40,7 @@
# end
#
# # One-liner syntax - expectation is set on the subject.
- # describe Person do
+ # RSpec.describe Person do
# it { is_expected.to be_eligible_to_vote }
# # or
# it { should be_eligible_to_vote }
@@ -67,7 +67,7 @@
#
# @example
#
- # describe Person do
+ # RSpec.describe Person do
# it { should be_eligible_to_vote }
# end
#
@@ -86,7 +86,7 @@
#
# @example
#
- # describe Person do
+ # RSpec.describe Person do
# it { should_not be_eligible_to_vote }
# end
#
@@ -270,7 +270,7 @@
#
# @example
#
- # describe Thing do
+ # RSpec.describe Thing do
# let(:thing) { Thing.new }
#
# it "does something" do
@@ -342,7 +342,7 @@
# end
# end
#
- # describe Thing do
+ # RSpec.describe Thing do
# after(:example) { Thing.reset_count }
#
# context "using let" do
@@ -398,13 +398,13 @@
#
# @example
#
- # describe CheckingAccount, "with $50" do
+ # RSpec.describe CheckingAccount, "with $50" do
# subject { CheckingAccount.new(Money.new(50, :USD)) }
# it { is_expected.to have_a_balance_of(Money.new(50, :USD)) }
# it { is_expected.not_to be_overdrawn }
# end
#
- # describe CheckingAccount, "with a non-zero starting balance" do
+ # RSpec.describe CheckingAccount, "with a non-zero starting balance" do
# subject(:account) { CheckingAccount.new(Money.new(50, :USD)) }
# it { is_expected.not_to be_overdrawn }
# it "has a balance equal to the starting balance" do
@@ -452,7 +452,7 @@
# end
# end
#
- # describe Thing do
+ # RSpec.describe Thing do
# after(:example) { Thing.reset_count }
#
# context "using subject" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/metadata.rb new/lib/rspec/core/metadata.rb
--- old/lib/rspec/core/metadata.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/metadata.rb 2019-10-07 23:38:46.000000000 +0200
@@ -7,7 +7,7 @@
# In addition to metadata that is used internally, this also stores
# user-supplied metadata, e.g.
#
- # describe Something, :type => :ui do
+ # RSpec.describe Something, :type => :ui do
# it "does something", :slow => true do
# # ...
# end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/option_parser.rb new/lib/rspec/core/option_parser.rb
--- old/lib/rspec/core/option_parser.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/option_parser.rb 2019-10-07 23:38:46.000000000 +0200
@@ -37,6 +37,7 @@
# rubocop:disable Metrics/AbcSize
# rubocop:disable CyclomaticComplexity
# rubocop:disable PerceivedComplexity
+ # rubocop:disable Metrics/BlockLength
def parser(options)
OptionParser.new do |parser|
parser.summary_width = 34
@@ -111,6 +112,7 @@
' [d]ocumentation (group and example names)',
' [h]tml',
' [j]son',
+ ' [f]ailures ("file:line:reason", suitable for editors integration)',
' custom formatter class name') do |o|
options[:formatters] ||= []
options[:formatters] << [o]
@@ -226,6 +228,11 @@
(options[:full_description] ||= []) << Regexp.compile(Regexp.escape(o))
end
+ parser.on('-E', '--example-matches REGEX', "Run examples whose full nested names match REGEX (may be",
+ " used more than once)") do |o|
+ (options[:full_description] ||= []) << Regexp.compile(o)
+ end
+
parser.on('-t', '--tag TAG[:VALUE]',
'Run examples with the specified tag, or exclude examples',
'by adding ~ before the tag.',
@@ -288,6 +295,7 @@
end
end
end
+ # rubocop:enable Metrics/BlockLength
# rubocop:enable Metrics/AbcSize
# rubocop:enable MethodLength
# rubocop:enable CyclomaticComplexity
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/rake_task.rb new/lib/rspec/core/rake_task.rb
--- old/lib/rspec/core/rake_task.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/rake_task.rb 2019-10-07 23:38:46.000000000 +0200
@@ -45,6 +45,21 @@
# A message to print to stderr when there are failures.
attr_accessor :failure_message
+ if RUBY_VERSION < "1.9.0" || Support::Ruby.jruby?
+ # Run RSpec with a clean (empty) environment is not supported
+ def with_clean_environment=(_value)
+ raise ArgumentError, "Running in a clean environment is not supported on Ruby versions before 1.9.0"
+ end
+
+ # Run RSpec with a clean (empty) environment is not supported
+ def with_clean_environment
+ false
+ end
+ else
+ # Run RSpec with a clean (empty) environment.
+ attr_accessor :with_clean_environment
+ end
+
# Use verbose output. If this is set to true, the task will print the
# executed spec command to stdout. Defaults to `true`.
attr_accessor :verbose
@@ -76,7 +91,12 @@
command = spec_command
puts command if verbose
- return if system(command)
+ if with_clean_environment
+ return if system({}, command, :unsetenv_others => true)
+ else
+ return if system(command)
+ end
+
puts failure_message if failure_message
return unless fail_on_error
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/reporter.rb new/lib/rspec/core/reporter.rb
--- old/lib/rspec/core/reporter.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/reporter.rb 2019-10-07 23:38:46.000000000 +0200
@@ -77,6 +77,14 @@
end
end
+ # @param exit_code [Integer] the exit_code to be return by the reporter
+ #
+ # Reports a run that exited early without having run any examples.
+ #
+ def exit_early(exit_code)
+ report(0) { exit_code }
+ end
+
# @private
def start(expected_example_count, time=RSpec::Core::Time.now)
@start = time
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/runner.rb new/lib/rspec/core/runner.rb
--- old/lib/rspec/core/runner.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/runner.rb 2019-10-07 23:38:46.000000000 +0200
@@ -84,6 +84,8 @@
# @param out [IO] output stream
def run(err, out)
setup(err, out)
+ return @configuration.reporter.exit_early(@configuration.failure_exit_code) if RSpec.world.wants_to_quit
+
run_specs((a)world.ordered_example_groups).tap do
persist_example_statuses
end
@@ -95,7 +97,10 @@
# @param out [IO] output stream
def setup(err, out)
configure(err, out)
+ return if RSpec.world.wants_to_quit
+
@configuration.load_spec_files
+ ensure
@world.announce_filters
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/shared_example_group.rb new/lib/rspec/core/shared_example_group.rb
--- old/lib/rspec/core/shared_example_group.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/shared_example_group.rb 2019-10-07 23:38:46.000000000 +0200
@@ -76,7 +76,7 @@
# end
# end
#
- # describe Account do
+ # RSpec.describe Account do
# it_behaves_like "auditable" do
# let(:auditable) { Account.new }
# end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/version.rb new/lib/rspec/core/version.rb
--- old/lib/rspec/core/version.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core/version.rb 2019-10-07 23:38:46.000000000 +0200
@@ -3,7 +3,7 @@
# Version information for RSpec Core.
module Version
# Current version of RSpec Core, in semantic versioning format.
- STRING = '3.8.2'
+ STRING = '3.9.0'
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core.rb new/lib/rspec/core.rb
--- old/lib/rspec/core.rb 2019-06-29 12:58:42.000000000 +0200
+++ new/lib/rspec/core.rb 2019-10-07 23:38:46.000000000 +0200
@@ -139,6 +139,7 @@
module Core
autoload :ExampleStatusPersister, "rspec/core/example_status_persister"
autoload :Profiler, "rspec/core/profiler"
+ autoload :DidYouMean, "rspec/core/did_you_mean"
# @private
# This avoids issues with reporting time caused by examples that
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-06-29 12:58:42.000000000 +0200
+++ new/metadata 2019-10-07 23:38:46.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rspec-core
version: !ruby/object:Gem::Version
- version: 3.8.2
+ version: 3.9.0
platform: ruby
authors:
- Steven Baker
@@ -46,7 +46,7 @@
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
F3MdtaDehhjC
-----END CERTIFICATE-----
-date: 2019-06-29 00:00:00.000000000 Z
+date: 2019-10-07 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec-support
@@ -54,14 +54,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
- !ruby/object:Gem::Dependency
name: cucumber
requirement: !ruby/object:Gem::Requirement
@@ -96,14 +96,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 0.6.2
+ version: 0.14.9
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 0.6.2
+ version: 0.14.9
- !ruby/object:Gem::Dependency
name: coderay
requirement: !ruby/object:Gem::Requirement
@@ -199,6 +199,7 @@
- lib/rspec/core/bisect/utilities.rb
- lib/rspec/core/configuration.rb
- lib/rspec/core/configuration_options.rb
+- lib/rspec/core/did_you_mean.rb
- lib/rspec/core/drb.rb
- lib/rspec/core/dsl.rb
- lib/rspec/core/example.rb
@@ -216,6 +217,7 @@
- lib/rspec/core/formatters/deprecation_formatter.rb
- lib/rspec/core/formatters/documentation_formatter.rb
- lib/rspec/core/formatters/exception_presenter.rb
+- lib/rspec/core/formatters/failure_list_formatter.rb
- lib/rspec/core/formatters/fallback_message_formatter.rb
- lib/rspec/core/formatters/helpers.rb
- lib/rspec/core/formatters/html_formatter.rb
@@ -265,7 +267,7 @@
- MIT
metadata:
bug_tracker_uri: https://github.com/rspec/rspec-core/issues
- changelog_uri: https://github.com/rspec/rspec-core/blob/v3.8.2/Changelog.md
+ changelog_uri: https://github.com/rspec/rspec-core/blob/v3.9.0/Changelog.md
documentation_uri: https://rspec.info/documentation/
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
source_code_uri: https://github.com/rspec/rspec-core
@@ -285,8 +287,8 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.0.3
+rubygems_version: 3.0.6
signing_key:
specification_version: 4
-summary: rspec-core-3.8.2
+summary: rspec-core-3.9.0
test_files: []
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ
1
0
Hello community,
here is the log from the commit of package rubygem-rspec-expectations for openSUSE:Factory checked in at 2019-12-28 13:39:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-expectations (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rspec-expectations.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-expectations"
Sat Dec 28 13:39:57 2019 rev:18 rq:747731 version:3.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rspec-expectations/rubygem-rspec-expectations.changes 2019-07-22 12:16:19.447729202 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rspec-expectations.new.6675/rubygem-rspec-expectations.changes 2019-12-28 13:39:59.718917136 +0100
@@ -1,0 +2,18 @@
+Tue Nov 12 14:36:18 UTC 2019 - Manuel Schnitzer <mschnitzer(a)suse.com>
+
+- updated to version 3.9.0
+
+ [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.6...v3.9…
+
+ Enhancements:
+
+ * The `respond_to` matcher now uses the signature from `initialize` to validate checks
+ for `new` (unless `new` is non standard). (Jon Rowe, #1072)
+ * Generated descriptions for matchers now use `is expected to` rather than `should` in
+ line with our preferred DSL. (Pete Johns, #1080, rspec/rspec-core#2572)
+ * Add the ability to re-raise expectation errors when matching
+ with `match_when_negated` blocks. (Jon Rowe, #1130)
+ * Add a warning when an empty diff is produce due to identical inspect output.
+ (Benoit Tigeot, #1126)
+
+-------------------------------------------------------------------
Old:
----
rspec-expectations-3.8.4.gem
New:
----
rspec-expectations-3.9.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rspec-expectations.spec ++++++
--- /var/tmp/diff_new_pack.78dgsz/_old 2019-12-28 13:40:01.590918081 +0100
+++ /var/tmp/diff_new_pack.78dgsz/_new 2019-12-28 13:40:01.634918103 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-rspec-expectations
-Version: 3.8.4
+Version: 3.9.0
Release: 0
%define mod_name rspec-expectations
%define mod_full_name %{mod_name}-%{version}
++++++ rspec-expectations-3.8.4.gem -> rspec-expectations-3.9.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md 2019-06-10 22:14:19.000000000 +0200
+++ new/Changelog.md 2019-10-07 23:35:25.000000000 +0200
@@ -1,3 +1,32 @@
+### 3.9.0 / 2019-10-02
+[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.5...v3.9…
+
+Enhancements:
+
+* The `respond_to` matcher now uses the signature from `initialize` to validate checks
+ for `new` (unless `new` is non standard). (Jon Rowe, #1072)
+* Generated descriptions for matchers now use `is expected to` rather than `should` in
+ line with our preferred DSL. (Pete Johns, #1080, rspec/rspec-core#2572)
+* Add the ability to re-raise expectation errors when matching
+ with `match_when_negated` blocks. (Jon Rowe, #1130)
+* Add a warning when an empty diff is produce due to identical inspect output.
+ (Benoit Tigeot, #1126)
+
+### 3.8.6 / 2019-10-07
+
+Bug Fixes:
+
+* Revert #1125 due to the change being incompatible with our semantic versioning
+ policy.
+
+### 3.8.5 / 2019-10-02
+[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.4...v3.8…
+
+Bug Fixes:
+
+* Prevent unsupported implicit block expectation syntax from being used.
+ (Phil Pirozhkov, #1125)
+
### 3.8.4 / 2019-06-10
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.3...v3.8…
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2019-06-10 22:14:19.000000000 +0200
+++ new/README.md 2019-10-07 23:35:25.000000000 +0200
@@ -175,30 +175,45 @@
### Collection membership
```ruby
-expect(actual).to include(expected)
+# exact order, entire collection
+expect(actual).to eq(expected)
+
+# exact order, partial collection (based on an exact position)
expect(actual).to start_with(expected)
expect(actual).to end_with(expected)
-expect(actual).to contain_exactly(individual, items)
-# ...which is the same as:
-expect(actual).to match_array(expected_array)
+# any order, entire collection
+expect(actual).to match_array(expected)
+
+# You can also express this by passing the expected elements
+# as individual arguments
+expect(actual).to contain_exactly(expected_element1, expected_element2)
+
+ # any order, partial collection
+expect(actual).to include(expected)
```
#### Examples
```ruby
-expect([1, 2, 3]).to include(1)
-expect([1, 2, 3]).to include(1, 2)
-expect([1, 2, 3]).to start_with(1)
-expect([1, 2, 3]).to start_with(1, 2)
-expect([1, 2, 3]).to end_with(3)
-expect([1, 2, 3]).to end_with(2, 3)
-expect({:a => 'b'}).to include(:a => 'b')
-expect("this string").to include("is str")
-expect("this string").to start_with("this")
-expect("this string").to end_with("ring")
-expect([1, 2, 3]).to contain_exactly(2, 3, 1)
-expect([1, 2, 3]).to match_array([3, 2, 1])
+expect([1, 2, 3]).to eq([1, 2, 3]) # Order dependent equality check
+expect([1, 2, 3]).to include(1) # Exact ordering, partial collection matches
+expect([1, 2, 3]).to include(2, 3) #
+expect([1, 2, 3]).to start_with(1) # As above, but from the start of the collection
+expect([1, 2, 3]).to start_with(1, 2) #
+expect([1, 2, 3]).to end_with(3) # As above but from the end of the collection
+expect([1, 2, 3]).to end_with(2, 3) #
+expect({:a => 'b'}).to include(:a => 'b') # Matching within hashes
+expect("this string").to include("is str") # Matching within strings
+expect("this string").to start_with("this") #
+expect("this string").to end_with("ring") #
+expect([1, 2, 3]).to contain_exactly(2, 3, 1) # Order independent matches
+expect([1, 2, 3]).to match_array([3, 2, 1]) #
+
+# Order dependent compound matchers
+expect(
+ [{:a => 'hash'},{:a => 'another'}]
+).to match([a_hash_including(:a => 'hash'), a_hash_including(:a => 'another')])
```
## `should` syntax
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/expectations/handler.rb new/lib/rspec/expectations/handler.rb
--- old/lib/rspec/expectations/handler.rb 2019-06-10 22:14:19.000000000 +0200
+++ new/lib/rspec/expectations/handler.rb 2019-10-07 23:35:25.000000000 +0200
@@ -52,7 +52,7 @@
end
def self.verb
- "should"
+ 'is expected to'
end
def self.should_method
@@ -82,7 +82,7 @@
end
def self.verb
- "should not"
+ 'is expected not to'
end
def self.should_method
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/expectations/version.rb new/lib/rspec/expectations/version.rb
--- old/lib/rspec/expectations/version.rb 2019-06-10 22:14:19.000000000 +0200
+++ new/lib/rspec/expectations/version.rb 2019-10-07 23:35:25.000000000 +0200
@@ -2,7 +2,7 @@
module Expectations
# @private
module Version
- STRING = '3.8.4'
+ STRING = '3.9.0'
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/matchers/built_in/compound.rb new/lib/rspec/matchers/built_in/compound.rb
--- old/lib/rspec/matchers/built_in/compound.rb 2019-06-10 22:14:19.000000000 +0200
+++ new/lib/rspec/matchers/built_in/compound.rb 2019-10-07 23:35:25.000000000 +0200
@@ -154,7 +154,12 @@
end
def matcher_matches?(matcher)
- @match_results.fetch(matcher)
+ @match_results.fetch(matcher) do
+ raise ArgumentError, "Your #{matcher.description} has no match " \
+ "results, this can occur when an unexpected call stack or " \
+ "local jump occurs. Prehaps one of your matchers needs to " \
+ "declare `expects_call_stack_jump?` as `true`?"
+ end
end
private
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/matchers/built_in/respond_to.rb new/lib/rspec/matchers/built_in/respond_to.rb
--- old/lib/rspec/matchers/built_in/respond_to.rb 2019-06-10 22:14:19.000000000 +0200
+++ new/lib/rspec/matchers/built_in/respond_to.rb 2019-10-07 23:35:25.000000000 +0200
@@ -125,9 +125,18 @@
return true if expectation.empty?
- signature = Support::MethodSignature.new(Support.method_handle_for(actual, name))
+ Support::StrictSignatureVerifier.new(method_signature_for(actual, name)).
+ with_expectation(expectation).valid?
+ end
+
+ def method_signature_for(actual, name)
+ method_handle = Support.method_handle_for(actual, name)
- Support::StrictSignatureVerifier.new(signature).with_expectation(expectation).valid?
+ if name == :new && method_handle.owner === ::Class && ::Class === actual
+ Support::MethodSignature.new(actual.instance_method(:initialize))
+ else
+ Support::MethodSignature.new(method_handle)
+ end
end
def with_arity
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/matchers/dsl.rb new/lib/rspec/matchers/dsl.rb
--- old/lib/rspec/matchers/dsl.rb 2019-06-10 22:14:19.000000000 +0200
+++ new/lib/rspec/matchers/dsl.rb 2019-10-07 23:35:25.000000000 +0200
@@ -147,8 +147,14 @@
# is rarely necessary, but can be helpful, for example, when specifying
# asynchronous processes that require different timeouts.
#
+ # By default the match block will swallow expectation errors (e.g.
+ # caused by using an expectation such as `expect(1).to eq 2`), if you
+ # with to allow these to bubble up, pass in the option
+ # `:notify_expectation_failures => true`.
+ #
+ # @param [Hash] options for defining the behavior of the match block.
# @yield [Object] actual the actual value (i.e. the value wrapped by `expect`)
- def match_when_negated(&match_block)
+ def match_when_negated(options={}, &match_block)
define_user_override(:does_not_match?, match_block) do |actual|
begin
@actual = actual
@@ -156,6 +162,7 @@
super(*actual_arg_for(match_block))
end
rescue RSpec::Expectations::ExpectationNotMetError
+ raise if options[:notify_expectation_failures]
false
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/matchers/expecteds_for_multiple_diffs.rb new/lib/rspec/matchers/expecteds_for_multiple_diffs.rb
--- old/lib/rspec/matchers/expecteds_for_multiple_diffs.rb 2019-06-10 22:14:19.000000000 +0200
+++ new/lib/rspec/matchers/expecteds_for_multiple_diffs.rb 2019-10-07 23:35:25.000000000 +0200
@@ -52,20 +52,29 @@
private
- def self.diff_label_for(matcher)
- "Diff for (#{truncated(RSpec::Support::ObjectFormatter.format(matcher))}):"
- end
+ class << self
+ private
+
+ def diff_label_for(matcher)
+ "Diff for (#{truncated(RSpec::Support::ObjectFormatter.format(matcher))}):"
+ end
- def self.truncated(description)
- return description if description.length <= DESCRIPTION_MAX_LENGTH
- description[0...DESCRIPTION_MAX_LENGTH - 3] << "..."
+ def truncated(description)
+ return description if description.length <= DESCRIPTION_MAX_LENGTH
+ description[0...DESCRIPTION_MAX_LENGTH - 3] << "..."
+ end
end
def diffs(differ, actual)
@expected_list.map do |(expected, diff_label)|
diff = differ.diff(actual, expected)
next if diff.strip.empty?
- "#{diff_label}#{diff}"
+ if diff == "\e[0m\n\e[0m"
+ "#{diff_label}\n" \
+ " <The diff is empty, are your objects producing identical `#inspect` output?>"
+ else
+ "#{diff_label}#{diff}"
+ end
end.compact.join("\n")
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/matchers.rb new/lib/rspec/matchers.rb
--- old/lib/rspec/matchers.rb 2019-06-10 22:14:19.000000000 +0200
+++ new/lib/rspec/matchers.rb 2019-10-07 23:35:25.000000000 +0200
@@ -266,9 +266,9 @@
# @example
# expect(actual).to eq(expected)
# expect(actual).not_to eq(expected)
- # @return [ExpectationTarget]
- # @see ExpectationTarget#to
- # @see ExpectationTarget#not_to
+ # @return [Expectations::ExpectationTarget]
+ # @see Expectations::ExpectationTarget#to
+ # @see Expectations::ExpectationTarget#not_to
# Allows multiple expectations in the provided block to fail, and then
# aggregates them into a single exception, rather than aborting on the
@@ -1003,31 +1003,35 @@
is_a_matcher?(obj) && obj.respond_to?(:description)
end
- if RSpec::Support::Ruby.mri? && RUBY_VERSION[0, 3] == '1.9'
- # @api private
- # Note that `included` doesn't work for this because it is triggered
- # _after_ `RSpec::Matchers` is an ancestor of the inclusion host, rather
- # than _before_, like `append_features`. It's important we check this before
- # in order to find the cases where it was already previously included.
- def self.append_features(mod)
- return super if mod < self # `mod < self` indicates a re-inclusion.
-
- subclasses = ObjectSpace.each_object(Class).select { |c| c < mod && c < self }
- return super unless subclasses.any?
-
- subclasses.reject! { |s| subclasses.any? { |s2| s < s2 } } # Filter to the root ancestor.
- subclasses = subclasses.map { |s| "`#{s}`" }.join(", ")
-
- RSpec.warning "`#{self}` has been included in a superclass (`#{mod}`) " \
- "after previously being included in subclasses (#{subclasses}), " \
- "which can trigger infinite recursion from `super` due to an MRI 1.9 bug " \
- "(https://redmine.ruby-lang.org/issues/3351) To work around this, " \
- "either upgrade to MRI 2.0+, include a dup of the module (e.g. " \
- "`include #{self}.dup`), or find a way to include `#{self}` in `#{mod}` " \
- "before it is included in subclasses (#{subclasses}). See " \
- "https://github.com/rspec/rspec-expectations/issues/814 for more info"
+ class << self
+ private
- super
+ if RSpec::Support::Ruby.mri? && RUBY_VERSION[0, 3] == '1.9'
+ # Note that `included` doesn't work for this because it is triggered
+ # _after_ `RSpec::Matchers` is an ancestor of the inclusion host, rather
+ # than _before_, like `append_features`. It's important we check this before
+ # in order to find the cases where it was already previously included.
+ # @api private
+ def append_features(mod)
+ return super if mod < self # `mod < self` indicates a re-inclusion.
+
+ subclasses = ObjectSpace.each_object(Class).select { |c| c < mod && c < self }
+ return super unless subclasses.any?
+
+ subclasses.reject! { |s| subclasses.any? { |s2| s < s2 } } # Filter to the root ancestor.
+ subclasses = subclasses.map { |s| "`#{s}`" }.join(", ")
+
+ RSpec.warning "`#{self}` has been included in a superclass (`#{mod}`) " \
+ "after previously being included in subclasses (#{subclasses}), " \
+ "which can trigger infinite recursion from `super` due to an MRI 1.9 bug " \
+ "(https://redmine.ruby-lang.org/issues/3351) To work around this, " \
+ "either upgrade to MRI 2.0+, include a dup of the module (e.g. " \
+ "`include #{self}.dup`), or find a way to include `#{self}` in `#{mod}` " \
+ "before it is included in subclasses (#{subclasses}). See " \
+ "https://github.com/rspec/rspec-expectations/issues/814 for more info"
+
+ super
+ end
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-06-10 22:14:19.000000000 +0200
+++ new/metadata 2019-10-07 23:35:25.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rspec-expectations
version: !ruby/object:Gem::Version
- version: 3.8.4
+ version: 3.9.0
platform: ruby
authors:
- Steven Baker
@@ -45,7 +45,7 @@
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
F3MdtaDehhjC
-----END CERTIFICATE-----
-date: 2019-06-10 00:00:00.000000000 Z
+date: 2019-10-07 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec-support
@@ -53,14 +53,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 3.8.0
+ version: 3.9.0
- !ruby/object:Gem::Dependency
name: diff-lcs
requirement: !ruby/object:Gem::Requirement
@@ -82,19 +82,19 @@
- !ruby/object:Gem::Version
version: '2.0'
- !ruby/object:Gem::Dependency
- name: rake
+ name: aruba
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 10.0.0
+ version: 0.14.10
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 10.0.0
+ version: 0.14.10
- !ruby/object:Gem::Dependency
name: cucumber
requirement: !ruby/object:Gem::Requirement
@@ -110,33 +110,33 @@
- !ruby/object:Gem::Version
version: '1.3'
- !ruby/object:Gem::Dependency
- name: aruba
+ name: minitest
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 0.6.2
+ version: '5.2'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 0.6.2
+ version: '5.2'
- !ruby/object:Gem::Dependency
- name: minitest
+ name: rake
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '5.2'
+ version: 10.0.0
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '5.2'
+ version: 10.0.0
description: rspec-expectations provides a simple, readable API to express expected
outcomes of a code example.
email: rspec(a)googlegroups.com
@@ -202,7 +202,7 @@
- MIT
metadata:
bug_tracker_uri: https://github.com/rspec/rspec-expectations/issues
- changelog_uri: https://github.com/rspec/rspec-expectations/blob/v3.8.4/Changelog.md
+ changelog_uri: https://github.com/rspec/rspec-expectations/blob/v3.9.0/Changelog.md
documentation_uri: https://rspec.info/documentation/
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
source_code_uri: https://github.com/rspec/rspec-expectations
@@ -222,8 +222,8 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.0.3
+rubygems_version: 3.0.6
signing_key:
specification_version: 4
-summary: rspec-expectations-3.8.4
+summary: rspec-expectations-3.9.0
test_files: []
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ
1
0
Hello community,
here is the log from the commit of package 000update-repos for openSUSE:Factory checked in at 2019-12-27 21:02:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000update-repos (Old)
and /work/SRC/openSUSE:Factory/.000update-repos.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000update-repos"
Fri Dec 27 21:02:54 2019 rev:785 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
factory:non-oss_1935.1.packages.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
1
0
Hello community,
here is the log from the commit of package 000update-repos for openSUSE:Factory checked in at 2019-12-27 21:02:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000update-repos (Old)
and /work/SRC/openSUSE:Factory/.000update-repos.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000update-repos"
Fri Dec 27 21:02:50 2019 rev:784 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
factory_20191225.packages.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
1
0
Hello community,
here is the log from the commit of package 000product for openSUSE:Factory checked in at 2019-12-27 17:11:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000product (Old)
and /work/SRC/openSUSE:Factory/.000product.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000product"
Fri Dec 27 17:11:51 2019 rev:1939 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-Addon-NonOss-ftp-ftp-i586_x86_64.kiwi ++++++
--- /var/tmp/diff_new_pack.fceP9h/_old 2019-12-27 17:11:53.934297462 +0100
+++ /var/tmp/diff_new_pack.fceP9h/_new 2019-12-27 17:11:53.934297462 +0100
@@ -1,4 +1,4 @@
-<image name="OBS__openSUSE-Addon-NonOss___20191225" schemaversion="4.1">
+<image name="OBS__openSUSE-Addon-NonOss___20191227" schemaversion="4.1">
<description type="system">
<author>The SUSE Team</author>
<contact>build(a)opensuse.org</contact>
@@ -36,11 +36,11 @@
<productvar name="SEPARATE_MEDIA">true</productvar>
<productvar name="SHA1OPT">-x -2</productvar>
<productvar name="VENDOR">openSUSE</productvar>
- <productvar name="VERSION">20191225</productvar>
+ <productvar name="VERSION">20191227</productvar>
<productinfo name="CONTENTSTYLE">11</productinfo>
- <productinfo name="DISTRO">cpe:/o:opensuse:opensuse-addon-nonoss:20191225,openSUSE NonOSS Addon</productinfo>
+ <productinfo name="DISTRO">cpe:/o:opensuse:opensuse-addon-nonoss:20191227,openSUSE NonOSS Addon</productinfo>
<productinfo name="LINGUAS">af ar be_BY bg br ca cy el et ga gl gu_IN he hi_IN hr ka km ko lt mk nn pa_IN rw sk sl sr_CS ss st tg th tr uk ve vi xh zu </productinfo>
- <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE-Addon-NonOss/2019… obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE-Addon-NonOss/2019…</productinfo>
+ <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE-Addon-NonOss/2019… obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE-Addon-NonOss/2019…</productinfo>
<productinfo name="VENDOR">openSUSE</productinfo>
<productoption name="INI_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
<productoption name="PLUGIN_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
++++++ openSUSE-MicroOS-dvd5-dvd-x86_64.kiwi ++++++
--- /var/tmp/diff_new_pack.fceP9h/_old 2019-12-27 17:11:53.942297466 +0100
+++ /var/tmp/diff_new_pack.fceP9h/_new 2019-12-27 17:11:53.946297468 +0100
@@ -1,4 +1,4 @@
-<image name="OBS__openSUSE-MicroOS___20191225" schemaversion="4.1">
+<image name="OBS__openSUSE-MicroOS___20191227" schemaversion="4.1">
<description type="system">
<author>The SUSE Team</author>
<contact>build(a)opensuse.org</contact>
@@ -35,11 +35,11 @@
<productvar name="SEPARATE_MEDIA">true</productvar>
<productvar name="SHA1OPT">-x -2</productvar>
<productvar name="VENDOR">openSUSE</productvar>
- <productvar name="VERSION">20191225</productvar>
+ <productvar name="VERSION">20191227</productvar>
<productinfo name="CONTENTSTYLE">11</productinfo>
- <productinfo name="DISTRO">cpe:/o:opensuse:opensuse-microos:20191225,openSUSE MicroOS</productinfo>
+ <productinfo name="DISTRO">cpe:/o:opensuse:opensuse-microos:20191227,openSUSE MicroOS</productinfo>
<productinfo name="LINGUAS">en_US </productinfo>
- <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE-MicroOS/20191225/…</productinfo>
+ <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE-MicroOS/20191227/…</productinfo>
<productinfo name="VENDOR">openSUSE</productinfo>
<productoption name="INI_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
<productoption name="PLUGIN_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
openSUSE-MicroOS-dvd5-kubic-dvd-x86_64.kiwi: same change
++++++ openSUSE-cd-mini-i586.kiwi ++++++
--- /var/tmp/diff_new_pack.fceP9h/_old 2019-12-27 17:11:53.966297477 +0100
+++ /var/tmp/diff_new_pack.fceP9h/_new 2019-12-27 17:11:53.966297477 +0100
@@ -1,4 +1,4 @@
-<image name="OBS__openSUSE___20191225" schemaversion="4.1">
+<image name="OBS__openSUSE___20191227" schemaversion="4.1">
<description type="system">
<author>The SUSE Team</author>
<contact>build(a)opensuse.org</contact>
@@ -32,11 +32,11 @@
<productvar name="SEPARATE_MEDIA">true</productvar>
<productvar name="SHA1OPT">-x -2</productvar>
<productvar name="VENDOR">openSUSE</productvar>
- <productvar name="VERSION">20191225</productvar>
+ <productvar name="VERSION">20191227</productvar>
<productinfo name="CONTENTSTYLE">11</productinfo>
- <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20191225,openSUSE Tumbleweed</productinfo>
+ <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20191227,openSUSE Tumbleweed</productinfo>
<productinfo name="LINGUAS">cs da de el en en_GB en_US es fr hu it ja pl pt pt_BR ru zh zh_CN zh_TW </productinfo>
- <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191225/i586</productinfo>
+ <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191227/i586</productinfo>
<productinfo name="VENDOR">openSUSE</productinfo>
<productoption name="INI_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
<productoption name="PLUGIN_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
++++++ openSUSE-cd-mini-x86_64.kiwi ++++++
--- /var/tmp/diff_new_pack.fceP9h/_old 2019-12-27 17:11:53.974297480 +0100
+++ /var/tmp/diff_new_pack.fceP9h/_new 2019-12-27 17:11:53.974297480 +0100
@@ -1,4 +1,4 @@
-<image name="OBS__openSUSE___20191225" schemaversion="4.1">
+<image name="OBS__openSUSE___20191227" schemaversion="4.1">
<description type="system">
<author>The SUSE Team</author>
<contact>build(a)opensuse.org</contact>
@@ -35,11 +35,11 @@
<productvar name="SEPARATE_MEDIA">true</productvar>
<productvar name="SHA1OPT">-x -2</productvar>
<productvar name="VENDOR">openSUSE</productvar>
- <productvar name="VERSION">20191225</productvar>
+ <productvar name="VERSION">20191227</productvar>
<productinfo name="CONTENTSTYLE">11</productinfo>
- <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20191225,openSUSE Tumbleweed</productinfo>
+ <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20191227,openSUSE Tumbleweed</productinfo>
<productinfo name="LINGUAS">cs da de el en en_GB en_US es fr hu it ja pl pt pt_BR ru zh zh_CN zh_TW </productinfo>
- <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191225/x86_64</productinfo>
+ <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191227/x86_64</productinfo>
<productinfo name="VENDOR">openSUSE</productinfo>
<productoption name="INI_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
<productoption name="PLUGIN_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
++++++ openSUSE-dvd5-dvd-i586.kiwi ++++++
--- /var/tmp/diff_new_pack.fceP9h/_old 2019-12-27 17:11:53.982297484 +0100
+++ /var/tmp/diff_new_pack.fceP9h/_new 2019-12-27 17:11:53.986297485 +0100
@@ -1,4 +1,4 @@
-<image name="OBS__openSUSE___20191225" schemaversion="4.1">
+<image name="OBS__openSUSE___20191227" schemaversion="4.1">
<description type="system">
<author>The SUSE Team</author>
<contact>build(a)opensuse.org</contact>
@@ -32,11 +32,11 @@
<productvar name="SEPARATE_MEDIA">true</productvar>
<productvar name="SHA1OPT">-x -2</productvar>
<productvar name="VENDOR">openSUSE</productvar>
- <productvar name="VERSION">20191225</productvar>
+ <productvar name="VERSION">20191227</productvar>
<productinfo name="CONTENTSTYLE">11</productinfo>
- <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20191225,openSUSE Tumbleweed</productinfo>
+ <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20191227,openSUSE Tumbleweed</productinfo>
<productinfo name="LINGUAS">cs da de el en en_GB en_US es fr hu it ja pl pt pt_BR ru zh zh_CN zh_TW </productinfo>
- <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191225/i586</productinfo>
+ <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191227/i586</productinfo>
<productinfo name="VENDOR">openSUSE</productinfo>
<productoption name="INI_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
<productoption name="PLUGIN_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
++++++ openSUSE-dvd5-dvd-x86_64.kiwi ++++++
--- /var/tmp/diff_new_pack.fceP9h/_old 2019-12-27 17:11:53.994297489 +0100
+++ /var/tmp/diff_new_pack.fceP9h/_new 2019-12-27 17:11:53.994297489 +0100
@@ -1,4 +1,4 @@
-<image name="OBS__openSUSE___20191225" schemaversion="4.1">
+<image name="OBS__openSUSE___20191227" schemaversion="4.1">
<description type="system">
<author>The SUSE Team</author>
<contact>build(a)opensuse.org</contact>
@@ -35,11 +35,11 @@
<productvar name="SEPARATE_MEDIA">true</productvar>
<productvar name="SHA1OPT">-x -2</productvar>
<productvar name="VENDOR">openSUSE</productvar>
- <productvar name="VERSION">20191225</productvar>
+ <productvar name="VERSION">20191227</productvar>
<productinfo name="CONTENTSTYLE">11</productinfo>
- <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20191225,openSUSE Tumbleweed</productinfo>
+ <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20191227,openSUSE Tumbleweed</productinfo>
<productinfo name="LINGUAS">cs da de el en en_GB en_US es fr hu it ja pl pt pt_BR ru zh zh_CN zh_TW </productinfo>
- <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191225/x86_64</productinfo>
+ <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191227/x86_64</productinfo>
<productinfo name="VENDOR">openSUSE</productinfo>
<productoption name="INI_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
<productoption name="PLUGIN_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
++++++ openSUSE-ftp-ftp-i586_x86_64.kiwi ++++++
--- /var/tmp/diff_new_pack.fceP9h/_old 2019-12-27 17:11:54.006297494 +0100
+++ /var/tmp/diff_new_pack.fceP9h/_new 2019-12-27 17:11:54.006297494 +0100
@@ -1,4 +1,4 @@
-<image name="OBS__openSUSE___20191225" schemaversion="4.1">
+<image name="OBS__openSUSE___20191227" schemaversion="4.1">
<description type="system">
<author>The SUSE Team</author>
<contact>build(a)opensuse.org</contact>
@@ -24,7 +24,7 @@
<productvar name="DISTNAME">openSUSE</productvar>
<productvar name="FLAVOR">ftp</productvar>
<productvar name="MAKE_LISTINGS">true</productvar>
- <productvar name="MEDIUM_NAME">openSUSE-20191225-i586-x86_64</productvar>
+ <productvar name="MEDIUM_NAME">openSUSE-20191227-i586-x86_64</productvar>
<productvar name="MULTIPLE_MEDIA">true</productvar>
<productvar name="PRODUCT_DIR">/</productvar>
<productvar name="PRODUCT_NAME">$DISTNAME-$FLAVOR</productvar>
@@ -36,11 +36,11 @@
<productvar name="SEPARATE_MEDIA">true</productvar>
<productvar name="SHA1OPT">-x -2</productvar>
<productvar name="VENDOR">openSUSE</productvar>
- <productvar name="VERSION">20191225</productvar>
+ <productvar name="VERSION">20191227</productvar>
<productinfo name="CONTENTSTYLE">11</productinfo>
- <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20191225,openSUSE Tumbleweed</productinfo>
+ <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20191227,openSUSE Tumbleweed</productinfo>
<productinfo name="LINGUAS">cs da de el en en_GB en_US es fr hu it ja pl pt pt_BR ru zh zh_CN zh_TW </productinfo>
- <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191225/i586 obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191225/x86_64</productinfo>
+ <productinfo name="REPOID">obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191227/i586 obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20191227/x86_64</productinfo>
<productinfo name="VENDOR">openSUSE</productinfo>
<productoption name="DEBUGMEDIUM">2</productoption>
<productoption name="INI_DIR">/usr/share/kiwi/modules/plugins/openSUSE</productoption>
++++++ unsorted.yml ++++++
--- /var/tmp/diff_new_pack.fceP9h/_old 2019-12-27 17:11:54.154297561 +0100
+++ /var/tmp/diff_new_pack.fceP9h/_new 2019-12-27 17:11:54.158297563 +0100
@@ -1091,6 +1091,7 @@
- bats
- bazel
- bazel-apple-support-source
+ - bazel-compilation-database-source
- bazel-gazelle
- bazel-gazelle-source
- bazel-rules-apple-source
@@ -1301,6 +1302,8 @@
- bowtie: [x86_64]
- bowtie2: [x86_64]
- bpftool
+ - bpftrace: [x86_64]
+ - bpftrace-tools: [x86_64]
- bpm-tools
- branding-upstream
- brasero-devel
@@ -3695,6 +3698,8 @@
- ghc-HUnit
- ghc-HUnit-devel
- ghc-HsYAML
+ - ghc-HsYAML-aeson
+ - ghc-HsYAML-aeson-devel
- ghc-HsYAML-devel
- ghc-JuicyPixels
- ghc-JuicyPixels-devel
@@ -3848,6 +3853,8 @@
- ghc-distributive-devel
- ghc-dlist
- ghc-dlist-devel
+ - ghc-doclayout
+ - ghc-doclayout-devel
- ghc-doctemplates
- ghc-doctemplates-devel
- ghc-easy-file
@@ -3860,10 +3867,14 @@
- ghc-edit-distance-devel
- ghc-either
- ghc-either-devel
+ - ghc-emojis
+ - ghc-emojis-devel
- ghc-enclosed-exceptions
- ghc-enclosed-exceptions-devel
- ghc-erf
- ghc-erf-devel
+ - ghc-errors
+ - ghc-errors-devel
- ghc-exceptions
- ghc-exceptions-devel
- ghc-extensible-exceptions
@@ -3995,6 +4006,8 @@
- ghc-lifted-base-devel
- ghc-logict
- ghc-logict-devel
+ - ghc-lukko
+ - ghc-lukko-devel
- ghc-managed
- ghc-managed-devel
- ghc-math-functions
@@ -4190,6 +4203,8 @@
- ghc-texmath
- ghc-texmath-devel
- ghc-text
+ - ghc-text-conversions
+ - ghc-text-conversions-devel
- ghc-text-devel
- ghc-text-metrics
- ghc-text-metrics-devel
@@ -8191,8 +8206,6 @@
- libcaribou0
- libcblas3
- libcblas3-32bit: [x86_64]
- - libcbor-devel
- - libcbor0
- libccrtp3
- libcdata-devel
- libcdata1
@@ -8826,9 +8839,6 @@
- libfgetdata6
- libfguid-devel
- libfguid1
- - libfido2-1
- - libfido2-devel
- - libfido2-utils
- libfife0_4_2
- libfifechan0_1_5
- libfifechan_opengl0_1_5
@@ -12397,10 +12407,11 @@
- libyami1
- libyaml-devel
- libyang-cpp-devel
- - libyang-cpp0_16
+ - libyang-cpp1
- libyang-devel
- libyang-doc
- - libyang0_16
+ - libyang-extentions
+ - libyang1
- libyara-devel
- libyara3
- libyate6
@@ -22180,6 +22191,7 @@
- python3-sh
- python3-shaptools
- python3-shellingham
+ - python3-sherpa: [x86_64]
- python3-shijian
- python3-shinyutils
- python3-shodan
@@ -24115,6 +24127,7 @@
- shutter
- shutter-lang
- siege
+ - sierra-gtk-theme
- siga
- sigil
- signify
@@ -24647,6 +24660,9 @@
- sysinfo
- syslinux-debuginfo-x86_64: [x86_64]
- syslinux-x86_64: [x86_64]
+ - syslinux6
+ - syslinux6-debuginfo-x86_64: [x86_64]
+ - syslinux6-x86_64: [x86_64]
- syslog-ng
- syslog-ng-curl
- syslog-ng-devel
1
0
Hello community,
here is the log from the commit of package 000release-packages for openSUSE:Factory checked in at 2019-12-27 17:11:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000release-packages (Old)
and /work/SRC/openSUSE:Factory/.000release-packages.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000release-packages"
Fri Dec 27 17:11:48 2019 rev:370 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
openSUSE-MicroOS-release.spec: same change
openSUSE-release.spec: same change
stub.spec: same change
++++++ weakremovers.inc ++++++
--- /var/tmp/diff_new_pack.4w9pIb/_old 2019-12-27 17:11:50.814296059 +0100
+++ /var/tmp/diff_new_pack.4w9pIb/_new 2019-12-27 17:11:50.814296059 +0100
@@ -9669,8 +9669,6 @@
Provides: weakremover(ghc-eq-devel)
Provides: weakremover(ghc-equivalence)
Provides: weakremover(ghc-equivalence-devel)
-Provides: weakremover(ghc-errors)
-Provides: weakremover(ghc-errors-devel)
Provides: weakremover(ghc-ersatz)
Provides: weakremover(ghc-ersatz-devel)
Provides: weakremover(ghc-esqueleto)
@@ -11920,8 +11918,6 @@
Provides: weakremover(ghc-text-all-devel)
Provides: weakremover(ghc-text-binary)
Provides: weakremover(ghc-text-binary-devel)
-Provides: weakremover(ghc-text-conversions)
-Provides: weakremover(ghc-text-conversions-devel)
Provides: weakremover(ghc-text-format)
Provides: weakremover(ghc-text-format-devel)
Provides: weakremover(ghc-text-generic-pretty)
@@ -13875,6 +13871,8 @@
Provides: weakremover(libcantorlibs20)
Provides: weakremover(libcantorlibs23)
Provides: weakremover(libcapnp-0_6)
+Provides: weakremover(libcbor-devel)
+Provides: weakremover(libcbor0)
Provides: weakremover(libccolamd-2_9_6)
Provides: weakremover(libcdio16)
Provides: weakremover(libcdio18)
@@ -14046,7 +14044,10 @@
Provides: weakremover(libfftw3_3_3_6-gnu-openmpi3-hpc)
Provides: weakremover(libfido2-0_3_0)
Provides: weakremover(libfido2-0_4_0)
+Provides: weakremover(libfido2-1)
Provides: weakremover(libfido2-1_0_0)
+Provides: weakremover(libfido2-devel)
+Provides: weakremover(libfido2-utils)
Provides: weakremover(libfifechan0_1_4)
Provides: weakremover(libfifechan_allegro0_1_4)
Provides: weakremover(libfifechan_irrlicht0_1_4)
@@ -15507,6 +15508,8 @@
Provides: weakremover(libxnoise0)
Provides: weakremover(libxslt-python)
Provides: weakremover(libyaml-cpp0_5)
+Provides: weakremover(libyang-cpp0_16)
+Provides: weakremover(libyang0_16)
Provides: weakremover(libyder1_3)
Provides: weakremover(libykneomgr-devel)
Provides: weakremover(libykneomgr-doc)
1
0