capistrano-itamae 1.0.1 → 1.0.2

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: 00d5786ed91b10aee2f797d48ff0f3cf34992a4a4f43aaca0bf765f84ef53b15
4
- data.tar.gz: a7198ab779f2c0b060d70adda2f7e081536209fc80550e0a9112670c6410a500
3
+ metadata.gz: 58bc7344d8a43b8b0c4a3926aea17561f97192b392d81fbaccb7332f238d85f1
4
+ data.tar.gz: 6b7760a666ee196e7329e11f7d77e1d3a09b4eedcfe23ecdf64d5782901d998e
5
5
  SHA512:
6
- metadata.gz: 719c4583ea98c62fe737bba19c5e5dd4c33d13c47349610ec8f4e3d390f4ab4ec185c769a03bef20ca8bd47d78d03a38d716c6cfe5803f157ee147171adc6523
7
- data.tar.gz: 9afec7b52cecb4c2707216bda56fd9b325968ab82d77896a3d6d9261b790ca8a2177e0162179e09212a65275bb67d182f3fe345497c1f216abd27ae94edd6a41
6
+ metadata.gz: fd3d6827f15030277b0d5f46ed6a7739c8603428e155ba2a12c74f1ea04a3a86f889dcb80b2b30caa66ab5e3c9a05db4d2ed6216170a40ecdbfa847827d1ab5b
7
+ data.tar.gz: ddd1e8d5a873244945a4cf0cb376a7c46c06a03b172bc591d8b4dd498344dc9769d3a905fc57234ee056dde2aced35300cae0a0227120256618b728fbc3e725d
@@ -2,6 +2,13 @@ name: test
2
2
 
3
3
  on:
4
4
  push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types:
9
+ - opened
10
+ - synchronize
11
+ - reopened
5
12
  schedule:
6
13
  - cron: "0 10 * * 5" # JST 19:00 (Fri)
7
14
 
@@ -10,64 +17,26 @@ env:
10
17
 
11
18
  jobs:
12
19
  test:
13
- runs-on: ${{ matrix.runner }}
20
+ runs-on: ubuntu-latest
14
21
 
15
22
  strategy:
16
23
  fail-fast: false
17
24
 
18
25
  matrix:
19
26
  ruby:
20
- - 2.3.0
21
- - 2.4.0
22
- - 2.5.0
23
- - 2.6.0
24
- - 2.7.0
25
- - 2.8.0-dev
26
- include:
27
- - ruby: 2.3.0
28
- runner: ubuntu-16.04
29
- - ruby: 2.4.0
30
- runner: ubuntu-latest
31
- - ruby: 2.5.0
32
- runner: ubuntu-latest
33
- - ruby: 2.6.0
34
- runner: ubuntu-latest
35
- - ruby: 2.7.0
36
- runner: ubuntu-latest
37
- - ruby: 2.8.0-dev
38
- runner: ubuntu-latest
27
+ # - "2.3"
28
+ - "2.4"
29
+ - "2.5"
30
+ - "2.6"
31
+ - "2.7"
32
+ - "3.0"
39
33
 
40
34
  steps:
41
35
  - uses: actions/checkout@v2
42
36
 
43
- - name: Set up rbenv
44
- uses: masa-iwasaki/setup-rbenv@1.1.0
45
-
46
- - name: Cache RBENV_ROOT
47
- uses: actions/cache@v1
48
- id: cache_rbenv
37
+ - uses: ruby/setup-ruby@v1
49
38
  with:
50
- path: ~/.rbenv/versions
51
- key: v1-rbenv-${{ runner.os }}-${{ matrix.ruby }}
52
- if: "!endsWith(matrix.ruby, '-dev')"
53
-
54
- - name: Reinstall libssl-dev
55
- run: |
56
- set -xe
57
- sudo apt-get remove -y libssl-dev
58
- sudo apt-get install -y libssl-dev=1.0.2g-1ubuntu4.15
59
- if: matrix.runner == 'ubuntu-16.04'
60
-
61
- - name: Install Ruby
62
- run: |
63
- set -xe
64
- eval "$(rbenv init -)"
65
- rbenv install -s $RBENV_VERSION
66
-
67
- gem install bundler --no-document -v 1.17.3 || true
68
- env:
69
- RBENV_VERSION: ${{ matrix.ruby }}
70
- continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
39
+ ruby-version: ${{ matrix.ruby }}
71
40
 
72
41
  - name: Cache vendor/bundle
73
42
  uses: actions/cache@v1
@@ -77,17 +46,12 @@ jobs:
77
46
  key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
78
47
  restore-keys: |
79
48
  v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
80
- continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
81
49
 
82
50
  - name: bundle update
83
51
  run: |
84
52
  set -xe
85
- eval "$(rbenv init -)"
86
53
  bundle config path vendor/bundle
87
54
  bundle update --jobs $(nproc) --retry 3
88
- env:
89
- RBENV_VERSION: ${{ matrix.ruby }}
90
- continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
91
55
 
92
56
  - name: Setup sandbox server
93
57
  working-directory: spec/integration
@@ -100,15 +64,12 @@ jobs:
100
64
  working-directory: spec/integration
101
65
  run: |
102
66
  set -xe
103
- eval "$(rbenv init -)"
104
67
  bundle exec rake spec
105
- env:
106
- RBENV_VERSION: ${{ matrix.ruby }}
107
- continue-on-error: ${{ endsWith(matrix.ruby, '-dev') }}
108
68
 
109
69
  - name: Slack Notification (not success)
110
- uses: homoluctus/slatify@v2.0.0
70
+ uses: lazy-actions/slatify@master
111
71
  if: "! success()"
72
+ continue-on-error: true
112
73
  with:
113
74
  job_name: ${{ format('*build* ({0})', matrix.ruby) }}
114
75
  type: ${{ job.status }}
@@ -124,8 +85,9 @@ jobs:
124
85
 
125
86
  steps:
126
87
  - name: Slack Notification (success)
127
- uses: homoluctus/slatify@v2.0.0
88
+ uses: lazy-actions/slatify@master
128
89
  if: always()
90
+ continue-on-error: true
129
91
  with:
130
92
  job_name: '*build*'
131
93
  type: ${{ job.status }}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## master
2
- [full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.1...master)
2
+ [full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.2...master)
3
+
4
+ ## v1.0.2
5
+ [full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.1...v1.0.2)
6
+
7
+ * Enable MFA requirement for gem releasing
8
+ * https://github.com/sue445/capistrano-itamae/pull/37
3
9
 
4
10
  ## v1.0.1
5
11
  [full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.0...v1.0.1)
@@ -14,6 +14,11 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://github.com/sue445/capistrano-itamae"
15
15
  spec.license = "MIT"
16
16
 
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = spec.homepage
19
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
20
+ spec.metadata["rubygems_mfa_required"] = "true"
21
+
17
22
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
23
  spec.bindir = "exe"
19
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -23,6 +28,8 @@ Gem::Specification.new do |spec|
23
28
  spec.add_dependency "capistrano", ">= 3.5.0"
24
29
  spec.add_dependency "itamae"
25
30
 
31
+ spec.add_development_dependency "bcrypt_pbkdf", ">= 1.0", "< 2.0"
32
+ spec.add_development_dependency "ed25519", ">= 1.2", "< 2.0"
26
33
  spec.add_development_dependency "pry-byebug"
27
34
  spec.add_development_dependency "rake", ">= 11.0"
28
35
  spec.add_development_dependency "serverspec"
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Itamae
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-03 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,46 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bcrypt_pbkdf
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '2.0'
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '1.0'
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: '2.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: ed25519
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '1.2'
82
+ - - "<"
83
+ - !ruby/object:Gem::Version
84
+ version: '2.0'
85
+ type: :development
86
+ prerelease: false
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '1.2'
92
+ - - "<"
93
+ - !ruby/object:Gem::Version
94
+ version: '2.0'
55
95
  - !ruby/object:Gem::Dependency
56
96
  name: pry-byebug
57
97
  requirement: !ruby/object:Gem::Requirement
@@ -119,8 +159,12 @@ files:
119
159
  homepage: https://github.com/sue445/capistrano-itamae
120
160
  licenses:
121
161
  - MIT
122
- metadata: {}
123
- post_install_message:
162
+ metadata:
163
+ homepage_uri: https://github.com/sue445/capistrano-itamae
164
+ source_code_uri: https://github.com/sue445/capistrano-itamae
165
+ changelog_uri: https://github.com/sue445/capistrano-itamae/blob/master/CHANGELOG.md
166
+ rubygems_mfa_required: 'true'
167
+ post_install_message:
124
168
  rdoc_options: []
125
169
  require_paths:
126
170
  - lib
@@ -135,8 +179,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
179
  - !ruby/object:Gem::Version
136
180
  version: '0'
137
181
  requirements: []
138
- rubygems_version: 3.1.2
139
- signing_key:
182
+ rubygems_version: 3.2.22
183
+ signing_key:
140
184
  specification_version: 4
141
185
  summary: Run itamae in capistrano task
142
186
  test_files: []