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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cacc732b8632ba455ff73515dab8d1a34a83d86
4
- data.tar.gz: 71e7bfe54f85d0390b8b1c4eb848d3c1824dcf2f
3
+ metadata.gz: 554e8160e4a5102e8f3fa0e7933241d3d5a43d70
4
+ data.tar.gz: 498fd998bb4624819f7e55ea44a2727ca36b5cb1
5
5
  SHA512:
6
- metadata.gz: 46073efec7e7482ab5be40900c507eee0ce188b4c2ff1082b69fa9f9d6ae0a0c8221f73c3ceb0a08aee18e20c004251eac4060bf4763ea38e62ba921c447c482
7
- data.tar.gz: 7d1b966c892159f778503461694d4773ad869180d1aecd3834586bf26acc15c49dc23fde53b9f0afc22565ba1e2db879b55f402c478d6332f11bddc04e1c6645
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
- @filter_params += URI.encode("custom_filters[#{filter.split(':')[1]}]=#{filter.split(':')[2]}")
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
@@ -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'
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.8
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-08 00:00:00.000000000 Z
11
+ date: 2015-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler