ibm_watson 1.5.0 → 2.0.2
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 +4 -4
- data/README.md +42 -4
- data/lib/ibm_watson/assistant_v1.rb +213 -195
- data/lib/ibm_watson/assistant_v2.rb +161 -17
- data/lib/ibm_watson/compare_comply_v1.rb +35 -21
- data/lib/ibm_watson/discovery_v1.rb +132 -13
- data/lib/ibm_watson/discovery_v2.rb +728 -21
- data/lib/ibm_watson/language_translator_v3.rb +205 -67
- data/lib/ibm_watson/natural_language_classifier_v1.rb +4 -2
- data/lib/ibm_watson/natural_language_understanding_v1.rb +21 -21
- data/lib/ibm_watson/personality_insights_v3.rb +27 -18
- data/lib/ibm_watson/speech_to_text_v1.rb +58 -46
- data/lib/ibm_watson/text_to_speech_v1.rb +113 -129
- data/lib/ibm_watson/tone_analyzer_v3.rb +12 -13
- data/lib/ibm_watson/version.rb +1 -1
- data/lib/ibm_watson/visual_recognition_v3.rb +33 -16
- data/lib/ibm_watson/visual_recognition_v4.rb +58 -17
- data/test/integration/test_assistant_v1.rb +9 -0
- data/test/integration/test_assistant_v2.rb +27 -0
- data/test/integration/test_discovery_v2.rb +132 -6
- data/test/integration/test_language_translator_v3.rb +5 -0
- data/test/integration/test_text_to_speech_v1.rb +3 -3
- data/test/unit/test_assistant_v1.rb +150 -99
- data/test/unit/test_assistant_v2.rb +91 -12
- data/test/unit/test_compare_comply_v1.rb +20 -20
- data/test/unit/test_discovery_v1.rb +125 -125
- data/test/unit/test_discovery_v2.rb +262 -29
- data/test/unit/test_language_translator_v3.rb +85 -24
- data/test/unit/test_natural_language_classifier_v1.rb +17 -17
- data/test/unit/test_natural_language_understanding_v1.rb +10 -10
- data/test/unit/test_personality_insights_v3.rb +14 -14
- data/test/unit/test_speech_to_text_v1.rb +97 -97
- data/test/unit/test_text_to_speech_v1.rb +48 -48
- data/test/unit/test_tone_analyzer_v3.rb +12 -12
- data/test/unit/test_visual_recognition_v3.rb +16 -16
- data/test/unit/test_visual_recognition_v4.rb +40 -40
- metadata +12 -11
| @@ -20,7 +20,7 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 20 20 |  | 
| 21 21 | 
             
              def test_analyze
         | 
| 22 22 | 
             
                file = File.open(Dir.getwd + "/resources/cnc_test.pdf")
         | 
| 23 | 
            -
                stub_request(:post, "https:// | 
| 23 | 
            +
                stub_request(:post, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/analyze?version=2018-03-19").with do |req|
         | 
| 24 24 | 
             
                  assert_equal(req.headers["Accept"], "application/json")
         | 
| 25 25 | 
             
                  assert_match(%r{\Amultipart/form-data}, req.headers["Content-Type"])
         | 
| 26 26 | 
             
                  assert_match(/Content-Disposition: form-data/, req.body)
         | 
| @@ -40,7 +40,7 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 40 40 | 
             
              end
         | 
| 41 41 |  | 
| 42 42 | 
             
              def test_analyze_url
         | 
| 43 | 
            -
                stub_request(:post, "https:// | 
| 43 | 
            +
                stub_request(:post, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/analyze?version=2018-03-19").with do |req|
         | 
| 44 44 | 
             
                  assert_equal(req.headers["Accept"], "application/json")
         | 
| 45 45 | 
             
                  assert_match(%r{\Amultipart/form-data}, req.headers["Content-Type"])
         | 
| 46 46 | 
             
                  assert_match(/Content-Disposition: form-data; name="image_url"/, req.body)
         | 
| @@ -67,11 +67,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 67 67 | 
             
                    }
         | 
| 68 68 | 
             
                  ]
         | 
| 69 69 | 
             
                }
         | 
| 70 | 
            -
                stub_request(:post, "https:// | 
| 70 | 
            +
                stub_request(:post, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections?version=2018-03-19")
         | 
| 71 71 | 
             
                  .with(
         | 
| 72 72 | 
             
                    headers: {
         | 
| 73 73 | 
             
                      "Accept" => "application/json",
         | 
| 74 | 
            -
                      "Host" => " | 
| 74 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 75 75 | 
             
                    }
         | 
| 76 76 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 77 77 | 
             
                service_response = service.create_collection(
         | 
| @@ -85,11 +85,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 85 85 | 
             
                response = {
         | 
| 86 86 | 
             
                  "collections" => []
         | 
| 87 87 | 
             
                }
         | 
| 88 | 
            -
                stub_request(:get, "https:// | 
| 88 | 
            +
                stub_request(:get, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections?version=2018-03-19")
         | 
| 89 89 | 
             
                  .with(
         | 
| 90 90 | 
             
                    headers: {
         | 
| 91 91 | 
             
                      "Accept" => "application/json",
         | 
| 92 | 
            -
                      "Host" => " | 
| 92 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 93 93 | 
             
                    }
         | 
| 94 94 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 95 95 | 
             
                service_response = service.list_collections
         | 
| @@ -109,11 +109,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 109 109 | 
             
                    }
         | 
| 110 110 | 
             
                  ]
         | 
| 111 111 | 
             
                }
         | 
| 112 | 
            -
                stub_request(:get, "https:// | 
| 112 | 
            +
                stub_request(:get, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid?version=2018-03-19")
         | 
| 113 113 | 
             
                  .with(
         | 
| 114 114 | 
             
                    headers: {
         | 
| 115 115 | 
             
                      "Accept" => "application/json",
         | 
| 116 | 
            -
                      "Host" => " | 
| 116 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 117 117 | 
             
                    }
         | 
| 118 118 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 119 119 | 
             
                service_response = service.get_collection(
         | 
| @@ -135,11 +135,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 135 135 | 
             
                    }
         | 
| 136 136 | 
             
                  ]
         | 
| 137 137 | 
             
                }
         | 
| 138 | 
            -
                stub_request(:post, "https:// | 
| 138 | 
            +
                stub_request(:post, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid?version=2018-03-19")
         | 
| 139 139 | 
             
                  .with(
         | 
| 140 140 | 
             
                    headers: {
         | 
| 141 141 | 
             
                      "Accept" => "application/json",
         | 
| 142 | 
            -
                      "Host" => " | 
| 142 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 143 143 | 
             
                    }
         | 
| 144 144 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 145 145 | 
             
                service_response = service.update_collection(
         | 
| @@ -150,11 +150,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 150 150 |  | 
| 151 151 | 
             
              def test_delete_collection
         | 
| 152 152 | 
             
                response = {}
         | 
| 153 | 
            -
                stub_request(:delete, "https:// | 
| 153 | 
            +
                stub_request(:delete, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid?version=2018-03-19")
         | 
| 154 154 | 
             
                  .with(
         | 
| 155 155 | 
             
                    headers: {
         | 
| 156 156 | 
             
                      "Accept" => "application/json",
         | 
| 157 | 
            -
                      "Host" => " | 
| 157 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 158 158 | 
             
                    }
         | 
| 159 159 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 160 160 | 
             
                service_response = service.delete_collection(
         | 
| @@ -168,11 +168,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 168 168 | 
             
                  "collection_id" => "collid"
         | 
| 169 169 | 
             
                }
         | 
| 170 170 | 
             
                file = File.open(Dir.getwd + "/resources/cnc_test.pdf")
         | 
| 171 | 
            -
                stub_request(:post, "https:// | 
| 171 | 
            +
                stub_request(:post, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/images?version=2018-03-19")
         | 
| 172 172 | 
             
                  .with(
         | 
| 173 173 | 
             
                    headers: {
         | 
| 174 174 | 
             
                      "Accept" => "application/json",
         | 
| 175 | 
            -
                      "Host" => " | 
| 175 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 176 176 | 
             
                    }
         | 
| 177 177 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 178 178 | 
             
                service_response = service.add_images(
         | 
| @@ -192,11 +192,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 192 192 | 
             
                response = {
         | 
| 193 193 | 
             
                  "collections" => []
         | 
| 194 194 | 
             
                }
         | 
| 195 | 
            -
                stub_request(:get, "https:// | 
| 195 | 
            +
                stub_request(:get, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/images?version=2018-03-19")
         | 
| 196 196 | 
             
                  .with(
         | 
| 197 197 | 
             
                    headers: {
         | 
| 198 198 | 
             
                      "Accept" => "application/json",
         | 
| 199 | 
            -
                      "Host" => " | 
| 199 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 200 200 | 
             
                    }
         | 
| 201 201 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 202 202 | 
             
                service_response = service.list_images(
         | 
| @@ -209,11 +209,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 209 209 | 
             
                response = {
         | 
| 210 210 | 
             
                  "collection_id" => "collid"
         | 
| 211 211 | 
             
                }
         | 
| 212 | 
            -
                stub_request(:get, "https:// | 
| 212 | 
            +
                stub_request(:get, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/images/imageid?version=2018-03-19")
         | 
| 213 213 | 
             
                  .with(
         | 
| 214 214 | 
             
                    headers: {
         | 
| 215 215 | 
             
                      "Accept" => "application/json",
         | 
| 216 | 
            -
                      "Host" => " | 
| 216 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 217 217 | 
             
                    }
         | 
| 218 218 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 219 219 | 
             
                service_response = service.get_image_details(
         | 
| @@ -225,11 +225,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 225 225 |  | 
| 226 226 | 
             
              def test_delete_image
         | 
| 227 227 | 
             
                response = {}
         | 
| 228 | 
            -
                stub_request(:delete, "https:// | 
| 228 | 
            +
                stub_request(:delete, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/images/imageid?version=2018-03-19")
         | 
| 229 229 | 
             
                  .with(
         | 
| 230 230 | 
             
                    headers: {
         | 
| 231 231 | 
             
                      "Accept" => "application/json",
         | 
| 232 | 
            -
                      "Host" => " | 
| 232 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 233 233 | 
             
                    }
         | 
| 234 234 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 235 235 | 
             
                service_response = service.delete_image(
         | 
| @@ -243,10 +243,10 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 243 243 | 
             
                response = {
         | 
| 244 244 | 
             
                  "collection_id" => "collid"
         | 
| 245 245 | 
             
                }
         | 
| 246 | 
            -
                stub_request(:get, "https:// | 
| 246 | 
            +
                stub_request(:get, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/images/imageid/jpeg?version=2018-03-19")
         | 
| 247 247 | 
             
                  .with(
         | 
| 248 248 | 
             
                    headers: {
         | 
| 249 | 
            -
                      "Host" => " | 
| 249 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 250 250 | 
             
                    }
         | 
| 251 251 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 252 252 | 
             
                service_response = service.get_jpeg_image(
         | 
| @@ -260,10 +260,10 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 260 260 | 
             
                response = {
         | 
| 261 261 | 
             
                  "collection_id" => "collid"
         | 
| 262 262 | 
             
                }
         | 
| 263 | 
            -
                stub_request(:post, "https:// | 
| 263 | 
            +
                stub_request(:post, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/train?version=2018-03-19")
         | 
| 264 264 | 
             
                  .with(
         | 
| 265 265 | 
             
                    headers: {
         | 
| 266 | 
            -
                      "Host" => " | 
| 266 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 267 267 | 
             
                    }
         | 
| 268 268 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 269 269 | 
             
                service_response = service.train(
         | 
| @@ -276,11 +276,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 276 276 | 
             
                response = {
         | 
| 277 277 | 
             
                  "collection_id" => "collid"
         | 
| 278 278 | 
             
                }
         | 
| 279 | 
            -
                stub_request(:post, "https:// | 
| 279 | 
            +
                stub_request(:post, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/images/imageid/training_data?version=2018-03-19")
         | 
| 280 280 | 
             
                  .with(
         | 
| 281 281 | 
             
                    headers: {
         | 
| 282 282 | 
             
                      "Accept" => "application/json",
         | 
| 283 | 
            -
                      "Host" => " | 
| 283 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 284 284 | 
             
                    }
         | 
| 285 285 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 286 286 | 
             
                service_response = service.add_image_training_data(
         | 
| @@ -303,11 +303,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 303 303 |  | 
| 304 304 | 
             
              def test_delete_user_data
         | 
| 305 305 | 
             
                response = {}
         | 
| 306 | 
            -
                stub_request(:delete, "https:// | 
| 306 | 
            +
                stub_request(:delete, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/user_data?version=2018-03-19&customer_id=customer")
         | 
| 307 307 | 
             
                  .with(
         | 
| 308 308 | 
             
                    headers: {
         | 
| 309 309 | 
             
                      "Accept" => "application/json",
         | 
| 310 | 
            -
                      "Host" => " | 
| 310 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 311 311 | 
             
                    }
         | 
| 312 312 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 313 313 | 
             
                service_response = service.delete_user_data(
         | 
| @@ -320,10 +320,10 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 320 320 | 
             
                response = {
         | 
| 321 321 | 
             
                  "usage" => "usage"
         | 
| 322 322 | 
             
                }
         | 
| 323 | 
            -
                stub_request(:get, "https:// | 
| 323 | 
            +
                stub_request(:get, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/training_usage?end_time=end&start_time=start&version=2018-03-19")
         | 
| 324 324 | 
             
                  .with(
         | 
| 325 325 | 
             
                    headers: {
         | 
| 326 | 
            -
                      "Host" => " | 
| 326 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 327 327 | 
             
                    }
         | 
| 328 328 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 329 329 | 
             
                service_response = service.get_training_usage(
         | 
| @@ -337,11 +337,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 337 337 | 
             
                response = {
         | 
| 338 338 | 
             
                  "objects" => []
         | 
| 339 339 | 
             
                }
         | 
| 340 | 
            -
                stub_request(:get, "https:// | 
| 340 | 
            +
                stub_request(:get, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/objects?version=2018-03-19")
         | 
| 341 341 | 
             
                  .with(
         | 
| 342 342 | 
             
                    headers: {
         | 
| 343 343 | 
             
                      "Accept" => "application/json",
         | 
| 344 | 
            -
                      "Host" => " | 
| 344 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 345 345 | 
             
                    }
         | 
| 346 346 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 347 347 | 
             
                service_response = service.list_object_metadata(
         | 
| @@ -354,11 +354,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 354 354 | 
             
                response = {
         | 
| 355 355 | 
             
                  "objects" => []
         | 
| 356 356 | 
             
                }
         | 
| 357 | 
            -
                stub_request(:post, "https:// | 
| 357 | 
            +
                stub_request(:post, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/objects/old_object?version=2018-03-19")
         | 
| 358 358 | 
             
                  .with(
         | 
| 359 359 | 
             
                    headers: {
         | 
| 360 360 | 
             
                      "Accept" => "application/json",
         | 
| 361 | 
            -
                      "Host" => " | 
| 361 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 362 362 | 
             
                    }
         | 
| 363 363 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 364 364 | 
             
                service_response = service.update_object_metadata(
         | 
| @@ -373,11 +373,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 373 373 | 
             
                response = {
         | 
| 374 374 | 
             
                  "objects" => []
         | 
| 375 375 | 
             
                }
         | 
| 376 | 
            -
                stub_request(:get, "https:// | 
| 376 | 
            +
                stub_request(:get, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/objects/object?version=2018-03-19")
         | 
| 377 377 | 
             
                  .with(
         | 
| 378 378 | 
             
                    headers: {
         | 
| 379 379 | 
             
                      "Accept" => "application/json",
         | 
| 380 | 
            -
                      "Host" => " | 
| 380 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 381 381 | 
             
                    }
         | 
| 382 382 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 383 383 | 
             
                service_response = service.get_object_metadata(
         | 
| @@ -388,11 +388,11 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 388 388 | 
             
              end
         | 
| 389 389 |  | 
| 390 390 | 
             
              def test_delete_object
         | 
| 391 | 
            -
                stub_request(:delete, "https:// | 
| 391 | 
            +
                stub_request(:delete, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/objects/object?version=2018-03-19")
         | 
| 392 392 | 
             
                  .with(
         | 
| 393 393 | 
             
                    headers: {
         | 
| 394 394 | 
             
                      "Accept" => "application/json",
         | 
| 395 | 
            -
                      "Host" => " | 
| 395 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 396 396 | 
             
                    }
         | 
| 397 397 | 
             
                  ).to_return(status: 200, body: {}.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 398 398 | 
             
                service_response = service.delete_object(
         | 
| @@ -406,10 +406,10 @@ class VisualRecognitionV4Test < Minitest::Test | |
| 406 406 | 
             
                response = {
         | 
| 407 407 | 
             
                  "binary" => []
         | 
| 408 408 | 
             
                }
         | 
| 409 | 
            -
                stub_request(:get, "https:// | 
| 409 | 
            +
                stub_request(:get, "https://api.us-south.visual-recognition.watson.cloud.ibm.com/v4/collections/collid/model?feature=objects&model_format=rscnn_ready&version=2018-03-19")
         | 
| 410 410 | 
             
                  .with(
         | 
| 411 411 | 
             
                    headers: {
         | 
| 412 | 
            -
                      "Host" => " | 
| 412 | 
            +
                      "Host" => "api.us-south.visual-recognition.watson.cloud.ibm.com"
         | 
| 413 413 | 
             
                    }
         | 
| 414 414 | 
             
                  ).to_return(status: 200, body: response.to_json, headers: { "Content-Type" => "application/json" })
         | 
| 415 415 | 
             
                service_response = service.get_model_file(
         | 
    
        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:  | 
| 4 | 
            +
              version: 2.0.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Max Nussbaum
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2021-03-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: concurrent-ruby
         | 
| @@ -44,42 +44,42 @@ dependencies: | |
| 44 44 | 
             
                requirements:
         | 
| 45 45 | 
             
                - - "~>"
         | 
| 46 46 | 
             
                  - !ruby/object:Gem::Version
         | 
| 47 | 
            -
                    version: '0. | 
| 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. | 
| 54 | 
            +
                    version: '0.11'
         | 
| 55 55 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 56 56 | 
             
              name: http
         | 
| 57 57 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 58 58 | 
             
                requirements:
         | 
| 59 59 | 
             
                - - "~>"
         | 
| 60 60 | 
             
                  - !ruby/object:Gem::Version
         | 
| 61 | 
            -
                    version: 4. | 
| 61 | 
            +
                    version: 4.4.0
         | 
| 62 62 | 
             
              type: :runtime
         | 
| 63 63 | 
             
              prerelease: false
         | 
| 64 64 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 65 65 | 
             
                requirements:
         | 
| 66 66 | 
             
                - - "~>"
         | 
| 67 67 | 
             
                  - !ruby/object:Gem::Version
         | 
| 68 | 
            -
                    version: 4. | 
| 68 | 
            +
                    version: 4.4.0
         | 
| 69 69 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 70 70 | 
             
              name: ibm_cloud_sdk_core
         | 
| 71 71 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 72 72 | 
             
                requirements:
         | 
| 73 73 | 
             
                - - "~>"
         | 
| 74 74 | 
             
                  - !ruby/object:Gem::Version
         | 
| 75 | 
            -
                    version: 1.1. | 
| 75 | 
            +
                    version: 1.1.3
         | 
| 76 76 | 
             
              type: :runtime
         | 
| 77 77 | 
             
              prerelease: false
         | 
| 78 78 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 79 79 | 
             
                requirements:
         | 
| 80 80 | 
             
                - - "~>"
         | 
| 81 81 | 
             
                  - !ruby/object:Gem::Version
         | 
| 82 | 
            -
                    version: 1.1. | 
| 82 | 
            +
                    version: 1.1.3
         | 
| 83 83 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 84 84 | 
             
              name: jwt
         | 
| 85 85 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -100,14 +100,14 @@ dependencies: | |
| 100 100 | 
             
                requirements:
         | 
| 101 101 | 
             
                - - "~>"
         | 
| 102 102 | 
             
                  - !ruby/object:Gem::Version
         | 
| 103 | 
            -
                    version: ' | 
| 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: ' | 
| 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 | 
            -
             | 
| 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
         |