cached_enumeration 2.0.0 → 2.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dbdccc32a47ad95a80e5bcff167261ada058543
|
4
|
+
data.tar.gz: 15f3fe9d20579051041d4cdb79daa73d8910b90b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf2bf65c921160df82a3be23416a96e99a2e1ef5827c422a18d4304fe3b00c5e46ccb853f0948f5e78096c871eabc8b6bb87b36d050a95c8f17846bd750ce26b
|
7
|
+
data.tar.gz: b55171870df0726aaf90d035735c0f5b8c9aeb0bbb0d784aebf720ff964617b038f4c545566ec6e17a85e58cfa234fd84dc17e23bccb70b9afd071881e8d3944
|
@@ -239,7 +239,7 @@ module ActiveRecord
|
|
239
239
|
cache_enumeration.get_by(att_name, id)
|
240
240
|
end.compact
|
241
241
|
else
|
242
|
-
identifier=bind_values[0][1] if identifier=='?'
|
242
|
+
identifier=bind_values[0][1] if identifier=='?' || identifier=='$1'
|
243
243
|
cache_enumeration.get_by(att_name, identifier)
|
244
244
|
end
|
245
245
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cached_enumeration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Schrammel
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-28 00:00:00 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|