moped 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of moped might be problematic. Click here for more details.

data/lib/moped/query.rb CHANGED
@@ -94,7 +94,7 @@ module Moped
94
94
  "$orderby" => operation.selector.fetch("$orderby", {}),
95
95
  "$explain" => true,
96
96
  "$limit" => operation.selector.fetch("$limit", 1).abs * -1
97
- } and each.next
97
+ } and each { |doc| return doc }
98
98
  end
99
99
 
100
100
  # Get the first matching document.
data/lib/moped/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Moped
3
- VERSION = "1.1.4"
3
+ VERSION = "1.1.5"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moped
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -85,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  segments:
87
87
  - 0
88
- hash: -4318298260088068040
88
+ hash: -183489421754413756
89
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  none: false
91
91
  requirements:
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  segments:
96
96
  - 0
97
- hash: -4318298260088068040
97
+ hash: -183489421754413756
98
98
  requirements: []
99
99
  rubyforge_project:
100
100
  rubygems_version: 1.8.24