[rubygem-activemodel] Update to ActiveSupport 3.0.9
Vít Ondruch
vondruch at fedoraproject.org
Mon Jul 4 11:09:22 UTC 2011
commit 5df9dee85a5aa462ee387ca1958cd224d6b634a4
Author: Vít Ondruch <vondruch at redhat.com>
Date: Mon Jul 4 13:09:02 2011 +0200
Update to ActiveSupport 3.0.9
.gitignore | 2 ++
rubygem-activemodel.spec | 16 ++++++++++------
sources | 4 ++--
3 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f1eb206..0ea5d1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
/activemodel-3.0.3.gem
/activemodel-tests.tgz
/activemodel-3.0.5.gem
+/activemodel-3.0.9-tests.tgz
+/activemodel-3.0.9.gem
diff --git a/rubygem-activemodel.spec b/rubygem-activemodel.spec
index a23d3f9..fdb4a18 100644
--- a/rubygem-activemodel.spec
+++ b/rubygem-activemodel.spec
@@ -1,20 +1,21 @@
-%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname activemodel
+
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
%global testdir %{_tmppath}/%{gemname}-%{version}
Summary: A toolkit for building modeling frameworks
Name: rubygem-%{gemname}
-Version: 3.0.5
+Version: 3.0.9
Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://www.rubyonrails.org
Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
-# git clone https://github.com/rails/rails.git && cd rails/activemodel && git checkout v3.0.5
-# tar czvf activemodel-tests.tgz test/
-Source1: %{gemname}-tests.tgz
+# git clone https://github.com/rails/rails.git && cd rails/activemodel && git checkout v3.0.9
+# tar czvf activemodel-3.0.9-tests.tgz test/
+Source1: %{gemname}-3.0.9-tests.tgz
Requires: ruby(abi) = 1.8
Requires: rubygems
Requires: rubygem(activesupport) = %{version}
@@ -61,7 +62,7 @@ pushd %{testdir}
# load_path is not available, remove its require.
sed -i '1,2d' test/cases/helper.rb
-RUBYOPT="rubygems I%{buildroot}%{geminstdir}/lib Itest" testrb test/*/*_test.rb test/*/*/*_test.rb
+ruby -rubygems -I%{buildroot}%{geminstdir}/lib -Itest -e "Dir.glob('test/**/*_test.rb').each {|t| require t}"
popd
rm -rf %{testdir}
@@ -82,6 +83,9 @@ rm -rf %{testdir}
%changelog
+* Mon Jul 04 2011 Vít Ondruch <vondruch at redhat.com> - 3.0.9-1
+- Update to ActiveSupport 3.0.9
+
* Fri Mar 25 2011 Vít Ondruch <vondruch at redhat.com> - 3.0.5-1
- Update to ActiveSupport 3.0.5
diff --git a/sources b/sources
index 3d329c0..de2553c 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-ce81113041350f04264e1af45fec3537 activemodel-3.0.5.gem
-0587f3d7389b22df17d9792730276100 activemodel-tests.tgz
+721062ecb2c373e5b695ead45b455d43 activemodel-3.0.9-tests.tgz
+e4a6e36823707d2db7e831eb58f25b5a activemodel-3.0.9.gem
More information about the scm-commits
mailing list