garner 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/garner/mixins/mongoid/identity.rb +1 -1
- data/lib/garner/version.rb +1 -1
- metadata +4 -4
@@ -30,7 +30,7 @@ module Garner
|
|
30
30
|
#
|
31
31
|
# @return [Mongoid::Document]
|
32
32
|
def proxy_binding
|
33
|
-
@proxy_binding ||= klass.where(conditions).only(:_id, :_type, :updated_at).first
|
33
|
+
@proxy_binding ||= klass.where(conditions).only(:_id, :_type, :updated_at).limit(1).entries.first
|
34
34
|
end
|
35
35
|
|
36
36
|
# Stringize this identity for purposes of marshaling.
|
data/lib/garner/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: garner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-07-
|
13
|
+
date: 2013-07-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
@@ -400,7 +400,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
400
400
|
version: '0'
|
401
401
|
segments:
|
402
402
|
- 0
|
403
|
-
hash:
|
403
|
+
hash: 4248293876720409745
|
404
404
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
405
405
|
none: false
|
406
406
|
requirements:
|
@@ -409,7 +409,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
409
409
|
version: '0'
|
410
410
|
requirements: []
|
411
411
|
rubyforge_project:
|
412
|
-
rubygems_version: 1.8.
|
412
|
+
rubygems_version: 1.8.25
|
413
413
|
signing_key:
|
414
414
|
specification_version: 3
|
415
415
|
summary: Garner is a cache layer for Ruby and Rack applications, supporting model
|