capistrano 3.17.3 → 3.18.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: 40ec2ebdd2f37d5a11dfdfbff44929092630009b733ab4c5a8b4c7b44a9bd900
4
- data.tar.gz: dc48fe442df9e7e5e89392c5b3f665c8e010469e3072086c1dbb0a59c1e14973
3
+ metadata.gz: 9ab1e05034437bbe5d148d9447fe46f3bd0fa701006f1869771c43f63ae41645
4
+ data.tar.gz: 88e5bb8cc3226a711dedb82c07b947f7408933080fcf3e6363b56fb0c3eb1333
5
5
  SHA512:
6
- metadata.gz: 433aa1c56604def9f02fc1c02c58a4662edd8e578f9b6672dc0ce037c4352788baaa539c8083005056ba6925778d279f3b100178fefbcc229d22603ebf6fc16c
7
- data.tar.gz: ad09f33f20e4929ad44cd22d537440291ef58ea5c518ab82c01ab6227a12932cacee81423664e1a37f9c597f381aca90349de19e7b2815a6979250124826b23f
6
+ metadata.gz: 2015d9c6ebec1ba0f6d21da7694c74220e8ad6960d85661c731a449dcae0b60224ffd1ea77ebd43885e9155056015c24292e4a8e92260283f4642d9252974e4e
7
+ data.tar.gz: 350560886e9cb5ab72badb0ab5ad153a476ac87900a4dd26fae7990de10ee21c96e8abe1c4305ab0313e39a1adfa86c4cca582328f6c593c62c6df2118397779
@@ -1,5 +1,5 @@
1
- name-template: "$NEXT_PATCH_VERSION"
2
- tag-template: "v$NEXT_PATCH_VERSION"
1
+ name-template: "$RESOLVED_VERSION"
2
+ tag-template: "v$RESOLVED_VERSION"
3
3
  categories:
4
4
  - title: "⚠️ Breaking Changes"
5
5
  label: "⚠️ Breaking"
@@ -11,7 +11,15 @@ categories:
11
11
  label: "📚 Docs"
12
12
  - title: "🏠 Housekeeping"
13
13
  label: "🏠 Housekeeping"
14
+ version-resolver:
15
+ minor:
16
+ labels:
17
+ - "⚠️ Breaking"
18
+ - "✨ Feature"
19
+ default: patch
14
20
  change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
15
21
  no-changes-template: "- No changes"
16
22
  template: |
17
23
  $CHANGES
24
+
25
+ **Full Changelog:** https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
@@ -0,0 +1,88 @@
1
+ name: CI
2
+ on:
3
+ push:
4
+ branches: [master]
5
+ pull_request:
6
+ jobs:
7
+ spec:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ ruby: ["2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "head"]
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: ${{ matrix.ruby }}
18
+ bundler-cache: true
19
+ - name: rake spec
20
+ run: bundle exec rake spec
21
+ spec-legacy:
22
+ runs-on: ubuntu-20.04
23
+ strategy:
24
+ matrix:
25
+ ruby: ["2.0", "2.1", "2.2"]
26
+ steps:
27
+ - uses: actions/checkout@v4
28
+ - name: Set up Ruby
29
+ uses: ruby/setup-ruby@v1
30
+ with:
31
+ ruby-version: ${{ matrix.ruby }}
32
+ bundler-cache: true
33
+ - name: rake spec
34
+ run: bundle exec rake spec
35
+ spec-all:
36
+ runs-on: ubuntu-latest
37
+ needs: [spec, spec-legacy]
38
+ if: always()
39
+ steps:
40
+ - name: All tests ok
41
+ if: ${{ !(contains(needs.*.result, 'failure')) }}
42
+ run: exit 0
43
+ - name: Some tests failed
44
+ if: ${{ contains(needs.*.result, 'failure') }}
45
+ run: exit 1
46
+ rubocop:
47
+ runs-on: ubuntu-latest
48
+ steps:
49
+ - uses: actions/checkout@v4
50
+ - name: Set up Ruby
51
+ uses: ruby/setup-ruby@v1
52
+ with:
53
+ ruby-version: "ruby" # latest-stable
54
+ bundler-cache: true
55
+ - name: rake rubocop
56
+ run: bundle exec rake rubocop
57
+ danger:
58
+ runs-on: ubuntu-latest
59
+ steps:
60
+ - uses: actions/checkout@v4
61
+ - name: Set up Ruby
62
+ uses: ruby/setup-ruby@v1
63
+ with:
64
+ ruby-version: "ruby" # latest-stable
65
+ bundler-cache: true
66
+ - name: danger
67
+ env:
68
+ DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
69
+ run: bundle exec danger
70
+ features:
71
+ needs: [spec, spec-legacy]
72
+ runs-on: macos-12
73
+ steps:
74
+ - uses: actions/checkout@v4
75
+ - name: Cache Vagrant boxes
76
+ uses: actions/cache@v3
77
+ with:
78
+ path: ~/.vagrant.d/boxes
79
+ key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
80
+ restore-keys: |
81
+ ${{ runner.os }}-vagrant-
82
+ - name: Set up Ruby
83
+ uses: ruby/setup-ruby@v1
84
+ with:
85
+ ruby-version: "ruby" # latest-stable
86
+ bundler-cache: true
87
+ - name: rake features
88
+ run: bundle exec rake features
@@ -0,0 +1,18 @@
1
+ name: Release Drafter
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+ permissions:
9
+ contents: write
10
+ pull-requests: read
11
+
12
+ jobs:
13
+ update_release_draft:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: release-drafter/release-drafter@v5
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
data/DEVELOPMENT.md CHANGED
@@ -51,12 +51,6 @@ $ bundle exec rake features
51
51
  $ bundle exec rake features KEEP_RUNNING=1
52
52
  ```
53
53
 
54
- ### Report failing Cucumber features!
55
-
56
- Currently, the Capistrano CI build does *not* run the Cucumber suite. This means it is possible for a failing Cucumber feature to sneak in without being noticed by our continuous integration checks.
57
-
58
- **If you come across a failing Cucumber feature, this is a bug.** Please report it by opening a GitHub issue. Or even better: do your best to fix the feature and submit a pull request!
59
-
60
54
  ## Coding guidelines
61
55
 
62
56
  This project uses [RuboCop](https://github.com/bbatsov/rubocop) to enforce standard Ruby coding guidelines.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  # Capistrano: A deployment automation tool built on Ruby, Rake, and SSH.
3
3
 
4
- [![Gem Version](https://badge.fury.io/rb/capistrano.svg)](http://badge.fury.io/rb/capistrano) [![Build Status](https://circleci.com/gh/capistrano/capistrano/tree/master.svg?style=shield)](https://app.circleci.com/pipelines/github/capistrano/capistrano?branch=master) [![Code Climate](https://codeclimate.com/github/capistrano/capistrano/badges/gpa.svg)](https://codeclimate.com/github/capistrano/capistrano) [![CodersClan](https://img.shields.io/badge/get-support-blue.svg)](http://codersclan.net/?repo_id=325&source=small)
4
+ [![Gem Version](https://badge.fury.io/rb/capistrano.svg)](http://badge.fury.io/rb/capistrano) [![Build Status](https://github.com/capistrano/capistrano/actions/workflows/ci.yml/badge.svg)](https://github.com/capistrano/capistrano/actions/workflows/ci.yml) [![Code Climate](https://codeclimate.com/github/capistrano/capistrano/badges/gpa.svg)](https://codeclimate.com/github/capistrano/capistrano) [![CodersClan](https://img.shields.io/badge/get-support-blue.svg)](http://codersclan.net/?repo_id=325&source=small)
5
5
 
6
6
  Capistrano is a framework for building automated deployment scripts. Although Capistrano itself is written in Ruby, it can easily be used to deploy projects of any language or framework, be it Rails, Java, or PHP.
7
7
 
@@ -68,7 +68,7 @@ module Capistrano
68
68
  # works as expected.
69
69
  #
70
70
  def assert_valid_later(key, callable)
71
- validation_callback = lambda do
71
+ validation_callback = proc do
72
72
  value = callable.call
73
73
  assert_valid_now(key, value)
74
74
  value
@@ -24,7 +24,7 @@ set :repo_url, "git@example.com:me/my_repo.git"
24
24
  # append :linked_files, "config/database.yml", 'config/master.key'
25
25
 
26
26
  # Default value for linked_dirs is []
27
- # append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "tmp/webpacker", "public/system", "vendor", "storage"
27
+ # append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public/system", "vendor", "storage"
28
28
 
29
29
  # Default value for default_env is {}
30
30
  # set :default_env, { path: "/opt/ruby/bin:$PATH" }
@@ -1,3 +1,3 @@
1
1
  module Capistrano
2
- VERSION = "3.17.3".freeze
2
+ VERSION = "3.18.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.17.3
4
+ version: 3.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Clements
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-05-23 00:00:00.000000000 Z
12
+ date: 2023-10-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: airbrussh
@@ -78,11 +78,11 @@ executables:
78
78
  extensions: []
79
79
  extra_rdoc_files: []
80
80
  files:
81
- - ".circleci/config.yml"
82
81
  - ".github/issue_template.md"
83
82
  - ".github/pull_request_template.md"
84
83
  - ".github/release-drafter.yml"
85
- - ".github/workflows/push.yml"
84
+ - ".github/workflows/ci.yml"
85
+ - ".github/workflows/release-drafter.yml"
86
86
  - ".gitignore"
87
87
  - ".rubocop.yml"
88
88
  - CHANGELOG.md
@@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  requirements: []
238
- rubygems_version: 3.4.12
238
+ rubygems_version: 3.4.19
239
239
  signing_key:
240
240
  specification_version: 4
241
241
  summary: Capistrano - Welcome to easy deployment with Ruby over SSH
data/.circleci/config.yml DELETED
@@ -1,133 +0,0 @@
1
- version: 2.1
2
-
3
- executors:
4
- ruby:
5
- parameters:
6
- version:
7
- description: "Ruby version number"
8
- default: "3.2"
9
- type: string
10
- docker:
11
- - image: ruby:<< parameters.version >>
12
-
13
- commands:
14
- bundle_install:
15
- description: Install Ruby dependencies with Bundler
16
- parameters:
17
- version:
18
- description: "Ruby version number"
19
- default: "3.2"
20
- type: string
21
- steps:
22
- - restore_cache:
23
- keys:
24
- - bundle-v1-{{ arch }}-<< parameters.version >>
25
- - run:
26
- name: Install Ruby Dependencies
27
- command: |
28
- gem install bundler --conservative --no-document || gem install bundler -v '< 2' --no-document
29
- bundle config --local path vendor/bundle
30
- bundle check || (bundle install --jobs=4 --retry=3 && bundle clean)
31
- - save_cache:
32
- paths:
33
- - ./vendor/bundle
34
- key: bundle-v1-{{ arch }}-<< parameters.version >>-{{ checksum "Gemfile.lock" }}
35
- update_ssh_client:
36
- description: Install recent SSH client for compatibility with GitHub
37
- steps:
38
- - run:
39
- name: Install OpenSSH 8.1p1 if necessary
40
- command: |
41
- if $(ssh -V 2>&1 | grep -q -v OpenSSH_8); then
42
- # Stretch packages have been moved to the archvie.debian.org domain as of April 2023
43
- sed -E 's/^(deb http:\/\/)(security|deb)(\.debian\.org\S+ stretch)/\1archive\3/g' -i /etc/apt/sources.list
44
- apt-get update || true
45
- apt-get install -y --force-yes libssl-dev || true
46
- mkdir ~/tempdownload
47
- cd ~/tempdownload
48
- wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.1p1.tar.gz
49
- tar zxvf openssh-8.1p1.tar.gz
50
- cd openssh-8.1p1 && ./configure --prefix=/usr && make ssh && make install
51
- fi
52
-
53
- jobs:
54
- danger:
55
- executor: ruby
56
- steps:
57
- - checkout
58
- - bundle_install
59
- - run: bundle exec danger
60
-
61
- rubocop:
62
- executor: ruby
63
- steps:
64
- - checkout
65
- - bundle_install
66
- - run: bundle exec rubocop
67
-
68
- spec:
69
- parameters:
70
- version:
71
- description: "Ruby version number"
72
- default: "3.2"
73
- type: string
74
- executor:
75
- name: ruby
76
- version: << parameters.version >>
77
- steps:
78
- - update_ssh_client
79
- - checkout
80
- - bundle_install:
81
- version: << parameters.version >>
82
- - run: bundle exec rake spec
83
-
84
- workflows:
85
- version: 2
86
- commit-workflow:
87
- jobs:
88
- - danger
89
- - rubocop
90
- - spec:
91
- matrix:
92
- parameters:
93
- version:
94
- [
95
- "2.0",
96
- "2.1",
97
- "2.2",
98
- "2.3",
99
- "2.4",
100
- "2.5",
101
- "2.6",
102
- "2.7",
103
- "3.0",
104
- "3.1",
105
- "3.2",
106
- ]
107
- cron-workflow:
108
- jobs:
109
- - rubocop
110
- - spec:
111
- matrix:
112
- parameters:
113
- version:
114
- [
115
- "2.0",
116
- "2.1",
117
- "2.2",
118
- "2.3",
119
- "2.4",
120
- "2.5",
121
- "2.6",
122
- "2.7",
123
- "3.0",
124
- "3.1",
125
- "3.2",
126
- ]
127
- triggers:
128
- - schedule:
129
- cron: "0 13 * * 6"
130
- filters:
131
- branches:
132
- only:
133
- - master
@@ -1,12 +0,0 @@
1
- on: push
2
- name: Push
3
- jobs:
4
- draftRelease:
5
- name: Draft Release
6
- runs-on: ubuntu-latest
7
- steps:
8
- - uses: actions/checkout@master
9
- - name: Draft Release
10
- uses: toolmantim/release-drafter@v5.2.0
11
- env:
12
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}