origin 1.0.1 → 1.0.2

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.2
10
+
11
+ ### Resolved Issues
12
+
13
+ * mongoid/mongoid \#2165 Multi selection ($and/$or) now takes into account
14
+ field aliases.
15
+
9
16
  ## 1.0.1
10
17
 
11
18
  ### Resolved Issues
@@ -54,8 +54,7 @@ module Origin
54
54
  def evolve_multi(value)
55
55
  value.map do |val|
56
56
  Hash[val.map do |key, _value|
57
- name = key.to_s
58
- serializer = serializers[name]
57
+ name, serializer = storage_pair(key)
59
58
  [ normalized_key(name, serializer), evolve(serializer, _value) ]
60
59
  end]
61
60
  end.uniq
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Origin
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
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.1
4
+ version: 1.0.2
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-06-13 00:00:00.000000000 Z
12
+ date: 2012-07-05 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: -3400773899600660622
148
+ hash: 3124346352379562039
149
149
  required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements: