active_tools 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 0bf611157f690c14929f436ae691f74682dc1ccd234a100855f71d7c9b4c8093
|
|
4
|
+
data.tar.gz: d5850c92d23869898b7c5bc5584daae4a53b5189fe1d4835ddcd48dd4404166b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abc7983afa68333cd97af51635f7dbcd16d9a8ec29ff820f8a59f65cfc80adddfacfd41ff8d3db6dc97ef2832c91190b55928397d956ef03f58d2a06690147d8
|
|
7
|
+
data.tar.gz: 3598e20d16269350d2da2f641f4ec47618d3fa1effff69da6882dc0d47f84c5b657eb86fd0a50a97c768ef4175a77d400a5d70b60d09eee0eb85c72bede3f730
|
|
@@ -245,7 +245,9 @@ module ActiveTools
|
|
|
245
245
|
|
|
246
246
|
def target=(record)
|
|
247
247
|
if owner.persisted?
|
|
248
|
-
if Rails.version >= "
|
|
248
|
+
if Rails.version >= "5.2.0"
|
|
249
|
+
association.send(:replace_keys, record)
|
|
250
|
+
elsif Rails.version >= "4.1.0"
|
|
249
251
|
if record
|
|
250
252
|
association.send(:replace_keys, record)
|
|
251
253
|
else
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Valery Kvon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-10-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
125
125
|
version: '0'
|
|
126
126
|
requirements: []
|
|
127
127
|
rubyforge_project: active_tools
|
|
128
|
-
rubygems_version: 2.6
|
|
128
|
+
rubygems_version: 2.7.6
|
|
129
129
|
signing_key:
|
|
130
130
|
specification_version: 4
|
|
131
131
|
summary: ActionDispatch, ActionController, ActiveModel, ActiveRecord, ActiveSupport,
|