wunderlist-api 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wunderlist/api.rb +3 -1
- data/lib/wunderlist/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: 846f7d496dd7cd650277489d5525a56b8b1229fa
|
4
|
+
data.tar.gz: 812be0db7c3a00f332c8a6b8f78fdbbeb0319af7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83c3f817d112c944775262c89a17c5f068a41c35aafecfa73bbb1ecb136e89c85f579181c860ad413cebd71fa8da3e79d27e245e3b9ef72c5cafadf4e2fb98a3
|
7
|
+
data.tar.gz: be1270b6cfa3290711ace0f60f21a892469f0cbf650bb97c61bc329b01420193f4780fccd9b4eee2162438d559e2c0943cfeaa1e44b72e9a78348d090149fba0
|
data/lib/wunderlist/api.rb
CHANGED
@@ -198,7 +198,9 @@ module Wunderlist
|
|
198
198
|
|
199
199
|
|
200
200
|
def get_list_ids(list_names = [])
|
201
|
-
|
201
|
+
if list_names.is_a? Array && list_names.all? {|i| i.is_a?(Integer) }
|
202
|
+
return list_names
|
203
|
+
end
|
202
204
|
return [list_names] if list_names.is_a? Integer
|
203
205
|
list_names = [list_names] if list_names.is_a? String
|
204
206
|
|
data/lib/wunderlist/version.rb
CHANGED