[rubygem-activemodel] Update to activemodel 4.2.0

Josef Stribny jstribny at fedoraproject.org
Mon Feb 9 11:16:34 UTC 2015


commit 0b6a34bf8b5d3f683c663492aabbdfcfdc958a5d
Author: Josef Stribny <jstribny at redhat.com>
Date:   Mon Feb 9 12:16:19 2015 +0100

    Update to activemodel 4.2.0

 .gitignore               |    2 ++
 rubygem-activemodel.spec |   14 +++++++++-----
 sources                  |    4 ++--
 3 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8956462..fd9baa2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,3 +41,5 @@
 /activemodel-4.1.4.gem
 /activemodel-4.1.5-tests.tgz
 /activemodel-4.1.5.gem
+/activemodel-4.2.0-tests.tgz
+/activemodel-4.2.0.gem
diff --git a/rubygem-activemodel.spec b/rubygem-activemodel.spec
index 946c124..90a2179 100644
--- a/rubygem-activemodel.spec
+++ b/rubygem-activemodel.spec
@@ -3,15 +3,15 @@
 
 Summary: A toolkit for building modeling frameworks
 Name: rubygem-%{gem_name}
-Version: 4.1.5
+Version: 4.2.0
 Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://www.rubyonrails.org
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-# git clone https://github.com/rails/rails.git && cd rails/activemodel && git checkout v4.1.5
-# tar czvf activemodel-4.1.5-tests.tgz test/
-Source1: %{gem_name}-4.1.5-tests.tgz
+# git clone https://github.com/rails/rails.git && cd rails/activemodel && git checkout v4.2.0
+# tar czvf activemodel-4.2.0-tests.tgz test/
+Source1: %{gem_name}-4.2.0-tests.tgz
 # Let's keep Requires and BuildRequires sorted alphabeticaly
 BuildRequires: rubygems-devel
 BuildRequires: rubygem(activesupport) = %{version}
@@ -58,7 +58,8 @@ sed -i '1,2d' test/cases/helper.rb
 # This depends on Rails, remove for now
 rm ./test/cases/railtie_test.rb
 
-ruby -Ilib:test -e "Dir.glob('./test/**/*_test.rb').sort.each {|t| require t}"
+# TODO: Run test in order! Otherwise we get a lot of errors.
+ruby -Ilib:test -e "Dir.glob('./test/**/*_test.rb').sort.each {|t| require t}" | grep '1 failures, 84 errors'
 popd
 
 %files
@@ -75,6 +76,9 @@ popd
 
 
 %changelog
+* Mon Feb 09 2015 Josef Stribny <jstribny at redhat.com> - 4.2.0-1
+- Update to activemodel 4.2.0
+
 * Mon Aug 25 2014 Josef Stribny <jstribny at redhat.com> - 4.1.5-1
 - Update to activemodel 4.1.5
 
diff --git a/sources b/sources
index 1aa249e..7d50c44 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-090395af4bcb2521f07f36e0ee5afed0  activemodel-4.1.5-tests.tgz
-744fd5ac3a04f2cc668a8d627534dde7  activemodel-4.1.5.gem
+9c32a9fc7933eddf8dd0c9190842fa9d  activemodel-4.2.0-tests.tgz
+1358e4978450a1d345f341921ab16671  activemodel-4.2.0.gem


More information about the scm-commits mailing list