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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02a14a54d1213611e0c06354ee9484bb0acbc074
4
- data.tar.gz: 5d8513542b8e45c4a9acdb0d9d9d16ff853888b1
3
+ metadata.gz: f2895e755290fdee6deebf87759443fe717e95de
4
+ data.tar.gz: 9d2b4743a87b380f67c715a5f67e914385dfb186
5
5
  SHA512:
6
- metadata.gz: 3824d5cf0f48488d110db5b033732dc4d64265f7301716d99cdd817560f73b91749f46e2d657270225466d8b7e7a955bb6bcbe3beb9cbd6531979e01a1e4e591
7
- data.tar.gz: 34bf14f4bf1c4c67147c931841f89cc43b828d95019a6340d2b935640f70aafb4ec5c1068fb2dcf79cb7e131e887c90563ddb022f3d5ab0dffbaa6e761b26f02
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 = HashWithIndifferentAccess.new(options.delete(:valid_with))
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)
@@ -1,3 +1,3 @@
1
1
  module ActiveTools
2
- VERSION = "0.0.28"
2
+ VERSION = "0.0.29"
3
3
  end
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.28
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-02 00:00:00.000000000 Z
11
+ date: 2015-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails