ibm_vpc 0.6.0 → 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/.travis.yml +5 -3
- data/CHANGELOG.md +14 -0
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/ibm_vpc.gemspec +2 -2
- 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 +6 -6
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/.travis.yml
CHANGED
@@ -4,8 +4,10 @@ sudo: required
|
|
4
4
|
dist: focal
|
5
5
|
|
6
6
|
rvm:
|
7
|
-
- 2.5.1
|
8
7
|
- 2.6.1
|
8
|
+
- 2.7
|
9
|
+
- 3.0
|
10
|
+
- 3.1
|
9
11
|
|
10
12
|
notifications:
|
11
13
|
email: false
|
@@ -42,11 +44,11 @@ deploy:
|
|
42
44
|
skip_cleanup: true
|
43
45
|
on:
|
44
46
|
branch: master
|
45
|
-
rvm: 2.
|
47
|
+
rvm: 2.6.1
|
46
48
|
|
47
49
|
- provider: rubygems
|
48
50
|
api_key: $RUBYGEMS_API_KEY
|
49
51
|
gem: ibm_vpc
|
50
52
|
on:
|
51
|
-
rvm: '2.
|
53
|
+
rvm: '2.6.1'
|
52
54
|
branch: master
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
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
|
+
|
8
|
+
## [0.6.1](https://github.com/IBM/vpc-ruby-sdk/compare/0.6.0...0.6.1) (2023-10-16)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* **release:** Some known HTTP::ConnectionError issues resolved in http 5.1.x ([6334318](https://github.com/IBM/vpc-ruby-sdk/commit/6334318726ac52a6602b83b602926153d6aa949f)), closes [/github.com/httprb/http/blob/main/CHANGES.md#500-2021-05-12](https://github.com//github.com/httprb/http/blob/main/CHANGES.md/issues/500-2021-05-12)
|
14
|
+
|
1
15
|
# [0.6.0](https://github.com/IBM/vpc-ruby-sdk/compare/0.5.0...0.6.0) (2023-03-14)
|
2
16
|
|
3
17
|
|
data/Gemfile
CHANGED
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/ibm_vpc.gemspec
CHANGED
@@ -29,8 +29,8 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
|
31
31
|
spec.add_runtime_dependency "concurrent-ruby", "~> 1.0"
|
32
|
-
spec.add_runtime_dependency "http", "~>
|
33
|
-
spec.add_runtime_dependency "ibm_cloud_sdk_core", "~> 1.
|
32
|
+
spec.add_runtime_dependency "http", "~> 5.1.1"
|
33
|
+
spec.add_runtime_dependency "ibm_cloud_sdk_core", "~> 1.2.0"
|
34
34
|
spec.add_runtime_dependency "jwt", "~> 2.2.1"
|
35
35
|
|
36
36
|
spec.add_development_dependency "bundler", "~> 2.1"
|
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