origin 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,13 @@
6
6
 
7
7
  ### Resolved Issues
8
8
 
9
+ ## 1.0.7
10
+
11
+ ### Resolved Issues
12
+
13
+ * \#40 Allow $elemMatch queries to be expanded in where clauses, not just
14
+ elem_match method calls.
15
+
9
16
  ## 1.0.5
10
17
 
11
18
  ### Resolved Issues
@@ -534,7 +534,7 @@ module Origin
534
534
  # @since 1.0.0
535
535
  def expr_query(criterion)
536
536
  selection(criterion) do |selector, field, value|
537
- selector.merge!(field.specify(value, negating?))
537
+ selector.merge!(field.specify(value.__expand_complex__, negating?))
538
538
  end
539
539
  end
540
540
 
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Origin
3
- VERSION = "1.0.6"
3
+ VERSION = "1.0.7"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
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: 2012-08-08 00:00:00.000000000 Z
12
+ date: 2012-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  segments:
147
147
  - 0
148
- hash: 2569120382874520482
148
+ hash: -666818952007008249
149
149
  required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements: