acts_as_pack_rat 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ class ActiveRecord::Base
41
41
  class_eval do
42
42
  def destroy
43
43
  unless new_record?
44
- puts "acts_as_pack_rat: destroy"
44
+ # puts "acts_as_pack_rat: destroy"
45
45
  return false if callback(:before_destroy) == false
46
46
  if self.respond_to?(:status_id)
47
47
  self.status = Status.deleted
@@ -62,6 +62,10 @@ class ActiveRecord::Base
62
62
  def pack_rat?
63
63
  true
64
64
  end
65
+
66
+ def paranoid?
67
+ true
68
+ end
65
69
 
66
70
  end
67
71
 
@@ -2,4 +2,4 @@
2
2
  gem_name: acts_as_pack_rat
3
3
  package: acts_as_pack_rat
4
4
  project: magrathea
5
- version: 1.0.5
5
+ version: 1.0.6
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: acts_as_pack_rat
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.5
7
- date: 2007-12-12 00:00:00 -05:00
6
+ version: 1.0.6
7
+ date: 2008-01-08 00:00:00 -05:00
8
8
  summary: acts_as_pack_rat
9
9
  require_paths:
10
10
  - lib