- Once disable tests
This commit is contained in:
John 2015-02-09 09:46:53 +09:00
parent e0d4b37778
commit ecab66f3e1
5 changed files with 23 additions and 17 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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...

View File

@ -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...

View File

@ -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 <mtasaka@fedoraproject.org> - 3.2.1-1
- 3.2.1
- Once disable tests
* Mon Nov 10 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.2-3
- Enable tests again

View File

@ -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