active_tools 0.0.26 → 0.0.27

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
  SHA1:
3
- metadata.gz: 3824ea1af640825d0cc6f8a5d8aef6ca37f880ac
4
- data.tar.gz: 89ec8e6abf1a389f3f61ac45c9fe5afca098a8b9
3
+ metadata.gz: 0fd6942e7da61204c41ff619e9dd2802240935ad
4
+ data.tar.gz: 05b5eabb09889693ba6660db6a104b1e7e952abd
5
5
  SHA512:
6
- metadata.gz: b3b9874adda78011d372dea14cceba9594e13c9f4782a17853e7a0e32b78a80c46a2e9e86138707e29cf1aa9453ce46bb70ca893b0776b240e3c25860c0a26c9
7
- data.tar.gz: cbe909d4a4fc9cfdce1d21aacbcccc271c1dd91016f384b819d5381af66a2cb93cc15f83f6a8a5a016a335250882a5efb331de24de7eac8cef9709835cb7a6b7
6
+ metadata.gz: 6868f2b6e3f6c78c5d829869ca4cd62758afd90e2f004f426475bd1914df9e3086f590b3c9c4015e47d639264c940e9b9ae4f376ea6c2c0af57a439dee37d7ff
7
+ data.tar.gz: ca6e0d910eabd61491d38e67a821475c2dbc0fd4e562d01c84421108e2d13a2b954441d337640bac61d533ab5fca6886afa25398e90f395a6b1f2308f8014161
@@ -144,7 +144,7 @@ module ActiveTools
144
144
  outer_values.deep_merge!(values[:outer_values])
145
145
  where_values.deep_merge!(values[:where_values])
146
146
  else
147
- where_values[attribute] = @template.send(attribute)
147
+ where_values[attribute] = @template[attribute] #@template.send(attribute)
148
148
  end
149
149
  end
150
150
  klass.includes(outer_values).where(where_values).limit(1).first
@@ -1,3 +1,3 @@
1
1
  module ActiveTools
2
- VERSION = "0.0.26"
2
+ VERSION = "0.0.27"
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.26
4
+ version: 0.0.27
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-09-23 00:00:00.000000000 Z
11
+ date: 2015-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails