aws-sdk-finspace 1.1.0 → 1.2.0
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/CHANGELOG.md +7 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-finspace.rb +1 -1
- data/lib/aws-sdk-finspace/client.rb +3 -1
- data/lib/aws-sdk-finspace/plugins/content_type.rb +25 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e947840cddbeff0f2b48feb044ccbf6055498fdaf608d815eaaf712dca3d475
|
4
|
+
data.tar.gz: be327e6f96cb684a7454d7e529ef0d6e3785c0f69638cc199c8d6c29b2b6bb2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d440e856e854ae582c0f2ce3a7766c0f2b165ff65cf96f95c9cc843d8a27cbaae5ac601ee1c97d8da7ab439ed370a990f785d5b59d1a5d28950dfe5837db1cc
|
7
|
+
data.tar.gz: f8b9bec31a07de45e9b36c72bc67c26eb208e4b09377260b367b3403a9e9a7b6d0fe496c5502cf101bba2cfd113ca6c23e657810090d50e2f450cf73f5747986
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.0 (2021-05-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for FinSpace API.
|
8
|
+
|
9
|
+
* Issue - Add a `Content-Type` header to mitigate a service side issue.
|
10
|
+
|
4
11
|
1.1.0 (2021-05-03)
|
5
12
|
------------------
|
6
13
|
|
@@ -10,4 +17,3 @@ Unreleased Changes
|
|
10
17
|
------------------
|
11
18
|
|
12
19
|
* Feature - Initial release of `aws-sdk-finspace`.
|
13
|
-
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/lib/aws-sdk-finspace.rb
CHANGED
@@ -29,6 +29,7 @@ require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
|
+
require 'aws-sdk-finspace/plugins/content_type.rb'
|
32
33
|
|
33
34
|
Aws::Plugins::GlobalConfiguration.add_identifier(:finspace)
|
34
35
|
|
@@ -75,6 +76,7 @@ module Aws::Finspace
|
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
76
77
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
78
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
79
|
+
add_plugin(Aws::Finspace::Plugins::ContentType)
|
78
80
|
|
79
81
|
# @overload initialize(options)
|
80
82
|
# @param [Hash] options
|
@@ -691,7 +693,7 @@ module Aws::Finspace
|
|
691
693
|
params: params,
|
692
694
|
config: config)
|
693
695
|
context[:gem_name] = 'aws-sdk-finspace'
|
694
|
-
context[:gem_version] = '1.
|
696
|
+
context[:gem_version] = '1.2.0'
|
695
697
|
Seahorse::Client::Request.new(handlers, context)
|
696
698
|
end
|
697
699
|
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
module Finspace
|
5
|
+
module Plugins
|
6
|
+
class ContentType < Seahorse::Client::Plugin
|
7
|
+
|
8
|
+
def add_handlers(handlers, _config)
|
9
|
+
handlers.add(Handler)
|
10
|
+
end
|
11
|
+
|
12
|
+
class Handler < Seahorse::Client::Handler
|
13
|
+
def call(context)
|
14
|
+
# Some operations break when given an empty content-type header.
|
15
|
+
# The SDK adds this blank content-type header
|
16
|
+
# since Net::HTTP provides a default that can break services.
|
17
|
+
# We're setting one here even though it's not used or necessary.
|
18
|
+
context.http_request.headers['content-type'] = 'application/x-amz-json-1.1'
|
19
|
+
@handler.call(context)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-finspace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -60,6 +60,7 @@ files:
|
|
60
60
|
- lib/aws-sdk-finspace/client_api.rb
|
61
61
|
- lib/aws-sdk-finspace/customizations.rb
|
62
62
|
- lib/aws-sdk-finspace/errors.rb
|
63
|
+
- lib/aws-sdk-finspace/plugins/content_type.rb
|
63
64
|
- lib/aws-sdk-finspace/resource.rb
|
64
65
|
- lib/aws-sdk-finspace/types.rb
|
65
66
|
homepage: https://github.com/aws/aws-sdk-ruby
|