[rubygem-activemodel] Update to ActiveSupport 3.0.5.
Vít Ondruch
vondruch at fedoraproject.org
Fri Mar 25 08:35:00 UTC 2011
commit ad297b4e919bb7689f0f8d69a064238976df7db2
Author: Vít Ondruch <vondruch at redhat.com>
Date: Fri Mar 25 09:34:41 2011 +0100
Update to ActiveSupport 3.0.5.
rubygem-activemodel.spec | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/rubygem-activemodel.spec b/rubygem-activemodel.spec
index 8597c40..a23d3f9 100644
--- a/rubygem-activemodel.spec
+++ b/rubygem-activemodel.spec
@@ -6,14 +6,13 @@
Summary: A toolkit for building modeling frameworks
Name: rubygem-%{gemname}
-Version: 3.0.3
-Release: 4%{?dist}
+Version: 3.0.5
+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.3
-# Tweak some loading paths in test/cases/helper.rb
+# 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
Requires: ruby(abi) = 1.8
@@ -58,7 +57,12 @@ rm -rf %{testdir}
mkdir %{testdir}
tar xzvf %{SOURCE1} -C %{testdir}
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
+
popd
rm -rf %{testdir}
@@ -78,6 +82,9 @@ rm -rf %{testdir}
%changelog
+* Fri Mar 25 2011 Vít Ondruch <vondruch at redhat.com> - 3.0.5-1
+- Update to ActiveSupport 3.0.5
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list