monkeylearn 3.3.4 → 3.4.0

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
2
  SHA256:
3
- metadata.gz: f3008880d8d607fb1069aef0bba7951b7bb191962d6de83d52716f6850b5574e
4
- data.tar.gz: 688031a225f04b140be5ad15423473b6397260e98dc43a8196e5c6c664ca26c9
3
+ metadata.gz: 63e3444d4228e9b024b646a7f3917f849fe05696dde2d333a1d00dfd9ab3a048
4
+ data.tar.gz: 54cc2f5ed438d93738aa88b25cac7d8a3e96e0673a50cedbe3762d6f2dff9b8e
5
5
  SHA512:
6
- metadata.gz: a4d006831414d1d65a170b26ec31d1c0f6722edefe388c029da808fe52727cb14b4a152619269b4319d7318392e11bb8e3a829ebf6160ffe7a3caa7ed2902e99
7
- data.tar.gz: '059d42fcd5eee4b8b7162b9fd1d9d0884cf78954a9463311c3e4772b76c6237f604bfee66145f174f8b5e8b5ecbd5afcf2e4e790259934de5350178f0680285f'
6
+ metadata.gz: c23ca00b177b97dff06345ec89598fa9782807083c45683c4e119de0998a8b13cc5bb085456a722ae9631e34fce0a19755f67d028743241d1159a882e7afef96
7
+ data.tar.gz: 6bcba0c1f667ac51ce2f04febf2653fb9722f834a6c47d222167d54fb2b1d136070bcf36b35ba281b8d9eb69e258b94465599e663fba32e875923586f66e3413
@@ -29,10 +29,13 @@ module Monkeylearn
29
29
  end
30
30
 
31
31
  def create(name, options = {})
32
+ if options[:db_name]
33
+ warn 'Note: db_name parameter is ignored by the API and will be removed soon'
34
+ end
35
+
32
36
  data = {
33
37
  name: name,
34
38
  description: options[:description],
35
- db_name: options[:db_name],
36
39
  webhook_url: options[:webhook_url],
37
40
  steps: options[:steps],
38
41
  custom_fields: options[:custom_fields],
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.4'
13
+ spec.version = '3.4.0'
14
14
 
15
15
  spec.add_dependency 'faraday', '>= 0.9.2', '< 1.0.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
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Monkeylearn
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-29 00:00:00.000000000 Z
11
+ date: 2021-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -53,7 +53,7 @@ homepage: https://github.com/monkeylearn/monkeylearn-ruby
53
53
  licenses:
54
54
  - MIT
55
55
  metadata: {}
56
- post_install_message:
56
+ post_install_message:
57
57
  rdoc_options: []
58
58
  require_paths:
59
59
  - lib
@@ -68,9 +68,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  - !ruby/object:Gem::Version
69
69
  version: 1.3.5
70
70
  requirements: []
71
- rubyforge_project:
72
- rubygems_version: 2.7.6
73
- signing_key:
71
+ rubygems_version: 3.2.16
72
+ signing_key:
74
73
  specification_version: 4
75
74
  summary: Ruby client for the MonkeyLearn API
76
75
  test_files: []