Skip to content

Commit 70f6e37

Browse files
authored
Merge pull request #343 from rubysherpas/rails-5
Rails 5
2 parents a21cf4d + d1d854e commit 70f6e37

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

README.md

+6-12
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,18 @@ For Rails 3, please use version 1 of Paranoia:
2020
gem "paranoia", "~> 1.0"
2121
```
2222

23-
For Rails 4, please use version 2 of Paranoia:
23+
For Rails 4 or 5, please use version 2 of Paranoia:
2424

2525
``` ruby
2626
gem "paranoia", "~> 2.0"
2727
```
2828

29-
For Rails 5, please use the "core" branch of Paranoia:
29+
Of course you can install this from GitHub as well from one of these examples:
3030

3131
``` ruby
32-
gem 'paranoia', github: 'rubysherpas/paranoia', branch: 'core'
33-
```
34-
35-
Of course you can install this from GitHub as well:
36-
37-
``` ruby
38-
gem "paranoia", :github => "rubysherpas/paranoia", :branch => "rails3"
39-
# or
40-
gem "paranoia", :github => "rubysherpas/paranoia", :branch => "rails4"
32+
gem "paranoia", github: "rubysherpas/paranoia", branch: "rails3"
33+
gem "paranoia", github: "rubysherpas/paranoia", branch: "rails4"
34+
gem "paranoia", github: "rubysherpas/paranoia", branch: "rails5"
4135
```
4236

4337
Then run:
@@ -53,7 +47,7 @@ Updating is as simple as `bundle update paranoia`.
5347
Run:
5448

5549
``` shell
56-
rails generate migration AddDeletedAtToClients deleted_at:datetime:index
50+
bin/rails generate migration AddDeletedAtToClients deleted_at:datetime:index
5751
```
5852

5953
and now you have a migration

lib/paranoia/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Paranoia
2-
VERSION = "2.2.0.alpha"
2+
VERSION = "2.2.0.pre"
33
end

0 commit comments

Comments
 (0)