services 6.0.2 → 6.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/services/query.rb +1 -1
- data/lib/services/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4ba31679cb700fe46cd163fd984d7243e2478650cfa1bcb0c59bdf26badbf28
|
4
|
+
data.tar.gz: dcb3badaefe09c30cf07ac866b5c441da841f83663c408d53df0c76a9904ec79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3388b6c8219826576969e9b3165fffedf629eeb116d7ddb96da84cd1801e24c9903eb16ac8c32feb3dca638222f066e7f3d9c4b19a6e5bf8a79e325b807e93b
|
7
|
+
data.tar.gz: b80ae9265e8aaefc22c57bafe90c17c7923b1b9c497531832a8c46a803eeb759cfc938422b8eb14ffa543540c15705898efc3def86e65575b04d4124c7f08adc
|
data/lib/services/query.rb
CHANGED
@@ -14,7 +14,7 @@ module Services
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
def call(ids_or_conditions, _conditions = {})
|
17
|
+
def call(ids_or_conditions = {}, _conditions = {})
|
18
18
|
ids, conditions = if ids_or_conditions.is_a?(Hash)
|
19
19
|
if _conditions.any?
|
20
20
|
fail ArgumentError, 'If conditions are passed as first argument, there must not be a second argument.'
|
data/lib/services/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Meurer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
246
246
|
version: '0'
|
247
247
|
requirements: []
|
248
248
|
rubyforge_project:
|
249
|
-
rubygems_version: 2.7.
|
249
|
+
rubygems_version: 2.7.4
|
250
250
|
signing_key:
|
251
251
|
specification_version: 4
|
252
252
|
summary: A nifty service layer for your Rails app
|