dockerapi 0.20.0.pre.rc3 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b488ff100403d272e5e626af500d9d6e226de70748d666e63ef7daf13f3ddc0f
4
- data.tar.gz: d1a3319c9563b3e1e8d2932c471d0f54bf74dbfabf7431b97efc04c5476b1c14
3
+ metadata.gz: dae8acdc54de9fd88a68b472829ddef47db3884414ded58ad098babd4a786c58
4
+ data.tar.gz: 4828f010ed6a3e32ee80d2e9e11ef68ef1375df988928a3d5c856aaa2791a7ed
5
5
  SHA512:
6
- metadata.gz: 748d9acb9baa30fb721d1e7575d5fdd283dfeeced608f29c5af047d2fed65dbcd20f765e156b5b009b6cd6d118468dde4fbfbda072fdae29f53fc502f0515f47
7
- data.tar.gz: 9b16adf84602e2b385cb8adfaf5b645f03b2f04865080e9211b8c76a197c2cf7c02895cc0c02527d8bc04f3e40b0a03db16842f5ac59e06fe36cd9a259bb5667
6
+ metadata.gz: d30c788f83b0cfc1e88bf1441a7b48037820573f4817490e490cf6811e07b88baf67fe52f68418ffc80213631364db61f2739bf40ea50f90617ef9a2da3a322d
7
+ data.tar.gz: 623f2a33c84a423bd8ee38a5b98a62e8ccb04f6212d03a07c18005b501b812e88d2bfd03de384965ccb857aba53f539516b93e37885c547779ea20db08376bda
@@ -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: [ master ]
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 API key
28
- run echo "${{ secrets.RUBYGEM_API }} | base64 -d > ~/.local/share/gem/credentials"
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
- rake release
33
- gh release create $TAG --generate-notes
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
+
@@ -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: [ master ]
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dockerapi (0.19.0)
4
+ dockerapi (0.20.0)
5
5
  excon (~> 0.79)
6
6
 
7
7
  GEM
@@ -33,4 +33,4 @@ DEPENDENCIES
33
33
  rspec (~> 3.0)
34
34
 
35
35
  BUNDLED WITH
36
- 2.1.4
36
+ 2.4.16
@@ -1,6 +1,6 @@
1
1
  module Docker
2
2
  module API
3
- GEM_VERSION = "0.20.0-rc3"
3
+ GEM_VERSION = "0.20.0"
4
4
 
5
5
  API_VERSION = "1.43"
6
6
 
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.pre.rc3
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: 1.3.1
89
+ version: '0'
90
90
  requirements: []
91
- rubygems_version: 3.3.5
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.