ibm_watson 2.0.0 → 2.0.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
2
  SHA256:
3
- metadata.gz: c7e49f743ec6be9987f928f1ef0cfb20940e25d725cbcb615fe91ac7ccf358a9
4
- data.tar.gz: eaca308aac3243d51701f84360eded5d2bb80e9afeac79ef38f1c17803732823
3
+ metadata.gz: 59e70245c69cc0c8ff09a9c024fbb73e4be55abb91f5c06dcdc46388de5fa5a1
4
+ data.tar.gz: '0378d428841351356f8053d32c8050ff0aea685e19549df088a1b38e4b2e6150'
5
5
  SHA512:
6
- metadata.gz: 064c105ef4d1e9f40f2c5b295afcd0309d77c8ecd408e0937d56136af53cf4ac5df5c09d550a9859820f30df7bf71a8e16ffceba0c637e0c3b7effc7728516c6
7
- data.tar.gz: 8d6632a93f2864c9ffe12a7e3ab3e0fa07e38004ac81baa376d7f2926cac032fdcfbaa08600713b31211f632d343031ee1c7809d5ef979502b70476f405fbead
6
+ metadata.gz: 5c855e9a0ef9b6e2e2e88ed485a2b3bfc693c249ecbf84b6ec8a7294a9b6222e421fb5ae1d3444ddb987337ce89e1cac0884cae5eb3494698f5b032a1acf29c9
7
+ data.tar.gz: a56164a62847bcbdc7b260d159c387f8476b1afb3bdf8937d8395e25e64fef4295f29745218e777f647e6202057c38cf633e821b7db9945aacbbc5def4770f3d
data/README.md CHANGED
@@ -1,13 +1,17 @@
1
1
  # IBM Watson Ruby SDK
2
2
 
3
- [![Build Status](https://travis-ci.org/watson-developer-cloud/ruby-sdk.svg)](https://travis-ci.org/watson-developer-cloud/ruby-sdk)
4
- [![Build status](https://ci.appveyor.com/api/projects/status/ir3k0ue138o4u67e?svg=true)](https://ci.appveyor.com/project/maxnussbaum/ruby-sdk)
3
+ [![Build and Test](https://github.com/watson-developer-cloud/ruby-sdk/workflows/Build%20and%20Test/badge.svg?branch=master)](https://github.com/watson-developer-cloud/ruby-sdk/actions?query=workflow%3A"Build+and+Test")
4
+ [![Deploy and Publish](https://github.com/watson-developer-cloud/ruby-sdk/workflows/Deploy%20and%20Publish/badge.svg?branch=master)](https://github.com/watson-developer-cloud/ruby-sdk/actions?query=workflow%3A%22Deploy+and+Publish%22)
5
5
  [![Slack](https://wdc-slack-inviter.mybluemix.net/badge.svg)](https://wdc-slack-inviter.mybluemix.net)
6
6
  [![codecov.io](https://codecov.io/github/watson-developer-cloud/ruby-sdk/coverage.svg)](https://codecov.io/github/watson-developer-cloud/ruby-sdk)
7
7
  [![Gem Version](https://badge.fury.io/rb/ibm_watson.svg)](https://badge.fury.io/rb/ibm_watson)
8
8
  [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
9
9
  [![CLA assistant](https://cla-assistant.io/readme/badge/watson-developer-cloud/ruby-sdk)](https://cla-assistant.io/watson-developer-cloud/ruby-sdk)
10
10
 
11
+ ## Deprecated builds
12
+ [![Build Status](https://travis-ci.org/watson-developer-cloud/ruby-sdk.svg)](https://travis-ci.org/watson-developer-cloud/ruby-sdk)
13
+ [![Build status](https://ci.appveyor.com/api/projects/status/ir3k0ue138o4u67e?svg=true)](https://ci.appveyor.com/project/maxnussbaum/ruby-sdk)
14
+
11
15
  Ruby gem to quickly get started with the various [IBM Watson][wdc] services.
12
16
 
13
17
  <details>
@@ -35,6 +39,9 @@ Ruby gem to quickly get started with the various [IBM Watson][wdc] services.
35
39
  </details>
36
40
 
37
41
  ## ANNOUNCEMENTS!
42
+ ### Updating endpoint URLs from watsonplatform.net
43
+ Watson API endpoint URLs at watsonplatform.net are changing and will not work after 26 May 2021. Update your calls to use the newer endpoint URLs. For more information, see https://cloud.ibm.com/docs/watson?topic=watson-endpoint-change.
44
+
38
45
  ### Personality Insights deprecation
39
46
  IBM Watson™ Personality Insights is discontinued. For a period of one year from 1 December 2020, you will still be able to use Watson Personality Insights. However, as of 1 December 2021, the offering will no longer be available.
40
47
 
@@ -43,6 +50,9 @@ As an alternative, we encourage you to consider migrating to IBM Watson™ [Natu
43
50
  ### Visual Recognition deprecation
44
51
  IBM Watson™ Visual Recognition is discontinued. Existing instances are supported until 1 December 2021, but as of 7 January 2021, you can't create instances. Any instance that is provisioned on 1 December 2021 will be deleted.
45
52
 
53
+ ### Compare and Comply deprecation
54
+ IBM Watson™ Compare and Comply is discontinued. Existing instances are supported until 30 November 2021, but as of 1 December 2020, you can't create instances. Any instance that exists on 30 November 2021 will be deleted. Consider migrating to Watson Discovery Premium on IBM Cloud for your Compare and Comply use cases. To start the migration process, visit https://ibm.biz/contact-wdc-premium.
55
+
46
56
  ## Before you begin
47
57
 
48
58
  * You need an [IBM Cloud][ibm-cloud-onboarding] account.
@@ -115,7 +125,7 @@ The file downloaded will be called `ibm-credentials.env`. This is the name the S
115
125
  discovery = DiscoveryV1(version: "2018-08-01")
116
126
  ```
117
127
 
118
- And that's it!
128
+ And that's it!
119
129
 
120
130
  If you're using more than one service at a time in your code and get two different `ibm-credentials.env` files, just put the contents together in one `ibm-credentials.env` file and the SDK will handle assigning credentials to their appropriate services.
121
131
 
@@ -47,6 +47,7 @@ module IBMWatson
47
47
  # @option args service_name [String] The name of the service to configure. Will be used as the key to load
48
48
  # any external configuration, if applicable.
49
49
  def initialize(args = {})
50
+ warn "On 30 November 2021, Compare and Comply will no longer be available. For more information, see https://github.com/watson-developer-cloud/ruby-sdk#compare-and-comply-deprecation."
50
51
  @__async_initialized__ = false
51
52
  defaults = {}
52
53
  defaults[:service_url] = DEFAULT_SERVICE_URL
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IBMWatson
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.1"
5
5
  end
@@ -8,7 +8,7 @@ SimpleCov.command_name "test:unit"
8
8
 
9
9
  WebMock.disable_net_connect!(allow_localhost: true)
10
10
 
11
- # Unit tests for the Watson Assistant V1 Service
11
+ # Unit tests for the Watson Assistant V1 Services
12
12
  class AssistantV1Test < Minitest::Test
13
13
  include Minitest::Hooks
14
14
  attr_accessor :service
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibm_watson
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Nussbaum
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-09 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.10'
47
+ version: '0.11'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.10'
54
+ version: '0.11'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: http
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '1.16'
103
+ version: '2.2'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '1.16'
110
+ version: '2.2'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: codecov
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -346,7 +346,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
346
346
  - !ruby/object:Gem::Version
347
347
  version: '0'
348
348
  requirements: []
349
- rubygems_version: 3.1.5
349
+ rubyforge_project:
350
+ rubygems_version: 2.7.6.2
350
351
  signing_key:
351
352
  specification_version: 4
352
353
  summary: Official client library to use the IBM Watson Services