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 +5 -5
- data/lib/monkeylearn/workflows.rb +2 -5
- data/monkeylearn.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7a05f5a59e4f136e3a347364d986ed92070a626dbaf12fd04bc4a2039ad2fd0e
|
4
|
+
data.tar.gz: 6d70abafe8c514468fb8b131810b2876a9e096d305a47819a77f75363348d80f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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),
|
118
|
+
request(:get, build_endpoint(module_id), nil, query_params)
|
122
119
|
end
|
123
120
|
end
|
124
121
|
end
|
data/monkeylearn.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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
|
72
|
+
rubygems_version: 2.7.6
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Ruby client for the MonkeyLearn API
|