ibm_vpc 0.6.0 → 0.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9663cd8b9292ddd503ab1fe82b10d240ba38078cee8ba23a562096202df6aa9c
4
- data.tar.gz: c2996f634ca4c956f9f28d7dae0bbfdd0370222e4841986f279a9e26c5249803
3
+ metadata.gz: 0401ebffb88998b2eb2934e3d8a9bf0a4f9548e9c3dfaf4156791561ec5107dd
4
+ data.tar.gz: 58b1ca8773883628d7f70b8f6c95883ec3f2deed457388043a25f3d4e600a957
5
5
  SHA512:
6
- metadata.gz: a3e142a3bbc83c54cc36d569d3fdbf1c170d6166c530dc28ccf8b26f53a92d6b70b8d9cebbfe53c49b188d7b459bb0df398bd976de6959b3a427a06ccc472adc
7
- data.tar.gz: df89bd7bad195f2e865fa0added321d0885332db8d862e6682cb5e280db8db89f938f6e28f2ecd1b65ed0e6bc04dd1883ebd358dac10ac92465226b6ee2db299
6
+ metadata.gz: ad4c2ef6698638457347647e8112d85d67009e6a0e44481106dfd51bc85fb5c22fc48d0c9f0a9fad7fab72a054fbdf3344d5d8d0c44c664a60f04540a7616be9
7
+ data.tar.gz: a72a8eeb9fd06b6ba1a30c5cfa11c9fcfb08694b51cedb58bd162e13b78b3608bb5baf172539c081f367ae2925b78c16ba0b701c0e5ae271f52420a9d612d75f
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 0.6.0
2
+ current_version = 0.7.0
3
3
  commit = True
4
4
  message = Update version {current_version} -> {new_version}
5
5
 
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.5.1
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.5.1'
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
@@ -5,5 +5,5 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in ibm_vpc.gemspec
6
6
  gemspec
7
7
 
8
- gem "rake", "~> 12.0"
8
+ gem "rake", "~> 13.0"
9
9
  gem "rspec", "~> 3.0"
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: "2022-09-13" # Will default to the latest version if not specified
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", "~> 4.4.1"
33
- spec.add_runtime_dependency "ibm_cloud_sdk_core", "~> 1.1.3"
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"
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IbmVpc
4
- VERSION = "0.6.0"
4
+ VERSION = "0.7.0"
5
5
  end