Commit 51bb5e2b4ae5fd84b86487af3f11f1977b6691a2

Authored by Tom Cocca
1 parent 0f3a095d
Exists in master

updated the README for rails 4/3 support stats

Showing 2 changed files with 18 additions and 2 deletions   Show diff stats
README.rdoc
... ... @@ -9,7 +9,7 @@ Main uses would be for Users to follow other Users or for Users to follow Books,
9 9  
10 10 == Installation
11 11  
12   -=== The master branch supports rails 3
  12 +=== The master branch supports Rails 4
13 13  
14 14 Add the gem to the gemfile:
15 15 gem "acts_as_follower"
... ... @@ -19,6 +19,22 @@ Run the generator:
19 19  
20 20 This will generate a migration file as well as a model called Follow.
21 21  
  22 +=== Rails 3.x support
  23 +
  24 +Rails 3 is supports in the rails_3 branch https://github.com/tcocca/acts_as_follower/tree/rails_3
  25 +
  26 +Add the gem to the gemfile:
  27 + gem "acts_as_follower", '~> 1'
  28 +
  29 +or install from the branch
  30 +
  31 + gem "acts_as_follower", :git => 'git://github.com/tcocca/acts_as_follower.git', :branch => 'rails_3'
  32 +
  33 +Run the generator:
  34 + rails generate acts_as_follower
  35 +
  36 +This will generate a migration file as well as a model called Follow.
  37 +
22 38 === Rails 2.3.x support
23 39  
24 40 Rails 2.3.x is supported in the rails_2.3.x branch http://github.com/tcocca/acts_as_follower/tree/rails_2.3.x but must be installed as a plugin.
... ...
acts_as_follower.gemspec
... ... @@ -22,5 +22,5 @@ Gem::Specification.new do |s|
22 22 s.add_development_dependency "shoulda_create"
23 23 s.add_development_dependency "shoulda", "3.5.0"
24 24 s.add_development_dependency "factory_girl", "4.2.0"
25   - s.add_development_dependency "rails", "~>4.0.0"
  25 + s.add_development_dependency "rails", "~> 4.0.0"
26 26 end
... ...