capistrano 3.18.0 → 3.18.1
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/ci.yml +13 -1
- data/DEVELOPMENT.md +1 -1
- data/Gemfile +2 -0
- data/lib/capistrano/version.rb +1 -1
- data/spec/integration/dsl_spec.rb +1 -1
- data/spec/lib/capistrano/dsl_spec.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae53528854f57ad3fcd21f62cc4b8c39b9299acdc58fe133379874eec9ff8d7a
|
|
4
|
+
data.tar.gz: 96bb90b2185d9512db08f3688f47d5d0a0ae56b8105a2f55ae0049c58256a2f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4d10e94df9a4e5b600a88337797dac5fb1c63458e2a8e567bfb25558fe0e1367ed579a001c7a42d17e135faba09a88aa18477fcfd8e63e27a471978e2d5c59b
|
|
7
|
+
data.tar.gz: f6cb277aea4838f5da7c16c9005fd3d17b9fac43ec46aa2c07ea32f2930bb6aa0b1403ef13459a9b7a351bdd2486765cfba0e2d1ff0fd63882159a38f6ae7879
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -8,7 +8,19 @@ jobs:
|
|
|
8
8
|
runs-on: ubuntu-latest
|
|
9
9
|
strategy:
|
|
10
10
|
matrix:
|
|
11
|
-
ruby:
|
|
11
|
+
ruby:
|
|
12
|
+
[
|
|
13
|
+
"2.3",
|
|
14
|
+
"2.4",
|
|
15
|
+
"2.5",
|
|
16
|
+
"2.6",
|
|
17
|
+
"2.7",
|
|
18
|
+
"3.0",
|
|
19
|
+
"3.1",
|
|
20
|
+
"3.2",
|
|
21
|
+
"3.3",
|
|
22
|
+
"head",
|
|
23
|
+
]
|
|
12
24
|
steps:
|
|
13
25
|
- uses: actions/checkout@v4
|
|
14
26
|
- name: Set up Ruby
|
data/DEVELOPMENT.md
CHANGED
|
@@ -20,7 +20,7 @@ Everyone can help improve Capistrano. There are ways to contribute even if you a
|
|
|
20
20
|
|
|
21
21
|
## Contributing documentation
|
|
22
22
|
|
|
23
|
-
Improvements and additions to Capistrano's documentation are very much appreciated. The official
|
|
23
|
+
Improvements and additions to Capistrano's documentation are very much appreciated. The official documentation is stored in the `docs/` directory as Markdown files. These files are used to automatically generate the [capistranorb.com](http://capistranorb.com/) website, which is hosted by GitHub Pages. Feel free to make changes to this documentation as you see fit. Before opening a pull request, make sure your documentation renders correctly by previewing the website in your local environment. Refer to [docs/README.md][] for instructions.
|
|
24
24
|
|
|
25
25
|
## Setting up your development environment
|
|
26
26
|
|
data/Gemfile
CHANGED
|
@@ -40,7 +40,9 @@ end
|
|
|
40
40
|
|
|
41
41
|
# We only run danger and rubocop on a new-ish ruby; no need to install them otherwise
|
|
42
42
|
if Gem::Requirement.new("> 2.4").satisfied_by?(Gem::Version.new(RUBY_VERSION))
|
|
43
|
+
gem "base64"
|
|
43
44
|
gem "danger"
|
|
44
45
|
gem "psych", "< 4" # Ensures rubocop works on Ruby 3.1
|
|
46
|
+
gem "racc"
|
|
45
47
|
gem "rubocop", "0.48.1"
|
|
46
48
|
end
|
data/lib/capistrano/version.rb
CHANGED
|
@@ -247,7 +247,7 @@ describe Capistrano::DSL do
|
|
|
247
247
|
end
|
|
248
248
|
end
|
|
249
249
|
|
|
250
|
-
context "when the attribute `primary` is
|
|
250
|
+
context "when the attribute `primary` is explicitly set" do
|
|
251
251
|
subject { dsl.primary(:app) }
|
|
252
252
|
it "returns the servers" do
|
|
253
253
|
expect(subject.hostname).to eq "example4.com"
|
|
@@ -72,7 +72,7 @@ module Capistrano
|
|
|
72
72
|
|
|
73
73
|
describe "#invoke" do
|
|
74
74
|
context "reinvoking" do
|
|
75
|
-
it "will not
|
|
75
|
+
it "will not re-enable invoking task", capture_io: true do
|
|
76
76
|
counter = 0
|
|
77
77
|
|
|
78
78
|
Rake::Task.define_task("A") do
|
|
@@ -98,7 +98,7 @@ module Capistrano
|
|
|
98
98
|
|
|
99
99
|
describe "#invoke!" do
|
|
100
100
|
context "reinvoking" do
|
|
101
|
-
it "will
|
|
101
|
+
it "will re-enable invoking task", capture_io: true do
|
|
102
102
|
counter = 0
|
|
103
103
|
|
|
104
104
|
Rake::Task.define_task("C") do
|
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.18.
|
|
4
|
+
version: 3.18.1
|
|
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:
|
|
12
|
+
date: 2024-03-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: airbrussh
|
|
@@ -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.
|
|
238
|
+
rubygems_version: 3.5.6
|
|
239
239
|
signing_key:
|
|
240
240
|
specification_version: 4
|
|
241
241
|
summary: Capistrano - Welcome to easy deployment with Ruby over SSH
|