changes_are_logged 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/CHANGELOG.md +3 -0
- data/Gemfile +1 -1
- data/lib/changes_are_logged.rb +1 -1
- data/lib/changes_are_logged/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d7487d541ff6de0a77109fcf7684c3d55d256b8e9fe931ceb87e9ddfe076194e
|
4
|
+
data.tar.gz: 4f51adc9f26314718c052b9c1cf7a70094cc1da12b7c1d0ad56e7dd29f4be669
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33214b842856637d05a0a31ea5cdff70d121e98ef0f085d46ee4ee533a781fc63edb5285257815dade4f2b6e3337b8a3b2d3d3ed0b90db8e1366cec0ded3b011
|
7
|
+
data.tar.gz: ea4bfcac3cef5fe2da62a9246fa91a5fbc12f25a4e6ddc6cd66d030843fb30d4342195b758f08e7aed37b54ac2a7877ebef066f5b9f025670eca69a62e7dbc70
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.8
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/lib/changes_are_logged.rb
CHANGED
@@ -22,7 +22,7 @@ module ChangesAreLogged
|
|
22
22
|
@changes_logged = {}
|
23
23
|
save_change_log
|
24
24
|
elsif (ActiveRecord::VERSION::STRING >= '5.1' ? saved_changes? : changed?) || !@change_comments.blank?
|
25
|
-
@changes_logged = HashWithIndifferentAccess.new
|
25
|
+
@changes_logged = ActiveSupport::HashWithIndifferentAccess.new
|
26
26
|
|
27
27
|
ar_version_changes = ActiveRecord::VERSION::STRING >= '5.1' ? saved_changes : changes
|
28
28
|
if log_changes_callback
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: changes_are_logged
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lawrence Wang
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-05-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -97,8 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
|
-
|
101
|
-
rubygems_version: 2.6.11
|
100
|
+
rubygems_version: 3.1.3
|
102
101
|
signing_key:
|
103
102
|
specification_version: 4
|
104
103
|
summary: Tracks changes to your activerecord models
|