summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Morsi <mmorsi@redhat.com>2011-02-04 11:57:11 -0500
committerMohammed Morsi <mmorsi@redhat.com>2011-02-04 11:57:11 -0500
commita6155b1dde1c4e99850de711a80e72da7d666c9b (patch)
tree47a6219afc7ed1417cee30f6960f4fbb14d4a2ef
parent953105cdb304e1d3955746d8787b45f9d61e7250 (diff)
downloadrubygem-rails-a6155b1dde1c4e99850de711a80e72da7d666c9b.tar.gz
rubygem-rails-a6155b1dde1c4e99850de711a80e72da7d666c9b.tar.xz
rubygem-rails-a6155b1dde1c4e99850de711a80e72da7d666c9b.zip
update to rails 3
-rw-r--r--.gitignore1
-rw-r--r--rubygem-rails.spec27
-rw-r--r--sources2
3 files changed, 10 insertions, 20 deletions
diff --git a/.gitignore b/.gitignore
index 12be06e..45e09a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
rails-2.3.5.gem
/rails-2.3.8.gem
+/rails-3.0.3.gem
diff --git a/rubygem-rails.spec b/rubygem-rails.spec
index 22fb5d2..63ab8e1 100644
--- a/rubygem-rails.spec
+++ b/rubygem-rails.spec
@@ -1,5 +1,4 @@
# Generated from rails-1.2.5.gem by gem2rpm -*- rpm-spec -*-
-%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%define gemname rails
%define geminstdir %{gemdir}/gems/%{gemname}-%{version}
@@ -9,13 +8,12 @@
Summary: Web-application framework
Name: rubygem-%{gemname}
Epoch: 1
-Version: 2.3.8
+Version: 3.0.3
Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://www.rubyonrails.org
-Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://rubygems.org/downloads/rails-%{version}.gem
Requires: ruby(rubygems) >= 1.3.4
Requires: rubygem(rake) >= 0.8.3
Requires: rubygem(activesupport) = %{version}
@@ -23,6 +21,8 @@ Requires: rubygem(activerecord) = %{version}
Requires: rubygem(actionpack) = %{version}
Requires: rubygem(actionmailer) = %{version}
Requires: rubygem(activeresource) = %{version}
+Requires: rubygem(railties) = %{version}
+Requires: rubygem(bundler) >= 1.0
Requires: ruby(abi) = %{rubyabi}
BuildRequires: rubygems
@@ -44,7 +44,7 @@ Oracle with eRuby- or Builder-based templates.
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
- -V \
+ -V --no-rdoc --no-ri \
--force %{SOURCE0}
mkdir -p %{buildroot}/%{_bindir}
@@ -96,23 +96,12 @@ rm -rf %{buildroot}
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%{geminstdir}/bin
-%{geminstdir}/builtin
-%doc %{geminstdir}/CHANGELOG
-%{geminstdir}/configs
-%{geminstdir}/dispatches
-%{geminstdir}/doc
-%{geminstdir}/environments
-%{geminstdir}/fresh_rakefile
-%{geminstdir}/guides
-%{geminstdir}/helpers
-%{geminstdir}/html
-%{geminstdir}/lib
-%doc %{geminstdir}/MIT-LICENSE
-%{geminstdir}/Rakefile
-%{geminstdir}/README
%{_bindir}/rails
%changelog
+* Mon Jan 10 2011 Mohammed Morsi <mmorsi@redhat.com> - 1:3.0.3-1
+- Update to rails 3
+
* Mon Aug 09 2010 Mohammed Morsi <mmorsi@redhat.com> - 1:2.3.8-1
- Update to 2.3.8
diff --git a/sources b/sources
index b1a99ee..4e83ba5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a3061ceadf8877d9cdfd2a6d80387ae7 rails-2.3.8.gem
+4642b0b537f5642eb883bcbd99abb4fe rails-3.0.3.gem