egg 0.6.0 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6537dd12342b2469b062c681875a6048849584d0
4
- data.tar.gz: 7cdb22c0856264963f77894ac850101f3d687dbb
3
+ metadata.gz: f5f2ffd65e194d6a7641a51e2253d206a632990f
4
+ data.tar.gz: b8a277c79562506b2ae683053790e5d78f7b0e2a
5
5
  SHA512:
6
- metadata.gz: 193ec0da7471c0dcadc163a3649ceb841037f0f3d757f73b48b3cae65d16f1cffbb37850a8b9f59d7016b94e118f28de97f8ea977e1da6c25d9e18e0d0ee90a1
7
- data.tar.gz: b54dbf63a476199020b8f33e27a41df25ef3a8dfeb849e42a12779a284a28f82c5d3702cdb677e6e241853c0bf4478529b184f6898c767f15dacbb36d704a5ef
6
+ metadata.gz: 87693bf5baa4b2737a49e90080c10afb0a0e68ba4e1b9f89bec29f0aa2fdc08adb1d961d32402e312b70f3f3562cfb66d8aeb9d95ece9c7605536261a5008164
7
+ data.tar.gz: 4f46742c1b70300379cbe465acd326aaef3204f7a926f98f490aebef8a30548c71bae49ea41e5bc8fff393779cd2a9d6fdbd3626888eff1778b7820083b374dd
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- egg (0.6.0)
4
+ egg (0.7.0)
5
5
  thor (~> 0.19.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -5,17 +5,18 @@
5
5
  <br>
6
6
  </h1>
7
7
 
8
- ![CircleCI](https://circleci.com/gh/bellycard/egg.png?style=shield&circle-token=10677521a50bce69aca6ec419794d1c44d3cd12a) [![Gem Version](https://badge.fury.io/rb/egg.svg)](https://badge.fury.io/rb/egg)
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 multi-service apps with Docker.
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, then boots the application.
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 also run `bin/console` for an interactive prompt that will allow you to experiment.
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 release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
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 https://github.com/bellycard/egg. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
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 [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0).
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
 
@@ -33,6 +33,7 @@ module Egg
33
33
  def setup
34
34
  config = Configuration.load "./egg_config.rb"
35
35
  config.run_setup
36
+ print "Use `docker-compose up` to start your application."
36
37
  end
37
38
 
38
39
  desc "build", "Just build the docker containers"
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Egg
4
- VERSION = "0.6.0".freeze
4
+ VERSION = "0.7.0".freeze
5
5
  end
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.6.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-09-26 00:00:00.000000000 Z
12
+ date: 2017-10-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor