capistrano 3.10.2 → 3.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +1 -1
- data/lib/capistrano/configuration/question.rb +2 -0
- data/lib/capistrano/version.rb +1 -1
- data/spec/lib/capistrano/configuration/question_spec.rb +11 -0
- 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: f1881e1201f433bc48dbc66746fc18c7a2935a8f9fb6ebd1a1738d2ef0b76ead
|
4
|
+
data.tar.gz: f568e1ce7457104688457d96651ae1fe6e3278eeaf5b690736ecbd8632c5c678
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5048e39674899c372e7d591935ac6c4a399678adb42ee5b5ab593d471c6a91dc611b280267a3718c5967c1eeb31b94dcc6a3257e358de5df2a95ac72c9392132
|
7
|
+
data.tar.gz: fe376f99e76a3743abc79358325afb84a33ce544c6f13b2b2491f324d67c7ad4e7c3b1c28ac421ae64ed26ffe82620837d78ce75433c16adec74fa6f8123123e
|
data/CHANGELOG.md
CHANGED
@@ -16,10 +16,16 @@ gem "capistrano", github: "capistrano/capistrano", require: false
|
|
16
16
|
|
17
17
|
## [master]
|
18
18
|
|
19
|
-
[master]: https://github.com/capistrano/capistrano/compare/v3.
|
19
|
+
[master]: https://github.com/capistrano/capistrano/compare/v3.11.0...HEAD
|
20
20
|
|
21
21
|
* Your contribution here!
|
22
22
|
|
23
|
+
## [`3.11.0`] (2018-06-02)
|
24
|
+
|
25
|
+
* [#1972](https://github.com/capistrano/capistrano/pull/1972): fallback ask to default when used in non interactive session
|
26
|
+
|
27
|
+
[`3.11.0`]: https://github.com/capistrano/capistrano/compare/v3.10.2...v3.11.0
|
28
|
+
|
23
29
|
## [`3.10.2`] (2018-04-15)
|
24
30
|
|
25
31
|
[`3.10.2`]: https://github.com/capistrano/capistrano/compare/v3.10.1...v3.10.2
|
data/README.md
CHANGED
data/lib/capistrano/version.rb
CHANGED
@@ -57,6 +57,17 @@ module Capistrano
|
|
57
57
|
expect(question.call).to eq(branch)
|
58
58
|
end
|
59
59
|
end
|
60
|
+
|
61
|
+
context "tty unavailable" do
|
62
|
+
before do
|
63
|
+
$stdin.expects(:gets).never
|
64
|
+
$stdin.expects(:tty?).returns(false)
|
65
|
+
end
|
66
|
+
|
67
|
+
it "returns the default as the value" do
|
68
|
+
expect(question.call).to eq(default)
|
69
|
+
end
|
70
|
+
end
|
60
71
|
end
|
61
72
|
end
|
62
73
|
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.
|
4
|
+
version: 3.11.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: 2018-
|
12
|
+
date: 2018-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: airbrussh
|
@@ -285,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
285
285
|
version: '0'
|
286
286
|
requirements: []
|
287
287
|
rubyforge_project:
|
288
|
-
rubygems_version: 2.7.
|
288
|
+
rubygems_version: 2.7.7
|
289
289
|
signing_key:
|
290
290
|
specification_version: 4
|
291
291
|
summary: Capistrano - Welcome to easy deployment with Ruby over SSH
|