active_archive 5.1.2 → 5.1.3

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
2
  SHA256:
3
- metadata.gz: '08222bc6391c9cd704a1d8627e7d917e2ed5402331752535a0c2ff5d6b76faff'
4
- data.tar.gz: a3282bf77de3bde223270000706fba2efae8cc71f0b2c3f36263277e78e422de
3
+ metadata.gz: 6d23424a39f12bb64ff4603262c93d512a24ecc485f56a75884198056d7ef35e
4
+ data.tar.gz: 3980d7aea94afffd796fabb6b45e74d84f993dd73b9a2c7a92334b1cba957e14
5
5
  SHA512:
6
- metadata.gz: 400646baead28fcc9bd490d73a7a8debc4c00b5d57a92e6b874bb28c4a25eb49e4f9dbe6f8d6902e5f91f613aa2d20ac19c75e7fae0661b71dcffea6c871f1ce
7
- data.tar.gz: 1dc8bd1ae2ccbe9e00417d2bcf2360ae97403b61b667584de45bc0b7a0ebd631cc4ddb4b96d03ad154e0342174d1bb9f3b84c535af9577e289b53690ccbd6201
6
+ metadata.gz: 1988f797eedd593348c75902709458b70d295cef50f103a896d6f42d22172b13ea1f544fcb2b5498cda0a7f1578a1350f5fa1a6b5d0d5268b87c19108180b035
7
+ data.tar.gz: a04499ee57797fb8db4a683a42bade7753d92b143df33d0c75e9f5a9d755ba7c2d6c9c806030ea8cd10727ceff0f15e92af8f301df0d6d3f1a48db5d34fda9c6
@@ -178,16 +178,7 @@ module ActiveArchive
178
178
 
179
179
  begin
180
180
  should_ignore_validations?(force) ? record.save(validate: false) : record.save!
181
-
182
- if ::ActiveRecord::VERSION::MAJOR >= 5
183
- @previous_mutation_tracker = record.send(:previous_mutation_tracker)
184
- elsif ::ActiveRecord::VERSION::MAJOR >= 4
185
- @previously_changed = record.instance_variable_get('@previously_changed')
186
- end
187
-
188
- @changed_attributes = HashWithIndifferentAccess.new
189
181
  @attributes = record.instance_variable_get('@attributes')
190
- @mutation_tracker = nil
191
182
  rescue => error
192
183
  record.destroy
193
184
  raise(error)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveArchive
4
- VERSION ||= '5.1.2'
4
+ VERSION ||= '5.1.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.2
4
+ version: 5.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-30 00:00:00.000000000 Z
11
+ date: 2018-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails