egg 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5f2ffd65e194d6a7641a51e2253d206a632990f
4
- data.tar.gz: b8a277c79562506b2ae683053790e5d78f7b0e2a
3
+ metadata.gz: 6026a5fd53c8dee0e89b2e8d5955c8ad2a16da24
4
+ data.tar.gz: b472e4fb29268a868cfb69b1ca5fbf65964c084c
5
5
  SHA512:
6
- metadata.gz: 87693bf5baa4b2737a49e90080c10afb0a0e68ba4e1b9f89bec29f0aa2fdc08adb1d961d32402e312b70f3f3562cfb66d8aeb9d95ece9c7605536261a5008164
7
- data.tar.gz: 4f46742c1b70300379cbe465acd326aaef3204f7a926f98f490aebef8a30548c71bae49ea41e5bc8fff393779cd2a9d6fdbd3626888eff1778b7820083b374dd
6
+ metadata.gz: 6b0ee4a2cf0533f140bdfa452bd06a7ff9404887656bd58e0999ae14fa699e32213fa0d5a527be293ae1bd08163108e32592596c629fedf663464868f4223234
7
+ data.tar.gz: 844ce17d559b2bcb9fdf2c591ab7001e99f30cce85ef2fc486288d230a535cc8f479712b97583dc01cb19096608ca175cc4d00cd1f179fb5c38afe0dd09f627d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- egg (0.7.0)
4
+ egg (0.8.0)
5
5
  thor (~> 0.19.0)
6
6
 
7
7
  GEM
@@ -7,11 +7,12 @@ Egg makes it easy to set up a cluster of applications for local development, usi
7
7
  ```bash
8
8
  egg setup
9
9
  ```
10
- Once finished, the services will be running.
10
+ Once finished, you may start the service with `docker-compose up`
11
11
 
12
12
  ### Stopping, Starting, Updating
13
13
 
14
14
  Most docker compose commands can apply to a single service if you follow the command with the service name (app, db)
15
+ You may find this tool more pleasant to use if you `alias dc="docker-compose"`
15
16
 
16
17
  ```bash
17
18
  // Pause processes
@@ -30,6 +31,8 @@ docker-compose up -d
30
31
  docker-compose ps
31
32
  // Kill and remove all containers.
32
33
  docker-compose down
34
+ // Kill other docker processes running elsewhere
35
+ docker ps -q | xargs docker kill
33
36
  ```
34
37
 
35
38
  ### Getting into it
@@ -46,4 +49,4 @@ docker-compose exec app bin/rake db:migrate
46
49
  docker-compose exec app rspec spec/controllers/api/v2/chains_controller_spec.rb
47
50
  ```
48
51
 
49
- More at [docker compose](https://docs.docker.com/compose/compose-file)
52
+ More at [docker compose](https://docs.docker.com/compose/compose-file)
@@ -74,8 +74,6 @@ module Egg
74
74
  end
75
75
 
76
76
  def write_docker_files
77
- File.write("Dockerfile", dockerfile.render) if dockerfile
78
-
79
77
  dockerignore = Templates[".dockerignore"].result(binding)
80
78
  File.write(".dockerignore", dockerignore)
81
79
 
@@ -5,6 +5,7 @@ module Egg
5
5
  class MissingPropertyError < StandardError; end
6
6
 
7
7
  def self.use(klass)
8
+ print "Dockerfile.use is deprecated. Egg setup will no longer write your dockerfile, please craft it yourself."
8
9
  const_get("Egg::Dockerfile::#{klass}").new
9
10
  rescue NameError
10
11
  raise(NoDockerfileError, "No Dockerfile subclass for #{klass}.")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Egg
4
- VERSION = "0.7.0".freeze
4
+ VERSION = "0.8.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.7.0
4
+ version: 0.8.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-10-23 00:00:00.000000000 Z
12
+ date: 2017-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor