orchestration 0.6.12 → 0.7.0
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/.gitignore +4 -0
- data/.strong_versions.yml +1 -0
- data/README.md +29 -12
- data/lib/orchestration/docker_compose/app_service.rb +1 -1
- data/lib/orchestration/docker_compose/compose_configuration.rb +1 -1
- data/lib/orchestration/environment.rb +3 -3
- data/lib/orchestration/file_helpers.rb +4 -4
- data/lib/orchestration/install_generator.rb +5 -16
- data/lib/orchestration/make/orchestration.mk +18 -28
- data/lib/orchestration/make.rb +0 -2
- data/lib/orchestration/services/database/configuration.rb +5 -5
- data/lib/orchestration/services/mixins/configuration_base.rb +1 -1
- data/lib/orchestration/services/mixins/http_healthcheck.rb +1 -1
- data/lib/orchestration/services/mongo/configuration.rb +1 -1
- data/lib/orchestration/templates/rabbitmq.yml.erb +1 -1
- data/lib/orchestration/terminal.rb +1 -6
- data/lib/orchestration/version.rb +1 -1
- data/lib/orchestration.rb +19 -58
- data/lib/tasks/orchestration.rake +1 -4
- data/orchestration.gemspec +21 -23
- metadata +46 -76
- data/.ruby-version +0 -1
- data/Gemfile.lock +0 -275
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7891efd1c4930036b2245fad46bc9bc78c0de97b3c2cce26ede48d5a6de34a2c
|
4
|
+
data.tar.gz: c56d7d3193fd6cafe76dc823924bcc1ba74fda288090d1424bfdce148789cb51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c82db0ac9646d8b93ad2ef72cff3216106e8558f670c086cd0647f5496559f0a0c32309b8e2680323e627345a9f6da9f2745d4d67a5a1d8d1e7a56d2fc91417c
|
7
|
+
data.tar.gz: c0fc26b8ea7f66f7a50b52de3991fe5f4a99ec73b9186312e397fce229c184f8bdf8182d8bca991a79cb5b95f24ed3ce1907048bf27dceff482437129ce18ad4
|
data/.gitignore
CHANGED
data/.strong_versions.yml
CHANGED
data/README.md
CHANGED
@@ -26,10 +26,18 @@ The below screenshot demonstrates _Orchestration_ being installed in a brand new
|
|
26
26
|
|
27
27
|
### Install
|
28
28
|
|
29
|
-
Add _Orchestration_ to your Gemfile
|
29
|
+
Add _Orchestration_ to your `Gemfile`:
|
30
|
+
|
31
|
+
_Ruby 3.x_:
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
gem 'orchestration', '~> 0.7.0'
|
35
|
+
```
|
36
|
+
|
37
|
+
_Ruby 2.x_:
|
30
38
|
|
31
39
|
```ruby
|
32
|
-
gem 'orchestration', '~> 0.6.
|
40
|
+
gem 'orchestration', '~> 0.6.6'
|
33
41
|
```
|
34
42
|
|
35
43
|
Install:
|
@@ -52,12 +60,6 @@ To rebuild all build-out at any time, pass `force=yes` to the above install comm
|
|
52
60
|
|
53
61
|
You will be prompted to enter values for your _Docker_ organisation and repository name. For example, the _organisation_ and _repository_ for https://hub.docker.com/r/rubyorchestration/sampleapp are `rubyorchestration` and `sampleapp` respectively. If you are unsure of these values, they can be modified later by editing `.orchestration.yml` in the root of your project directory.
|
54
62
|
|
55
|
-
Override these values from the command line by passing `project` and `organization` variables:
|
56
|
-
|
57
|
-
```bash
|
58
|
-
rake orchestration:install project=myapp organization=myorg
|
59
|
-
```
|
60
|
-
|
61
63
|
#### Configuration files
|
62
64
|
|
63
65
|
_Orchestration_ generates the following files where appropriate. Backups are created if a file is replaced.
|
@@ -163,15 +165,30 @@ make push
|
|
163
165
|
|
164
166
|
### Development
|
165
167
|
|
166
|
-
|
168
|
+
An [`.env` file](https://docs.docker.com/compose/env-file/) is created automatically in your project root. This file is _not_ stored in version control. Set all application environment variables in this file.
|
167
169
|
|
168
170
|
#### Launching a development server
|
169
171
|
|
170
|
-
|
172
|
+
To load all variables from `.env` and launch a development server, run the following command:
|
171
173
|
|
172
174
|
```bash
|
173
|
-
|
174
|
-
|
175
|
+
make serve
|
176
|
+
```
|
177
|
+
|
178
|
+
To load a _Rails_ console:
|
179
|
+
```bash
|
180
|
+
make console
|
181
|
+
```
|
182
|
+
|
183
|
+
The application environment will be output on launch for convenience.
|
184
|
+
|
185
|
+
To pass extra commands to the _Rails_ server:
|
186
|
+
```bash
|
187
|
+
# Custom server, custom port
|
188
|
+
make serve server='webrick -p 3001'
|
189
|
+
|
190
|
+
# Default server, custom port, custom bind address
|
191
|
+
make serve server='-p 3001 -b 192.168.0.1'
|
175
192
|
```
|
176
193
|
|
177
194
|
### Testing
|
@@ -9,7 +9,7 @@ module Orchestration
|
|
9
9
|
def environment
|
10
10
|
return @environment unless @environment.nil?
|
11
11
|
|
12
|
-
ENV.fetch('RAILS_ENV')
|
12
|
+
ENV.fetch('RAILS_ENV', nil) || ENV.fetch('RACK_ENV', nil) || 'development'
|
13
13
|
end
|
14
14
|
|
15
15
|
def web_server
|
@@ -20,9 +20,9 @@ module Orchestration
|
|
20
20
|
def database_url
|
21
21
|
case environment
|
22
22
|
when 'development'
|
23
|
-
ENV.fetch('DEVELOPMENT_DATABASE_URL')
|
23
|
+
ENV.fetch('DEVELOPMENT_DATABASE_URL', nil) || ENV.fetch('DATABASE_URL', nil)
|
24
24
|
when 'test'
|
25
|
-
ENV.fetch('TEST_DATABASE_URL')
|
25
|
+
ENV.fetch('TEST_DATABASE_URL', nil) || ENV.fetch('DATABASE_URL', nil)
|
26
26
|
else
|
27
27
|
ENV.fetch('DATABASE_URL', nil)
|
28
28
|
end
|
@@ -6,7 +6,7 @@ module Orchestration
|
|
6
6
|
|
7
7
|
def orchestration_dir
|
8
8
|
path = @env.orchestration_root
|
9
|
-
FileUtils.
|
9
|
+
FileUtils.mkdir(path) unless Dir.exist?(path)
|
10
10
|
|
11
11
|
path
|
12
12
|
end
|
@@ -95,9 +95,9 @@ module Orchestration
|
|
95
95
|
end
|
96
96
|
|
97
97
|
def ensure_line_in_file(path, line, echo: true, regex: nil)
|
98
|
-
return if line_in_file?(path, line
|
98
|
+
return if line_in_file?(path, line:, regex:)
|
99
99
|
|
100
|
-
append_file(path, "\n#{line.chomp}\n", echo:
|
100
|
+
append_file(path, "\n#{line.chomp}\n", echo:)
|
101
101
|
true
|
102
102
|
end
|
103
103
|
|
@@ -131,7 +131,7 @@ module Orchestration
|
|
131
131
|
|
132
132
|
def force?
|
133
133
|
# Rake task was invoked with `force=yes`
|
134
|
-
ENV
|
134
|
+
ENV.fetch('force', nil) == 'yes'
|
135
135
|
end
|
136
136
|
end
|
137
137
|
end
|
@@ -17,8 +17,10 @@ module Orchestration
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def orchestration_configuration
|
20
|
-
|
21
|
-
|
20
|
+
path = @env.orchestration_configuration_path
|
21
|
+
@terminal.ask_setting('docker.organization')
|
22
|
+
@terminal.ask_setting('docker.repository', @env.default_app_name)
|
23
|
+
relpath = relative_path(path)
|
22
24
|
return @terminal.write(:create, relpath) unless @settings.exist? || force?
|
23
25
|
return @terminal.write(:update, relpath) if @settings.dirty?
|
24
26
|
|
@@ -66,7 +68,7 @@ module Orchestration
|
|
66
68
|
path = @env.root.join('config', 'unicorn.rb')
|
67
69
|
create_file(path, content, backup: true)
|
68
70
|
regex = /gem\s+['"]unicorn['"]/
|
69
|
-
ensure_line_in_file(gemfile_path, "gem 'unicorn'", regex:
|
71
|
+
ensure_line_in_file(gemfile_path, "gem 'unicorn'", regex:)
|
70
72
|
end
|
71
73
|
|
72
74
|
def database_yml
|
@@ -147,19 +149,6 @@ module Orchestration
|
|
147
149
|
healthcheck: DockerCompose::AppService.healthcheck
|
148
150
|
)
|
149
151
|
end
|
150
|
-
|
151
|
-
def configure_orchestration_settings
|
152
|
-
@terminal.ask_setting(
|
153
|
-
'docker.organization',
|
154
|
-
override: ENV.fetch('organization', nil)
|
155
|
-
)
|
156
|
-
|
157
|
-
@terminal.ask_setting(
|
158
|
-
'docker.repository',
|
159
|
-
default: @env.default_app_name,
|
160
|
-
override: ENV.fetch('project', nil)
|
161
|
-
)
|
162
|
-
end
|
163
152
|
end
|
164
153
|
# rubocop:enable Metrics/ClassLength
|
165
154
|
end
|
@@ -2,8 +2,7 @@
|
|
2
2
|
### Environment setup ###
|
3
3
|
SHELL:=/bin/bash
|
4
4
|
MAKE:=mkpath=${mkpath} make --no-print-directory
|
5
|
-
|
6
|
-
export
|
5
|
+
|
7
6
|
TERM ?= 'dumb'
|
8
7
|
pwd:=$(shell pwd)
|
9
8
|
|
@@ -53,14 +52,14 @@ println=$(call print,$1'\n')
|
|
53
52
|
printraw=printf $1
|
54
53
|
stdout=${pwd}/log/orchestration.stdout.log
|
55
54
|
stderr=${pwd}/log/orchestration.stderr.log
|
56
|
-
log_path_length
|
55
|
+
log_path_length=$(shell echo "${stdout}" | wc -c)
|
57
56
|
ifndef verbose
|
58
57
|
log_tee:= 2>&1 | tee -a ${stdout}
|
59
58
|
log:= >>${stdout} 2>>${stderr}
|
60
59
|
progress_point:=perl -e 'printf("[${magenta}busy${reset}] "); while( my $$line = <STDIN> ) { printf("."); select()->flush(); }'
|
61
60
|
log_progress:= > >(tee -ai ${stdout} >&1 | ${progress_point}) 2> >(tee -ai ${stderr} 2>&1 | ${progress_point})
|
62
61
|
endif
|
63
|
-
hr
|
62
|
+
hr=$(call println,"$1$(shell head -c ${log_path_length} < /dev/zero | tr '\0' '=')${reset}")
|
64
63
|
managed_env_tag:=\# -|- ORCHESTRATION
|
65
64
|
standard_env_path:=${pwd}/.env
|
66
65
|
backup_env_path:=${pwd}/.env.orchestration.backup
|
@@ -108,9 +107,7 @@ endif
|
|
108
107
|
ifneq (${env},test)
|
109
108
|
ifeq (,$(findstring test,$(MAKECMDGOALS)))
|
110
109
|
ifeq (,$(findstring deploy,$(MAKECMDGOALS)))
|
111
|
-
|
112
|
-
-include ${env_path}
|
113
|
-
endif
|
110
|
+
-include ${env_path}
|
114
111
|
endif
|
115
112
|
endif
|
116
113
|
endif
|
@@ -125,9 +122,7 @@ ifneq (,$(findstring test,$(MAKECMDGOALS)))
|
|
125
122
|
env=test
|
126
123
|
endif
|
127
124
|
|
128
|
-
ifneq (,$(
|
129
|
-
env=$(RAILS_ENV)
|
130
|
-
else ifneq (,$(env))
|
125
|
+
ifneq (,$(env))
|
131
126
|
# `env` set by current shell.
|
132
127
|
else ifneq (,$(RAILS_ENV))
|
133
128
|
env=$(RAILS_ENV)
|
@@ -143,7 +138,7 @@ DOCKER_TAG ?= latest
|
|
143
138
|
ifneq (,$(wildcard ./Gemfile))
|
144
139
|
bundle_cmd = bundle exec
|
145
140
|
endif
|
146
|
-
rake=
|
141
|
+
rake=DEVPACK_DISABLE=1 RACK_ENV=${env} SECRET_KEY_BASE='placeholder-secret' RAILS_ENV=${env} ${bundle_cmd} rake
|
147
142
|
|
148
143
|
ifneq (,$(wildcard ${env_file}))
|
149
144
|
ifeq (,$(findstring deploy,$(MAKECMDGOALS)))
|
@@ -190,7 +185,7 @@ else
|
|
190
185
|
compose_project_name = ${project_base}
|
191
186
|
endif
|
192
187
|
|
193
|
-
compose_base
|
188
|
+
compose_base=env -i \
|
194
189
|
PATH=$(PATH) \
|
195
190
|
HOST_UID=$(shell id -u) \
|
196
191
|
DOCKER_ORGANIZATION="${docker_organization}" \
|
@@ -200,14 +195,14 @@ compose_base:=env -i \
|
|
200
195
|
docker-compose \
|
201
196
|
-f ${orchestration_dir}/docker-compose.${env}.yml
|
202
197
|
|
203
|
-
git_branch
|
198
|
+
git_branch ?= $(if $(branch),$(branch),$(shell git rev-parse --abbrev-ref HEAD 2>/dev/null || echo no-branch))
|
204
199
|
ifndef dev
|
205
|
-
git_version
|
200
|
+
git_version ?= $(shell git rev-parse --short --verify ${git_branch} 2>/dev/null || echo no-version)
|
206
201
|
else
|
207
|
-
git_version
|
202
|
+
git_version = dev
|
208
203
|
endif
|
209
204
|
|
210
|
-
docker_image
|
205
|
+
docker_image=${docker_organization}/${docker_repository}:${git_version}
|
211
206
|
|
212
207
|
compose=${compose_base}
|
213
208
|
compose_human=docker-compose -f ${orchestration_dir_name}/docker-compose.${env}.yml
|
@@ -221,16 +216,11 @@ all: build
|
|
221
216
|
|
222
217
|
### Container management commands ###
|
223
218
|
|
224
|
-
.PHONY: pull
|
225
|
-
pull:
|
226
|
-
@$(call system,${compose_human} pull)
|
227
|
-
@${compose} pull
|
228
|
-
|
229
219
|
.PHONY: start
|
230
220
|
ifndef network
|
231
221
|
start: network := ${compose_project_name}
|
232
222
|
endif
|
233
|
-
start: _create-log-directory _clean-logs
|
223
|
+
start: _create-log-directory _clean-logs
|
234
224
|
ifneq (,${compose_services})
|
235
225
|
@$(call system,${compose_human} up --detach)
|
236
226
|
ifeq (${env},$(filter ${env},test development))
|
@@ -315,7 +305,7 @@ db-console:
|
|
315
305
|
|
316
306
|
.PHONY: setup
|
317
307
|
ifneq (,$(wildcard config/database.yml))
|
318
|
-
setup: url
|
308
|
+
setup: url = $(shell ${rake} orchestration:db:url RAILS_ENV=${env} 2>/dev/null)
|
319
309
|
endif
|
320
310
|
setup: _log-notify
|
321
311
|
@$(call echo,Setting up ${env_human} environment)
|
@@ -323,16 +313,16 @@ setup: _log-notify
|
|
323
313
|
ifneq (,$(wildcard config/database.yml))
|
324
314
|
@$(call echo,Preparing ${env_human} database)
|
325
315
|
@$(call system,rake db:create RAILS_ENV="${env}")
|
326
|
-
@${rake} db:create RAILS_ENV=${env}
|
316
|
+
@${rake} db:create RAILS_ENV=${env} ${log} || : ${log}
|
327
317
|
ifneq (,$(wildcard db/structure.sql))
|
328
|
-
@$(call system,rake db:structure:load RAILS_ENV="${env}"
|
318
|
+
@$(call system,rake db:structure:load RAILS_ENV="${env}" DATABASE_URL="${url}")
|
329
319
|
@${rake} db:structure:load RAILS_ENV="${env}" DATABASE_URL='${url}' ${log} || ${exit_fail}
|
330
320
|
else ifneq (,$(wildcard db/schema.rb))
|
331
|
-
@$(call system,rake db:schema:load RAILS_ENV="${env}"
|
321
|
+
@$(call system,rake db:schema:load RAILS_ENV="${env}" DATABASE_URL="${url}")
|
332
322
|
@${rake} db:schema:load RAILS_ENV="${env}" DATABASE_URL='${url}' ${log} || ${exit_fail}
|
333
323
|
endif
|
334
|
-
@$(call system,rake db:migrate RAILS_ENV="${env}"
|
335
|
-
@${rake} db:migrate RAILS_ENV
|
324
|
+
@$(call system,rake db:migrate RAILS_ENV="${env}" DATABASE_URL="${url}")
|
325
|
+
@${rake} db:migrate RAILS_ENV=${env} ${log} || ${exit_fail}
|
336
326
|
endif
|
337
327
|
@if $(MAKE) -n post-setup >/dev/null 2>&1; then \
|
338
328
|
$(call system,make post-setup RAILS_ENV="${env}") \
|
data/lib/orchestration/make.rb
CHANGED
@@ -21,10 +21,10 @@ module Orchestration
|
|
21
21
|
def settings(healthcheck: false)
|
22
22
|
{
|
23
23
|
adapter: adapter.name,
|
24
|
-
host
|
25
|
-
port
|
26
|
-
username
|
27
|
-
password
|
24
|
+
host:,
|
25
|
+
port:,
|
26
|
+
username:,
|
27
|
+
password:,
|
28
28
|
database: healthcheck ? adapter.credentials['database'] : database
|
29
29
|
}.transform_keys(&:to_s)
|
30
30
|
end
|
@@ -64,7 +64,7 @@ module Orchestration
|
|
64
64
|
return {} unless File.exist?(database_configuration_path) || custom?
|
65
65
|
|
66
66
|
yaml = ERB.new(File.read(database_configuration_path)).result
|
67
|
-
YAML.safe_load(yaml,
|
67
|
+
YAML.safe_load(yaml, aliases: true)[@env.environment] || {}
|
68
68
|
end
|
69
69
|
|
70
70
|
def url_config
|
@@ -64,7 +64,7 @@ module Orchestration
|
|
64
64
|
return {} unless File.exist?(@env.mongoid_configuration_path)
|
65
65
|
|
66
66
|
yaml = File.read(@env.mongoid_configuration_path)
|
67
|
-
config = YAML.safe_load(yaml,
|
67
|
+
config = YAML.safe_load(yaml, aliases: true)
|
68
68
|
env = config.fetch(@env.environment, nil)
|
69
69
|
return {} if env.nil?
|
70
70
|
|
@@ -39,19 +39,14 @@ module Orchestration
|
|
39
39
|
result
|
40
40
|
end
|
41
41
|
|
42
|
-
def ask_setting(setting, default
|
42
|
+
def ask_setting(setting, default = nil)
|
43
43
|
return unless @settings.get(setting).nil?
|
44
|
-
return @settings.set(setting, override) unless override.nil?
|
45
44
|
|
46
45
|
write(:setup, t("settings.#{setting}.description"))
|
47
46
|
prompt = t("settings.#{setting}.prompt")
|
48
47
|
@settings.set(setting, read(prompt, default))
|
49
48
|
end
|
50
49
|
|
51
|
-
def print_variable(variable, value)
|
52
|
-
$stderr.print "#{Paint[variable, :blue]}#{Paint['=', :white]}#{Paint[value, :cyan]}"
|
53
|
-
end
|
54
|
-
|
55
50
|
private
|
56
51
|
|
57
52
|
def prompt(message, default)
|
data/lib/orchestration.rb
CHANGED
@@ -33,67 +33,28 @@ require 'orchestration/terminal'
|
|
33
33
|
require 'orchestration/version'
|
34
34
|
|
35
35
|
module Orchestration
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
end
|
40
|
-
|
41
|
-
def makefile
|
42
|
-
root.join('lib', 'orchestration', 'make', 'orchestration.mk')
|
43
|
-
end
|
44
|
-
|
45
|
-
def rakefile
|
46
|
-
root.join('lib', 'Rakefile')
|
47
|
-
end
|
48
|
-
|
49
|
-
def error(key, options = {})
|
50
|
-
warn('# Orchestration Error')
|
51
|
-
warn("# #{I18n.t("orchestration.#{key}", options)}")
|
52
|
-
end
|
53
|
-
|
54
|
-
def random_local_port
|
55
|
-
socket = Socket.new(:INET, :STREAM, 0)
|
56
|
-
socket.bind(Addrinfo.tcp('127.0.0.1', 0))
|
57
|
-
port = socket.local_address.ip_port
|
58
|
-
socket.close
|
59
|
-
port
|
60
|
-
end
|
61
|
-
|
62
|
-
def print_environment
|
63
|
-
return unless File.exist?('.env')
|
64
|
-
|
65
|
-
$stderr.puts
|
66
|
-
warn("#{prefix} #{Paint['Loading environment from', :cyan]} #{Paint['.env', :green]}")
|
67
|
-
$stderr.puts
|
68
|
-
environment_variables.each do |variable, value|
|
69
|
-
terminal.print_variable(variable, value)
|
70
|
-
end
|
71
|
-
$stderr.puts
|
72
|
-
end
|
73
|
-
|
74
|
-
private
|
36
|
+
def self.root
|
37
|
+
Pathname.new(File.dirname(__dir__))
|
38
|
+
end
|
75
39
|
|
76
|
-
|
77
|
-
|
78
|
-
|
40
|
+
def self.makefile
|
41
|
+
root.join('lib', 'orchestration', 'make', 'orchestration.mk')
|
42
|
+
end
|
79
43
|
|
80
|
-
|
81
|
-
|
82
|
-
|
44
|
+
def self.rakefile
|
45
|
+
root.join('lib', 'Rakefile')
|
46
|
+
end
|
83
47
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
.map do |line|
|
88
|
-
variable, _, value = line.partition('=')
|
89
|
-
[variable, value]
|
90
|
-
end
|
91
|
-
end
|
48
|
+
def self.error(key, options = {})
|
49
|
+
warn('# Orchestration Error')
|
50
|
+
warn("# #{I18n.t("orchestration.#{key}", options)}")
|
92
51
|
end
|
93
|
-
end
|
94
52
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
53
|
+
def self.random_local_port
|
54
|
+
socket = Socket.new(:INET, :STREAM, 0)
|
55
|
+
socket.bind(Addrinfo.tcp('127.0.0.1', 0))
|
56
|
+
port = socket.local_address.ip_port
|
57
|
+
socket.close
|
58
|
+
port
|
59
|
+
end
|
99
60
|
end
|
@@ -110,9 +110,6 @@ post-setup:
|
|
110
110
|
namespace :db do
|
111
111
|
desc I18n.t('orchestration.rake.db.url')
|
112
112
|
task :url do
|
113
|
-
ENV['DATABASE_URL'] = nil
|
114
|
-
ENV['DEVELOPMENT_DATABASE_URL'] = nil
|
115
|
-
ENV['TEST_DATABASE_URL'] = nil
|
116
113
|
config = Rails.application.config_for(:database).transform_keys(&:to_sym)
|
117
114
|
|
118
115
|
if config[:adapter] == 'sqlite3'
|
@@ -127,7 +124,7 @@ post-setup:
|
|
127
124
|
desc I18n.t('orchestration.rake.db.console')
|
128
125
|
task :console do
|
129
126
|
env = Orchestration::Environment.new
|
130
|
-
options = ENV['db'] ? { config_path: "config/database.#{ENV
|
127
|
+
options = ENV['db'] ? { config_path: "config/database.#{ENV.fetch('db', nil)}.yml" } : {}
|
131
128
|
sh Orchestration::Services::Database::Configuration.new(env, nil, options).console_command
|
132
129
|
end
|
133
130
|
end
|
data/orchestration.gemspec
CHANGED
@@ -22,35 +22,33 @@ Gem::Specification.new do |spec|
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
spec.required_ruby_version = '>=
|
25
|
+
spec.required_ruby_version = '>= 3.1'
|
26
26
|
spec.bindir = 'bin'
|
27
27
|
spec.executables = []
|
28
28
|
spec.require_paths = ['lib']
|
29
29
|
|
30
30
|
spec.add_runtime_dependency 'database_url', '~> 0.1.2'
|
31
|
-
spec.add_runtime_dependency 'dotenv-rails', '~> 2.8'
|
32
31
|
spec.add_runtime_dependency 'erubis', '~> 2.7'
|
33
|
-
spec.add_runtime_dependency 'i18n'
|
34
|
-
spec.add_runtime_dependency 'paint', '~> 2.
|
35
|
-
spec.add_runtime_dependency 'rails', '>=
|
36
|
-
spec.add_runtime_dependency 'thor', '~> 1.
|
32
|
+
spec.add_runtime_dependency 'i18n'
|
33
|
+
spec.add_runtime_dependency 'paint', '~> 2.2'
|
34
|
+
spec.add_runtime_dependency 'rails', '>= 6.1'
|
35
|
+
spec.add_runtime_dependency 'thor', '~> 1.2'
|
37
36
|
|
38
|
-
spec.add_development_dependency 'activerecord', '
|
39
|
-
spec.add_development_dependency '
|
40
|
-
spec.add_development_dependency '
|
41
|
-
spec.add_development_dependency '
|
42
|
-
spec.add_development_dependency '
|
43
|
-
spec.add_development_dependency '
|
44
|
-
spec.add_development_dependency '
|
45
|
-
spec.add_development_dependency '
|
46
|
-
spec.add_development_dependency '
|
47
|
-
spec.add_development_dependency 'rspec', '~> 3
|
48
|
-
spec.add_development_dependency '
|
49
|
-
spec.add_development_dependency 'rubocop', '~>
|
50
|
-
spec.add_development_dependency 'rubocop-
|
51
|
-
spec.add_development_dependency 'rubocop-
|
52
|
-
spec.add_development_dependency '
|
53
|
-
spec.add_development_dependency 'sqlite3', '~> 1.3'
|
37
|
+
spec.add_development_dependency 'activerecord', '>= 6.0'
|
38
|
+
spec.add_development_dependency 'bunny', '~> 2.19'
|
39
|
+
spec.add_development_dependency 'devpack', '~> 0.4.0'
|
40
|
+
spec.add_development_dependency 'mongoid', '~> 7.4'
|
41
|
+
spec.add_development_dependency 'mysql2', '~> 0.5.3'
|
42
|
+
spec.add_development_dependency 'pg', '~> 1.3'
|
43
|
+
spec.add_development_dependency 'rails'
|
44
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
45
|
+
spec.add_development_dependency 'rspec', '~> 3.11'
|
46
|
+
spec.add_development_dependency 'rspec-its', '~> 1.3'
|
47
|
+
spec.add_development_dependency 'rubocop', '~> 1.28'
|
48
|
+
spec.add_development_dependency 'rubocop-rails', '~> 2.14'
|
49
|
+
spec.add_development_dependency 'rubocop-rake', '~> 0.6.0'
|
50
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 2.10'
|
51
|
+
spec.add_development_dependency 'sqlite3', '~> 1.4'
|
54
52
|
spec.add_development_dependency 'strong_versions', '~> 0.4.5'
|
55
|
-
spec.add_development_dependency 'webmock', '~> 3.
|
53
|
+
spec.add_development_dependency 'webmock', '~> 3.14'
|
56
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orchestration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Farrell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: database_url
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.1.2
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: dotenv-rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '2.8'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.8'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: erubis
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,280 +44,266 @@ dependencies:
|
|
58
44
|
requirements:
|
59
45
|
- - ">="
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
47
|
+
version: '0'
|
62
48
|
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - ">="
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0
|
54
|
+
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: paint
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2.
|
61
|
+
version: '2.2'
|
76
62
|
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '2.
|
68
|
+
version: '2.2'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rails
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - ">="
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
75
|
+
version: '6.1'
|
90
76
|
type: :runtime
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
80
|
- - ">="
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
82
|
+
version: '6.1'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: thor
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
87
|
- - "~>"
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version: '1.
|
89
|
+
version: '1.2'
|
104
90
|
type: :runtime
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
94
|
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version: '1.
|
96
|
+
version: '1.2'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: activerecord
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- - "
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '6.0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
|
-
- - "
|
108
|
+
- - ">="
|
123
109
|
- !ruby/object:Gem::Version
|
124
110
|
version: '6.0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: activerecord-postgis-adapter
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '7.1'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '7.1'
|
139
111
|
- !ruby/object:Gem::Dependency
|
140
112
|
name: bunny
|
141
113
|
requirement: !ruby/object:Gem::Requirement
|
142
114
|
requirements:
|
143
115
|
- - "~>"
|
144
116
|
- !ruby/object:Gem::Version
|
145
|
-
version: '2.
|
117
|
+
version: '2.19'
|
146
118
|
type: :development
|
147
119
|
prerelease: false
|
148
120
|
version_requirements: !ruby/object:Gem::Requirement
|
149
121
|
requirements:
|
150
122
|
- - "~>"
|
151
123
|
- !ruby/object:Gem::Version
|
152
|
-
version: '2.
|
124
|
+
version: '2.19'
|
153
125
|
- !ruby/object:Gem::Dependency
|
154
126
|
name: devpack
|
155
127
|
requirement: !ruby/object:Gem::Requirement
|
156
128
|
requirements:
|
157
129
|
- - "~>"
|
158
130
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.
|
131
|
+
version: 0.4.0
|
160
132
|
type: :development
|
161
133
|
prerelease: false
|
162
134
|
version_requirements: !ruby/object:Gem::Requirement
|
163
135
|
requirements:
|
164
136
|
- - "~>"
|
165
137
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.
|
138
|
+
version: 0.4.0
|
167
139
|
- !ruby/object:Gem::Dependency
|
168
140
|
name: mongoid
|
169
141
|
requirement: !ruby/object:Gem::Requirement
|
170
142
|
requirements:
|
171
143
|
- - "~>"
|
172
144
|
- !ruby/object:Gem::Version
|
173
|
-
version: '7.
|
145
|
+
version: '7.4'
|
174
146
|
type: :development
|
175
147
|
prerelease: false
|
176
148
|
version_requirements: !ruby/object:Gem::Requirement
|
177
149
|
requirements:
|
178
150
|
- - "~>"
|
179
151
|
- !ruby/object:Gem::Version
|
180
|
-
version: '7.
|
152
|
+
version: '7.4'
|
181
153
|
- !ruby/object:Gem::Dependency
|
182
154
|
name: mysql2
|
183
155
|
requirement: !ruby/object:Gem::Requirement
|
184
156
|
requirements:
|
185
157
|
- - "~>"
|
186
158
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.5.
|
159
|
+
version: 0.5.3
|
188
160
|
type: :development
|
189
161
|
prerelease: false
|
190
162
|
version_requirements: !ruby/object:Gem::Requirement
|
191
163
|
requirements:
|
192
164
|
- - "~>"
|
193
165
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.5.
|
166
|
+
version: 0.5.3
|
195
167
|
- !ruby/object:Gem::Dependency
|
196
168
|
name: pg
|
197
169
|
requirement: !ruby/object:Gem::Requirement
|
198
170
|
requirements:
|
199
171
|
- - "~>"
|
200
172
|
- !ruby/object:Gem::Version
|
201
|
-
version: '1.
|
173
|
+
version: '1.3'
|
202
174
|
type: :development
|
203
175
|
prerelease: false
|
204
176
|
version_requirements: !ruby/object:Gem::Requirement
|
205
177
|
requirements:
|
206
178
|
- - "~>"
|
207
179
|
- !ruby/object:Gem::Version
|
208
|
-
version: '1.
|
180
|
+
version: '1.3'
|
209
181
|
- !ruby/object:Gem::Dependency
|
210
182
|
name: rails
|
211
183
|
requirement: !ruby/object:Gem::Requirement
|
212
184
|
requirements:
|
213
|
-
- - "
|
185
|
+
- - ">="
|
214
186
|
- !ruby/object:Gem::Version
|
215
|
-
version: '
|
187
|
+
version: '0'
|
216
188
|
type: :development
|
217
189
|
prerelease: false
|
218
190
|
version_requirements: !ruby/object:Gem::Requirement
|
219
191
|
requirements:
|
220
|
-
- - "
|
192
|
+
- - ">="
|
221
193
|
- !ruby/object:Gem::Version
|
222
|
-
version: '
|
194
|
+
version: '0'
|
223
195
|
- !ruby/object:Gem::Dependency
|
224
196
|
name: rake
|
225
197
|
requirement: !ruby/object:Gem::Requirement
|
226
198
|
requirements:
|
227
199
|
- - "~>"
|
228
200
|
- !ruby/object:Gem::Version
|
229
|
-
version: '
|
201
|
+
version: '13.0'
|
230
202
|
type: :development
|
231
203
|
prerelease: false
|
232
204
|
version_requirements: !ruby/object:Gem::Requirement
|
233
205
|
requirements:
|
234
206
|
- - "~>"
|
235
207
|
- !ruby/object:Gem::Version
|
236
|
-
version: '
|
208
|
+
version: '13.0'
|
237
209
|
- !ruby/object:Gem::Dependency
|
238
210
|
name: rspec
|
239
211
|
requirement: !ruby/object:Gem::Requirement
|
240
212
|
requirements:
|
241
213
|
- - "~>"
|
242
214
|
- !ruby/object:Gem::Version
|
243
|
-
version: '3.
|
215
|
+
version: '3.11'
|
244
216
|
type: :development
|
245
217
|
prerelease: false
|
246
218
|
version_requirements: !ruby/object:Gem::Requirement
|
247
219
|
requirements:
|
248
220
|
- - "~>"
|
249
221
|
- !ruby/object:Gem::Version
|
250
|
-
version: '3.
|
222
|
+
version: '3.11'
|
251
223
|
- !ruby/object:Gem::Dependency
|
252
224
|
name: rspec-its
|
253
225
|
requirement: !ruby/object:Gem::Requirement
|
254
226
|
requirements:
|
255
227
|
- - "~>"
|
256
228
|
- !ruby/object:Gem::Version
|
257
|
-
version: '1.
|
229
|
+
version: '1.3'
|
258
230
|
type: :development
|
259
231
|
prerelease: false
|
260
232
|
version_requirements: !ruby/object:Gem::Requirement
|
261
233
|
requirements:
|
262
234
|
- - "~>"
|
263
235
|
- !ruby/object:Gem::Version
|
264
|
-
version: '1.
|
236
|
+
version: '1.3'
|
265
237
|
- !ruby/object:Gem::Dependency
|
266
238
|
name: rubocop
|
267
239
|
requirement: !ruby/object:Gem::Requirement
|
268
240
|
requirements:
|
269
241
|
- - "~>"
|
270
242
|
- !ruby/object:Gem::Version
|
271
|
-
version: '1.
|
243
|
+
version: '1.28'
|
272
244
|
type: :development
|
273
245
|
prerelease: false
|
274
246
|
version_requirements: !ruby/object:Gem::Requirement
|
275
247
|
requirements:
|
276
248
|
- - "~>"
|
277
249
|
- !ruby/object:Gem::Version
|
278
|
-
version: '1.
|
250
|
+
version: '1.28'
|
279
251
|
- !ruby/object:Gem::Dependency
|
280
252
|
name: rubocop-rails
|
281
253
|
requirement: !ruby/object:Gem::Requirement
|
282
254
|
requirements:
|
283
255
|
- - "~>"
|
284
256
|
- !ruby/object:Gem::Version
|
285
|
-
version: '2.
|
257
|
+
version: '2.14'
|
286
258
|
type: :development
|
287
259
|
prerelease: false
|
288
260
|
version_requirements: !ruby/object:Gem::Requirement
|
289
261
|
requirements:
|
290
262
|
- - "~>"
|
291
263
|
- !ruby/object:Gem::Version
|
292
|
-
version: '2.
|
264
|
+
version: '2.14'
|
293
265
|
- !ruby/object:Gem::Dependency
|
294
266
|
name: rubocop-rake
|
295
267
|
requirement: !ruby/object:Gem::Requirement
|
296
268
|
requirements:
|
297
269
|
- - "~>"
|
298
270
|
- !ruby/object:Gem::Version
|
299
|
-
version: 0.
|
271
|
+
version: 0.6.0
|
300
272
|
type: :development
|
301
273
|
prerelease: false
|
302
274
|
version_requirements: !ruby/object:Gem::Requirement
|
303
275
|
requirements:
|
304
276
|
- - "~>"
|
305
277
|
- !ruby/object:Gem::Version
|
306
|
-
version: 0.
|
278
|
+
version: 0.6.0
|
307
279
|
- !ruby/object:Gem::Dependency
|
308
280
|
name: rubocop-rspec
|
309
281
|
requirement: !ruby/object:Gem::Requirement
|
310
282
|
requirements:
|
311
283
|
- - "~>"
|
312
284
|
- !ruby/object:Gem::Version
|
313
|
-
version: '2.
|
285
|
+
version: '2.10'
|
314
286
|
type: :development
|
315
287
|
prerelease: false
|
316
288
|
version_requirements: !ruby/object:Gem::Requirement
|
317
289
|
requirements:
|
318
290
|
- - "~>"
|
319
291
|
- !ruby/object:Gem::Version
|
320
|
-
version: '2.
|
292
|
+
version: '2.10'
|
321
293
|
- !ruby/object:Gem::Dependency
|
322
294
|
name: sqlite3
|
323
295
|
requirement: !ruby/object:Gem::Requirement
|
324
296
|
requirements:
|
325
297
|
- - "~>"
|
326
298
|
- !ruby/object:Gem::Version
|
327
|
-
version: '1.
|
299
|
+
version: '1.4'
|
328
300
|
type: :development
|
329
301
|
prerelease: false
|
330
302
|
version_requirements: !ruby/object:Gem::Requirement
|
331
303
|
requirements:
|
332
304
|
- - "~>"
|
333
305
|
- !ruby/object:Gem::Version
|
334
|
-
version: '1.
|
306
|
+
version: '1.4'
|
335
307
|
- !ruby/object:Gem::Dependency
|
336
308
|
name: strong_versions
|
337
309
|
requirement: !ruby/object:Gem::Requirement
|
@@ -352,14 +324,14 @@ dependencies:
|
|
352
324
|
requirements:
|
353
325
|
- - "~>"
|
354
326
|
- !ruby/object:Gem::Version
|
355
|
-
version: '3.
|
327
|
+
version: '3.14'
|
356
328
|
type: :development
|
357
329
|
prerelease: false
|
358
330
|
version_requirements: !ruby/object:Gem::Requirement
|
359
331
|
requirements:
|
360
332
|
- - "~>"
|
361
333
|
- !ruby/object:Gem::Version
|
362
|
-
version: '3.
|
334
|
+
version: '3.14'
|
363
335
|
description: Tools to help launch apps in Docker
|
364
336
|
email:
|
365
337
|
- git@bob.frl
|
@@ -370,11 +342,9 @@ files:
|
|
370
342
|
- ".gitignore"
|
371
343
|
- ".rspec"
|
372
344
|
- ".rubocop.yml"
|
373
|
-
- ".ruby-version"
|
374
345
|
- ".strong_versions.yml"
|
375
346
|
- ".travis.yml"
|
376
347
|
- Gemfile
|
377
|
-
- Gemfile.lock
|
378
348
|
- LICENSE
|
379
349
|
- Makefile
|
380
350
|
- README.md
|
@@ -454,14 +424,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
454
424
|
requirements:
|
455
425
|
- - ">="
|
456
426
|
- !ruby/object:Gem::Version
|
457
|
-
version: '
|
427
|
+
version: '3.1'
|
458
428
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
459
429
|
requirements:
|
460
430
|
- - ">="
|
461
431
|
- !ruby/object:Gem::Version
|
462
432
|
version: '0'
|
463
433
|
requirements: []
|
464
|
-
rubygems_version: 3.
|
434
|
+
rubygems_version: 3.3.7
|
465
435
|
signing_key:
|
466
436
|
specification_version: 4
|
467
437
|
summary: Docker orchestration toolkit
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.6.9
|
data/Gemfile.lock
DELETED
@@ -1,275 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
orchestration (0.6.12)
|
5
|
-
database_url (~> 0.1.2)
|
6
|
-
dotenv-rails (~> 2.8)
|
7
|
-
erubis (~> 2.7)
|
8
|
-
i18n (>= 0.5)
|
9
|
-
paint (~> 2.0)
|
10
|
-
rails (>= 4.1)
|
11
|
-
thor (~> 1.0)
|
12
|
-
|
13
|
-
GEM
|
14
|
-
remote: https://rubygems.org/
|
15
|
-
specs:
|
16
|
-
actioncable (6.1.4.7)
|
17
|
-
actionpack (= 6.1.4.7)
|
18
|
-
activesupport (= 6.1.4.7)
|
19
|
-
nio4r (~> 2.0)
|
20
|
-
websocket-driver (>= 0.6.1)
|
21
|
-
actionmailbox (6.1.4.7)
|
22
|
-
actionpack (= 6.1.4.7)
|
23
|
-
activejob (= 6.1.4.7)
|
24
|
-
activerecord (= 6.1.4.7)
|
25
|
-
activestorage (= 6.1.4.7)
|
26
|
-
activesupport (= 6.1.4.7)
|
27
|
-
mail (>= 2.7.1)
|
28
|
-
actionmailer (6.1.4.7)
|
29
|
-
actionpack (= 6.1.4.7)
|
30
|
-
actionview (= 6.1.4.7)
|
31
|
-
activejob (= 6.1.4.7)
|
32
|
-
activesupport (= 6.1.4.7)
|
33
|
-
mail (~> 2.5, >= 2.5.4)
|
34
|
-
rails-dom-testing (~> 2.0)
|
35
|
-
actionpack (6.1.4.7)
|
36
|
-
actionview (= 6.1.4.7)
|
37
|
-
activesupport (= 6.1.4.7)
|
38
|
-
rack (~> 2.0, >= 2.0.9)
|
39
|
-
rack-test (>= 0.6.3)
|
40
|
-
rails-dom-testing (~> 2.0)
|
41
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
42
|
-
actiontext (6.1.4.7)
|
43
|
-
actionpack (= 6.1.4.7)
|
44
|
-
activerecord (= 6.1.4.7)
|
45
|
-
activestorage (= 6.1.4.7)
|
46
|
-
activesupport (= 6.1.4.7)
|
47
|
-
nokogiri (>= 1.8.5)
|
48
|
-
actionview (6.1.4.7)
|
49
|
-
activesupport (= 6.1.4.7)
|
50
|
-
builder (~> 3.1)
|
51
|
-
erubi (~> 1.4)
|
52
|
-
rails-dom-testing (~> 2.0)
|
53
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
54
|
-
activejob (6.1.4.7)
|
55
|
-
activesupport (= 6.1.4.7)
|
56
|
-
globalid (>= 0.3.6)
|
57
|
-
activemodel (6.1.4.7)
|
58
|
-
activesupport (= 6.1.4.7)
|
59
|
-
activerecord (6.1.4.7)
|
60
|
-
activemodel (= 6.1.4.7)
|
61
|
-
activesupport (= 6.1.4.7)
|
62
|
-
activerecord-postgis-adapter (7.1.1)
|
63
|
-
activerecord (~> 6.1)
|
64
|
-
rgeo-activerecord (~> 7.0.0)
|
65
|
-
activestorage (6.1.4.7)
|
66
|
-
actionpack (= 6.1.4.7)
|
67
|
-
activejob (= 6.1.4.7)
|
68
|
-
activerecord (= 6.1.4.7)
|
69
|
-
activesupport (= 6.1.4.7)
|
70
|
-
marcel (~> 1.0.0)
|
71
|
-
mini_mime (>= 1.1.0)
|
72
|
-
activesupport (6.1.4.7)
|
73
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
74
|
-
i18n (>= 1.6, < 2)
|
75
|
-
minitest (>= 5.1)
|
76
|
-
tzinfo (~> 2.0)
|
77
|
-
zeitwerk (~> 2.3)
|
78
|
-
addressable (2.8.1)
|
79
|
-
public_suffix (>= 2.0.2, < 6.0)
|
80
|
-
amq-protocol (2.3.2)
|
81
|
-
ast (2.4.2)
|
82
|
-
bson (4.15.0)
|
83
|
-
builder (3.2.4)
|
84
|
-
bunny (2.20.1)
|
85
|
-
amq-protocol (~> 2.3, >= 2.3.1)
|
86
|
-
sorted_set (~> 1, >= 1.0.2)
|
87
|
-
concurrent-ruby (1.1.10)
|
88
|
-
crack (0.4.5)
|
89
|
-
rexml
|
90
|
-
crass (1.0.6)
|
91
|
-
database_url (0.1.2)
|
92
|
-
date (3.3.3)
|
93
|
-
devpack (0.3.3)
|
94
|
-
diff-lcs (1.5.0)
|
95
|
-
dotenv (2.8.1)
|
96
|
-
dotenv-rails (2.8.1)
|
97
|
-
dotenv (= 2.8.1)
|
98
|
-
railties (>= 3.2)
|
99
|
-
erubi (1.12.0)
|
100
|
-
erubis (2.7.0)
|
101
|
-
globalid (1.0.0)
|
102
|
-
activesupport (>= 5.0)
|
103
|
-
hashdiff (1.0.1)
|
104
|
-
i18n (1.12.0)
|
105
|
-
concurrent-ruby (~> 1.0)
|
106
|
-
json (2.6.3)
|
107
|
-
loofah (2.19.1)
|
108
|
-
crass (~> 1.0.2)
|
109
|
-
nokogiri (>= 1.5.9)
|
110
|
-
mail (2.8.0)
|
111
|
-
mini_mime (>= 0.1.1)
|
112
|
-
net-imap
|
113
|
-
net-pop
|
114
|
-
net-smtp
|
115
|
-
marcel (1.0.2)
|
116
|
-
method_source (1.0.0)
|
117
|
-
mini_mime (1.1.2)
|
118
|
-
minitest (5.17.0)
|
119
|
-
mongo (2.18.2)
|
120
|
-
bson (>= 4.14.1, < 5.0.0)
|
121
|
-
mongoid (7.5.2)
|
122
|
-
activemodel (>= 5.1, < 7.1, != 7.0.0)
|
123
|
-
mongo (>= 2.10.5, < 3.0.0)
|
124
|
-
ruby2_keywords (~> 0.0.5)
|
125
|
-
mysql2 (0.5.4)
|
126
|
-
net-imap (0.3.4)
|
127
|
-
date
|
128
|
-
net-protocol
|
129
|
-
net-pop (0.1.2)
|
130
|
-
net-protocol
|
131
|
-
net-protocol (0.2.1)
|
132
|
-
timeout
|
133
|
-
net-smtp (0.3.3)
|
134
|
-
net-protocol
|
135
|
-
nio4r (2.5.8)
|
136
|
-
nokogiri (1.13.10-x86_64-linux)
|
137
|
-
racc (~> 1.4)
|
138
|
-
paint (2.3.0)
|
139
|
-
parallel (1.22.1)
|
140
|
-
parser (3.2.0.0)
|
141
|
-
ast (~> 2.4.1)
|
142
|
-
pg (1.4.5)
|
143
|
-
public_suffix (5.0.1)
|
144
|
-
racc (1.6.2)
|
145
|
-
rack (2.2.5)
|
146
|
-
rack-test (2.0.2)
|
147
|
-
rack (>= 1.3)
|
148
|
-
rails (6.1.4.7)
|
149
|
-
actioncable (= 6.1.4.7)
|
150
|
-
actionmailbox (= 6.1.4.7)
|
151
|
-
actionmailer (= 6.1.4.7)
|
152
|
-
actionpack (= 6.1.4.7)
|
153
|
-
actiontext (= 6.1.4.7)
|
154
|
-
actionview (= 6.1.4.7)
|
155
|
-
activejob (= 6.1.4.7)
|
156
|
-
activemodel (= 6.1.4.7)
|
157
|
-
activerecord (= 6.1.4.7)
|
158
|
-
activestorage (= 6.1.4.7)
|
159
|
-
activesupport (= 6.1.4.7)
|
160
|
-
bundler (>= 1.15.0)
|
161
|
-
railties (= 6.1.4.7)
|
162
|
-
sprockets-rails (>= 2.0.0)
|
163
|
-
rails-dom-testing (2.0.3)
|
164
|
-
activesupport (>= 4.2.0)
|
165
|
-
nokogiri (>= 1.6)
|
166
|
-
rails-html-sanitizer (1.4.4)
|
167
|
-
loofah (~> 2.19, >= 2.19.1)
|
168
|
-
railties (6.1.4.7)
|
169
|
-
actionpack (= 6.1.4.7)
|
170
|
-
activesupport (= 6.1.4.7)
|
171
|
-
method_source
|
172
|
-
rake (>= 0.13)
|
173
|
-
thor (~> 1.0)
|
174
|
-
rainbow (3.1.1)
|
175
|
-
rake (10.5.0)
|
176
|
-
rbtree (0.4.6)
|
177
|
-
regexp_parser (2.6.1)
|
178
|
-
rexml (3.2.5)
|
179
|
-
rgeo (2.4.0)
|
180
|
-
rgeo-activerecord (7.0.1)
|
181
|
-
activerecord (>= 5.0)
|
182
|
-
rgeo (>= 1.0.0)
|
183
|
-
rspec (3.12.0)
|
184
|
-
rspec-core (~> 3.12.0)
|
185
|
-
rspec-expectations (~> 3.12.0)
|
186
|
-
rspec-mocks (~> 3.12.0)
|
187
|
-
rspec-core (3.12.0)
|
188
|
-
rspec-support (~> 3.12.0)
|
189
|
-
rspec-expectations (3.12.1)
|
190
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
191
|
-
rspec-support (~> 3.12.0)
|
192
|
-
rspec-its (1.3.0)
|
193
|
-
rspec-core (>= 3.0.0)
|
194
|
-
rspec-expectations (>= 3.0.0)
|
195
|
-
rspec-mocks (3.12.1)
|
196
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
197
|
-
rspec-support (~> 3.12.0)
|
198
|
-
rspec-support (3.12.0)
|
199
|
-
rubocop (1.42.0)
|
200
|
-
json (~> 2.3)
|
201
|
-
parallel (~> 1.10)
|
202
|
-
parser (>= 3.1.2.1)
|
203
|
-
rainbow (>= 2.2.2, < 4.0)
|
204
|
-
regexp_parser (>= 1.8, < 3.0)
|
205
|
-
rexml (>= 3.2.5, < 4.0)
|
206
|
-
rubocop-ast (>= 1.24.1, < 2.0)
|
207
|
-
ruby-progressbar (~> 1.7)
|
208
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
209
|
-
rubocop-ast (1.24.1)
|
210
|
-
parser (>= 3.1.1.0)
|
211
|
-
rubocop-rails (2.17.4)
|
212
|
-
activesupport (>= 4.2.0)
|
213
|
-
rack (>= 1.1)
|
214
|
-
rubocop (>= 1.33.0, < 2.0)
|
215
|
-
rubocop-rake (0.5.1)
|
216
|
-
rubocop
|
217
|
-
rubocop-rspec (2.16.0)
|
218
|
-
rubocop (~> 1.33)
|
219
|
-
ruby-progressbar (1.11.0)
|
220
|
-
ruby2_keywords (0.0.5)
|
221
|
-
set (1.0.3)
|
222
|
-
sorted_set (1.0.3)
|
223
|
-
rbtree
|
224
|
-
set (~> 1.0)
|
225
|
-
sprockets (4.2.0)
|
226
|
-
concurrent-ruby (~> 1.0)
|
227
|
-
rack (>= 2.2.4, < 4)
|
228
|
-
sprockets-rails (3.4.2)
|
229
|
-
actionpack (>= 5.2)
|
230
|
-
activesupport (>= 5.2)
|
231
|
-
sprockets (>= 3.0.0)
|
232
|
-
sqlite3 (1.5.4-x86_64-linux)
|
233
|
-
strong_versions (0.4.5)
|
234
|
-
i18n (>= 0.5)
|
235
|
-
paint (~> 2.0)
|
236
|
-
thor (1.2.1)
|
237
|
-
timeout (0.3.1)
|
238
|
-
tzinfo (2.0.5)
|
239
|
-
concurrent-ruby (~> 1.0)
|
240
|
-
unicode-display_width (2.4.0)
|
241
|
-
webmock (3.18.1)
|
242
|
-
addressable (>= 2.8.0)
|
243
|
-
crack (>= 0.3.2)
|
244
|
-
hashdiff (>= 0.4.0, < 2.0.0)
|
245
|
-
websocket-driver (0.7.5)
|
246
|
-
websocket-extensions (>= 0.1.0)
|
247
|
-
websocket-extensions (0.1.5)
|
248
|
-
zeitwerk (2.6.6)
|
249
|
-
|
250
|
-
PLATFORMS
|
251
|
-
x86_64-linux
|
252
|
-
|
253
|
-
DEPENDENCIES
|
254
|
-
activerecord (~> 6.0)
|
255
|
-
activerecord-postgis-adapter (~> 7.1)
|
256
|
-
bunny (~> 2.12)
|
257
|
-
devpack (~> 0.3.2)
|
258
|
-
mongoid (~> 7.0)
|
259
|
-
mysql2 (~> 0.5.2)
|
260
|
-
orchestration!
|
261
|
-
pg (~> 1.1)
|
262
|
-
rails (~> 6.0)
|
263
|
-
rake (~> 10.0)
|
264
|
-
rspec (~> 3.0)
|
265
|
-
rspec-its (~> 1.2)
|
266
|
-
rubocop (~> 1.12)
|
267
|
-
rubocop-rails (~> 2.9)
|
268
|
-
rubocop-rake (~> 0.5.1)
|
269
|
-
rubocop-rspec (~> 2.2)
|
270
|
-
sqlite3 (~> 1.3)
|
271
|
-
strong_versions (~> 0.4.5)
|
272
|
-
webmock (~> 3.4)
|
273
|
-
|
274
|
-
BUNDLED WITH
|
275
|
-
2.3.11
|