ibm_vpc 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/ibm_vpc/common.rb +3 -0
- data/lib/ibm_vpc/version.rb +1 -1
- data/lib/ibm_vpc/vpc_v1.rb +3511 -703
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0401ebffb88998b2eb2934e3d8a9bf0a4f9548e9c3dfaf4156791561ec5107dd
|
4
|
+
data.tar.gz: 58b1ca8773883628d7f70b8f6c95883ec3f2deed457388043a25f3d4e600a957
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad4c2ef6698638457347647e8112d85d67009e6a0e44481106dfd51bc85fb5c22fc48d0c9f0a9fad7fab72a054fbdf3344d5d8d0c44c664a60f04540a7616be9
|
7
|
+
data.tar.gz: a72a8eeb9fd06b6ba1a30c5cfa11c9fcfb08694b51cedb58bd162e13b78b3608bb5baf172539c081f367ae2925b78c16ba0b701c0e5ae271f52420a9d612d75f
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [0.7.0](https://github.com/IBM/vpc-ruby-sdk/compare/0.6.1...0.7.0) (2023-12-29)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* **release:** Update SDK to support VPC API version 2023-12-19 ([117dc13](https://github.com/IBM/vpc-ruby-sdk/commit/117dc132d21619fcea1f1493e1bcacd384b943f6))
|
7
|
+
|
1
8
|
## [0.6.1](https://github.com/IBM/vpc-ruby-sdk/compare/0.6.0...0.6.1) (2023-10-16)
|
2
9
|
|
3
10
|
|
data/README.md
CHANGED
@@ -91,7 +91,7 @@ Setting up and using the API client is simple, just pass in your authenticator o
|
|
91
91
|
|
92
92
|
# Pass the authenticator into the VpcV1 service
|
93
93
|
vpc_v1 = IbmVpc::VpcV1.new(
|
94
|
-
version: "
|
94
|
+
version: "2023-12-19" # Will default to the latest version if not specified
|
95
95
|
authenticator: authenticator
|
96
96
|
)
|
97
97
|
|
data/lib/ibm_vpc/common.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require_relative "./version.rb"
|
4
|
+
require "securerandom"
|
4
5
|
|
5
6
|
module IbmVpc
|
6
7
|
# SDK Common class
|
@@ -15,6 +16,8 @@ module IbmVpc
|
|
15
16
|
headers["User-Agent"] = user_agent_string
|
16
17
|
return headers if service_name.nil? || service_version.nil? || operation_id.nil?
|
17
18
|
|
19
|
+
headers["X-Request-Id"] = SecureRandom.uuid
|
20
|
+
|
18
21
|
headers["X-IBMCloud-SDK-Analytics"] = "service_name=#{service_name};service_version=#{service_version};operation_id=#{operation_id}"
|
19
22
|
headers
|
20
23
|
end
|
data/lib/ibm_vpc/version.rb
CHANGED