summaryrefslogtreecommitdiffstats
path: root/rubygem-activerecord.spec
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2011-07-04 15:05:16 +0200
committerVít Ondruch <vondruch@redhat.com>2011-07-04 15:05:16 +0200
commit54819ad064512cdff4a74c9b10bed86daefeb775 (patch)
tree594928d9419053ae4ec60922865f729345eb078a /rubygem-activerecord.spec
parent642a1f76134410da3f2da4e58f1bef086d2937a1 (diff)
downloadrubygem-activerecord-54819ad064512cdff4a74c9b10bed86daefeb775.tar.gz
rubygem-activerecord-54819ad064512cdff4a74c9b10bed86daefeb775.tar.xz
rubygem-activerecord-54819ad064512cdff4a74c9b10bed86daefeb775.zip
Update to ActiveRecord 3.0.9
Diffstat (limited to 'rubygem-activerecord.spec')
-rw-r--r--rubygem-activerecord.spec29
1 files changed, 13 insertions, 16 deletions
diff --git a/rubygem-activerecord.spec b/rubygem-activerecord.spec
index ac12655..42261c3 100644
--- a/rubygem-activerecord.spec
+++ b/rubygem-activerecord.spec
@@ -1,14 +1,15 @@
# Generated from activerecord-1.15.5.gem by gem2rpm -*- rpm-spec -*-
-%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
-%define gemname activerecord
-%define geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global gemname activerecord
-%define rubyabi 1.8
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+
+%global rubyabi 1.8
Summary: Implements the ActiveRecord pattern for ORM
Name: rubygem-%{gemname}
Epoch: 1
-Version: 3.0.5
+Version: 3.0.9
Release: 1%{?dist}
Group: Development/Languages
License: MIT
@@ -22,9 +23,9 @@ Source1: http://github.com/rails/rails/raw/v%{version}/%{gemname}/Rakefile
# You may check it out like so
# git clone http://github.com/rails/rails.git
# cd rails/activerecord/
-# git checkout v3.0.5
-# tar czvf activerecord-tests.tgz test/
-Source2: activerecord-tests.tgz
+# git checkout v3.0.9
+# tar czvf activerecord-3.0.9-tests.tgz test/
+Source2: activerecord-3.0.9-tests.tgz
# Remove a task which breaks the Rakefile due to the gemspec
# not being present in the gem
@@ -34,12 +35,6 @@ Patch0: activerecord-rakefile-fix.patch
# dependency on a file in the greater rails proj
Patch1: activerecord-tests-fix.patch
-# patch1 https://rails.lighthouseapp.com/projects/8994/tickets/3210-rails-postgres-issue
-Patch3: activerecord-3.0.3-postgres-fix.patch
-
-# https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6636-activerecord-305testcasestimestamp_testrb-fails
-Patch4: activerecord-disabled-failing-timestamp-test.patch
-
Requires: ruby(abi) = %{rubyabi}
Requires: rubygems
Requires: rubygem(activesupport) = %{version}
@@ -52,6 +47,7 @@ BuildRequires: rubygem(rake)
BuildRequires: rubygem(activesupport) = %{version}
BuildRequires: rubygem(activemodel) = %{version}
BuildRequires: rubygem(sqlite3)
+BuildRequires: rubygem(erubis)
BuildRequires: rubygem(mocha)
BuildRequires: rubygem(i18n)
BuildRequires: rubygem(arel)
@@ -84,8 +80,6 @@ tar xzvf %{SOURCE2} -C .%{geminstdir}
pushd ./%{geminstdir}
%patch0 -p0
%patch1 -p0
-%patch3 -p0
-%patch4 -p2
popd
# Remove backup files
@@ -144,6 +138,9 @@ rake test_sqlite3 --trace
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%changelog
+* Mon Jul 04 2011 Vít Ondruch <vondruch@redhat.com> - 1:3.0.9-1
+- Update to ActiveRecord 3.0.9
+
* Fri Mar 25 2011 Vít Ondruch <vondruch@redhat.com> - 1:3.0.5-1
- Updated to ActiveRecord 3.0.5