technoweenie / acts_as_paranoid

ActiveRecord plugin allowing you to hide and restore records without actually deleting them.

This URL has Read+Write access

jcnetdev (author)
Sat Jul 19 16:26:49 -0700 2008
technoweenie (committer)
Mon Dec 15 20:06:54 -0800 2008
commit  8dd42642acc742ed345de0dd590c443828f77455
tree    71d4bab689e8135f49d734acc17ff1db4acea6d3
parent  bb0164ea1a9a76f30d7ee4f59204c73cfab8afb4
acts_as_paranoid / acts_as_paranoid.gemspec
100644 43 lines (35 sloc) 1.516 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Gem::Specification.new do |s|
  s.name = 'acts_as_paranoid'
  s.version = '1.3'
  s.date = '2008-07-17'
  
  s.summary = "Allows ActiveRecord models to delete, without actually deleting."
  s.description = "Overrides some basic methods for the current model so that calling #destroy sets a 'deleted_at' field to the current timestamp. ActiveRecord is required."
  
  s.authors = ['Rick Olson']
  s.email = 'rick@activereload.com'
  s.homepage = 'http://github.com/technoweenie/acts_as_paranoid'
  
  s.has_rdoc = true
  s.rdoc_options = ["--main", "README"]
  s.extra_rdoc_files = ["README"]
 
  s.add_dependency 'activerecord', ['>= 2.1']
  
  s.files = ["CHANGELOG",
             "MIT-LICENSE",
             "README",
             "RUNNING_UNIT_TESTS",
             "Rakefile",
             "acts_as_paranoid.gemspec",
             "init.rb",
             "rails/init.rb",
             "lib/caboose/acts/belongs_to_with_deleted_association.rb",
             "lib/caboose/acts/has_many_through_without_deleted_association.rb",
             "lib/caboose/acts/paranoid.rb",
             "lib/acts_as_paranoid.rb"]
 
 
  s.test_files =["test/database.yml",
                 "test/fixtures/categories.yml",
                 "test/fixtures/categories_widgets.yml",
                 "test/fixtures/taggings.yml",
                 "test/fixtures/tags.yml",
                 "test/fixtures/widgets.yml",
                 "test/paranoid_test.rb",
                 "test/schema.rb",
                 "test/test_helper.rb"]
 
end