capistrano-harrow 0.5.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7348d2fff68dd4c25e1c96fd59de412db7058f73
4
- data.tar.gz: 1ed8bd7185262d7c0501cadf7f7af095d158489b
3
+ metadata.gz: 23a17dc75e79364c71c8df9f5a20599d3c70b54b
4
+ data.tar.gz: 6fb50284929df18720ada02f37a750189803e3fa
5
5
  SHA512:
6
- metadata.gz: 23e220496e00e4ad0877cf7346aa306cc1f586f122c7eb25c50bf83fe67654271b83a3c0ab3f5964fbe8fe5d9cb3a107929a4bd809dfd7682cf5fca9de088cc4
7
- data.tar.gz: 418470ac85cf41759192517462757521e527817d542cc4456b3c34a23a3a6008c416808754942feba56ac365ca1deaef800bf3dad48abf3e56e98a5b5f1289ad
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
- text_banner
10
+ text_banner
11
11
  end
12
12
 
13
- private
14
13
 
15
- def text_banner
16
- %q{
17
- _ _ _
18
- | | | | (_)
19
- | |__| | __ _ _ __ _ __ _____ ___ ___
20
- | __ |/ _` | '__| '__/ _ \ \ /\ / / |/ _ \
21
- | | | | (_| | | | | | (_) \ V V /| | (_) |
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
- Continuous Integration & Deployment
25
- Built by the team behind Capistrano
32
+ Enhance Capistrano with awesome collaboration and
33
+ automation features, learn more at hrw.io/cap-auto
26
34
 
27
- Learn more at http://hrw.io/cap-for-teams
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{ Try it now? },
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
- You have been registered on Harrow.io.
21
+ Your account has been created.
21
22
  ┃ ┃
22
- Your organization is called:
23
+ Organization: %-28<organization_name>s
23
24
  ┃ ┃
24
- %-35<organization_name>s┃
25
+ Project: %-28<project_name>s┃
25
26
  ┃ ┃
26
- Your project is called:
27
+ We sent an email to:
27
28
  ┃ ┃
28
- %-35<project_name>s┃
29
+ %-43<email>s┃
29
30
  ┃ ┃
30
- Log in here or check your email
31
- for an account confirmation link
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
- - Free for small projects!
70
-
71
- - Test, deploy and collaborate online easily
72
- using tools you already know and love!
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
- - Trigger tasks automatically based on Git changes
75
- and webhooks. Get notified by email, slack, etc.
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
- - Works seamlessly for PHP, Node.js, Ansible, Python, Go,
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
- @ui.show message(:installation_successful, response_data)
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
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Harrow
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
5
5
  end
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.0
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-05 00:00:00.000000000 Z
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
- Continuous Integration & Deployment
154
- Built by the team behind Capistrano
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.6.3
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