Permalink
Browse files

don't depend on yourself, silly

  • Loading branch information...
1 parent f440559 commit 421ff03f7afeb6683992994591434bbaf889a484 @dchelimsky dchelimsky committed Apr 18, 2011
Showing with 2 additions and 37 deletions.
  1. +2 −37 rspec-rails.gemspec
View
@@ -22,48 +22,13 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--charset=UTF-8"]
s.require_path = "lib"
- s.post_install_message = %Q{**************************************************
-
- Thank you for installing #{s.summary}!
-
- This version of rspec-rails only works with versions of rails >= 3.0.0
-
- To configure your app to use rspec-rails, add a declaration to your Gemfile.
- If you are using Bundler's grouping feature in your Gemfile, be sure to include
- rspec-rails in the :development group as well as the :test group so that you
- can access its generators and rake tasks.
-
- group :development, :test do
- gem "rspec-rails", ">= #{RSpec::Rails::Version::STRING}"
- end
-
- Be sure to run the following command in each of your Rails apps if you're
- upgrading:
-
- script/rails generate rspec:install
-
- Even if you've run it before, this ensures that you have the latest updates
- to spec/spec_helper.rb and any other support files.
-
- Beta versions of rspec-rails-2 installed files that are no longer being used,
- so please remove these files if you have them:
-
- lib/tasks/rspec.rake
- config/initializers/rspec_generator.rb
-
- Lastly, be sure to look at Upgrade.markdown to see what might have changed
- since the last release.
-
-**************************************************
-}
-
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0"])
s.add_runtime_dependency(%q<actionpack>, ["~> 3.0"])
s.add_runtime_dependency(%q<railties>, ["~> 3.0"])
if RSpec::Rails::Version::STRING =~ /[a-zA-Z]+/
- s.add_runtime_dependency "rspec-rails", "= #{RSpec::Rails::Version::STRING}"
+ s.add_runtime_dependency "rspec", "= #{RSpec::Rails::Version::STRING}"
else
- s.add_runtime_dependency "rspec-rails", "~> #{RSpec::Rails::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
+ s.add_runtime_dependency "rspec", "~> #{RSpec::Rails::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
end
end

0 comments on commit 421ff03

Please sign in to comment.