zooppa_api_v3 0.0.8 → 0.0.9
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/lib/zooppa_api_v3.rb +2 -1
- data/zooppa_api_v3.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 554e8160e4a5102e8f3fa0e7933241d3d5a43d70
|
|
4
|
+
data.tar.gz: 498fd998bb4624819f7e55ea44a2727ca36b5cb1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3b3f5eb99b3908ecd38cc6b5fb3f7b37be2979bab114740c17d71147dd5444710776242c6211149bdf9397ae22ef4d0ba6866d944aedb4292501a0841142b85
|
|
7
|
+
data.tar.gz: 4bd1a9fbee3c1b71236ab46022913d4666c26956a9277cfc8da05892df98b3c23c9bb4dc9e415a68d5f7cf4d1f93b565d394b28b4913fa79a1784378e7b126a3
|
data/lib/zooppa_api_v3.rb
CHANGED
|
@@ -56,7 +56,8 @@ class ZooppaApiV3
|
|
|
56
56
|
args.each_with_index do |filter, index|
|
|
57
57
|
@filter_params += '&' unless @filter_params == ''
|
|
58
58
|
if filter.split(':')[0] == 'custom'
|
|
59
|
-
|
|
59
|
+
# TODO: arguments need to be supported
|
|
60
|
+
@filter_params += URI.encode("custom_filters[][method]=#{filter.split(':')[1]}")
|
|
60
61
|
else
|
|
61
62
|
@filter_params += URI.encode("filters[]=#{filter}")
|
|
62
63
|
end
|
data/zooppa_api_v3.gemspec
CHANGED
|
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "zooppa_api_v3"
|
|
8
|
-
spec.version = '0.0.
|
|
8
|
+
spec.version = '0.0.9'
|
|
9
9
|
spec.authors = ["Ulrich Soeffing"]
|
|
10
10
|
spec.email = ["ulrich_soeffing@gmx.de"]
|
|
11
11
|
spec.description = "Wrapper for the Zooppa api v3"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zooppa_api_v3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ulrich Soeffing
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-09-
|
|
11
|
+
date: 2015-09-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|