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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ce6f89495c02282666101bb8a64a7a9e1da9c6a3
4
- data.tar.gz: 8233bfd6e2fc6efe463341fb2a0531dc2a0e50ca
2
+ SHA256:
3
+ metadata.gz: d7487d541ff6de0a77109fcf7684c3d55d256b8e9fe931ceb87e9ddfe076194e
4
+ data.tar.gz: 4f51adc9f26314718c052b9c1cf7a70094cc1da12b7c1d0ad56e7dd29f4be669
5
5
  SHA512:
6
- metadata.gz: ac02e46ccbb4ebe6608b7a156cdd4e5890faf9903dbdc2fac82ede1b6bc23a5bd6a20c5d632600c68c59119164ca61e0b60e17bae69205b0577081df9b58c715
7
- data.tar.gz: 62dc644409c8078f9d8948dd89425b15f3b9c709bea0e3afd59bd0fc114756ab97fbbfe4891d1ce40534fb329c3796fa248e2c2af6994ef7bc562cda65deae8b
6
+ metadata.gz: 33214b842856637d05a0a31ea5cdff70d121e98ef0f085d46ee4ee533a781fc63edb5285257815dade4f2b6e3337b8a3b2d3d3ed0b90db8e1366cec0ded3b011
7
+ data.tar.gz: ea4bfcac3cef5fe2da62a9246fa91a5fbc12f25a4e6ddc6cd66d030843fb30d4342195b758f08e7aed37b54ac2a7877ebef066f5b9f025670eca69a62e7dbc70
@@ -1 +1 @@
1
- 2.4.1
1
+ 2.5.8
@@ -1,3 +1,6 @@
1
+ # 1.2.1
2
+ * Replace HashWithIndifferentAccess with ActiveSupport::HashWithIndifferentAccess.
3
+
1
4
  # 1.2.0
2
5
  * Add Rails 5 compatibility
3
6
 
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in changes_are_logged.gemspec
4
4
  gemspec
@@ -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
@@ -1,3 +1,3 @@
1
1
  module ChangesAreLogged
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
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.0
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: 2019-05-03 00:00:00.000000000 Z
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
- rubyforge_project:
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