active_tools 0.0.28 → 0.0.29
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 +4 -4
- data/.DS_Store +0 -0
- data/lib/active_tools/active_record/adaptive_belongs_to.rb +1 -1
- data/lib/active_tools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f2895e755290fdee6deebf87759443fe717e95de
|
|
4
|
+
data.tar.gz: 9d2b4743a87b380f67c715a5f67e914385dfb186
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5525fe85bda2749a3114c353a4a84b3e7b6f5aa2f90bc6032796cf78a576625cf02e947a95fdc99d0bb67d06123c73de8535181e2776315a7b536e024241933b
|
|
7
|
+
data.tar.gz: 1bbcc9e184b7fd90d587b85a8a1307c629ca41bfccb82793a5794b01016422fc0c6d36fb5a104b6588f5bfa11fd157e01abbaff3602eb2bf9c17e06309c33785
|
data/.DS_Store
CHANGED
|
Binary file
|
|
@@ -55,7 +55,7 @@ module ActiveTools
|
|
|
55
55
|
|
|
56
56
|
raise(TypeError, "Option :attributes must be a Hash. #{options[:attributes].class} passed!") unless options[:attributes].is_a?(Hash)
|
|
57
57
|
attr_map = HashWithIndifferentAccess.new(options.delete(:attributes))
|
|
58
|
-
valid_options =
|
|
58
|
+
valid_options = Hash(options.delete(:valid_with)).symbolize_keys
|
|
59
59
|
valid_with assoc_name, valid_options.merge(:attributes => attr_map) #, :fit => true
|
|
60
60
|
|
|
61
61
|
class_attribute :adaptive_options unless defined?(adaptive_options)
|
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.0.
|
|
4
|
+
version: 0.0.29
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Valery Kvon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|