auditable 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,8 @@
1
- ### 0.1.4 (2012-01-11)
1
+ ### 0.1.5 (2012-11-01)
2
+ #### Fixes
3
+ * Add attr_accessible for Auditable::Audit model [#13]
4
+
5
+ ### 0.1.4 (2012-11-01)
2
6
  #### Improvement
3
7
  * Add class_name option for method audit. This allows you to have a custom audit class that inherits from Auditable::Audit [#12]
4
8
 
@@ -4,6 +4,8 @@ module Auditable
4
4
  belongs_to :user, :polymorphic => true
5
5
  serialize :modifications
6
6
 
7
+ attr_accessible :action, :modifications
8
+
7
9
  # Diffing two audits' modifications
8
10
  #
9
11
  # Returns a hash containing arrays of the form
@@ -1,3 +1,3 @@
1
1
  module Auditable
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auditable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-11 00:00:00.000000000 Z
12
+ date: 2013-06-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -200,7 +200,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
200
200
  version: '0'
201
201
  segments:
202
202
  - 0
203
- hash: 4236402516311877901
203
+ hash: 2404637449666859294
204
204
  required_rubygems_version: !ruby/object:Gem::Requirement
205
205
  none: false
206
206
  requirements:
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  segments:
211
211
  - 0
212
- hash: 4236402516311877901
212
+ hash: 2404637449666859294
213
213
  requirements: []
214
214
  rubyforge_project:
215
215
  rubygems_version: 1.8.24