Skip to content

Commit

Permalink
updated the README for rails 4/3 support stats
Browse files Browse the repository at this point in the history
  • Loading branch information
tcocca committed Sep 15, 2013
1 parent 0f3a095 commit 51bb5e2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Main uses would be for Users to follow other Users or for Users to follow Books,

== Installation

=== The master branch supports rails 3
=== The master branch supports Rails 4

Add the gem to the gemfile:
gem "acts_as_follower"
Expand All @@ -19,6 +19,22 @@ Run the generator:

This will generate a migration file as well as a model called Follow.

=== Rails 3.x support

Rails 3 is supports in the rails_3 branch https://github.com/tcocca/acts_as_follower/tree/rails_3

Add the gem to the gemfile:
gem "acts_as_follower", '~> 1'

or install from the branch

gem "acts_as_follower", :git => 'git://github.com/tcocca/acts_as_follower.git', :branch => 'rails_3'

Run the generator:
rails generate acts_as_follower

This will generate a migration file as well as a model called Follow.

=== Rails 2.3.x support

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.
Expand Down
2 changes: 1 addition & 1 deletion acts_as_follower.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "shoulda_create"
s.add_development_dependency "shoulda", "3.5.0"
s.add_development_dependency "factory_girl", "4.2.0"
s.add_development_dependency "rails", "~>4.0.0"
s.add_development_dependency "rails", "~> 4.0.0"
end

0 comments on commit 51bb5e2

Please sign in to comment.