permanent_records 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Gemfile +4 -0
  2. data/VERSION +1 -1
  3. data/lib/permanent_records.rb +0 -8
  4. metadata +1 -1
data/Gemfile CHANGED
@@ -1,3 +1,7 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
3
  gem 'activerecord'
4
+
5
+ group :test do
6
+ gem 'sqlite3'
7
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.1
1
+ 2.1.2
@@ -70,10 +70,6 @@ module PermanentRecords
70
70
  deleted_at if is_permanent?
71
71
  end
72
72
 
73
- def destroyed?
74
- deleted? || super
75
- end
76
-
77
73
  def revive
78
74
  if active_record_3?
79
75
  _run_revive_callbacks do
@@ -119,10 +115,6 @@ module PermanentRecords
119
115
  end
120
116
  end
121
117
 
122
- def persisted?
123
- !(new_record? || @destroyed)
124
- end
125
-
126
118
  def destroy_with_permanent_records(force = nil)
127
119
  unless active_record_3?
128
120
  unless is_permanent? && (:force != force)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: permanent_records
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.1.1
5
+ version: 2.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jack Danger Canty