[rubygem-activemodel] Update to ActiveModel 4.0.0

Josef Stribny jstribny at fedoraproject.org
Thu Aug 8 09:44:40 UTC 2013


commit a5e1850edd1ca9cc3fbb70d1b7916b9a846f542e
Author: Josef Stribny <jstribny at redhat.com>
Date:   Thu Aug 8 11:44:24 2013 +0200

    Update to ActiveModel 4.0.0

 .gitignore                                       |    2 ++
 activemodel-3.2.8-relax-builder-dependency.patch |   20 --------------------
 rubygem-activemodel.spec                         |   22 +++++++++-------------
 sources                                          |    4 ++--
 4 files changed, 13 insertions(+), 35 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 87e76ba..e714dc0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,5 @@
 /activemodel-3.2.12.gem
 /activemodel-3.2.13-tests.tgz
 /activemodel-3.2.13.gem
+/activemodel-4.0.0-tests.tgz
+/activemodel-4.0.0.gem
diff --git a/rubygem-activemodel.spec b/rubygem-activemodel.spec
index b46e2ee..f72b7d2 100644
--- a/rubygem-activemodel.spec
+++ b/rubygem-activemodel.spec
@@ -3,18 +3,15 @@
 
 Summary: A toolkit for building modeling frameworks
 Name: rubygem-%{gem_name}
-Version: 3.2.13
-Release: 2%{?dist}
+Version: 4.0.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 v3.2.13
-# tar czvf activemodel-3.2.13-tests.tgz test/
+# git clone https://github.com/rails/rails.git && cd rails/activemodel && git checkout v4.0.0
+# tar czvf activemodel-4.0.0-tests.tgz test/
 Source1: %{gem_name}-%{version}-tests.tgz
-# ActiveModel depends on Bundler ~> 3.0.0. This relax the dependency and
-# fixes the test for Bundler >= 3.1.
-Patch1: activemodel-3.2.8-relax-builder-dependency.patch
 # Let's keep Requires and BuildRequires sorted alphabeticaly
 Requires: ruby(release)
 Requires: ruby(rubygems)
@@ -50,10 +47,6 @@ Documentation for %{name}
 %setup -q -c -T
 %gem_install -n %{SOURCE0}
 
-pushd .%{gem_dir}
-%patch1 -p1
-popd
-
 %build
 
 %install
@@ -68,6 +61,9 @@ tar xzvf %{SOURCE1}
 # load_path is not available, remove its require.
 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').each {|t| require t}"
 popd
 
@@ -85,8 +81,8 @@ popd
 
 
 %changelog
-* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.13-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+* Tue Jul 30 2013 Josef Stribny <jstribny at redhat.com> - 1:4.0.0-1
+- Update to ActiveModel 4.0.0.
 
 * Tue Mar 19 2013 Vít Ondruch <vondruch at redhat.com> - 3.2.13-1
 - Update to ActiveModel 3.2.13.
diff --git a/sources b/sources
index a67ceb7..8a15544 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-7d44d0c9218dc6d2a5d275661d917d50  activemodel-3.2.13-tests.tgz
-23dc7b4d52690ddbbc296bcb34a6795d  activemodel-3.2.13.gem
+20c9fa8437e6cefbc579c52ed09d54c2  activemodel-4.0.0-tests.tgz
+6d81217b82d5451798dfc8e727059604  activemodel-4.0.0.gem


More information about the scm-commits mailing list