Sync from SUSE:ALP:Source:Standard:1.0 rubygem-rspec-support revision 8731f5c4ef4e88af26ef085103ba190e

This commit is contained in:
Adrian Schröter 2023-06-07 08:35:53 +02:00
commit d75ac29c75
5 changed files with 501 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

70
gem2rpm.yml Normal file
View File

@ -0,0 +1,70 @@
# ---
# ## used by gem2rpm
:summary: Common code needed by the other RSpec gems
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
#

BIN
rspec-support-3.12.0.gem (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,348 @@
-------------------------------------------------------------------
Fri Oct 28 05:06:13 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 3.12.0
see installed Changelog.md
-------------------------------------------------------------------
Mon Oct 10 13:19:30 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 3.11.1
see installed Changelog.md
-------------------------------------------------------------------
Tue Feb 15 07:41:21 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 3.11.0
see installed Changelog.md
### Development
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.11.0...3-11-maintenance)
### 3.11.0 / 2022-02-09
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.3...v3.11.0)
No changes. Released to support other RSpec releases.
-------------------------------------------------------------------
Sat Dec 25 09:32:57 UTC 2021 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 3.10.3
### 3.10.3 / 2021-11-03
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.2...v3.10.3)
Bug Fixes:
* Use `Mutex#owned?` to allow `RSpec::Support::ReentrantMutex` to work in
nested Fibers on Ruby 3.0 and later. (Benoit Daloze, #503, #504)
* Support `end`-less methods in `RSpec::Support::Source::Token`
so that RSpec won't hang when an `end`-less method raises an error. (Yuji Nakayama, #505)
-------------------------------------------------------------------
Sat Feb 6 11:36:43 UTC 2021 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 3.10.2
### 3.10.2 / 2021-01-28
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.1...v3.10.2)
Bug Fixes:
* Fix issue with `RSpec::Support.define_optimized_require_for_rspec` on JRuby
9.1.17.0 (Jon Rowe, #492)
-------------------------------------------------------------------
Wed Jan 20 07:59:29 UTC 2021 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 3.10.1
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.0...v3.10.1)
Bug Fixes:
* Fix deprecation expectations to fail correctly when
asserting on messages. (Phil Pirozhkov, #453)
-------------------------------------------------------------------
Wed Nov 11 08:51:37 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 3.10.0
No changes. Released to support other RSpec releases.
-------------------------------------------------------------------
Thu May 7 21:26:01 UTC 2020 - Stephan Kulow <coolo@suse.com>
- updated to version 3.9.3
see installed Changelog.md
### 3.9.3 / 2020-05-02
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.2...v3.9.3)
Bug Fixes:
* Mark ripper as unsupported on Truffle Ruby. (Brandon Fish, #395)
* Mark ripper as unsupported on JRuby 9.2.0.0. (Brian Hawley, #400)
* Capture `Mutex.new` for our `RSpec::Support:Mutex` in order to
allow stubbing `Mutex.new`. (Jon Rowe, #411)
-------------------------------------------------------------------
Mon Jan 27 11:01:58 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 3.9.2
* Remove unneeded eval. (Matijs van Zuijlen, #394)
-------------------------------------------------------------------
Tue Nov 12 14:48:40 UTC 2019 - Manuel Schnitzer <mschnitzer@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.
-------------------------------------------------------------------
Mon Jul 8 08:18:52 UTC 2019 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 3.8.2
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.1...v3.8.2)
Bug Fixes:
* Ensure that optional hash arguments are recognised correctly vs keyword
arguments. (Evgeni Dzhelyov, #366)
* Ensure that an empty hash is recognised as empty keyword arguments when
applicable. (Thomas Walpole, #375)
* Ensure that diffing truthy values produce diffs consistently.
(Lucas Nestor, #377)
### 3.8.1 / 2019-03-03
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.0...v3.8.1)
Bug Fixes:
* Ensure that inspecting a `SimpleDelegator` based object works regardless of
visibilty of the `__getobj__` method. (Jon Rowe, #369)
-------------------------------------------------------------------
Sun Aug 5 19:07:19 UTC 2018 - mschnitzer@suse.com
- updated to version 3.8.0
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.7.1...v3.8.0)
Bug Fixes:
* Order hash keys before diffing to improve diff accuracy when using mocked calls.
(James Crisp, #334)
-------------------------------------------------------------------
Thu Feb 8 06:25:06 UTC 2018 - coolo@suse.com
- updated to version 3.7.1
see installed Changelog.md
-------------------------------------------------------------------
Thu Oct 26 10:13:12 UTC 2017 - coolo@suse.com
- updated to version 3.7.0
see installed Changelog.md
### Development
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.7.0...master)
### 3.7.0 / 2017-05-04
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.6.0...v3.7.0)
Enhancements:
* Improve compatibility with `--enable-frozen-string-literal` option
on Ruby 2.3+. (Pat Allan, #320)
* Add `Support.class_of` for extracting class of any object.
(Yuji Nakayama, #325)
Bug Fixes:
* Fix recursive const support to not blow up when given buggy classes
that raise odd errors from `#to_str`. (Myron Marston, #317)
-------------------------------------------------------------------
Tue May 23 10:18:18 UTC 2017 - coolo@suse.com
- updated to version 3.6.0
see installed Changelog.md
### 3.6.0 / 2017-05-04
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.6.0.beta2...3.6.0)
Enhancements:
* Import `Source` classes from rspec-core. (Yuji Nakayama, #315)
### 3.6.0.beta2 / 2016-12-12
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.6.0.beta1...v3.6.0.beta2)
No user-facing changes.
### 3.6.0.beta1 / 2016-10-09
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0...v3.6.0.beta1)
Bug Fixes:
* Prevent truncated formatted object output from mangling console codes. (#294, Anson Kelly)
-------------------------------------------------------------------
Sat Jul 2 05:30:48 UTC 2016 - coolo@suse.com
- updated to version 3.5.0
see installed Changelog.md
### 3.5.0 / 2016-07-01
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta4...v3.5.0)
**No user facing changes since beat4**
### 3.5.0.beta4 / 2016-06-05
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta3...v3.5.0.beta4)
Enhancements:
* Improve `MethodSignature` to better support keyword arguments. (#250, Rob Smith).
### 3.5.0.beta3 / 2016-04-02
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta2...v3.5.0.beta3)
Bug Fixes:
* Fix `EncodedString` to properly handle the behavior of `String#split`
on JRuby when the string contains invalid bytes. (Jon Rowe, #268)
* Fix `ObjectFormatter` so that formatting objects that don't respond to
`#inspect` (such as `BasicObject`) does not cause `NoMethodError`.
(Yuji Nakayama, #269)
* Fix `ObjectFormatter` so that formatting recursive array or hash does not
cause `SystemStackError`. (Yuji Nakayama, #270, #272)
### 3.5.0.beta2 / 2016-03-10
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta1...v3.5.0.beta2)
No user-facing changes.
### 3.5.0.beta1 / 2016-02-06
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.4.1...v3.5.0.beta1)
Enhancements:
* Improve formatting of objects by allowing truncation to a pre-configured length.
(Liam M, #256)
-------------------------------------------------------------------
Mon Nov 23 05:31:27 UTC 2015 - coolo@suse.com
- updated to version 3.4.1
see installed Changelog.md
### 3.4.1 / 2015-11-20
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.4.0...v3.4.1)
Bug Fixes:
* Fix `RSpec::Support::RubyFeature.ripper_supported?` so it returns
`false` on Rubinius since the Rubinius team has no plans to support
it. This prevents rspec-core from trying to load and use ripper to
extract failure snippets. (Aaron Stone, #251)
-------------------------------------------------------------------
Fri Nov 13 05:39:32 UTC 2015 - coolo@suse.com
- updated to version 3.4.0
see installed Changelog.md
### 3.4.0 / 2015-11-11
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.3.0...v3.4.0)
Enhancements:
* Improve formatting of `Delegator` based objects (e.g. `SimpleDelgator`) in
failure messages and diffs. (Andrew Horner, #215)
* Add `ComparableVersion`. (Yuji Nakayama, #245)
* Add `Ripper` support detection. (Yuji Nakayama, #245)
Bug Fixes:
* Work around bug in JRuby that reports that `attr_writer` methods
have no parameters, causing RSpec's verifying doubles to wrongly
fail when mocking or stubbing a writer method on JRuby. (Myron Marston, #225)
-------------------------------------------------------------------
Sat Jun 13 04:35:37 UTC 2015 - coolo@suse.com
- updated to version 3.3.0
see installed Changelog.md
### 3.3.0 / 2015-06-12
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.2.2...v3.3.0)
Enhancements:
* Improve formatting of arrays and hashes in failure messages so they
use our custom formatting of matchers, time objects, etc.
(Myron Marston, Nicholas Chmielewski, #205)
* Use improved formatting for diffs as well. (Nicholas Chmielewski, #205)
Bug Fixes:
* Fix `FuzzyMatcher` so that it checks `expected == actual` rather than
`actual == expected`, which avoids errors in situations where the
`actual` object's `==` is improperly implemented to assume that only
objects of the same type will be given. This allows rspec-mocks'
`anything` to match against objects with buggy `==` definitions.
(Myron Marston, #193)
-------------------------------------------------------------------
Thu Feb 26 05:34:24 UTC 2015 - coolo@suse.com
- updated to version 3.2.2
Bug Fixes:
* Fix an encoding issue with `EncodedString#split` when encountering an
invalid byte string. (Benjamin Fleischer, #1760)
-------------------------------------------------------------------
Fri Feb 6 20:15:27 UTC 2015 - coolo@suse.com
- updated to version 3.2.1
Bug Fixes:
* Fix `RSpec::CallerFilter` to work on Rubinius 2.2.
(Myron Marston, #169)
### 3.2.0 / 2015-02-03
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.1.2...v3.2.0)
Enhancements:
* Add extra Ruby type detection. (Jon Rowe, #133)
* Make differ instance re-usable. (Alexey Fedorov, #160)
Bug Fixes:
* Do not consider `[]` and `{}` to match when performing fuzzy matching.
(Myron Marston, #157)
-------------------------------------------------------------------
Wed Jan 21 06:27:38 UTC 2015 - coolo@suse.com
- add gem2rpm.yml
-------------------------------------------------------------------
Wed Jan 21 06:26:55 UTC 2015 - coolo@suse.com
- initial package (3.1.2)

View File

@ -0,0 +1,57 @@
#
# spec file for package rubygem-rspec-support
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
Name: rubygem-rspec-support
Version: 3.12.0
Release: 0
%define mod_name rspec-support
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{ruby >= 1.8.7}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5
URL: https://github.com/rspec/rspec-support
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Common code needed by the other RSpec gems
License: MIT
Group: Development/Languages/Ruby
%description
Support utilities for RSpec gems.
%prep
%build
%install
%gem_install \
--doc-files="Changelog.md LICENSE.md README.md" \
-f
%gem_packages
%changelog