active_tools 0.2.2 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 687d6ea1e83337571e6a3cff5233ea0b41bb56934817e41018dddf0d2780ab23
|
4
|
+
data.tar.gz: 4e0751629b4adabae5fc1c220696ce2ee3c5426accd6b402e71e8ad88ba97362
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df1b30dff6d5c2ea56da8bd85708452c158bc1d0c403a0be6517c82542f8b0e2531bb6894c0b4b05467e9e728cc824dc0a138327739a4b2c522684b43c25d919
|
7
|
+
data.tar.gz: 551d5973e60c9b616015327243daa85aece3697dd5db6b59c21d2293dc29e53455840d9e84dd64e7999ddfae28bd81b2b6f045cde6541daf6d7fac5ad827ba81
|
@@ -44,6 +44,7 @@ module ActiveTools
|
|
44
44
|
store_backup!
|
45
45
|
create_template!
|
46
46
|
target.send("#{name}=", value)
|
47
|
+
@template.send("#{name}=", value)
|
47
48
|
owner.send(:attributes_changed_by_setter).except!(local_attribute) if owner.changes[local_attribute].try(:last) == owner.changes[local_attribute].try(:first)
|
48
49
|
if @backup.present? && same_records?(@backup, target, :attributes => @remote_attributes)
|
49
50
|
restore_backup!
|
data/lib/active_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valery Kvon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|