ibm_vpc 0.1.0 → 0.4.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 +3 -7
- data/.releaserc +22 -0
- data/.travis.yml +30 -28
- data/CHANGELOG.md +23 -0
- data/README.md +2 -1
- data/ibm_vpc.gemspec +2 -3
- data/lib/ibm_vpc/version.rb +1 -1
- data/lib/ibm_vpc/vpc_v1.rb +1846 -564
- metadata +12 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a724a81c6a284ee111fedd2a3371a75c0d8a8871561bbefde12c50353318dbe5
|
4
|
+
data.tar.gz: bf3672c8274f1f93d7cd040a2311676c72800bd4aa853d678d57460ec1d5fcfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e5cae6b83294683b0e522df5340160661b982366349553a6d616547874e1ddbe7925ce50968e32364c1fa4a9269b2e4f2bf68fe000fff7a790d5a13748cac3
|
7
|
+
data.tar.gz: a632d8d8ba7254bec5f9ee6487067eacf51243dc4ff6bc24cc666bd090a65fefa5517bae8b8aa9e5df246d4cde68c52e8c2368540f125946cfb4230d798dd7ad
|
data/.bumpversion.cfg
CHANGED
@@ -1,13 +1,9 @@
|
|
1
1
|
[bumpversion]
|
2
|
-
current_version = 0.0
|
2
|
+
current_version = 0.4.0
|
3
3
|
commit = True
|
4
4
|
message = Update version {current_version} -> {new_version}
|
5
5
|
|
6
6
|
[bumpversion:file:lib/ibm_vpc/version.rb]
|
7
|
-
search = VERSION =
|
8
|
-
replace = VERSION =
|
9
|
-
|
10
|
-
[bumpversion:file:README.md]
|
11
|
-
search = {current_version}
|
12
|
-
replace = {new_version}
|
7
|
+
search = VERSION = "{current_version}"
|
8
|
+
replace = VERSION = "{new_version}"
|
13
9
|
|
data/.releaserc
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"debug": true,
|
3
|
+
"tagFormat": '${version}',
|
4
|
+
"plugins": [
|
5
|
+
"@semantic-release/commit-analyzer",
|
6
|
+
"@semantic-release/release-notes-generator",
|
7
|
+
"@semantic-release/changelog",
|
8
|
+
[
|
9
|
+
"@semantic-release/exec",
|
10
|
+
{
|
11
|
+
"prepareCmd": "bump2version --allow-dirty --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
[
|
15
|
+
"@semantic-release/git",
|
16
|
+
{
|
17
|
+
"message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}"
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"@semantic-release/github"
|
21
|
+
]
|
22
|
+
}
|
data/.travis.yml
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
language: ruby
|
2
|
-
dist: trusty
|
3
2
|
cache: bundler
|
3
|
+
sudo: required
|
4
|
+
|
5
|
+
rvm:
|
6
|
+
- 2.5.1
|
7
|
+
- 2.6.1
|
4
8
|
|
5
9
|
notifications:
|
6
|
-
email:
|
10
|
+
email: false
|
7
11
|
|
8
12
|
matrix:
|
9
|
-
fast_finish: true
|
13
|
+
fast_finish: true
|
10
14
|
|
11
15
|
before_install:
|
12
16
|
- git fetch --tags
|
@@ -22,28 +26,26 @@ install:
|
|
22
26
|
script:
|
23
27
|
- bundle exec rake
|
24
28
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
# branch: master
|
49
|
-
#
|
29
|
+
before_deploy:
|
30
|
+
- pip install bump2version
|
31
|
+
- npm install -g semantic-release
|
32
|
+
- npm install -g @semantic-release/changelog
|
33
|
+
- npm install -g @semantic-release/exec
|
34
|
+
- npm install -g @semantic-release/git
|
35
|
+
- npm install -g @semantic-release/github
|
36
|
+
- npm install -g @semantic-release/commit-analyzer
|
37
|
+
|
38
|
+
deploy:
|
39
|
+
- provider: script
|
40
|
+
script: npx semantic-release
|
41
|
+
skip_cleanup: true
|
42
|
+
on:
|
43
|
+
branch: master
|
44
|
+
rvm: 2.5.1
|
45
|
+
|
46
|
+
- provider: rubygems
|
47
|
+
api_key: $RUBYGEMS_API_KEY
|
48
|
+
gem: ibm_vpc
|
49
|
+
on:
|
50
|
+
rvm: '2.5.1'
|
51
|
+
branch: master
|
data/CHANGELOG.md
CHANGED
@@ -1,2 +1,25 @@
|
|
1
|
+
# [0.4.0](https://github.com/IBM/vpc-ruby-sdk/compare/0.3.1...0.4.0) (2021-12-10)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* **release:** Updated vpc service to use API version 2021-12-07 ([#16](https://github.com/IBM/vpc-ruby-sdk/issues/16)) ([f562a4c](https://github.com/IBM/vpc-ruby-sdk/commit/f562a4cb6423ea3ab0e934975cac63acafb690bf))
|
7
|
+
|
8
|
+
## [0.3.1](https://github.com/IBM/vpc-ruby-sdk/compare/0.3.0...0.3.1) (2021-12-09)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* **Release:** Update SDK to support VPC API Version 2021-12-07 ([8bbf2e5](https://github.com/IBM/vpc-ruby-sdk/commit/8bbf2e5c2c118084b223f652fde01ca6b8ea7242))
|
14
|
+
|
15
|
+
# [0.3.0](https://github.com/IBM/vpc-ruby-sdk/compare/0.2.0...0.3.0) (2021-09-14)
|
16
|
+
|
17
|
+
|
18
|
+
### Features
|
19
|
+
|
20
|
+
* **0.3.0:** Updating gem to use API version 2021-08-03 ([#11](https://github.com/IBM/vpc-ruby-sdk/issues/11)) ([9a04617](https://github.com/IBM/vpc-ruby-sdk/commit/9a04617a222ae476af48a57f12d49315bad7674e))
|
21
|
+
* **sem-rel:** Fix semantic-releases adding .releaserc ([#13](https://github.com/IBM/vpc-ruby-sdk/issues/13)) ([220aec5](https://github.com/IBM/vpc-ruby-sdk/commit/220aec5d5516d7e6ced22a8ffb2ca47d6b2f7117))
|
22
|
+
* **travis:** fix travis and attempt to create a new release ([#12](https://github.com/IBM/vpc-ruby-sdk/issues/12)) ([4f8c822](https://github.com/IBM/vpc-ruby-sdk/commit/4f8c822fc89b251892933fdcab07c8dcaecb4871))
|
23
|
+
|
1
24
|
= 0.0.1
|
2
25
|
* Initial release
|
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
[![Build Status](https://travis.ibm.com/ibmcloud/vpc-ruby-sdk.svg?token=swhipuowmWLkVNjPbrfs&branch=master)](https://travis.ibm.com/ibmcloud/vpc-ruby-sdk)
|
2
2
|
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/ibm_vpc.svg)](https://badge.fury.io/rb/ibm_vpc)
|
3
4
|
# IBM Cloud VPC Ruby SDK
|
4
5
|
|
5
6
|
Ruby client library to interact with various [IBM Cloud VPC APIs](https://cloud.ibm.com/apidocs?category=compute).
|
@@ -90,7 +91,7 @@ Setting up and using the API client is simple, just pass in your authenticator o
|
|
90
91
|
|
91
92
|
# Pass the authenticator into the VpcV1 service
|
92
93
|
vpc_v1 = IbmVpc::VpcV1.new(
|
93
|
-
version: "
|
94
|
+
version: "2021-08-03" # Will default to the latest version if not specified
|
94
95
|
authenticator: authenticator
|
95
96
|
)
|
96
97
|
|
data/ibm_vpc.gemspec
CHANGED
@@ -29,12 +29,11 @@ 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.1
|
33
|
-
spec.add_runtime_dependency "ibm_cloud_sdk_core", "~> 1.1.
|
32
|
+
spec.add_runtime_dependency "http", "~> 4.4.1"
|
33
|
+
spec.add_runtime_dependency "ibm_cloud_sdk_core", "~> 1.1.3"
|
34
34
|
spec.add_runtime_dependency "jwt", "~> 2.2.1"
|
35
35
|
|
36
36
|
spec.add_development_dependency "bundler", "~> 2.1"
|
37
|
-
spec.add_development_dependency "codecov", "~> 0.1"
|
38
37
|
spec.add_development_dependency "dotenv", "~> 2.4"
|
39
38
|
spec.add_development_dependency "minitest"
|
40
39
|
spec.add_development_dependency "minitest-hooks"
|
data/lib/ibm_vpc/version.rb
CHANGED