services 3.0.1 → 3.1.1

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
  SHA1:
3
- metadata.gz: 0a8b09c4247edbffd290b1be49aa3aa075efb245
4
- data.tar.gz: ed6fc2968090fe42901212205fbb11b83038fb83
3
+ metadata.gz: aa36865886b193fa90e404a25e97a77f02b8db14
4
+ data.tar.gz: 98215ed1fe3f3c11426c8946d6e5fed0cf9f5c61
5
5
  SHA512:
6
- metadata.gz: b42d12f192f8ad07dc6ded466653e0c25d408b6b70cb0655509fe1f324dd726877ac88fb5f0bd8e12df36e93b8506029911e7ef82c087f70f0a81fcba4613e6c
7
- data.tar.gz: b6e8eeda0571feaae436e04bb4024b116e5aab50342a0d4f3610d6504c6d628b7996275730bef4d8396b1719cebbf59cf2318df632e7491e6116eb842a0c72b1
6
+ metadata.gz: 23145a46e65887c619eb18c4be711bbecbf0016de66c0c89c791f4aacf4d6eb7bd2f71cc975ae180700912d93a5a1deaa2edc3427e323541d743bc95292e39ef
7
+ data.tar.gz: 9e3cbf5c22d2ea747bc91b08b443e8f8c7856da671104cb2bc80d998a8bc8ce6741ac3edf6c46a96912dcc08599343772810026d344c429b902d76bbdd3c88b1
@@ -1,3 +1,7 @@
1
+ ## 3.0.1
2
+
3
+ * Fix for Ruby 2.0
4
+
1
5
  ## 3.0.0
2
6
 
3
7
  * Rename `BaseFinder` to `Query`
@@ -7,6 +7,8 @@ module Services
7
7
  end
8
8
 
9
9
  def call(ids = [], conditions = {})
10
+ raise ArgumentError, 'ids parameter must not be nil.' if ids.nil?
11
+
10
12
  ids, conditions = Array(ids), conditions.symbolize_keys
11
13
  object_table_id = "#{object_class.table_name}.id"
12
14
 
@@ -1,3 +1,3 @@
1
1
  module Services
2
- VERSION = '3.0.1'
2
+ VERSION = '3.1.1'
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: 3.0.1
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Meurer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-30 00:00:00.000000000 Z
11
+ date: 2015-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake