convox_installer 1.0.9 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +23 -1
- data/.vscode/settings.json +2 -2
- data/Gemfile +2 -2
- data/README.md +6 -3
- data/convox_installer.gemspec +18 -17
- data/examples/full_installation.rb +75 -75
- data/lib/convox/client.rb +130 -91
- data/lib/convox.rb +1 -1
- data/lib/convox_installer/config.rb +35 -34
- data/lib/convox_installer/requirements.rb +27 -18
- data/lib/convox_installer/version.rb +1 -1
- data/lib/convox_installer.rb +7 -7
- data/spec/lib/convox/client_spec.rb +92 -56
- data/spec/lib/convox_installer/config_spec.rb +140 -140
- data/spec/lib/convox_installer/requirements_spec.rb +63 -34
- data/spec/spec_helper.rb +1 -1
- metadata +20 -19
@@ -1,19 +1,19 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require 'convox_installer'
|
4
|
+
require 'securerandom'
|
5
5
|
|
6
6
|
RSpec.describe ConvoxInstaller::Config do
|
7
|
-
before
|
7
|
+
before do
|
8
8
|
stub_const('ConvoxInstaller::Config::CONFIG_FILE', '/path/to/.installer_config.json')
|
9
9
|
end
|
10
10
|
|
11
|
-
after
|
12
|
-
ENV.delete
|
13
|
-
ENV.delete
|
11
|
+
after do
|
12
|
+
ENV.delete 'AWS_REGION'
|
13
|
+
ENV.delete 'AWS_ACCESS_KEY_ID'
|
14
14
|
end
|
15
15
|
|
16
|
-
it
|
16
|
+
it 'loads the saved config from ./.installer_config.json' do
|
17
17
|
expect(described_class).to receive(:config_file_exists?).and_return(true)
|
18
18
|
expect(described_class).to receive(:read_config_file).and_return(
|
19
19
|
'{ "config": { "aws_region": "us-west-2", "aws_access_key_id": "1234" } }'
|
@@ -21,42 +21,42 @@ RSpec.describe ConvoxInstaller::Config do
|
|
21
21
|
config = described_class.new
|
22
22
|
|
23
23
|
expect(config.config).to eq(
|
24
|
-
aws_region:
|
25
|
-
aws_access_key_id:
|
24
|
+
aws_region: 'us-west-2',
|
25
|
+
aws_access_key_id: '1234'
|
26
26
|
)
|
27
27
|
end
|
28
28
|
|
29
|
-
it
|
29
|
+
it 'loads config from ENV vars' do
|
30
30
|
expect(described_class).to receive(:config_file_exists?).and_return(false)
|
31
|
-
ENV[
|
32
|
-
ENV[
|
31
|
+
ENV['AWS_REGION'] = 'us-east-1'
|
32
|
+
ENV['AWS_ACCESS_KEY_ID'] = '2345'
|
33
33
|
|
34
34
|
config = described_class.new
|
35
35
|
expect(config.config).to eq(
|
36
|
-
aws_region:
|
37
|
-
aws_access_key_id:
|
36
|
+
aws_region: 'us-east-1',
|
37
|
+
aws_access_key_id: '2345'
|
38
38
|
)
|
39
39
|
end
|
40
40
|
|
41
|
-
it
|
41
|
+
it 'prompts the user for their AWS details, and re-prompts to correct mistakes' do
|
42
42
|
expect(described_class).to receive(:config_file_exists?).and_return(false)
|
43
43
|
input = StringIO.new
|
44
44
|
output = StringIO.new
|
45
45
|
highline = HighLine.new(input, output)
|
46
46
|
|
47
47
|
input_details = [
|
48
|
-
[:stack_name,
|
49
|
-
[:aws_region,
|
50
|
-
[:instance_type,
|
51
|
-
[:aws_access_key_id,
|
52
|
-
[:aws_secret_access_key,
|
53
|
-
[:confirm?,
|
54
|
-
[:stack_name,
|
55
|
-
[:aws_region,
|
56
|
-
[:instance_type,
|
57
|
-
[:aws_access_key_id,
|
58
|
-
[:aws_secret_access_key,
|
59
|
-
[:confirm?,
|
48
|
+
[:stack_name, ''],
|
49
|
+
[:aws_region, ''],
|
50
|
+
[:instance_type, 'c5.xlarge'],
|
51
|
+
[:aws_access_key_id, 'asdf'],
|
52
|
+
[:aws_secret_access_key, 'xkcd'],
|
53
|
+
[:confirm?, 'n'],
|
54
|
+
[:stack_name, 'convox-test'],
|
55
|
+
[:aws_region, 'us-north-12'],
|
56
|
+
[:instance_type, 't3.medium'],
|
57
|
+
[:aws_access_key_id, 'sdfg'],
|
58
|
+
[:aws_secret_access_key, ''],
|
59
|
+
[:confirm?, 'y']
|
60
60
|
]
|
61
61
|
input << input_details.map(&:last).join("\n") << "\n"
|
62
62
|
input.rewind
|
@@ -67,59 +67,59 @@ RSpec.describe ConvoxInstaller::Config do
|
|
67
67
|
expect(config.config).to eq({})
|
68
68
|
config.prompt_for_config
|
69
69
|
expect(config.config).to eq(
|
70
|
-
:
|
71
|
-
:
|
72
|
-
:
|
73
|
-
:
|
74
|
-
:
|
70
|
+
stack_name: 'convox-test',
|
71
|
+
aws_region: 'us-north-12',
|
72
|
+
aws_access_key_id: 'sdfg',
|
73
|
+
aws_secret_access_key: 'xkcd',
|
74
|
+
instance_type: 't3.medium'
|
75
75
|
)
|
76
76
|
output.rewind
|
77
77
|
stripped_output = output.read.lines.map(&:rstrip).join("\n")
|
78
|
-
expected_output =
|
79
|
-
Please enter a name for your Convox installation |convox|
|
80
|
-
Please enter your AWS Region: |us-east-1| Please enter your EC2 Instance Type: |t3.medium|
|
81
|
-
Admin AWS Credentials
|
82
|
-
============================================
|
83
|
-
|
84
|
-
Please enter your AWS Access Key ID: Please enter your AWS Secret Access Key:
|
85
|
-
============================================
|
86
|
-
|
87
|
-
============================================
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
We've saved your configuration to: /path/to/.installer_config.json
|
96
|
-
If anything goes wrong during the installation, you can restart the script to reload the config and continue.
|
97
|
-
|
98
|
-
Please double check all of these configuration details.
|
99
|
-
Would you like to start the Convox installation? (press 'n' to correct any settings)
|
100
|
-
|
101
|
-
Please enter a name for your Convox installation |convox|
|
102
|
-
Please enter your AWS Region: |us-east-1| Please enter your EC2 Instance Type: |c5.xlarge|
|
103
|
-
Admin AWS Credentials
|
104
|
-
============================================
|
105
|
-
|
106
|
-
Please enter your AWS Access Key ID: |asdf| Please enter your AWS Secret Access Key: |xkcd|
|
107
|
-
============================================
|
108
|
-
|
109
|
-
============================================
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
We've saved your configuration to: /path/to/.installer_config.json
|
118
|
-
If anything goes wrong during the installation, you can restart the script to reload the config and continue.
|
119
|
-
|
120
|
-
Please double check all of these configuration details.
|
121
|
-
Would you like to start the Convox installation? (press 'n' to correct any settings)
|
122
|
-
|
78
|
+
expected_output = <<~CONVOX_INSTALLER_OUTPUT
|
79
|
+
Please enter a name for your Convox installation |convox|
|
80
|
+
Please enter your AWS Region: |us-east-1| Please enter your EC2 Instance Type: |t3.medium|
|
81
|
+
Admin AWS Credentials
|
82
|
+
============================================
|
83
|
+
|
84
|
+
Please enter your AWS Access Key ID: Please enter your AWS Secret Access Key:
|
85
|
+
============================================
|
86
|
+
SUMMARY
|
87
|
+
============================================
|
88
|
+
|
89
|
+
Convox Stack Name: convox
|
90
|
+
AWS Region: us-east-1
|
91
|
+
EC2 Instance Type: c5.xlarge
|
92
|
+
AWS Access Key ID: asdf
|
93
|
+
AWS Secret Access Key: xkcd
|
94
|
+
|
95
|
+
We've saved your configuration to: /path/to/.installer_config.json
|
96
|
+
If anything goes wrong during the installation, you can restart the script to reload the config and continue.
|
97
|
+
|
98
|
+
Please double check all of these configuration details.
|
99
|
+
Would you like to start the Convox installation? (press 'n' to correct any settings)
|
100
|
+
|
101
|
+
Please enter a name for your Convox installation |convox|
|
102
|
+
Please enter your AWS Region: |us-east-1| Please enter your EC2 Instance Type: |c5.xlarge|
|
103
|
+
Admin AWS Credentials
|
104
|
+
============================================
|
105
|
+
|
106
|
+
Please enter your AWS Access Key ID: |asdf| Please enter your AWS Secret Access Key: |xkcd|
|
107
|
+
============================================
|
108
|
+
SUMMARY
|
109
|
+
============================================
|
110
|
+
|
111
|
+
Convox Stack Name: convox-test
|
112
|
+
AWS Region: us-north-12
|
113
|
+
EC2 Instance Type: t3.medium
|
114
|
+
AWS Access Key ID: sdfg
|
115
|
+
AWS Secret Access Key: xkcd
|
116
|
+
|
117
|
+
We've saved your configuration to: /path/to/.installer_config.json
|
118
|
+
If anything goes wrong during the installation, you can restart the script to reload the config and continue.
|
119
|
+
|
120
|
+
Please double check all of these configuration details.
|
121
|
+
Would you like to start the Convox installation? (press 'n' to correct any settings)
|
122
|
+
CONVOX_INSTALLER_OUTPUT
|
123
123
|
|
124
124
|
# puts stripped_output
|
125
125
|
# puts "---------------"
|
@@ -127,7 +127,7 @@ EOS
|
|
127
127
|
expect(stripped_output).to eq expected_output.strip
|
128
128
|
end
|
129
129
|
|
130
|
-
it
|
130
|
+
it 'prompts for custom configuration' do
|
131
131
|
expect(described_class).to receive(:config_file_exists?).and_return(false)
|
132
132
|
input = StringIO.new
|
133
133
|
output = StringIO.new
|
@@ -135,99 +135,99 @@ EOS
|
|
135
135
|
|
136
136
|
custom_prompts = ConvoxInstaller::Config::DEFAULT_PROMPTS + [
|
137
137
|
{
|
138
|
-
section:
|
138
|
+
section: 'ECR Authentication',
|
139
139
|
info: "You should have received authentication details for the Docker Registry\n" \
|
140
|
-
|
140
|
+
'via email. If not, please contact support@example.com'
|
141
141
|
},
|
142
142
|
{
|
143
143
|
key: :docker_registry_username,
|
144
|
-
title:
|
144
|
+
title: 'Docker Registry Access Key ID'
|
145
145
|
},
|
146
146
|
{
|
147
147
|
key: :docker_registry_password,
|
148
|
-
title:
|
148
|
+
title: 'Docker Registry Secret Access Key'
|
149
149
|
},
|
150
150
|
{
|
151
151
|
key: :admin_email,
|
152
|
-
title:
|
153
|
-
prompt:
|
154
|
-
|
155
|
-
default:
|
152
|
+
title: 'Admin Email',
|
153
|
+
prompt: 'Please enter the email address you would like to use ' \
|
154
|
+
'for the default admin user',
|
155
|
+
default: 'admin@example.com'
|
156
156
|
},
|
157
157
|
{
|
158
158
|
key: :admin_password,
|
159
|
-
title:
|
160
|
-
value: ->
|
161
|
-
}
|
159
|
+
title: 'Admin Password',
|
160
|
+
value: ->(_c) { SecureRandom.hex(8) }
|
161
|
+
}
|
162
162
|
]
|
163
163
|
|
164
164
|
input_details = [
|
165
|
-
[:stack_name,
|
166
|
-
[:aws_region,
|
167
|
-
[:instance_type,
|
168
|
-
[:aws_access_key_id,
|
169
|
-
[:aws_secret_access_key,
|
170
|
-
[:docker_registry_username,
|
171
|
-
[:docker_registry_password,
|
172
|
-
[:admin_email,
|
173
|
-
[:confirm?,
|
165
|
+
[:stack_name, ''],
|
166
|
+
[:aws_region, ''],
|
167
|
+
[:instance_type, 'c5.xlarge'],
|
168
|
+
[:aws_access_key_id, 'asdf'],
|
169
|
+
[:aws_secret_access_key, 'xkcd'],
|
170
|
+
[:docker_registry_username, 'bob'],
|
171
|
+
[:docker_registry_password, 'password1'],
|
172
|
+
[:admin_email, 'admin@test.com'],
|
173
|
+
[:confirm?, 'y']
|
174
174
|
]
|
175
175
|
input << input_details.map(&:last).join("\n") << "\n"
|
176
176
|
input.rewind
|
177
177
|
|
178
178
|
config = described_class.new(highline: highline, prompts: custom_prompts)
|
179
179
|
expect(config).to receive(:save_config_to_file).exactly(9).times
|
180
|
-
expect(SecureRandom).to receive(:hex).with(8).and_return(
|
180
|
+
expect(SecureRandom).to receive(:hex).with(8).and_return('99a6f67de0c7a117')
|
181
181
|
|
182
182
|
expect(config.config).to eq({})
|
183
183
|
|
184
184
|
config.prompt_for_config
|
185
185
|
|
186
186
|
expect(config.config).to eq(
|
187
|
-
:
|
188
|
-
:
|
189
|
-
:
|
190
|
-
:
|
191
|
-
:
|
192
|
-
:
|
193
|
-
:
|
194
|
-
:
|
195
|
-
:
|
187
|
+
stack_name: 'convox',
|
188
|
+
aws_region: 'us-east-1',
|
189
|
+
aws_access_key_id: 'asdf',
|
190
|
+
aws_secret_access_key: 'xkcd',
|
191
|
+
instance_type: 'c5.xlarge',
|
192
|
+
docker_registry_username: 'bob',
|
193
|
+
docker_registry_password: 'password1',
|
194
|
+
admin_email: 'admin@test.com',
|
195
|
+
admin_password: '99a6f67de0c7a117'
|
196
196
|
)
|
197
197
|
output.rewind
|
198
198
|
stripped_output = output.read.lines.map(&:rstrip).join("\n")
|
199
|
-
expected_output =
|
200
|
-
Please enter a name for your Convox installation |convox|
|
201
|
-
Please enter your AWS Region: |us-east-1| Please enter your EC2 Instance Type: |t3.medium|
|
202
|
-
Admin AWS Credentials
|
203
|
-
============================================
|
204
|
-
|
205
|
-
Please enter your AWS Access Key ID: Please enter your AWS Secret Access Key:
|
206
|
-
ECR Authentication
|
207
|
-
============================================
|
208
|
-
|
209
|
-
Please enter your Docker Registry Access Key ID: Please enter your Docker Registry Secret Access Key: Please enter the email address you would like to use for the default admin user |admin@example.com|
|
210
|
-
|
211
|
-
============================================
|
212
|
-
|
213
|
-
============================================
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
We've saved your configuration to: /path/to/.installer_config.json
|
226
|
-
If anything goes wrong during the installation, you can restart the script to reload the config and continue.
|
227
|
-
|
228
|
-
Please double check all of these configuration details.
|
229
|
-
Would you like to start the Convox installation? (press 'n' to correct any settings)
|
230
|
-
|
199
|
+
expected_output = <<~CONVOX_INSTALLER_OUTPUT
|
200
|
+
Please enter a name for your Convox installation |convox|
|
201
|
+
Please enter your AWS Region: |us-east-1| Please enter your EC2 Instance Type: |t3.medium|
|
202
|
+
Admin AWS Credentials
|
203
|
+
============================================
|
204
|
+
|
205
|
+
Please enter your AWS Access Key ID: Please enter your AWS Secret Access Key:
|
206
|
+
ECR Authentication
|
207
|
+
============================================
|
208
|
+
|
209
|
+
Please enter your Docker Registry Access Key ID: Please enter your Docker Registry Secret Access Key: Please enter the email address you would like to use for the default admin user |admin@example.com|
|
210
|
+
|
211
|
+
============================================
|
212
|
+
SUMMARY
|
213
|
+
============================================
|
214
|
+
|
215
|
+
Convox Stack Name: convox
|
216
|
+
AWS Region: us-east-1
|
217
|
+
EC2 Instance Type: c5.xlarge
|
218
|
+
AWS Access Key ID: asdf
|
219
|
+
AWS Secret Access Key: xkcd
|
220
|
+
Docker Registry Access Key ID: bob
|
221
|
+
Docker Registry Secret Access Key: password1
|
222
|
+
Admin Email: admin@test.com
|
223
|
+
Admin Password: 99a6f67de0c7a117
|
224
|
+
|
225
|
+
We've saved your configuration to: /path/to/.installer_config.json
|
226
|
+
If anything goes wrong during the installation, you can restart the script to reload the config and continue.
|
227
|
+
|
228
|
+
Please double check all of these configuration details.
|
229
|
+
Would you like to start the Convox installation? (press 'n' to correct any settings)
|
230
|
+
CONVOX_INSTALLER_OUTPUT
|
231
231
|
|
232
232
|
# puts stripped_output
|
233
233
|
# puts "---------------"
|
@@ -1,56 +1,85 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
3
|
+
require 'convox_installer'
|
4
4
|
|
5
5
|
RSpec.describe ConvoxInstaller::Requirements do
|
6
|
-
|
7
|
-
it "should do nothing" do
|
8
|
-
req = ConvoxInstaller::Requirements.new
|
9
|
-
expect(req).to receive(:find_command).with("convox").and_return(true)
|
10
|
-
expect(req).to receive(:find_command).with("aws").and_return(true)
|
11
|
-
expect(req).to_not receive(:quit!)
|
6
|
+
let(:convox_cli_version) { '20210208170413' }
|
12
7
|
|
13
|
-
|
8
|
+
before do
|
9
|
+
allow_any_instance_of(
|
10
|
+
Convox::Client
|
11
|
+
).to receive(:cli_version_string).and_return(convox_cli_version)
|
12
|
+
end
|
13
|
+
|
14
|
+
context 'with no missing packages and correct CLI version' do
|
15
|
+
it 'does nothing' do
|
16
|
+
req = described_class.new
|
17
|
+
expect(req).to receive(:find_command).with('convox').and_return(true)
|
18
|
+
expect(req).to receive(:find_command).with('aws').and_return(true)
|
19
|
+
expect(req).not_to receive(:quit!)
|
20
|
+
|
21
|
+
expect(req.logger).not_to receive(:error)
|
14
22
|
|
15
23
|
req.ensure_requirements!
|
16
24
|
end
|
17
25
|
end
|
18
26
|
|
19
|
-
context
|
20
|
-
context
|
21
|
-
it
|
27
|
+
context 'with Mac' do
|
28
|
+
context 'with two missing packages' do
|
29
|
+
it 'shows the correct error message and quit' do
|
22
30
|
expect(OS).to receive(:mac?).and_return(true)
|
23
31
|
|
24
|
-
req =
|
25
|
-
expect(req).to receive(:find_command).with(
|
26
|
-
expect(req).to receive(:find_command).with(
|
32
|
+
req = described_class.new
|
33
|
+
expect(req).to receive(:find_command).with('convox').and_return(false)
|
34
|
+
expect(req).to receive(:find_command).with('aws').and_return(false)
|
35
|
+
expect(req).to receive(:quit!)
|
36
|
+
|
37
|
+
expect(req.logger).to receive(:error).with(
|
38
|
+
'This script requires the convox and AWS CLI tools.'
|
39
|
+
)
|
40
|
+
expect(req.logger).to receive(:error).with(
|
41
|
+
'Please run: brew install convox awscli'
|
42
|
+
)
|
43
|
+
|
44
|
+
req.ensure_requirements!
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
context 'with Convox CLI version 3.3.4' do
|
49
|
+
let(:convox_cli_version) { '3.3.4' }
|
50
|
+
|
51
|
+
it 'shows the correct error message and quit' do
|
52
|
+
req = described_class.new
|
53
|
+
expect(req).to receive(:find_command).with('convox').and_return(true)
|
54
|
+
expect(req).to receive(:find_command).with('aws').and_return(true)
|
27
55
|
expect(req).to receive(:quit!)
|
28
56
|
|
29
57
|
expect(req.logger).to receive(:error).with(
|
30
|
-
|
58
|
+
'This script requires Convox CLI version 2.x.x. Your Convox CLI version is: 3.3.4'
|
31
59
|
)
|
32
60
|
expect(req.logger).to receive(:error).with(
|
33
|
-
|
61
|
+
'Please follow the instructions here to downgrade your ' \
|
62
|
+
'Convox CLI version: https://docsv2.convox.com/introduction/installation'
|
34
63
|
)
|
35
64
|
|
36
65
|
req.ensure_requirements!
|
37
66
|
end
|
38
67
|
end
|
39
68
|
|
40
|
-
context
|
41
|
-
it
|
69
|
+
context 'with one missing packages' do
|
70
|
+
it 'shows the correct error message and quit' do
|
42
71
|
expect(OS).to receive(:mac?).and_return(true)
|
43
72
|
|
44
|
-
req =
|
45
|
-
expect(req).to receive(:find_command).with(
|
46
|
-
expect(req).to receive(:find_command).with(
|
73
|
+
req = described_class.new
|
74
|
+
expect(req).to receive(:find_command).with('convox').and_return(false)
|
75
|
+
expect(req).to receive(:find_command).with('aws').and_return(true)
|
47
76
|
expect(req).to receive(:quit!)
|
48
77
|
|
49
78
|
expect(req.logger).to receive(:error).with(
|
50
|
-
|
79
|
+
'This script requires the convox and AWS CLI tools.'
|
51
80
|
)
|
52
81
|
expect(req.logger).to receive(:error).with(
|
53
|
-
|
82
|
+
'Please run: brew install convox'
|
54
83
|
)
|
55
84
|
|
56
85
|
req.ensure_requirements!
|
@@ -58,26 +87,26 @@ RSpec.describe ConvoxInstaller::Requirements do
|
|
58
87
|
end
|
59
88
|
end
|
60
89
|
|
61
|
-
context
|
62
|
-
context
|
63
|
-
it
|
90
|
+
context 'with Linux' do
|
91
|
+
context 'with two missing packages' do
|
92
|
+
it 'shows the correct error message and quit' do
|
64
93
|
expect(OS).to receive(:mac?).and_return(false)
|
65
94
|
|
66
|
-
req =
|
67
|
-
expect(req).to receive(:find_command).with(
|
68
|
-
expect(req).to receive(:find_command).with(
|
95
|
+
req = described_class.new
|
96
|
+
expect(req).to receive(:find_command).with('convox').and_return(false)
|
97
|
+
expect(req).to receive(:find_command).with('aws').and_return(false)
|
69
98
|
expect(req).to receive(:quit!)
|
70
99
|
|
71
100
|
expect(req.logger).to receive(:error).with(
|
72
|
-
|
101
|
+
'This script requires the convox and AWS CLI tools.'
|
73
102
|
)
|
74
|
-
expect(req.logger).to receive(:error).with(
|
103
|
+
expect(req.logger).to receive(:error).with('Installation Instructions:')
|
75
104
|
expect(req.logger).to receive(:error).with(
|
76
|
-
|
105
|
+
'* convox: https://docs.convox.com/introduction/installation'
|
77
106
|
)
|
78
107
|
expect(req.logger).to receive(:error).with(
|
79
|
-
|
80
|
-
|
108
|
+
'* aws: https://docs.aws.amazon.com/cli/latest/' \
|
109
|
+
'userguide/cli-chap-install.html'
|
81
110
|
)
|
82
111
|
|
83
112
|
req.ensure_requirements!
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,85 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: convox_installer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Form Applications Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.2.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 5.2.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: highline
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.7.10
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 1.7.10
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: httparty
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.17.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.17.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: json
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 2.2.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 2.2.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: os
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.0.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 1.0.1
|
83
83
|
description: Build a Convox installation workflow
|
84
84
|
email:
|
85
85
|
- support@formapi.io
|
@@ -112,7 +112,8 @@ files:
|
|
112
112
|
homepage: https://github.com/FormAPI/convox_installer
|
113
113
|
licenses:
|
114
114
|
- MIT
|
115
|
-
metadata:
|
115
|
+
metadata:
|
116
|
+
rubygems_mfa_required: 'true'
|
116
117
|
post_install_message:
|
117
118
|
rdoc_options: []
|
118
119
|
require_paths:
|
@@ -121,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
122
|
requirements:
|
122
123
|
- - ">="
|
123
124
|
- !ruby/object:Gem::Version
|
124
|
-
version: '2.
|
125
|
+
version: '2.5'
|
125
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
127
|
requirements:
|
127
128
|
- - ">="
|