track_changes 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +20 -20
- data/README.rdoc +87 -87
- data/TODO +4 -4
- data/VERSION.yml +5 -5
- data/lib/track_changes/audit_filter.rb +69 -69
- data/lib/track_changes/base.rb +9 -9
- data/lib/track_changes/class_methods.rb +74 -74
- data/lib/track_changes/configuration.rb +38 -38
- data/lib/track_changes/filter.rb +43 -43
- data/lib/track_changes/initializer.rb +18 -18
- data/lib/track_changes/instance_methods.rb +5 -5
- data/lib/track_changes/result.rb +36 -36
- data/lib/track_changes.rb +12 -12
- data/test/base_test.rb +20 -20
- data/test/class_methods_test.rb +29 -29
- data/test/filter_test.rb +73 -73
- data/test/functional/posts_controller_test.rb +16 -16
- data/test/rails_root/app/controllers/application_controller.rb +2 -2
- data/test/rails_root/app/controllers/posts_controller.rb +36 -36
- data/test/rails_root/app/models/audit.rb +4 -4
- data/test/rails_root/app/models/post.rb +3 -3
- data/test/rails_root/config/boot.rb +110 -110
- data/test/rails_root/config/database.yml +3 -3
- data/test/rails_root/config/environment.rb +7 -7
- data/test/rails_root/config/environments/test.rb +7 -7
- data/test/rails_root/config/initializers/new_rails_defaults.rb +7 -7
- data/test/rails_root/config/initializers/session_store.rb +4 -4
- data/test/rails_root/config/initializers/track_changes_setup.rb +8 -8
- data/test/rails_root/config/routes.rb +3 -3
- data/test/rails_root/db/migrate/20100115021125_create_audits.rb +16 -16
- data/test/rails_root/db/migrate/20100115021151_create_posts.rb +15 -15
- data/test/rails_root/log/test.log +377 -2494
- data/test/rails_root/script/console +3 -3
- data/test/rails_root/script/generate +3 -3
- data/test/result_test.rb +35 -35
- data/test/test_helper.rb +29 -29
- data/test/track_changes/audit_filter_test.rb +154 -154
- data/test/track_changes/configuration_test.rb +36 -36
- data/test/track_changes/initializer_test.rb +37 -37
- metadata +31 -19
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: track_changes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 9
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
- 1
|
10
|
+
version: 0.5.1
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Matt Haley
|
@@ -9,7 +15,7 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date: 2010-
|
18
|
+
date: 2010-07-30 00:00:00 -07:00
|
13
19
|
default_executable:
|
14
20
|
dependencies: []
|
15
21
|
|
@@ -73,44 +79,50 @@ rdoc_options:
|
|
73
79
|
require_paths:
|
74
80
|
- lib
|
75
81
|
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
76
83
|
requirements:
|
77
84
|
- - ">="
|
78
85
|
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
79
89
|
version: "0"
|
80
|
-
version:
|
81
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
82
92
|
requirements:
|
83
93
|
- - ">="
|
84
94
|
- !ruby/object:Gem::Version
|
95
|
+
hash: 3
|
96
|
+
segments:
|
97
|
+
- 0
|
85
98
|
version: "0"
|
86
|
-
version:
|
87
99
|
requirements: []
|
88
100
|
|
89
101
|
rubyforge_project: mhaley
|
90
|
-
rubygems_version: 1.3.
|
102
|
+
rubygems_version: 1.3.7
|
91
103
|
signing_key:
|
92
104
|
specification_version: 3
|
93
105
|
summary: Easier auditing of Rails model changes in your controllers.
|
94
106
|
test_files:
|
107
|
+
- test/base_test.rb
|
108
|
+
- test/class_methods_test.rb
|
109
|
+
- test/filter_test.rb
|
95
110
|
- test/functional/posts_controller_test.rb
|
96
|
-
- test/rails_root/
|
97
|
-
- test/rails_root/
|
111
|
+
- test/rails_root/app/controllers/application_controller.rb
|
112
|
+
- test/rails_root/app/controllers/posts_controller.rb
|
113
|
+
- test/rails_root/app/models/audit.rb
|
114
|
+
- test/rails_root/app/models/post.rb
|
115
|
+
- test/rails_root/config/boot.rb
|
116
|
+
- test/rails_root/config/environment.rb
|
98
117
|
- test/rails_root/config/environments/test.rb
|
99
|
-
- test/rails_root/config/initializers/session_store.rb
|
100
118
|
- test/rails_root/config/initializers/new_rails_defaults.rb
|
119
|
+
- test/rails_root/config/initializers/session_store.rb
|
101
120
|
- test/rails_root/config/initializers/track_changes_setup.rb
|
102
|
-
- test/rails_root/config/boot.rb
|
103
121
|
- test/rails_root/config/routes.rb
|
104
|
-
- test/rails_root/
|
105
|
-
- test/rails_root/
|
106
|
-
- test/rails_root/app/models/post.rb
|
107
|
-
- test/rails_root/app/controllers/posts_controller.rb
|
108
|
-
- test/rails_root/app/controllers/application_controller.rb
|
109
|
-
- test/class_methods_test.rb
|
122
|
+
- test/rails_root/db/migrate/20100115021125_create_audits.rb
|
123
|
+
- test/rails_root/db/migrate/20100115021151_create_posts.rb
|
110
124
|
- test/result_test.rb
|
111
|
-
- test/
|
112
|
-
- test/track_changes/initializer_test.rb
|
125
|
+
- test/test_helper.rb
|
113
126
|
- test/track_changes/audit_filter_test.rb
|
114
127
|
- test/track_changes/configuration_test.rb
|
115
|
-
- test/
|
116
|
-
- test/test_helper.rb
|
128
|
+
- test/track_changes/initializer_test.rb
|