dockerapi 0.20.0.pre.rc3 → 0.20.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/.github/workflows/cd.yml +21 -18
- data/.github/workflows/ci.yml +1 -13
- data/Gemfile.lock +2 -2
- data/lib/docker/api/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dae8acdc54de9fd88a68b472829ddef47db3884414ded58ad098babd4a786c58
|
|
4
|
+
data.tar.gz: 4828f010ed6a3e32ee80d2e9e11ef68ef1375df988928a3d5c856aaa2791a7ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d30c788f83b0cfc1e88bf1441a7b48037820573f4817490e490cf6811e07b88baf67fe52f68418ffc80213631364db61f2739bf40ea50f90617ef9a2da3a322d
|
|
7
|
+
data.tar.gz: 623f2a33c84a423bd8ee38a5b98a62e8ccb04f6212d03a07c18005b501b812e88d2bfd03de384965ccb857aba53f539516b93e37885c547779ea20db08376bda
|
data/.github/workflows/cd.yml
CHANGED
|
@@ -1,33 +1,36 @@
|
|
|
1
|
-
# This workflow uses actions that are not certified by GitHub.
|
|
2
|
-
# They are provided by a third-party and are governed by
|
|
3
|
-
# separate terms of service, privacy policy, and support
|
|
4
|
-
# documentation.
|
|
5
|
-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
|
6
|
-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
|
7
|
-
|
|
8
1
|
name: CD
|
|
9
|
-
|
|
10
2
|
on:
|
|
11
3
|
push:
|
|
12
|
-
branches: [
|
|
4
|
+
branches: [ main ]
|
|
13
5
|
|
|
14
6
|
jobs:
|
|
15
7
|
release:
|
|
16
8
|
runs-on: ubuntu-latest
|
|
17
|
-
|
|
9
|
+
env:
|
|
10
|
+
GH_TOKEN: ${{ github.token }}
|
|
11
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEM_API}}"
|
|
18
12
|
steps:
|
|
19
13
|
- uses: actions/checkout@v3
|
|
20
14
|
- name: Set up Ruby
|
|
21
|
-
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
22
|
-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
|
23
|
-
# uses: ruby/setup-ruby@v1
|
|
24
15
|
uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
|
|
25
16
|
with:
|
|
26
17
|
ruby-version: 2.6
|
|
27
|
-
- name: Setup
|
|
28
|
-
run
|
|
18
|
+
- name: Setup to RubyGems
|
|
19
|
+
run: |
|
|
20
|
+
mkdir -p $HOME/.gem
|
|
21
|
+
touch $HOME/.gem/credentials
|
|
22
|
+
chmod 0600 $HOME/.gem/credentials
|
|
23
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
|
24
|
+
- name: Install dependencies
|
|
25
|
+
run: |
|
|
26
|
+
gem update --system 3.2.3
|
|
27
|
+
bundle install
|
|
29
28
|
- name: Release
|
|
30
29
|
run: |
|
|
31
|
-
TAG=$(rake version | tr -d '"')
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
TAG=$(bundle exec rake version | tr -d '"')
|
|
31
|
+
git tag $TAG
|
|
32
|
+
git push --tags
|
|
33
|
+
gh release create $TAG --generate-notes
|
|
34
|
+
bundle exec rake build
|
|
35
|
+
gem push pkg/*
|
|
36
|
+
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -1,27 +1,15 @@
|
|
|
1
|
-
# This workflow uses actions that are not certified by GitHub.
|
|
2
|
-
# They are provided by a third-party and are governed by
|
|
3
|
-
# separate terms of service, privacy policy, and support
|
|
4
|
-
# documentation.
|
|
5
|
-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
|
6
|
-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
|
7
|
-
|
|
8
1
|
name: CI
|
|
9
|
-
|
|
10
2
|
on:
|
|
11
3
|
pull_request:
|
|
12
|
-
branches: [
|
|
4
|
+
branches: [ main ]
|
|
13
5
|
|
|
14
6
|
jobs:
|
|
15
7
|
test:
|
|
16
|
-
|
|
17
8
|
runs-on: ubuntu-latest
|
|
18
9
|
|
|
19
10
|
steps:
|
|
20
11
|
- uses: actions/checkout@v2
|
|
21
12
|
- name: Set up Ruby
|
|
22
|
-
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
23
|
-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
|
24
|
-
# uses: ruby/setup-ruby@v1
|
|
25
13
|
uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
|
|
26
14
|
with:
|
|
27
15
|
ruby-version: 2.6
|
data/Gemfile.lock
CHANGED
data/lib/docker/api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dockerapi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.20.0
|
|
4
|
+
version: 0.20.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alysson A. Costa
|
|
@@ -84,11 +84,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
84
84
|
version: 2.3.0
|
|
85
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - "
|
|
87
|
+
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version:
|
|
89
|
+
version: '0'
|
|
90
90
|
requirements: []
|
|
91
|
-
rubygems_version: 3.3
|
|
91
|
+
rubygems_version: 3.2.3
|
|
92
92
|
signing_key:
|
|
93
93
|
specification_version: 4
|
|
94
94
|
summary: Interact with Docker API from Ruby code.
|