egg 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +22 -10
- data/lib/egg/cli.rb +1 -0
- data/lib/egg/configuration.rb +1 -2
- data/lib/egg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5f2ffd65e194d6a7641a51e2253d206a632990f
|
4
|
+
data.tar.gz: b8a277c79562506b2ae683053790e5d78f7b0e2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87693bf5baa4b2737a49e90080c10afb0a0e68ba4e1b9f89bec29f0aa2fdc08adb1d961d32402e312b70f3f3562cfb66d8aeb9d95ece9c7605536261a5008164
|
7
|
+
data.tar.gz: 4f46742c1b70300379cbe465acd326aaef3204f7a926f98f490aebef8a30548c71bae49ea41e5bc8fff393779cd2a9d6fdbd3626888eff1778b7820083b374dd
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -5,17 +5,18 @@
|
|
5
5
|
<br>
|
6
6
|
</h1>
|
7
7
|
|
8
|
-
![CircleCI](https://circleci.com/gh/
|
8
|
+
![CircleCI](https://circleci.com/gh/hatchloyalty/egg.png?style=shield&circle-token=10677521a50bce69aca6ec419794d1c44d3cd12a) [![Gem Version](https://badge.fury.io/rb/egg.svg)](https://badge.fury.io/rb/egg)
|
9
9
|
|
10
|
-
> Egg helps prevent code fires! Also he makes it easy to run complex
|
10
|
+
> Egg helps prevent code fires! Also he makes it easy to run complex
|
11
|
+
> multi-service apps with Docker.
|
11
12
|
|
12
13
|
Maintainers:
|
13
14
|
* [Carl Thuringer](https://github.com/carlthuringer)
|
14
15
|
* [Jason Sisk](https://github.com/sisk)
|
15
16
|
|
16
|
-
This gem is currently heavily focused on Ruby and Rails projects relevant within
|
17
|
-
the Hatch organization. The eventual goal is for this to become language and
|
18
|
-
framework agnostic, though the configuration language will be Ruby.
|
17
|
+
This gem is currently heavily focused on Ruby and Rails projects relevant within
|
18
|
+
the Hatch organization. The eventual goal is for this to become language and
|
19
|
+
framework agnostic, though the configuration language will be Ruby.
|
19
20
|
|
20
21
|
## Installation
|
21
22
|
|
@@ -36,20 +37,31 @@ Or install it yourself as:
|
|
36
37
|
## Usage
|
37
38
|
* `init` - Initialize a repo for use with Egg. Creates the `egg_config.rb`
|
38
39
|
* `readme` - Display the Usage readme
|
39
|
-
* `setup` - Generates the docker files from the configuration, runs all setup hooks
|
40
|
+
* `setup` - Generates the docker files from the configuration, runs all setup hooks.
|
41
|
+
* `docker-compose up` - Boot the application with docker-compose.
|
40
42
|
|
41
43
|
## Development
|
42
44
|
|
43
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can
|
45
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can
|
46
|
+
also run `bin/console` for an interactive prompt that will allow you to
|
47
|
+
experiment.
|
44
48
|
|
45
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To
|
49
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To
|
50
|
+
release a new version, update the version number in `version.rb`, and then run
|
51
|
+
`bundle exec rake release`, which will create a git tag for the version, push
|
52
|
+
git commits and tags, and push the `.gem` file to
|
53
|
+
[rubygems.org](https://rubygems.org).
|
46
54
|
|
47
55
|
## Contributing
|
48
56
|
|
49
|
-
Bug reports and pull requests are welcome on GitHub at
|
57
|
+
Bug reports and pull requests are welcome on GitHub at
|
58
|
+
https://github.com/hatchloyalty/egg. This project is intended to be a safe,
|
59
|
+
welcoming space for collaboration, and contributors are expected to adhere to
|
60
|
+
the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
50
61
|
|
51
62
|
|
52
63
|
## License
|
53
64
|
|
54
|
-
The gem is available as open source under the terms of the
|
65
|
+
The gem is available as open source under the terms of the
|
66
|
+
[Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
55
67
|
|
data/lib/egg/cli.rb
CHANGED
data/lib/egg/configuration.rb
CHANGED
@@ -35,7 +35,7 @@ module Egg
|
|
35
35
|
self.ruby_version = "2.4"
|
36
36
|
self.dotenv = DotenvUtil.new(File.read(".env.template"))
|
37
37
|
instance_eval(&configuration_block)
|
38
|
-
self
|
38
|
+
self # rubocop:disable Lint/Void
|
39
39
|
end
|
40
40
|
|
41
41
|
def after_startup(&block)
|
@@ -69,7 +69,6 @@ module Egg
|
|
69
69
|
|
70
70
|
docker_pull_build
|
71
71
|
File.write(".env", dotenv.generate_env)
|
72
|
-
system("docker-compose up -d")
|
73
72
|
|
74
73
|
run_after_startup
|
75
74
|
end
|
data/lib/egg/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: egg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carl Thuringer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-10-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|