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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a734a32365b9820781a4c07ebde4473755d3aa6bff70ce8aceff8b755744bd30
4
- data.tar.gz: c47afbddf30061a36983ce662b23dfea29ba8de161cff43b027f34bdd770832b
3
+ metadata.gz: f4ba31679cb700fe46cd163fd984d7243e2478650cfa1bcb0c59bdf26badbf28
4
+ data.tar.gz: dcb3badaefe09c30cf07ac866b5c441da841f83663c408d53df0c76a9904ec79
5
5
  SHA512:
6
- metadata.gz: 64acc2def0a5d3aad0850ef26e108ce52573351b3c815b7129e0cd9a3ea8aa54d07dd6a3e2faac7deb4f4bd832781a5bc65b4d7062f57b9ab7eff2606cbe8ad1
7
- data.tar.gz: b4ac71cb2d4d9de914c8f2a63abe9f2af37bd8715a237f1525b1ff1b582d451d8826cfb808cc5568b23474cdcaed539d3be32c03839aef0c6070390453635ca4
6
+ metadata.gz: a3388b6c8219826576969e9b3165fffedf629eeb116d7ddb96da84cd1801e24c9903eb16ac8c32feb3dca638222f066e7f3d9c4b19a6e5bf8a79e325b807e93b
7
+ data.tar.gz: b80ae9265e8aaefc22c57bafe90c17c7923b1b9c497531832a8c46a803eeb759cfc938422b8eb14ffa543540c15705898efc3def86e65575b04d4124c7f08adc
@@ -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.'
@@ -1,3 +1,3 @@
1
1
  module Services
2
- VERSION = '6.0.2'.freeze
2
+ VERSION = '6.0.3'.freeze
3
3
  end
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.2
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-02 00:00:00.000000000 Z
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.3
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