embark-journey 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/journey/resource/batch_where.rb +0 -1
- data/lib/journey/resource/where_multiple.rb +4 -2
- data/lib/journey/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18c9b267ba2cffc78635ed6da60a9fc0cdd541f7
|
4
|
+
data.tar.gz: 2ee2f6281fa95ab36e8cb447b8772cd5ac4fe137
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45cead5f6647b4a247627480fc3d57f4e2d3b71cb338a2c54ac2312215cb3ba933900f58ad123b9764f45da84e7c38048da416f91ff9d5573a6848773efdc997
|
7
|
+
data.tar.gz: db86af47a90b175ea80e6e36b73c65736bc32498ae3041210a8235eb6aa3cfa8b850329b7ae3874fbf9883923f8caa537e76c6474a44d64ec6a2c81009cda695
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,8 @@ module Journey::Resource::WhereMultiple
|
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
|
6
6
|
included do
|
7
|
-
def self.where_multiple(
|
7
|
+
def self.where_multiple(c)
|
8
|
+
clauses = c.dup
|
8
9
|
|
9
10
|
query = clauses.delete(:query)
|
10
11
|
query_keys_with_array_values = query.map do |key, value|
|
@@ -25,8 +26,9 @@ module Journey::Resource::WhereMultiple
|
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
28
|
-
def self.count_multiple(
|
29
|
+
def self.count_multiple(c)
|
29
30
|
# TODO refactor me to re-use all the same recursive query logic in `where_multiple`
|
31
|
+
clauses = c.dup
|
30
32
|
|
31
33
|
query = clauses.delete(:query)
|
32
34
|
query_keys_with_array_values = query.map do |key, value|
|
data/lib/journey/version.rb
CHANGED