never_wastes 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +5 -1
  2. data/lib/never_wastes/version.rb +1 -1
  3. metadata +2 -2
data/README.md CHANGED
@@ -4,6 +4,10 @@ Never Wastes adds soft delete to ActiveRecord.
4
4
 
5
5
  It's similar to acts_as_paranoid but simpler.
6
6
 
7
+ ## Bundler
8
+
9
+ gem 'never_wastes'
10
+
7
11
  ## Usage
8
12
 
9
13
  First, add deleted column in your models.
@@ -18,7 +22,7 @@ Currently it supports boolean "deleted" column only.
18
22
 
19
23
  Next step is to specify never_wastes in your model which needs soft delete.
20
24
 
21
- class YourModel << ActiveRecord::Base
25
+ class YourModel < ActiveRecord::Base
22
26
  never_wastes
23
27
  end
24
28
 
@@ -1,3 +1,3 @@
1
1
  module NeverWastes
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: never_wastes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-29 00:00:00.000000000 Z
12
+ date: 2012-03-02 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: It changes ActiveRecord::Base#destroy to support soft delete. Kind of
15
15
  simple acts_as_paranoid.