monkeylearn 3.3.0 → 3.3.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
- SHA1:
3
- metadata.gz: e5bb069bb982d494b3e56b4d624e267e68722ac9
4
- data.tar.gz: 644741c1f4758eaa7794a656477de0d05944ff8a
2
+ SHA256:
3
+ metadata.gz: 7a05f5a59e4f136e3a347364d986ed92070a626dbaf12fd04bc4a2039ad2fd0e
4
+ data.tar.gz: 6d70abafe8c514468fb8b131810b2876a9e096d305a47819a77f75363348d80f
5
5
  SHA512:
6
- metadata.gz: bba1a5e091c5acbf3ffbe3b1386148a87b54c2d241028e68b19ad1a2a3e2d78572364b23fa26a56ae1b255df857bb73e464bbe98fecba66e2e5716d0222b3e7e
7
- data.tar.gz: d5d70876460a891601ccedc8346cee1d159034356865184eb39ad730052969a40516bbb4af5e8a0a23944d92074b8afafbeda998385053102dbc4b2cfdcc721d
6
+ metadata.gz: ba9764d526c8c9b6871e1e0fb57003da5b964757dd5b496016ba5fbf49b1bfedf8b7f5015854d90c38fcdb8e9dc9861e5fb7254dfdb862c27fdc23adb03169be
7
+ data.tar.gz: 29f721771589c0532137ff5da8279529349ce576ef26afd3f0aec356d468de83d07f998541a4bbf7abef9cadb3cfb70ea9b77b43e4b6d51ecbdec3b2b6de6373
@@ -106,19 +106,16 @@ module Monkeylearn
106
106
  end
107
107
 
108
108
  def list(module_id, options = {})
109
- data = {
109
+ query_params = {
110
110
  batch_id: options[:batch_id],
111
111
  is_processed: options[:is_processed],
112
112
  sent_to_process_date_from: options[:sent_to_process_date_from],
113
113
  sent_to_process_date_to: options[:sent_to_process_date_to],
114
- }.delete_if { |k,v| v.nil? }
115
-
116
- query_params = {
117
114
  page: options[:page],
118
115
  per_page: options[:per_page],
119
116
  }.delete_if { |k,v| v.nil? }
120
117
 
121
- request(:get, build_endpoint(module_id), data, query_params)
118
+ request(:get, build_endpoint(module_id), nil, query_params)
122
119
  end
123
120
  end
124
121
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ['hello@monkeylearn.com']
11
11
  spec.homepage = 'https://github.com/monkeylearn/monkeylearn-ruby'
12
12
 
13
- spec.version = '3.3.0'
13
+ spec.version = '3.3.1'
14
14
 
15
15
  spec.add_dependency 'faraday', '>= 0.9.2', '<= 0.15.0'
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monkeylearn
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Monkeylearn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-15 00:00:00.000000000 Z
11
+ date: 2019-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: 1.3.5
70
70
  requirements: []
71
71
  rubyforge_project:
72
- rubygems_version: 2.6.14.1
72
+ rubygems_version: 2.7.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Ruby client for the MonkeyLearn API