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: bc6c4ec88760cf1e4287f68b9e5c201842568e40
4
- data.tar.gz: b791be8345a7e0dea745bd04e589be8967d5f456
3
+ metadata.gz: 7dbdccc32a47ad95a80e5bcff167261ada058543
4
+ data.tar.gz: 15f3fe9d20579051041d4cdb79daa73d8910b90b
5
5
  SHA512:
6
- metadata.gz: ba861a401664cb286f09444df4ef66344eee6de70c9dca6e547c3376c0a4a7cdd6d9e4e0b182cfc6927e366935a231b568cf4ce1ec3eed6cbf4f5c9bf6c700c6
7
- data.tar.gz: 5f58d6294394a1e284b20302fc16879660fbe3e9cfa6e1e5014782f4cc636952a9f634f7f3fc92c5c9e2e4c527019bd16bed1d3b8fe716058080a4c1be02287e
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
@@ -1,3 +1,3 @@
1
1
  module CachedEnumeration
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  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.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-23 00:00:00 Z
12
+ date: 2014-10-28 00:00:00 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler