dockrails 1.0.3 → 1.0.4

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: 8096b68de7a31963de73702571cdc07950838d6e
4
- data.tar.gz: ff8d5475e2de304a1654229c38ea49961acef3d2
3
+ metadata.gz: 62abce65400f3868165032b4ebf7b20dc0171dcc
4
+ data.tar.gz: da065ee71b31e2e63cb5b5b6729ff23b6d058bba
5
5
  SHA512:
6
- metadata.gz: 38232ab9d1ed8fdc66278c64700754117d39a5f71945d2fc8144afd0ab6fdab70fecfbf7fd7fa08d2844606b8d1bf8c33a869bef10832b8ba19c3c57fac463de
7
- data.tar.gz: c802e14c7650ec7a4f92b9ce8aa3aa7f75ffc188c0b9e9d7f0f7328cbf2a6e0c0437e62fdd2d3d824e8325932614d1abe91623a5cc72e7dc7d06e1c1aab47b25
6
+ metadata.gz: 84e54dfc2f1ff4f47bfbd11236112ab84c2d5293069f83f5de4728ce2a4bdb63e761e705bc55c2b8ffa452d56f3d29ca5e600dcf19e229654c992256f15a2447
7
+ data.tar.gz: 2792ceaf5e7dd9084ecbb92c8df46c69e084d155e53efc1a4d14297deb6cd005158cc500302b38d790063e1999cec15b621d66ebc39420de595c3994206a1e41
data/bin/dockrails CHANGED
@@ -52,8 +52,16 @@ Please take a look at the different files generated:
52
52
  - docker-compose.yml
53
53
  - docker-sync.yml', GREEN%>"
54
54
 
55
- say "\nStart your dockerized Rails Environement: dockrails start"
56
- say "Familiarize yourself with the different commands: dockrails --help"
55
+ say "\nUpdate your \"database.yml\" file:
56
+ development:
57
+ <<: *default
58
+ database: <%%= ENV['DB_USER'] %>
59
+ username: <%%= ENV['DB_USER'] %>
60
+ password: <%%= ENV['DB_PASSWORD'] %>
61
+ host: db"
62
+
63
+ say "\nStart your dockerized Rails Environement: dockrails start"
64
+ say "Familiarize yourself with the different commands: dockrails --help"
57
65
  end
58
66
  end
59
67
 
@@ -137,8 +137,8 @@ module Dockrails
137
137
  f.write " build: .\n"
138
138
  f.write " command: sh scripts/start-dev.sh\n"
139
139
  f.write " volumes:\n"
140
- f.write " - #{@app_path}-web-sync:/app:rw\n"
141
- f.write " - #{@app_path}-bundle-sync:/bundle:rw\n"
140
+ f.write " - #{@app_path}-web-sync:/app:nocopy\n"
141
+ f.write " - #{@app_path}-bundle-sync:/bundle:nocopy\n"
142
142
  f.write " - ./keys:/root/.ssh/\n"
143
143
  f.write " ports:\n"
144
144
  f.write " - \"3000:3000\"\n"
@@ -157,8 +157,8 @@ module Dockrails
157
157
  f.write " build: .\n"
158
158
  f.write " command: bundle exec sidekiq -C config/sidekiq.yml\n"
159
159
  f.write " volumes:\n"
160
- f.write " - #{@app_path}-web-sync:/app:rw\n"
161
- f.write " - #{@app_path}-bundle-sync:/bundle:rw\n"
160
+ f.write " - #{@app_path}-web-sync:/app:nocopy\n"
161
+ f.write " - #{@app_path}-bundle-sync:/bundle:nocopy\n"
162
162
  f.write " - ./keys:/root/.ssh/\n"
163
163
  f.write " environment:\n"
164
164
  f.write " REDIS_URL: redis://redis:6379\n"
@@ -181,10 +181,8 @@ module Dockrails
181
181
  f.write "syncs:\n"
182
182
  f.write " #{@app_path}-web-sync:\n"
183
183
  f.write " src: './#{@app_path}'\n"
184
- f.write " dest: '/app'\n"
185
184
  f.write " #{@app_path}-bundle-sync:\n"
186
185
  f.write " src: './bundle'\n"
187
- f.write " dest: '/bundle'\n"
188
186
  end
189
187
  end
190
188
  end
@@ -1,3 +1,3 @@
1
1
  module Dockrails
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Montard
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.3
33
+ version: 0.4.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.3
40
+ version: 0.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement