[rubygem-sprockets-rails] Update to sprockets-rails 2.1.3.

Vít Ondruch vondruch at fedoraproject.org
Fri Jul 4 15:09:24 UTC 2014


commit de26a8348b1dc51c1013925662ab5d46e730d124
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Fri Jul 4 17:09:32 2014 +0200

    Update to sprockets-rails 2.1.3.

 .gitignore                   |    2 ++
 LICENSE                      |   20 --------------------
 rubygem-sprockets-rails.spec |   34 ++++++++++------------------------
 sources                      |    4 ++--
 4 files changed, 14 insertions(+), 46 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e27b6f3..9e68e6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@
 /sprockets-rails-2.0.0.gem
 /sprockets-rails-2.0.1-tests.tgz
 /sprockets-rails-2.0.1.gem
+/sprockets-rails-2.1.3-tests.tgz
+/sprockets-rails-2.1.3.gem
diff --git a/rubygem-sprockets-rails.spec b/rubygem-sprockets-rails.spec
index f055314..89915ac 100644
--- a/rubygem-sprockets-rails.spec
+++ b/rubygem-sprockets-rails.spec
@@ -5,27 +5,18 @@
 %global enable_test 1
 
 Name: rubygem-%{gem_name}
-Version: 2.0.1
-Release: 2%{?dist}
+Version: 2.1.3
+Release: 1%{?dist}
 Summary: Sprockets Rails integration
 Group: Development/Languages
 License: MIT
 URL: https://github.com/rails/sprockets-rails
 Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
-# License file from the git repo
-# https://github.com/rails/sprockets-rails/pull/75
-Source1: LICENSE
 # Get the tests
 # git clone https://github.com/rails/sprockets-rails.git && cd sprockets-rails/
-# git checkout v2.0.0
-# tar czvf sprockets-rails-2.0.0-tests.tgz test/
+# git checkout v2.1.3
+# tar czvf sprockets-rails-2.1.3-tests.tgz test/
 Source2: sprockets-rails-%{version}-tests.tgz
-Requires: ruby(release)
-Requires: ruby(rubygems)
-Requires: rubygem(sprockets) => 2.8
-Requires: rubygem(sprockets) < 3
-Requires: rubygem(actionpack) >= 3.0
-Requires: rubygem(activesupport) >= 3.0
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
@@ -35,7 +26,6 @@ BuildRequires: rubygem(rails) >= 3.0
 BuildRequires: rubygem(rake)
 %endif
 BuildArch: noarch
-Provides: rubygem(%{gem_name}) = %{version}
 
 %description
 Provides Sprockets implementation for Rails 4.x (and beyond) Asset Pipeline.
@@ -59,9 +49,6 @@ gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
 gem build %{gem_name}.gemspec
 %gem_install
 
-# Move license into place
-cp %{SOURCE1} .%{gem_instdir}/LICENSE
-
 # Move the tests into place
 tar xzvf %{SOURCE2} -C .%{gem_instdir}
 
@@ -73,13 +60,9 @@ cp -pa .%{gem_dir}/* \
 %check
 %if 0%{enable_test} > 0
 pushd ./%{gem_instdir}
-# Running the test suite separately works fine
-testrb -Ilib test/test_helper.rb
-testrb -Ilib test/test_task.rb
-
-# We need minitest 4.7.5. Disable for now.
-# https://github.com/seattlerb/minitest/pull/275
-#testrb -Ilib test/test_railtie.rb
+# Explicitly require some libraries to prevent test suite errors.
+# https://github.com/rails/rails/issues/16050
+ruby -Ilib -ractive_support -raction_view -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
 popd
 %endif
 
@@ -97,6 +80,9 @@ popd
 %{gem_instdir}/test
 
 %changelog
+* Fri Jul 04 2014 Vít Ondruch <vondruch at redhat.com> - 2.1.3-1
+- Update to sprockets-rails 2.1.3.
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 388c739..5a6c83c 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-4af18b2d06d2f25206252da9f4b50295  sprockets-rails-2.0.1-tests.tgz
-114b1201f4c36abc3a7115dee310888c  sprockets-rails-2.0.1.gem
+dfbd67ce69f11b4042d454f07c8b19c6  sprockets-rails-2.1.3-tests.tgz
+4acecc761b51a2adeb82ee5207175d6e  sprockets-rails-2.1.3.gem


More information about the scm-commits mailing list