rich-acts_as_revisable 0.6.0 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/{README → README.rdoc} +54 -25
- data/Rakefile +44 -0
- data/lib/acts_as_revisable/acts/common.rb +170 -23
- data/lib/acts_as_revisable/acts/deletable.rb +29 -0
- data/lib/acts_as_revisable/acts/revisable.rb +362 -127
- data/lib/acts_as_revisable/acts/revision.rb +94 -21
- data/lib/acts_as_revisable/acts/scoped_model.rb +28 -4
- data/lib/acts_as_revisable/base.rb +6 -3
- data/lib/acts_as_revisable/clone_associations.rb +8 -0
- data/lib/acts_as_revisable/gem_spec_options.rb +18 -0
- data/lib/acts_as_revisable/quoted_columns.rb +14 -9
- data/lib/acts_as_revisable/version.rb +2 -2
- data/spec/associations_spec.rb +22 -0
- data/spec/branch_spec.rb +42 -0
- data/spec/find_spec.rb +38 -0
- data/spec/{acts_as_revisable_spec.rb → general_spec.rb} +21 -26
- data/spec/quoted_columns_spec.rb +19 -0
- data/spec/revert_spec.rb +42 -0
- data/spec/spec_helper.rb +41 -5
- metadata +29 -16
- /data/spec/{aar_options_spec.rb → options_spec.rb} +0 -0
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rich-acts_as_revisable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Rich Cavanaugh of
|
7
|
+
- Rich Cavanaugh of JamLab, LLC.
|
8
|
+
- Stephen Caudill of JamLab, LLC.
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
12
|
|
12
|
-
date: 2008-
|
13
|
+
date: 2008-10-27 00:00:00 -07:00
|
13
14
|
default_executable:
|
14
15
|
dependencies: []
|
15
16
|
|
@@ -20,34 +21,46 @@ executables: []
|
|
20
21
|
extensions: []
|
21
22
|
|
22
23
|
extra_rdoc_files:
|
23
|
-
- README
|
24
|
+
- README.rdoc
|
24
25
|
- LICENSE
|
25
26
|
files:
|
26
27
|
- LICENSE
|
27
|
-
- README
|
28
|
-
-
|
29
|
-
-
|
30
|
-
-
|
28
|
+
- README.rdoc
|
29
|
+
- Rakefile
|
30
|
+
- spec/associations_spec.rb
|
31
|
+
- spec/branch_spec.rb
|
32
|
+
- spec/find_spec.rb
|
33
|
+
- spec/general_spec.rb
|
34
|
+
- spec/options_spec.rb
|
35
|
+
- spec/quoted_columns_spec.rb
|
36
|
+
- spec/revert_spec.rb
|
37
|
+
- spec/spec.opts
|
38
|
+
- spec/spec_helper.rb
|
39
|
+
- lib/acts_as_revisable
|
40
|
+
- lib/acts_as_revisable/acts
|
31
41
|
- lib/acts_as_revisable/acts/common.rb
|
42
|
+
- lib/acts_as_revisable/acts/deletable.rb
|
32
43
|
- lib/acts_as_revisable/acts/revisable.rb
|
33
44
|
- lib/acts_as_revisable/acts/revision.rb
|
34
45
|
- lib/acts_as_revisable/acts/scoped_model.rb
|
35
46
|
- lib/acts_as_revisable/base.rb
|
47
|
+
- lib/acts_as_revisable/clone_associations.rb
|
48
|
+
- lib/acts_as_revisable/gem_spec_options.rb
|
36
49
|
- lib/acts_as_revisable/options.rb
|
37
50
|
- lib/acts_as_revisable/quoted_columns.rb
|
38
51
|
- lib/acts_as_revisable/version.rb
|
39
|
-
- lib/acts_as_revisable
|
52
|
+
- lib/acts_as_revisable.rb
|
53
|
+
- generators/revisable_migration
|
54
|
+
- generators/revisable_migration/revisable_migration_generator.rb
|
55
|
+
- generators/revisable_migration/templates
|
56
|
+
- generators/revisable_migration/templates/migration.rb
|
40
57
|
- rails/init.rb
|
41
|
-
- spec/acts_as_revisable_spec.rb
|
42
|
-
- spec/spec.opts
|
43
|
-
- spec/spec_helper.rb
|
44
|
-
- spec/aar_options_spec.rb
|
45
58
|
has_rdoc: true
|
46
|
-
homepage: http://github.com/
|
59
|
+
homepage: http://github.com/fatjam/acts_as_revisable/tree/master
|
47
60
|
post_install_message:
|
48
61
|
rdoc_options:
|
49
62
|
- --main
|
50
|
-
- README
|
63
|
+
- README.rdoc
|
51
64
|
require_paths:
|
52
65
|
- lib
|
53
66
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -65,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
78
|
requirements: []
|
66
79
|
|
67
80
|
rubyforge_project:
|
68
|
-
rubygems_version: 1.0
|
81
|
+
rubygems_version: 1.2.0
|
69
82
|
signing_key:
|
70
83
|
specification_version: 2
|
71
84
|
summary: acts_as_revisable enables revision tracking, querying, reverting and branching of ActiveRecord models. Inspired by acts_as_versioned.
|
File without changes
|