activehistory 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/activehistory/adapters/active_record.rb +1 -1
- data/lib/activehistory/event.rb +1 -0
- data/lib/activehistory/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d963f534f27dfefd26d29a44571a997f74abc8b6
|
4
|
+
data.tar.gz: 0cda709c598c17b4fa85d845769ce06eaf0a4c2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a82a9e4858e82570938b99cb6a1b696c27b163c578480d9f312cb4c33b6e09fb298768ccfeb0ab0c2f87540fab4c2a6169b6d83ae0a037a69f9f3251aadfc472
|
7
|
+
data.tar.gz: 269c594656f0bc6110c40a86ed8db03ce1afadadad8dd9a0d8f20f1e22e80327904f42385cd9cf601e546983fc9c51a9db1301383f01d7d24ab3dcb343a9d225
|
data/lib/activehistory/event.rb
CHANGED
@@ -37,6 +37,7 @@ class ActiveHistory::Event
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def action_for(type, id, new_options=nil)
|
40
|
+
byebug if $debugging
|
40
41
|
type = type.base_class.model_name.name if !type.is_a?(String)
|
41
42
|
action = @actions.find { |a| a.subject_type.to_s == type.to_s && a.subject_id.to_s == id.to_s }
|
42
43
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activehistory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Bracy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -290,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
290
290
|
version: '0'
|
291
291
|
requirements: []
|
292
292
|
rubyforge_project:
|
293
|
-
rubygems_version: 2.
|
293
|
+
rubygems_version: 2.6.8
|
294
294
|
signing_key:
|
295
295
|
specification_version: 4
|
296
296
|
summary: Track changes to ActiveRecord models
|