Permalink
Browse files

remove Rails 2 from gemspec

  • Loading branch information...
justinfrench committed Jan 12, 2011
1 parent 6bc6ce7 commit 59cc0d8e9211982967629d5775694643f1c2270f
Showing with 4 additions and 13 deletions.
  1. +4 −13 formtastic.gemspec
View
@@ -19,12 +19,10 @@ Gem::Specification.new do |s|
------------------------------------------------------------------------
You can now (optionally) run the generator to copy some stylesheets and
a config initializer into your application:
- rails generate formtastic:install # Rails 3
- ./script/generate formtastic # Rails 2
+ rails generate formtastic:install
To generate some semantic form markup for your existing models, just run:
- rails generate formtastic:form MODEL_NAME # Rails 3
- ./script/generate form MODEL_NAME # Rails 2
+ rails generate formtastic:form MODEL_NAME
Find out more and get involved:
http://github.com/justinfrench/formtastic
@@ -35,15 +33,8 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.6}
- s.add_dependency(%q<activesupport>, [">= 2.3.7"])
- s.add_dependency(%q<actionpack>, [">= 2.3.7"])
- s.add_dependency(%q<i18n>, ["~> 0.4"])
-
- if ENV['RAILS_2']
- s.add_development_dependency(%q<rails>, ["~> 2.3.8"])
- else
- s.add_development_dependency(%q<rails>, [">= 3.0.0"])
- end
+ s.add_dependency(%q<rails>, ["~> 3.0.0"])
+
s.add_development_dependency(%q<rspec-rails>, ["~> 2.0.0"])
s.add_development_dependency(%q<rspec_tag_matchers>, [">= 1.0.0"])
s.add_development_dependency(%q<hpricot>, ["~> 0.8.3"])

0 comments on commit 59cc0d8

Please sign in to comment.