containers 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/exe/ctrs +5 -0
  3. data/lib/containers/cli.rb +32 -115
  4. data/lib/containers/commands/attach.rb +11 -0
  5. data/lib/containers/commands/bash.rb +11 -0
  6. data/lib/containers/commands/bin.rb +11 -0
  7. data/lib/containers/commands/down.rb +8 -0
  8. data/lib/containers/commands/exec.rb +14 -0
  9. data/lib/containers/commands/inspect.rb +11 -0
  10. data/lib/containers/commands/list.rb +23 -0
  11. data/lib/containers/commands/rails/rails.rb +11 -0
  12. data/lib/containers/commands/restart.rb +12 -0
  13. data/lib/containers/commands/ruby/bundle.rb +11 -0
  14. data/lib/containers/commands/ruby/rake.rb +11 -0
  15. data/lib/containers/commands/start.rb +12 -0
  16. data/lib/containers/commands/stop.rb +12 -0
  17. data/lib/containers/commands/tail.rb +11 -0
  18. data/lib/containers/commands/up.rb +8 -0
  19. data/lib/containers/commands/yarn/yarn.rb +11 -0
  20. data/lib/containers/concerns/commandable.rb +19 -0
  21. data/lib/containers/concerns/configurable.rb +62 -0
  22. data/lib/containers/generator/cli.rb +43 -0
  23. data/lib/containers/generator/commands/compose.rb +51 -0
  24. data/lib/containers/generator/commands/config.rb +43 -0
  25. data/lib/containers/generator/commands/dockerfile.rb +46 -0
  26. data/lib/containers/generator/templates/containers.yml.erb +15 -0
  27. data/lib/containers/{templates → generator/templates}/docker-compose.yml.erb +21 -38
  28. data/lib/containers/version.rb +1 -1
  29. data/lib/containers.rb +0 -4
  30. metadata +106 -32
  31. data/Gemfile +0 -9
  32. data/Gemfile.lock +0 -106
  33. data/LICENSE.txt +0 -21
  34. data/README.md +0 -24
  35. data/Rakefile +0 -12
  36. data/containers.gemspec +0 -42
  37. data/lib/containers/generator.rb +0 -40
  38. /data/lib/containers/{templates → generator/templates}/Dockerfile.erb +0 -0
  39. /data/lib/containers/{templates/redis-cache.conf → generator/templates/redis/cache.conf} +0 -0
  40. /data/lib/containers/{templates/redis-queue.conf → generator/templates/redis/queue.conf} +0 -0
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "fileutils"
4
+ require_relative "../../concerns/configurable"
5
+
6
+ class Containers::Generator::CLI < Thor
7
+ include ::Containers::Configurable
8
+
9
+ desc "dockerfile", "Creates a Dockerfile for the project"
10
+ method_option :template, type: :string, aliases: "-t", desc: "The Dockerfile template to use (can be a local file or a URL)"
11
+ def dockerfile
12
+ FileUtils.mkdir_p docker_directory
13
+ path = File.expand_path("#{docker_directory}/Dockerfile")
14
+ exists = File.exist?(path)
15
+ original = File.read(path) if exists
16
+
17
+ continue = if exists
18
+ ask("#{Rainbow("Dockerfile already exists").red} Overwrite?", default: "n").to_s.upcase == "Y"
19
+ else
20
+ true
21
+ end
22
+
23
+ return unless continue
24
+
25
+ FileUtils.rm_f path
26
+
27
+ ruby_version = ask("What Ruby version does this project use?", default: "3.1.2").to_s
28
+ vars = {ruby_version: ruby_version}
29
+
30
+ contents = if options[:template]
31
+ render_external_template options[:template], vars
32
+ else
33
+ render_template "Dockerfile", vars
34
+ end
35
+
36
+ puts_command Rainbow("(Create #{path})").green.faint
37
+ File.write path, contents
38
+ puts Rainbow("Dockerfile created successfully").green.bright
39
+ rescue => error
40
+ puts Rainbow("Unexpected error! #{error.message}").red.bright
41
+ if exists && original
42
+ puts Rainbow("Restoring the original file.").green.faint
43
+ File.write path, original
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,15 @@
1
+ ---
2
+ organization:
3
+ name: <%= organization_name %>
4
+
5
+ app:
6
+ name: <%= app_name %>
7
+ directory: <%= app_directory %>
8
+
9
+ docker:
10
+ directory: <%= docker[:directory] %>
11
+ default_service: <%= docker[:default_service] %>
12
+ compose_files:
13
+ <% docker[:compose_files].each do |file| -%>
14
+ - <%= file %>
15
+ <% end -%>
@@ -14,22 +14,17 @@ x-default-env: &default_env
14
14
 
15
15
  x-default-app: &default_app
16
16
  build: .
17
- image: <%= organization_name %>/<%= project_name %>
18
- working_dir: /<%= project_name %>
17
+ image: <%= organization[:name] %>/<%= app[:name] %>
18
+ working_dir: /<%= app[:name] %>
19
19
  tty: true
20
20
  stdin_open: true
21
- env_file: .env
21
+ env_file: <%= File.join app[:directory], ".env" %>
22
22
  environment:
23
23
  <<: *default_env
24
- networks:
25
- - main
26
24
  volumes:
27
- - ./:/<%= project_name %>:cached
25
+ - <%= app[:directory] %>:/<%= app[:name] %>:cached
28
26
  - bundle:/bundle:delegated
29
- - node_modules:/<%= project_name %>/node_modules:delegated
30
-
31
- networks:
32
- main:
27
+ - node_modules:/<%= app[:name] %>/node_modules:delegated
33
28
 
34
29
  # TODO: dump pg database then rename db -> postgres
35
30
  volumes:
@@ -46,12 +41,10 @@ services:
46
41
  # ----------------------------------------------------------------------------
47
42
  postgres:
48
43
  image: postgres:13.4-alpine3.14
49
- container_name: <%= project_name %>-postgres
44
+ container_name: <%= app[:name] %>-postgres
50
45
  restart: unless-stopped
51
46
  environment:
52
47
  POSTGRES_PASSWORD: password
53
- networks:
54
- - main
55
48
  expose:
56
49
  - 5432
57
50
  volumes:
@@ -62,52 +55,46 @@ services:
62
55
  # ----------------------------------------------------------------------------
63
56
  redis_cable:
64
57
  image: redis:6.2.6-alpine3.14
65
- container_name: <%= project_name %>-redis-cable
58
+ container_name: <%= app[:name] %>-redis-cable
66
59
  restart: unless-stopped
67
- networks:
68
- - main
69
60
  expose:
70
61
  - 6379
71
62
  volumes:
72
63
  - redis_cable:/data:delegated
73
- - ./config/redis-queue.conf:/usr/local/etc/redis/redis.conf:cached
64
+ - <%= File.expand_path File.join(File.dirname(__FILE__), "redis/queue.conf") %>:/usr/local/etc/redis/redis.conf:cached
74
65
 
75
66
  # ----------------------------------------------------------------------------
76
67
  # Redis - Cache datastore
77
68
  # ----------------------------------------------------------------------------
78
69
  redis_cache:
79
70
  image: redis:6.2.6-alpine3.14
80
- container_name: <%= project_name %>-redis-cache
71
+ container_name: <%= app[:name] %>-redis-cache
81
72
  restart: unless-stopped
82
- networks:
83
- - main
84
73
  expose:
85
74
  - 6379
86
75
  volumes:
87
76
  - redis_cache:/data:delegated
88
- - ./config/redis-cache.conf:/usr/local/etc/redis/redis.conf:cached
77
+ - <%= File.expand_path File.join(File.dirname(__FILE__), "redis/cache.conf") %>:/usr/local/etc/redis/redis.conf:cached
89
78
 
90
79
  # ----------------------------------------------------------------------------
91
80
  # Redis - Queue datastore
92
81
  # ----------------------------------------------------------------------------
93
82
  redis_queue:
94
83
  image: redis:6.2.6-alpine3.14
95
- container_name: <%= project_name %>-redis-queue
84
+ container_name: <%= app[:name] %>-redis-queue
96
85
  restart: unless-stopped
97
- networks:
98
- - main
99
86
  expose:
100
87
  - 6379
101
88
  volumes:
102
89
  - redis_queue:/data:delegated
103
- - ./config/redis-queue.conf:/usr/local/etc/redis/redis.conf:cached
90
+ - <%= File.expand_path File.join(File.dirname(__FILE__), "redis/queue.conf") %>:/usr/local/etc/redis/redis.conf:cached
104
91
 
105
92
  # ----------------------------------------------------------------------------
106
93
  # Shell - Intended for tinkering and running misc commands
107
94
  # ----------------------------------------------------------------------------
108
95
  shell:
109
96
  <<: *default_app
110
- container_name: <%= project_name %>-shell
97
+ container_name: <%= app[:name] %>-shell
111
98
  command: /bin/bash -c "tail -f /dev/null"
112
99
 
113
100
  # ----------------------------------------------------------------------------
@@ -115,7 +102,7 @@ services:
115
102
  # ----------------------------------------------------------------------------
116
103
  js:
117
104
  <<: *default_app
118
- container_name: <%= project_name %>-js
105
+ container_name: <%= app[:name] %>-js
119
106
  command: /bin/bash -c "yarn && yarn build --watch"
120
107
 
121
108
  # ----------------------------------------------------------------------------
@@ -123,7 +110,7 @@ services:
123
110
  # ----------------------------------------------------------------------------
124
111
  css:
125
112
  <<: *default_app
126
- container_name: <%= project_name %>-css
113
+ container_name: <%= app[:name] %>-css
127
114
  command: /bin/bash -c "yarn build:css --watch"
128
115
  depends_on:
129
116
  - js
@@ -133,7 +120,7 @@ services:
133
120
  # ----------------------------------------------------------------------------
134
121
  web:
135
122
  <<: *default_app
136
- container_name: <%= project_name %>-web
123
+ container_name: <%= app[:name] %>-web
137
124
  command: >
138
125
  /bin/bash -c "bundle &&
139
126
  rm -f tmp/pids/server.pid &&
@@ -158,7 +145,7 @@ services:
158
145
  # ----------------------------------------------------------------------------
159
146
  worker:
160
147
  <<: *default_app
161
- container_name: <%= project_name %>-worker
148
+ container_name: <%= app[:name] %>-worker
162
149
  command: /bin/bash -c "bin/rails log:clear &&
163
150
  bundle exec sidekiq -C config/sidekiq.yml"
164
151
  depends_on:
@@ -169,15 +156,13 @@ services:
169
156
  # ----------------------------------------------------------------------------
170
157
  anycable_ws:
171
158
  image: anycable/anycable-go:1.2
172
- container_name: <%= project_name %>-anycable-ws
159
+ container_name: <%= app[:name] %>-anycable-ws
173
160
  restart: unless-stopped
174
161
  environment:
175
162
  ANYCABLE_HOST: "0.0.0.0"
176
163
  ANYCABLE_REDIS_URL: redis://redis_cable:6379/0
177
164
  ANYCABLE_RPC_HOST: anycable_rpc:50051
178
165
  ANYCABLE_DEBUG: 1
179
- networks:
180
- - main
181
166
  ports:
182
167
  - ${PORT_ANYCABLE:-3001}:8080
183
168
  depends_on:
@@ -188,15 +173,13 @@ services:
188
173
  # ----------------------------------------------------------------------------
189
174
  anycable_rpc:
190
175
  <<: *default_app
191
- container_name: <%= project_name %>-anycable-rpc
176
+ container_name: <%= app[:name] %>-anycable-rpc
192
177
  restart: unless-stopped
193
178
  environment:
194
179
  <<: *default_env
195
180
  ANYCABLE_REDIS_URL: redis://redis_cable:6379/0
196
181
  ANYCABLE_RPC_HOST: 0.0.0.0:50051
197
182
  ANYCABLE_DEBUG: 1
198
- networks:
199
- - main
200
183
  command: /bin/bash -c "bundle exec anycable"
201
184
  depends_on:
202
185
  - anycable_ws
@@ -208,10 +191,10 @@ services:
208
191
  # ----------------------------------------------------------------------------
209
192
  logs:
210
193
  image: amir20/dozzle
211
- container_name: <%= project_name %>-logs
194
+ container_name: <%= app[:name] %>-logs
212
195
  volumes:
213
196
  - /var/run/docker.sock:/var/run/docker.sock
214
197
  ports:
215
198
  - ${PORT_LOGS:-3004}:8080
216
199
  restart: unless-stopped
217
- command: "--filter name=<%= project_name %>*"
200
+ command: "--filter name=<%= app[:name] %>*"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Containers
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
data/lib/containers.rb CHANGED
@@ -1,8 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "thor"
4
3
  require_relative "containers/version"
5
4
  require_relative "containers/cli"
6
-
7
- module Containers
8
- end
metadata CHANGED
@@ -1,93 +1,167 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: containers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hopsoft
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-03 00:00:00.000000000 Z
11
+ date: 2023-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '6.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '6.0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rainbow
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
- - - "~>"
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '3.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '3.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
18
46
  - !ruby/object:Gem::Version
19
- version: 3.1.1
47
+ version: '0'
20
48
  type: :runtime
21
49
  prerelease: false
22
50
  version_requirements: !ruby/object:Gem::Requirement
23
51
  requirements:
24
- - - "~>"
52
+ - - ">="
25
53
  - !ruby/object:Gem::Version
26
- version: 3.1.1
54
+ version: '0'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: thor
29
57
  requirement: !ruby/object:Gem::Requirement
30
58
  requirements:
31
- - - "~>"
59
+ - - ">="
32
60
  - !ruby/object:Gem::Version
33
- version: 1.2.1
61
+ version: '1.2'
34
62
  type: :runtime
35
63
  prerelease: false
36
64
  version_requirements: !ruby/object:Gem::Requirement
37
65
  requirements:
38
- - - "~>"
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '1.2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: magic_frozen_string_literal
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
39
95
  - !ruby/object:Gem::Version
40
- version: 1.2.1
96
+ version: '0'
41
97
  - !ruby/object:Gem::Dependency
42
- name: github_changelog_generator
98
+ name: pry-byebug
43
99
  requirement: !ruby/object:Gem::Requirement
44
100
  requirements:
45
- - - "~>"
101
+ - - ">="
46
102
  - !ruby/object:Gem::Version
47
- version: 1.16.4
103
+ version: '0'
48
104
  type: :development
49
105
  prerelease: false
50
106
  version_requirements: !ruby/object:Gem::Requirement
51
107
  requirements:
52
- - - "~>"
108
+ - - ">="
53
109
  - !ruby/object:Gem::Version
54
- version: 1.16.4
110
+ version: '0'
55
111
  - !ruby/object:Gem::Dependency
56
- name: ruby_jard
112
+ name: standardrb
57
113
  requirement: !ruby/object:Gem::Requirement
58
114
  requirements:
59
- - - "~>"
115
+ - - ">="
60
116
  - !ruby/object:Gem::Version
61
- version: 0.3.1
117
+ version: '0'
62
118
  type: :development
63
119
  prerelease: false
64
120
  version_requirements: !ruby/object:Gem::Requirement
65
121
  requirements:
66
- - - "~>"
122
+ - - ">="
67
123
  - !ruby/object:Gem::Version
68
- version: 0.3.1
124
+ version: '0'
69
125
  description: Manage local development environments with Docker
70
126
  email:
71
127
  - natehop@gmail.com
72
128
  executables:
73
129
  - containers
130
+ - ctrs
74
131
  extensions: []
75
132
  extra_rdoc_files: []
76
133
  files:
77
- - Gemfile
78
- - Gemfile.lock
79
- - LICENSE.txt
80
- - README.md
81
- - Rakefile
82
- - containers.gemspec
83
134
  - exe/containers
135
+ - exe/ctrs
84
136
  - lib/containers.rb
85
137
  - lib/containers/cli.rb
86
- - lib/containers/generator.rb
87
- - lib/containers/templates/Dockerfile.erb
88
- - lib/containers/templates/docker-compose.yml.erb
89
- - lib/containers/templates/redis-cache.conf
90
- - lib/containers/templates/redis-queue.conf
138
+ - lib/containers/commands/attach.rb
139
+ - lib/containers/commands/bash.rb
140
+ - lib/containers/commands/bin.rb
141
+ - lib/containers/commands/down.rb
142
+ - lib/containers/commands/exec.rb
143
+ - lib/containers/commands/inspect.rb
144
+ - lib/containers/commands/list.rb
145
+ - lib/containers/commands/rails/rails.rb
146
+ - lib/containers/commands/restart.rb
147
+ - lib/containers/commands/ruby/bundle.rb
148
+ - lib/containers/commands/ruby/rake.rb
149
+ - lib/containers/commands/start.rb
150
+ - lib/containers/commands/stop.rb
151
+ - lib/containers/commands/tail.rb
152
+ - lib/containers/commands/up.rb
153
+ - lib/containers/commands/yarn/yarn.rb
154
+ - lib/containers/concerns/commandable.rb
155
+ - lib/containers/concerns/configurable.rb
156
+ - lib/containers/generator/cli.rb
157
+ - lib/containers/generator/commands/compose.rb
158
+ - lib/containers/generator/commands/config.rb
159
+ - lib/containers/generator/commands/dockerfile.rb
160
+ - lib/containers/generator/templates/Dockerfile.erb
161
+ - lib/containers/generator/templates/containers.yml.erb
162
+ - lib/containers/generator/templates/docker-compose.yml.erb
163
+ - lib/containers/generator/templates/redis/cache.conf
164
+ - lib/containers/generator/templates/redis/queue.conf
91
165
  - lib/containers/version.rb
92
166
  - sig/containers.rbs
93
167
  homepage: https://github.com/hopsoft/containers
@@ -112,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
186
  - !ruby/object:Gem::Version
113
187
  version: '0'
114
188
  requirements: []
115
- rubygems_version: 3.3.7
189
+ rubygems_version: 3.4.10
116
190
  signing_key:
117
191
  specification_version: 4
118
192
  summary: Manage local development environments with Docker
data/Gemfile DELETED
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- # Specify your gem's dependencies in containers.gemspec
6
- gemspec
7
-
8
- gem "rake", "~> 13.0"
9
- gem "minitest", "~> 5.0"
data/Gemfile.lock DELETED
@@ -1,106 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- containers (0.1.0)
5
- rainbow (~> 3.1.1)
6
- thor (~> 1.2.1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activesupport (7.0.3.1)
12
- concurrent-ruby (~> 1.0, >= 1.0.2)
13
- i18n (>= 1.6, < 2)
14
- minitest (>= 5.1)
15
- tzinfo (~> 2.0)
16
- addressable (2.8.0)
17
- public_suffix (>= 2.0.2, < 5.0)
18
- async (2.0.3)
19
- console (~> 1.10)
20
- io-event (~> 1.0.0)
21
- timers (~> 4.1)
22
- async-http (0.56.6)
23
- async (>= 1.25)
24
- async-io (>= 1.28)
25
- async-pool (>= 0.2)
26
- protocol-http (~> 0.22.0)
27
- protocol-http1 (~> 0.14.0)
28
- protocol-http2 (~> 0.14.0)
29
- traces (~> 0.4.0)
30
- async-http-faraday (0.11.0)
31
- async-http (~> 0.42)
32
- faraday
33
- async-io (1.33.0)
34
- async
35
- async-pool (0.3.10)
36
- async (>= 1.25)
37
- byebug (11.1.3)
38
- coderay (1.1.3)
39
- concurrent-ruby (1.1.10)
40
- console (1.15.3)
41
- fiber-local
42
- faraday (2.3.0)
43
- faraday-net_http (~> 2.0)
44
- ruby2_keywords (>= 0.0.4)
45
- faraday-http-cache (2.4.0)
46
- faraday (>= 0.8)
47
- faraday-net_http (2.0.3)
48
- fiber-local (1.0.0)
49
- github_changelog_generator (1.16.4)
50
- activesupport
51
- async (>= 1.25.0)
52
- async-http-faraday
53
- faraday-http-cache
54
- multi_json
55
- octokit (~> 4.6)
56
- rainbow (>= 2.2.1)
57
- rake (>= 10.0)
58
- i18n (1.12.0)
59
- concurrent-ruby (~> 1.0)
60
- io-event (1.0.9)
61
- method_source (1.0.0)
62
- minitest (5.16.2)
63
- multi_json (1.15.0)
64
- octokit (4.25.1)
65
- faraday (>= 1, < 3)
66
- sawyer (~> 0.9)
67
- protocol-hpack (1.4.2)
68
- protocol-http (0.22.6)
69
- protocol-http1 (0.14.4)
70
- protocol-http (~> 0.22)
71
- protocol-http2 (0.14.2)
72
- protocol-hpack (~> 1.4)
73
- protocol-http (~> 0.18)
74
- pry (0.13.1)
75
- coderay (~> 1.1)
76
- method_source (~> 1.0)
77
- public_suffix (4.0.7)
78
- rainbow (3.1.1)
79
- rake (13.0.6)
80
- ruby2_keywords (0.0.5)
81
- ruby_jard (0.3.1)
82
- byebug (>= 9.1, < 12.0)
83
- pry (~> 0.13.0)
84
- tty-screen (~> 0.8.1)
85
- sawyer (0.9.2)
86
- addressable (>= 2.3.5)
87
- faraday (>= 0.17.3, < 3)
88
- thor (1.2.1)
89
- timers (4.3.3)
90
- traces (0.4.1)
91
- tty-screen (0.8.1)
92
- tzinfo (2.0.5)
93
- concurrent-ruby (~> 1.0)
94
-
95
- PLATFORMS
96
- arm64-darwin-21
97
-
98
- DEPENDENCIES
99
- containers!
100
- github_changelog_generator (~> 1.16.4)
101
- minitest (~> 5.0)
102
- rake (~> 13.0)
103
- ruby_jard (~> 0.3.1)
104
-
105
- BUNDLED WITH
106
- 2.3.17
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2022 Hopsoft
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/README.md DELETED
@@ -1,24 +0,0 @@
1
- # Containers
2
-
3
- ## TODOs
4
-
5
- ### Questions to prompt on generate
6
-
7
- - [ ] container logging?
8
- - [ ] admin tooling?
9
-
10
- #### Punt on these for now
11
-
12
- ```
13
- containers generate compose
14
- containers add anycable
15
- containers remove anycable
16
- ```
17
-
18
- - [ ] sinatra?
19
- - [ ] rails?
20
- - [ ] anycable?
21
- - [ ] actioncable?
22
- - [ ] caching? (redis)
23
- - [ ] background jobs?
24
- - [ ] backend? (sidekiq, ...)
data/Rakefile DELETED
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/gem_tasks"
4
- require "rake/testtask"
5
-
6
- Rake::TestTask.new(:test) do |t|
7
- t.libs << "test"
8
- t.libs << "lib"
9
- t.test_files = FileList["test/**/test_*.rb"]
10
- end
11
-
12
- task default: :test