cia 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cia (0.4.1)
4
+ cia (0.4.2)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/mgrosser/code/tools/cia
3
3
  specs:
4
- cia (0.4.0)
4
+ cia (0.4.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/mgrosser/code/tools/cia
3
3
  specs:
4
- cia (0.4.0)
4
+ cia (0.4.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/lib/cia/auditable.rb CHANGED
@@ -30,7 +30,7 @@ module CIA
30
30
  [:create, :update, :destroy].each do |callback|
31
31
  method, args = if options[:callback]
32
32
  if ActiveRecord::VERSION::MAJOR == 2 && options[:callback] == :after_commit
33
- ["after_commit_on_#{callback}"]
33
+ ["after_commit_on_#{callback}", []]
34
34
  else # rails 3+
35
35
  [options[:callback], [{:on => callback}]]
36
36
  end
data/lib/cia/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CIA
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -53,7 +53,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
53
53
  version: '0'
54
54
  segments:
55
55
  - 0
56
- hash: -1481728625417047629
56
+ hash: -3726638630951878810
57
57
  required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  none: false
59
59
  requirements:
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  version: '0'
63
63
  segments:
64
64
  - 0
65
- hash: -1481728625417047629
65
+ hash: -3726638630951878810
66
66
  requirements: []
67
67
  rubyforge_project:
68
68
  rubygems_version: 1.8.24