readme updates for installation and credits

This commit is contained in:
Chad Pytel 2010-06-16 11:07:49 -04:00
parent cf1406b9e5
commit f2068b93c0
1 changed files with 4 additions and 18 deletions

View File

@ -115,12 +115,10 @@ Any *.rb file under RAILS_ROOT/test/shoulda_macros/ or vendor/(plugins|gems)/gem
= Rails Installation (Test::Unit)
=== As a Gem
Use this if you prefer to use versioned releases of shoulda. Specify the gem dependency in your config/environment.rb file:
Specify the gem dependency in your config/environment.rb file:
Rails::Initializer.run do |config|
config.gem "thoughtbot-shoulda", :lib => "shoulda", :source => "http://gems.github.com"
config.gem "shoulda", :lib => "shoulda", :source => "http://gems.github.com"
end
Then:
@ -128,18 +126,6 @@ Then:
$ rake gems:install
$ rake gems:unpack
=== As a Plugin
Use this if you prefer to use the edge version of shoulda:
$ script/plugin install git://github.com/thoughtbot/shoulda.git
=== As a Plugin (using git submodules)
Use this if you prefer the idea of being able to easily switch between using edge or a tagged version of shoulda:
$ git submodule add git://github.com/thoughtbot/shoulda.git vendor/plugins/shoulda
= Rails Installation (RSpec)
If you're using Shoulda with RSpec, we recommend that you add config.gem lines
@ -148,7 +134,7 @@ Rails to load the RSpec and Shoulda libraries:
config.gem 'rspec', :lib => false
config.gem 'rspec-rails', :lib => false
config.gem 'thoughtbot-shoulda',
config.gem 'shoulda',
:lib => false,
:source => 'http://gems.github.com'
@ -164,7 +150,7 @@ You should not need to require anything besides the top-level shoulda library.
= Credits
Shoulda is maintained by {Tammer Saleh}[mailto:tsaleh@thoughtbot.com], and is funded by Thoughtbot[http://www.thoughtbot.com], inc.
Shoulda is maintained and funded by {thougthbot}[http://thoughtbot.com/community]
= License