believer 0.2.15 → 0.2.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,8 +43,7 @@ module Believer
43
43
  def any?
44
44
  return loaded_objects.any? unless loaded_objects.nil?
45
45
  q = clone
46
- q.limit(1)
47
- q.count > 0
46
+ q.limit(1).count > 0
48
47
  end
49
48
  end
50
49
  end
@@ -1,5 +1,5 @@
1
1
  module Believer
2
2
  module Version
3
- VERSION = '0.2.15'
3
+ VERSION = '0.2.16'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: believer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.15
4
+ version: 0.2.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-13 00:00:00.000000000 Z
12
+ date: 2013-11-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel