commit 18f77ac94d201e2ba0434999dd18d71f3799200f Author: Adrian Schröter Date: Wed May 17 14:35:53 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 rubygem-rspec revision 74b19564f442e7d0145957fe9bc80f88 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..1298463 --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,76 @@ +--- +# ## used by gem2rpm +:summary: Meta-gem that depends on the other components +# ## 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: +# :post_patch: +# if you need to fiddle with the source dir before rebuilding the gem +# ## used by gem2rpm +:sources: +# - foo.desktop +# - bar.desktop +# :gem_install_args: '....' +# ## used by gem2rpm +# :pre_install: |- +# %if 0%{?use_system_libev} +# export USE_VENDORED_LIBEV="no" +# %endif +# ## used by gem2rpm +# :post_install: |- +# # delete custom files here or do other fancy stuff +# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse +# ## used by gem2rpm +# :testsuite_command: |- +# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) +# ## used by gem2rpm +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem2rpm +# :scripts: +# :post: |- +# /bin/echo foo +# ## used by gem_packages +# :main: +# :preamble: |- +# Requires: util-linux +# Recommends: pwgen +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem_packages +# :custom_pkgs: +# apache: +# :preamble: |- +# Requires: ..... +# :filelist: |- +# /etc/apache2/conf.d/passenger.conf +# :summary: Custom summary is optional +# :description: |- +# Custom description is optional +# +# bar +# :post: |- +# /bin/echo foo +# :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 diff --git a/rspec-3.12.0.gem b/rspec-3.12.0.gem new file mode 100644 index 0000000..d1bbdab --- /dev/null +++ b/rspec-3.12.0.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccc41799a43509dc0be84070e3f0410ac95cbd480ae7b6c245543eb64162399c +size 10752 diff --git a/rubygem-rspec.changes b/rubygem-rspec.changes new file mode 100644 index 0000000..2be9a28 --- /dev/null +++ b/rubygem-rspec.changes @@ -0,0 +1,216 @@ +------------------------------------------------------------------- +Fri Oct 28 05:05:03 UTC 2022 - Stephan Kulow + +updated to version 3.12.0 + no changelog found + +------------------------------------------------------------------- +Tue Feb 15 07:40:16 UTC 2022 - Stephan Kulow + +updated to version 3.11.0 + no changelog found + +------------------------------------------------------------------- +Tue Aug 3 10:07:32 UTC 2021 - Dan Čermák + +- Remove obsolete source rspec-3.9.0.gem.sha256 + +------------------------------------------------------------------- +Wed Jan 20 13:16:17 UTC 2021 - Stephan Kulow + +updated to version 3.10.0 + no changelog found + +------------------------------------------------------------------- +Fri Dec 20 07:36:04 UTC 2019 - Johannes Kastl + +- updated to version 3.9.0 + no changelog found + +------------------------------------------------------------------- +Wed Sep 5 10:38:42 UTC 2018 - coolo@suse.com + +- updated to version 3.8.0 + no changelog found + +------------------------------------------------------------------- +Thu Oct 26 10:11:54 UTC 2017 - coolo@suse.com + +- updated to version 3.7.0 + no changelog found + +------------------------------------------------------------------- +Tue May 23 10:17:10 UTC 2017 - coolo@suse.com + +- updated to version 3.6.0 + no changelog found + +------------------------------------------------------------------- +Sat Jul 2 05:19:40 UTC 2016 - coolo@suse.com + +- updated to version 3.5.0 + no changelog found + +------------------------------------------------------------------- +Sat Nov 14 05:38:52 UTC 2015 - coolo@suse.com + +- updated to version 3.4.0 + no changelog found + +------------------------------------------------------------------- +Sat Jun 13 04:34:22 UTC 2015 - coolo@suse.com + +- updated to version 3.3.0 + no changelog found + +------------------------------------------------------------------- +Fri Feb 6 19:58:04 UTC 2015 - coolo@suse.com + +- updated to version 3.2.0, version bump + +------------------------------------------------------------------- +Tue Jan 20 16:22:26 UTC 2015 - dmueller@suse.com + +- update to 3.1.0, version bump + +------------------------------------------------------------------- +Mon Nov 10 10:11:03 UTC 2014 - tboerger@suse.com + +- Added new ruby macros + +------------------------------------------------------------------- +Tue Jul 30 18:46:55 UTC 2013 - coolo@suse.com + +- updated to version 2.14.1 + +------------------------------------------------------------------- +Sun Mar 3 19:53:27 UTC 2013 - coolo@suse.com + +- updated to version 2.13.0 + +------------------------------------------------------------------- +Tue Nov 13 14:03:48 UTC 2012 - coolo@suse.com + +- updated to version 2.12.0, version bump + +------------------------------------------------------------------- +Sun Jul 29 18:42:41 UTC 2012 - coolo@suse.com + +- update to rspec 2.11.0 + +------------------------------------------------------------------- +Wed Nov 30 10:42:48 UTC 2011 - darix@nordisch.org + +- fix license tag: + package is actually under MIT (bnc#733585) + +------------------------------------------------------------------- +Wed Jan 26 18:12:21 UTC 2011 - mrueckert@suse.de + +- update to version 1.3.1 + * Array =~ matcher works with subclasses of Array (Matthew Peychich & Pat Maddox) + * config.suppress_deprecation_warnings! + * QuitBacktraceTweaker no longer eats all paths with 'lib' + (Tim Harper - #912) + * Fix delegation of stubbed values on superclass class-level methods. + (Scott Taylor - #496 - #957) + * Fix pending to work with ruby-1.9 + * share_as (will be removed from rspec-core-2.0) + * simple_matcher (will be removed from rspec-core-2.0) + +------------------------------------------------------------------- +Mon Jun 14 16:46:44 UTC 2010 - mrueckert@suse.de + +- update to version 1.3.0 + * capture ExpectationNotMet error by default in matcher DSL + * supports wrapping other expectations + * added match_unless_raises to matcher DSL + * supports easy wrapping of t/u assertions in matchers + * thanks to Chad Fowler and Glenn Vanderburg for the name + * add chain to matcher DSL (Joe Ferris - #935) + * see rdoc for Spec::Matchers + * and_yield provides configurable eval_context + * Eric Meyer & David Chelimsky + * CTRL-C actually stops execution! (Bryan Helmkamp - #911) + * make drb port configurable (Chris Flipse - #875) + * changed raise_error to raise_exception (#933) + * kept raise_error aliased, so this is completely + backwards compatible + * don't define top-level context() method when running in IRB (#899) + * remove Ruby warning for uninitialized ivar (Bryan Helmkamp - #892) + * fully qualify reference to Default (Alex Sharp - #895) + * use runtime version of Test::Unit::VERSION in incompatibility message + (Ryan Bigg - #916) + * quote paths in RSpec's own specs so people running in paths with + spaces in them can achieve green too (Ryan Bigg - #917) + * ensure drb specs run when EADDRNOTAVAIL (Michael Klett - #881) + * throw_symbol matcher correctly bubbles errors up (#918) + * make Rakefile work without Cucumber installed (#919 - devrandom) + * escape . in regexp (#925) + * align be_true and be_false with Ruby's conditional semantics (#931) + * print duplicate nested descriptions (when appropriate) (#936) + +------------------------------------------------------------------- +Fri Jun 11 10:00:01 UTC 2010 - mrueckert@suse.de + +- use rubygems_requires macro + +------------------------------------------------------------------- +Fri Dec 25 01:42:25 UTC 2009 - prusnak@suse.cz + +- update to 1.2.9 + +------------------------------------------------------------------- +Mon Mar 23 18:37:45 CET 2009 - mrueckert@suse.de + +- update to 1.2.2 + +------------------------------------------------------------------- +Fri Jan 16 15:44:25 CET 2009 - mrueckert@suse.de + +- update to version 1.1.12 + +------------------------------------------------------------------- +Sun Nov 11 20:58:59 CET 2007 - mrueckert@suse.de + +- update to version 1.0.8 + too many changes. see the CHANGES file in the gem dir + +------------------------------------------------------------------- +Thu May 24 21:50:00 CEST 2007 - mrueckert@suse.de + +- update to version 1.0.2: + * Renamed Spec::Rails' rspec_resource generator to + rspec_scaffold. + * Removed Spec::Rails' be_feed matcher since it's based on + assert_select_feed which is not part of Rails (despite that + docs for assert_select_encoded says it is). + * describe(SomeModule) will include that module in the examples. + Like for Spec::Rails helpers, but now also in core. + * Header in HTML report will be yellow instead of red if there is + one failed example + * Applied [#10951] Odd instance variable name in rspec_model + template (patch from Kyle Hargraves) + * Improved integration with autotest (Patches from Ryan Davis and + David Goodland) + * Some small fixes to make all specs run on JRuby. +- remove obsoleted requires + +------------------------------------------------------------------- +Tue May 22 20:52:11 CEST 2007 - mrueckert@suse.de + +- update to version 1.0.0: + many many many fixes + +------------------------------------------------------------------- +Mon Oct 2 06:02:17 CEST 2006 - mrueckert@suse.de + +- update to version 0.6.4: + In addition to a number of bug fixes and patches, this release + begins to formalize the support for RSpec on Rails. + +------------------------------------------------------------------- +Wed Sep 13 11:20:58 CEST 2006 - mrueckert@suse.de + +- update to version 0.6.3: + o tons of small bug fixes diff --git a/rubygem-rspec.spec b/rubygem-rspec.spec new file mode 100644 index 0000000..4c888c3 --- /dev/null +++ b/rubygem-rspec.spec @@ -0,0 +1,57 @@ +# +# spec file for package rubygem-rspec +# +# 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 +Version: 3.12.0 +Release: 0 +%define mod_name rspec +%define mod_full_name %{mod_name}-%{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{rubygem rdoc > 3.10} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 +URL: http://github.com/rspec +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Meta-gem that depends on the other components +License: MIT +Group: Development/Languages/Ruby + +%description +BDD for Ruby. + +%prep + +%build + +%install +%gem_install \ + --doc-files="LICENSE.md README.md" \ + -f + +%gem_packages + +%changelog