diff --git a/.gitignore b/.gitignore index 16303a3..9333288 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ /rspec-support-3.0.3.gem /rspec-support-3.1.2.gem /rubygem-rspec-support-3.1.2-full.tar.gz +/rspec-support-3.2.1.gem +/rubygem-rspec-support-3.2.1-full.tar.gz diff --git a/rubygem-rspec-support-3.0.4-callerfilter-searchpath-regex.patch b/rubygem-rspec-support-3.0.4-callerfilter-searchpath-regex.patch deleted file mode 100644 index 0390d1f..0000000 --- a/rubygem-rspec-support-3.0.4-callerfilter-searchpath-regex.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- rspec-support-3.0.4/spec/rspec/support/caller_filter_spec.rb.regex 2014-08-15 17:30:49.000000000 +0900 -+++ rspec-support-3.0.4/spec/rspec/support/caller_filter_spec.rb 2014-08-15 17:31:29.000000000 +0900 -@@ -6,7 +6,7 @@ - describe CallerFilter do - def ruby_files_in_lib(lib) - # http://rubular.com/r/HYpUMftlG2 -- path = $LOAD_PATH.find { |p| p.match(/\/rspec-#{lib}(-[a-f0-9]+)?\/lib/) } -+ path = $LOAD_PATH.find { |p| p.match(/\/rspec-#{lib}(-[a-f0-9\.]+)?\/lib/) } - - Dir["#{path}/**/*.rb"].sort.tap do |files| - # Just a sanity check... diff --git a/rubygem-rspec-support-3.2.1-callerfilter-searchpath-regex.patch b/rubygem-rspec-support-3.2.1-callerfilter-searchpath-regex.patch new file mode 100644 index 0000000..cdfe37d --- /dev/null +++ b/rubygem-rspec-support-3.2.1-callerfilter-searchpath-regex.patch @@ -0,0 +1,11 @@ +--- rspec-support-3.2.1/spec/rspec/support/caller_filter_spec.rb.regex 2015-02-09 09:09:58.000000000 +0900 ++++ rspec-support-3.2.1/spec/rspec/support/caller_filter_spec.rb 2015-02-09 09:19:58.589718748 +0900 +@@ -15,7 +15,7 @@ + describe "the filtering regex" do + def ruby_files_in_lib(lib) + # http://rubular.com/r/HYpUMftlG2 +- path = $LOAD_PATH.find { |p| p.match(/\/rspec-#{lib}(-[a-f0-9]+)?\/lib/) } ++ path = $LOAD_PATH.find { |p| p.match(/\/rspec-#{lib}(-[a-f0-9\.]+)?\/lib/) } + + Dir["#{path}/**/*.rb"].sort.tap do |files| + # Just a sanity check... diff --git a/rubygem-rspec-support.spec b/rubygem-rspec-support.spec index 5d3a0e8..39a0f67 100644 --- a/rubygem-rspec-support.spec +++ b/rubygem-rspec-support.spec @@ -1,12 +1,12 @@ %global gem_name rspec-support -%global mainver 3.1.2 +%global mainver 3.2.1 %undefine prever -%global mainrel 3 +%global mainrel 1 %global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g') -%global need_bootstrap_set 0 +%global need_bootstrap_set 1 Name: rubygem-%{gem_name} Version: %{mainver} @@ -21,7 +21,7 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{mainver}%{?prever}.gem Source1: rubygem-%{gem_name}-%{version}-full.tar.gz Source2: rspec-related-create-full-tarball.sh # tweak regex for search path -Patch0: rubygem-rspec-support-3.0.4-callerfilter-searchpath-regex.patch +Patch0: rubygem-rspec-support-3.2.1-callerfilter-searchpath-regex.patch BuildRequires: ruby(release) BuildRequires: rubygems-devel @@ -93,6 +93,10 @@ popd %doc %{gem_docdir} %changelog +* Mon Feb 9 2015 Mamoru TASAKA - 3.2.1-1 +- 3.2.1 +- Once disable tests + * Mon Nov 10 2014 Mamoru TASAKA - 3.1.2-3 - Enable tests again diff --git a/sources b/sources index cdde4d0..c043586 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -32d357ffd2bd79c8d84874e35dd961ee rspec-support-3.1.2.gem -a98bb6b328b2504ed4da071f3bb85fa8 rubygem-rspec-support-3.1.2-full.tar.gz +05277eae4e20b7454d6c35c294205c5b rspec-support-3.2.1.gem +62b7a99adb4e6a47e6c2a6faa45b6413 rubygem-rspec-support-3.2.1-full.tar.gz