[rubygem-actionpack] Run all tests

Josef Stribny jstribny at fedoraproject.org
Fri Feb 13 14:11:43 UTC 2015


commit 23bc7c35c377123f2610b490dbad736a43d7963e
Author: Josef Stribny <jstribny at redhat.com>
Date:   Fri Feb 13 15:06:48 2015 +0100

    Run all tests
    
    (We do bootstraping anyway.)

 rubygem-actionpack.spec |   25 ++++++++-----------------
 sources                 |    3 +--
 2 files changed, 9 insertions(+), 19 deletions(-)
---
diff --git a/rubygem-actionpack.spec b/rubygem-actionpack.spec
index 33f6c17..1792559 100644
--- a/rubygem-actionpack.spec
+++ b/rubygem-actionpack.spec
@@ -1,13 +1,13 @@
 # Generated from actionpack-1.13.5.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name actionpack
 
-%global bootstrap 1
+%global bootstrap 0
 
 Summary: Web-flow and rendering framework putting the VC in MVC
 Name: rubygem-%{gem_name}
 Epoch: 1
 Version: 4.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://www.rubyonrails.org
@@ -28,12 +28,13 @@ BuildRequires: rubygem(activemodel) = %{version}
 BuildRequires: rubygem(activerecord) = %{version}
 BuildRequires: rubygem(activesupport) = %{version}
 BuildRequires: rubygem(actionview) = %{version}
+BuildRequires: rubygem(railties) = %{version}
 BuildRequires: rubygem(journey) >= 1.0.4
 BuildRequires: rubygem(journey) < 1.1
 BuildRequires: rubygem(minitest)
 BuildRequires: rubygem(mocha) >= 0.9.8
-BuildRequires: rubygem(rack) >= 1.5.2
-BuildRequires: rubygem(rack) < 1.6
+BuildRequires: rubygem(rack) >= 1.6
+BuildRequires: rubygem(rack) < 1.7
 BuildRequires: rubygem(rack-cache) >= 1.2
 BuildRequires: rubygem(rack-cache) < 2
 BuildRequires: rubygem(rack-test) >= 0.6.2
@@ -100,23 +101,10 @@ pushd .%{gem_instdir}
 # load_path is not available, remove its require.
 sed -i '1,2d' test/abstract_unit.rb
 
-# dependency loop
-# depends on actionmailer, while actionmailer has BR(check): actionpack
-mv test/controller/assert_select_test.rb \
-            test/controller/assert_select_test.rb.skip
-
-# dependency loop
-# depends on rails/engine from Railties
-mv test/dispatch/routing/inspector_test.rb \
-            test/dispatch/routing/inspector_test.rb.skip
-
 # fix rack/test requirement
 sed -i "1i\require 'rack/test'" lib/action_controller/metal/strong_parameters.rb
 
 ruby -w -I.:lib:test -rtimeout -e 'Dir.glob("test/{abstract,controller,dispatch,template}/**/*_test.rb").each {|t| require t}'
-# activerecord tests must be run separately, otherwise we get superclass mismatch error
-# due to test classes that have same names in activerecord and other tests
-ruby -w -I.:lib:test -e 'Dir.glob("test/activerecord/**/*_test.rb").each {|t| require t}'
 popd
 %endif
 
@@ -134,6 +122,9 @@ popd
 %{gem_instdir}/test/
 
 %changelog
+* Fri Feb 13 2015 Josef Stribny <jstribny at redhat.com> - 1:4.2.0-2
+- Run all tests
+
 * Mon Feb 09 2015 Josef Stribny <jstribny at redhat.com> - 1:4.2.0-1
 - Update to actionpack 4.2.0
 
diff --git a/sources b/sources
index 92b49dd..11add47 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-69a5e432da2dbef05f0ab507e74ab6cc  actionpack-4.2.0-tests.tgz
-7cf97350719b6762117d1e2ba118a83e  actionpack-4.2.0.gem
+a79fc2527b90a37a7949f2013a02bde3  actionpack-4.2.0-tests.tgz


More information about the scm-commits mailing list