composify 0.1 → 0.3
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/README.md +3 -2
- data/composify.gemspec +6 -4
- data/lib/composify.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +10 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8989d5c0c6788d81862bd3baaf7c20961ba806fd
|
4
|
+
data.tar.gz: 6e87528f15a1651439b0a263b92dc1724f9b58f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a662259deeb2f352af51ba821fac1ea33eabb02276618aba49b75dfcc9500dc870bcefb0270a10134a17bf1129885ef43d550bb4b659c7dca79ce6782a3aa62
|
7
|
+
data.tar.gz: 6e890dc4153ee579a7004b9b14d0bb91459c86fc9ca990eae3bb3a933b2642963ad0d7b32da92ecdd7bdddfa7f97395f33e2c1e3abf9d9dec1d69acddf63d3fb
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ Generates the following tree:
|
|
17
17
|
# Installation
|
18
18
|
|
19
19
|
* ruby > 2.1 is required.
|
20
|
-
* `gem install
|
20
|
+
* `gem install composify`
|
21
21
|
|
22
22
|
## Make Targets
|
23
23
|
|
@@ -60,7 +60,7 @@ Building the production image is pretty easy. Although, instead of thinking of
|
|
60
60
|
## Notes & Explainations
|
61
61
|
|
62
62
|
* The main thing going on here is that your main services in the `docker-compose.yml` file have a bind-mounted source directory.
|
63
|
-
* Once you run this project, all the generated files constitue the whole thing.
|
63
|
+
* Once you run this project, all the generated files constitue the whole thing.
|
64
64
|
|
65
65
|
## TODO
|
66
66
|
|
@@ -68,3 +68,4 @@ Building the production image is pretty easy. Although, instead of thinking of
|
|
68
68
|
project such as go, c, rust, etc.
|
69
69
|
2. Still need to add templates and such for projects like react that do live
|
70
70
|
recompilation and inotify/fswatch types of things.
|
71
|
+
3. Make a wizard command `composify init` instead of forcing all arguments to be present on the cli.
|
data/composify.gemspec
CHANGED
@@ -17,7 +17,9 @@ require_relative './lib/version'
|
|
17
17
|
summary = <<-EOD
|
18
18
|
A config generation library to generate a few Dockerfiles, Makefile, and
|
19
19
|
docker-compose.yml file that will get everything setup for local docker
|
20
|
-
development. Specifically meant for use with non-trivial
|
20
|
+
development driven by make. Specifically meant for use with non-trivial
|
21
|
+
multi-component development setups. Also handy for triviial single container
|
22
|
+
development settings.
|
21
23
|
EOD
|
22
24
|
|
23
25
|
Gem::Specification.new do |gem|
|
@@ -25,11 +27,11 @@ Gem::Specification.new do |gem|
|
|
25
27
|
gem.version = Composify::VERSION
|
26
28
|
gem.authors = ["Brett Nakashima"]
|
27
29
|
gem.email = ["brettnak@gmail.com"]
|
28
|
-
gem.
|
29
|
-
gem.
|
30
|
+
gem.summary = "Makefile driven docker-compose development environment."
|
31
|
+
gem.description = summary
|
30
32
|
|
31
33
|
# TODO: Rename this repo to match the gem name
|
32
|
-
gem.homepage = "http://gitlab.com/brettnak/
|
34
|
+
gem.homepage = "http://gitlab.com/brettnak/composify"
|
33
35
|
|
34
36
|
gem.files = flist
|
35
37
|
gem.executables = bins.map{ |f| File.basename(f) }
|
data/lib/composify.rb
CHANGED
@@ -60,7 +60,7 @@ module Composify
|
|
60
60
|
|
61
61
|
def self.from_trollop( argv )
|
62
62
|
opts = Trollop::options(argv) do
|
63
|
-
version "
|
63
|
+
version "composify #{Composify::VERSION}"
|
64
64
|
banner "Generate a docker-development environment.\nNOTE: The name of your project is the directory"
|
65
65
|
opt :base, "Base image of your application", :type => :string, :required => true
|
66
66
|
opt :compilable, "Does your application code needs to be compiled?", :type => :bool, :default => false, :short => "C"
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: composify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.3'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Nakashima
|
@@ -38,7 +38,12 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.1'
|
41
|
-
description:
|
41
|
+
description: |
|
42
|
+
A config generation library to generate a few Dockerfiles, Makefile, and
|
43
|
+
docker-compose.yml file that will get everything setup for local docker
|
44
|
+
development driven by make. Specifically meant for use with non-trivial
|
45
|
+
multi-component development setups. Also handy for triviial single container
|
46
|
+
development settings.
|
42
47
|
email:
|
43
48
|
- brettnak@gmail.com
|
44
49
|
executables:
|
@@ -58,7 +63,7 @@ files:
|
|
58
63
|
- README.md
|
59
64
|
- bin/composify
|
60
65
|
- composify.gemspec
|
61
|
-
homepage: http://gitlab.com/brettnak/
|
66
|
+
homepage: http://gitlab.com/brettnak/composify
|
62
67
|
licenses:
|
63
68
|
- MIT
|
64
69
|
metadata: {}
|
@@ -78,10 +83,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
83
|
version: '0'
|
79
84
|
requirements: []
|
80
85
|
rubyforge_project:
|
81
|
-
rubygems_version: 2.6.
|
86
|
+
rubygems_version: 2.6.12
|
82
87
|
signing_key:
|
83
88
|
specification_version: 4
|
84
|
-
summary:
|
85
|
-
docker-compose.yml file that will get everything setup for local docker development. Specifically
|
86
|
-
meant for use with non-trivial development setups.
|
89
|
+
summary: Makefile driven docker-compose development environment.
|
87
90
|
test_files: []
|