capistrano-harrow 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/harrow/banner.rb +27 -14
- data/lib/capistrano/harrow/installer.rb +20 -19
- data/lib/capistrano/harrow/version.rb +1 -1
- metadata +9 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23a17dc75e79364c71c8df9f5a20599d3c70b54b
|
4
|
+
data.tar.gz: 6fb50284929df18720ada02f37a750189803e3fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92cfa75f1a7464cfdde798d833ab89756da7e9800f5f6f52bb560a9f81a25d7b43e232d7454e2c62f4e8b091e51e9d61e263a8f1314a2210ecac595c0d72560d
|
7
|
+
data.tar.gz: 5231002962be9e53788c387a4acd58c8524094ce339b7ec7aca0fe3808c204043b8e46ee54b01c85641261cfb587e698c0d9b9a68d73f1bb1dbf6e0f16ee7547
|
@@ -7,26 +7,39 @@ module Capistrano
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def to_s
|
10
|
-
|
10
|
+
text_banner
|
11
11
|
end
|
12
12
|
|
13
|
-
private
|
14
13
|
|
15
|
-
def
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
| |
|
22
|
-
|
14
|
+
def variants
|
15
|
+
[
|
16
|
+
%q{
|
17
|
+
___ _ ___ ___ ___ _____ ___ _ _ _ ___
|
18
|
+
/ __| /_\ | _ \_ _/ __|_ _| _ \ /_\ | \| |/ _ \
|
19
|
+
| (__ / _ \| _/| |\__ \ | | | / / _ \| .` | (_) |
|
20
|
+
\___/_/ \_\_| |___|___/ |_| |_|_\/_/ \_\_|\_|\___/
|
21
|
+
|
22
|
+
Learn about our web-based collaboration and
|
23
|
+
automation platform for Capistrano: hrw.io/auto-cap
|
24
|
+
|
25
|
+
},
|
26
|
+
%q{
|
27
|
+
___ _ ___ ___ ___ _____ ___ _ _ _ ___
|
28
|
+
/ __| /_\ | _ \_ _/ __|_ _| _ \ /_\ | \| |/ _ \
|
29
|
+
| (__ / _ \| _/| |\__ \ | | | / / _ \| .` | (_) |
|
30
|
+
\___/_/ \_\_| |___|___/ |_| |_|_\/_/ \_\_|\_|\___/
|
23
31
|
|
24
|
-
|
25
|
-
|
32
|
+
Enhance Capistrano with awesome collaboration and
|
33
|
+
automation features, learn more at hrw.io/cap-auto
|
26
34
|
|
27
|
-
|
35
|
+
},
|
36
|
+
]
|
37
|
+
end
|
38
|
+
|
39
|
+
private
|
28
40
|
|
29
|
-
|
41
|
+
def text_banner
|
42
|
+
variants.sample
|
30
43
|
end
|
31
44
|
|
32
45
|
#
|
@@ -3,7 +3,8 @@ module Capistrano
|
|
3
3
|
module Harrow
|
4
4
|
class Installer
|
5
5
|
PROMPTS = {
|
6
|
-
want_install: %q{
|
6
|
+
want_install: %q{Enhance Capistrano with awesome collaboration and
|
7
|
+
automation features? },
|
7
8
|
enter_password: "Enter a password for your Harrow.io account",
|
8
9
|
confirm_password: "Confirm your password",
|
9
10
|
retry_request: "Retry?",
|
@@ -17,20 +18,18 @@ module Capistrano
|
|
17
18
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
18
19
|
┃ Success! ┃
|
19
20
|
┃ ┃
|
20
|
-
┃
|
21
|
+
┃ Your account has been created. ┃
|
21
22
|
┃ ┃
|
22
|
-
┃
|
23
|
+
┃ Organization: %-28<organization_name>s┃
|
23
24
|
┃ ┃
|
24
|
-
┃
|
25
|
+
┃ Project: %-28<project_name>s┃
|
25
26
|
┃ ┃
|
26
|
-
┃
|
27
|
+
┃ We sent an email to: ┃
|
27
28
|
┃ ┃
|
28
|
-
┃
|
29
|
+
┃ %-43<email>s┃
|
29
30
|
┃ ┃
|
30
|
-
┃
|
31
|
-
┃
|
32
|
-
┃ ┃
|
33
|
-
┃ https://www.app.harrow.io ┃
|
31
|
+
┃ Please confirm your email address ┃
|
32
|
+
┃ to proceed. ┃
|
34
33
|
┃ ┃
|
35
34
|
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
36
35
|
},
|
@@ -66,16 +65,17 @@ For this repository with the URL:
|
|
66
65
|
|
67
66
|
},
|
68
67
|
preinstall: %q{
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
68
|
+
We built Harrow.io, a platform which adds automation,
|
69
|
+
collaboration and logging features to any command line
|
70
|
+
tool. Harrow is optimized to work with Capistrano,
|
71
|
+
but it works with absolutely anything!
|
73
72
|
|
74
|
-
|
75
|
-
|
73
|
+
Harrow covers everything including testing, deployment
|
74
|
+
and maintenance for your project. Completely free for
|
75
|
+
small projects and there's a 14 day trial including
|
76
|
+
support to get you up and running.
|
76
77
|
|
77
|
-
|
78
|
-
Capistrano and more!
|
78
|
+
-– The Capistrano Team
|
79
79
|
|
80
80
|
},
|
81
81
|
|
@@ -181,7 +181,8 @@ For this repository with the URL:
|
|
181
181
|
return response_data
|
182
182
|
end
|
183
183
|
else
|
184
|
-
|
184
|
+
success_message_data = response_data.merge(email: @config.email)
|
185
|
+
@ui.show message(:installation_successful, success_message_data)
|
185
186
|
return :signed_up
|
186
187
|
end
|
187
188
|
rescue API::NetworkError
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-harrow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Hambley
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-05-
|
12
|
+
date: 2016-05-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -143,17 +143,13 @@ licenses: []
|
|
143
143
|
metadata: {}
|
144
144
|
post_install_message: |2+
|
145
145
|
|
146
|
-
|
147
|
-
|
|
148
|
-
|
149
|
-
|
150
|
-
| | | | (_| | | | | | (_) \ V V /| | (_) |
|
151
|
-
|_| |_|\__,_|_| |_| \___/ \_/\_(_)_|\___/
|
146
|
+
___ _ ___ ___ ___ _____ ___ _ _ _ ___
|
147
|
+
/ __| /_\ | _ \_ _/ __|_ _| _ \ /_\ | \| |/ _ \
|
148
|
+
| (__ / _ \| _/| |\__ \ | | | / / _ \| .` | (_) |
|
149
|
+
\___/_/ \_\_| |___|___/ |_| |_|_\/_/ \_\_|\_|\___/
|
152
150
|
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
Learn more at http://hrw.io/cap-for-teams
|
151
|
+
Learn about our web-based collaboration and
|
152
|
+
automation platform for Capistrano: hrw.io/auto-cap
|
157
153
|
|
158
154
|
rdoc_options: []
|
159
155
|
require_paths:
|
@@ -170,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
166
|
version: '0'
|
171
167
|
requirements: []
|
172
168
|
rubyforge_project:
|
173
|
-
rubygems_version: 2.
|
169
|
+
rubygems_version: 2.4.8
|
174
170
|
signing_key:
|
175
171
|
specification_version: 4
|
176
172
|
summary: A plugin to improve the user experience for users of Capistrano and Harrow
|