rails-docker 0.1.0 → 0.1.2

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: 04d6696ec1a18b9771455cfca1181b2107ff1745
4
- data.tar.gz: 0dad95eab5a3e23a92e9a0fc0c0b6a7efa964510
3
+ metadata.gz: 67bca4b7d5d0136e29b7b76c734ca06df3725672
4
+ data.tar.gz: fe332b05bbc5e3bbe3af1f23218fe09a8ce5e607
5
5
  SHA512:
6
- metadata.gz: 88f7d294c1eac688be18aab02d7e51a3a4bd7f0bcaae9ec016c8ca2ea991fcca6c1a4222b0b371cf53e271f9aa9b1abd8b39b83539b3ddf3445e22849faa083b
7
- data.tar.gz: 0705805b0a2beb2b0f1fd59b0b092ca6a1e09a97af62167733a6975b3147c29071e06cc427614dbab2b9444f42d789bb2b2f1ae3cd5a0e59082cc7c694c3da8e
6
+ metadata.gz: 1a251c3e74ec4c95471d5b7b32445c5b2abd5c3988a8990df5a063b0a5e11c5c2a928c7abc2af471a9ec0c8b2d2788f06e1d2cc75537495232e4e6330ab557c3
7
+ data.tar.gz: d6bffe190c0021688150344649a5c4e9044a97ec9a60fe4358ebbc9318929f528592bf67a9a5b6c465eec61995713c7102804a5e1c497de13a9d5eecf5af204c
data/README.md CHANGED
@@ -35,16 +35,16 @@ Or install it yourself as:
35
35
  for running your rails projects into the root of your project.
36
36
 
37
37
  - `rails g docker:dockercompose` generates a Docker-based development
38
- environment, ready to rock with Postgres as your database
38
+ environment, ready to rock with Postgres as your database.
39
39
 
40
40
  To run your app in your newly-created Docker-based development environment,
41
41
  issue a `docker-compose up` from the root of your project.
42
42
 
43
- To execute a bash shell inside your container, issue a `docker-compose run bash`
43
+ To execute a bash shell inside your container, issue a `docker-compose run web bash`
44
44
  from the root of your project.
45
45
 
46
46
  To run a command inside your container (like running migrations or specs), issue
47
- a `docker compose run rake db:migrate`
47
+ a `docker compose run web rake db:migrate`
48
48
 
49
49
  ### Database Configuration
50
50
  Docker Compose links containers by default and sets the host name to the name of
@@ -58,9 +58,9 @@ if you already have Postgres running on the host.
58
58
 
59
59
  ## The Future
60
60
 
61
- - [] - Support additional container types for docker-compose (MYSQL, MariaDB, Redis)
62
- - [] - Add Docker Swarm support
63
- - [] - Set the development database configuration via generator
61
+ - [ ] - Support additional container types for Docker Compose (MYSQL, MariaDB, Redis)
62
+ - [ ] - Add Docker Swarm support
63
+ - [ ] - Set the development database configuration via generator
64
64
 
65
65
  ## Development
66
66
 
@@ -1,3 +1,5 @@
1
+ require 'rails/generators'
2
+
1
3
  module Docker
2
4
  class DockercomposeGenerator < Rails::Generators::Base
3
5
  source_root File.expand_path("../templates", __FILE__)
@@ -1,4 +1,4 @@
1
- require 'erubis'
1
+ require 'rails/generators'
2
2
 
3
3
  module Docker
4
4
  class DockerfileGenerator < Rails::Generators::Base
@@ -1,5 +1,5 @@
1
1
  module Rails
2
2
  module Docker
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nicosuave
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-20 00:00:00.000000000 Z
11
+ date: 2016-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler