egg 0.7.0 → 0.8.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 +4 -4
- data/Gemfile.lock +1 -1
- data/doc/README.md +5 -2
- data/lib/egg/configuration.rb +0 -2
- data/lib/egg/dockerfile.rb +1 -0
- 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: 6026a5fd53c8dee0e89b2e8d5955c8ad2a16da24
|
4
|
+
data.tar.gz: b472e4fb29268a868cfb69b1ca5fbf65964c084c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b0ee4a2cf0533f140bdfa452bd06a7ff9404887656bd58e0999ae14fa699e32213fa0d5a527be293ae1bd08163108e32592596c629fedf663464868f4223234
|
7
|
+
data.tar.gz: 844ce17d559b2bcb9fdf2c591ab7001e99f30cce85ef2fc486288d230a535cc8f479712b97583dc01cb19096608ca175cc4d00cd1f179fb5c38afe0dd09f627d
|
data/Gemfile.lock
CHANGED
data/doc/README.md
CHANGED
@@ -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
|
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)
|
data/lib/egg/configuration.rb
CHANGED
data/lib/egg/dockerfile.rb
CHANGED
@@ -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}.")
|
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.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-
|
12
|
+
date: 2017-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|