[rubygem-activemodel] Update to ActiveModel 3.2.10.
Vít Ondruch
vondruch at fedoraproject.org
Fri Jan 4 12:47:05 UTC 2013
commit b50da5169dcb6c913e7b123e913e9379ec6c267f
Author: Vít Ondruch <vondruch at redhat.com>
Date: Thu Jan 3 16:10:36 2013 +0100
Update to ActiveModel 3.2.10.
.gitignore | 2 +
...ve-Model-xml-serialization-test-to-reflec.patch | 37 --------------------
activemodel-3.2.8-relax-builder-dependency.patch | 10 +++---
rubygem-activemodel.spec | 14 ++++----
sources | 4 +-
5 files changed, 16 insertions(+), 51 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8c951ec..8aa08ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,5 @@
/activemodel-3.2.7.gem
/activemodel-3.2.8-tests.tgz
/activemodel-3.2.8.gem
+/activemodel-3.2.10-tests.tgz
+/activemodel-3.2.10.gem
diff --git a/activemodel-3.2.8-relax-builder-dependency.patch b/activemodel-3.2.8-relax-builder-dependency.patch
index 40a6d73..95cb655 100644
--- a/activemodel-3.2.8-relax-builder-dependency.patch
+++ b/activemodel-3.2.8-relax-builder-dependency.patch
@@ -1,18 +1,18 @@
---- a/specifications/activemodel-3.2.8.gemspec
-+++ b/specifications/activemodel-3.2.8.gemspec
+--- a/specifications/activemodel-3.2.10.gemspec
++++ b/specifications/activemodel-3.2.10.gemspec
@@ -20,13 +20,13 @@
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<activesupport>, ["= 3.2.8"])
+ s.add_runtime_dependency(%q<activesupport>, ["= 3.2.10"])
- s.add_runtime_dependency(%q<builder>, ["~> 3.0.0"])
+ s.add_runtime_dependency(%q<builder>, [">= 3.0.0", "< 3.2.0"])
else
- s.add_dependency(%q<activesupport>, ["= 3.2.8"])
+ s.add_dependency(%q<activesupport>, ["= 3.2.10"])
- s.add_dependency(%q<builder>, ["~> 3.0.0"])
+ s.add_dependency(%q<builder>, [">= 3.0.0", "< 3.2.0"])
end
else
- s.add_dependency(%q<activesupport>, ["= 3.2.8"])
+ s.add_dependency(%q<activesupport>, ["= 3.2.10"])
- s.add_dependency(%q<builder>, ["~> 3.0.0"])
+ s.add_dependency(%q<builder>, [">= 3.0.0", "< 3.2.0"])
end
diff --git a/rubygem-activemodel.spec b/rubygem-activemodel.spec
index 6868de9..d6fdb6e 100644
--- a/rubygem-activemodel.spec
+++ b/rubygem-activemodel.spec
@@ -4,18 +4,17 @@
Summary: A toolkit for building modeling frameworks
Name: rubygem-%{gem_name}
-Version: 3.2.8
-Release: 3%{?dist}
+Version: 3.2.10
+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.7
-# tar czvf activemodel-3.2.7-tests.tgz test/
+# git clone https://github.com/rails/rails.git && cd rails/activemodel && git checkout v3.2.10
+# tar czvf activemodel-3.2.10-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.
-Patch0: activemodel-3.2.8-Update-Active-Model-xml-serialization-test-to-reflec.patch
Patch1: activemodel-3.2.8-relax-builder-dependency.patch
# Let's keep Requires and BuildRequires sorted alphabeticaly
Requires: ruby(abi) = %{rubyabi}
@@ -69,8 +68,6 @@ cp -a .%{gem_dir}/* \
pushd .%{gem_instdir}
tar xzvf %{SOURCE1}
-cat %{PATCH0} | patch -p2
-
# load_path is not available, remove its require.
sed -i '1,2d' test/cases/helper.rb
@@ -91,6 +88,9 @@ popd
%changelog
+* Thu Jan 03 2013 Vít Ondruch <vondruch at redhat.com> - 3.2.10-1
+- Update to ActiveModel 3.2.10.
+
* Sat Oct 13 2012 Vít Ondruch <vondruch at redhat.com> - 3.2.8-3
- Fixed the Builder dependencies in .gemspec file.
diff --git a/sources b/sources
index 2bff3f7..bba4d63 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-b4ed180f0f1e4e995a7fec57fded3183 activemodel-3.2.8-tests.tgz
-894dd6524e70e3c43a751bf57c097253 activemodel-3.2.8.gem
+eda3f9bcc95942de451eb5947fe48eb0 activemodel-3.2.10-tests.tgz
+753765269a004a11114915b63b1f2e72 activemodel-3.2.10.gem
More information about the scm-commits
mailing list