building 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/building.rb +5 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3744e78cd0ca432f9d2fda9ecb230627a264f96f
4
- data.tar.gz: 2c29701e06a4767e68521b8a5a6caba511b7a289
3
+ metadata.gz: bf9b6854c7789c6e15a7817850233c5ae7b3f09a
4
+ data.tar.gz: a85aacd67cd581e46be3654ed38d254aa5a08442
5
5
  SHA512:
6
- metadata.gz: aaaab250877fe69b264a65ff26f0b1506d04b812fead145b4734203353d4fa8bfba31bce34bf6ac1edac0594ee1b953ec6621dfb9271976f3eafbf3030818fe5
7
- data.tar.gz: 8ac316c49e0fe3b3c49956a47d6818106f05fd6a2467fd95b747e2caeb7996f91c37e6e140e074050ef01d051a70f71e5442398dcc7f2e4f98e281949951f963
6
+ metadata.gz: 0f5a6dc62daf4ce3db3f678a826e0a371bc849847d528bca45d45b7c58131cfe95fabd5dd5890a86ef0008521562e7a62ebef85531aa1411b5120efc2e5c1295
7
+ data.tar.gz: f8eb82132d122053cce8cfbf841cfa087904ef40c3dce0506df426fdeb5b956578188eff5ee1c27ac87eb10bb4edbff21319e7355d848b62aefb4833bd7818e4
@@ -130,7 +130,11 @@ eof
130
130
  end
131
131
 
132
132
  def explain_container(port)
133
- run = "docker run -d -p #{port} -e \"PORT=#{port}\" #{@app_name}:#{@tag}"
133
+ if @fig
134
+ run = "fig up -d"
135
+ else
136
+ run = "docker run -d -p #{port} -e \"PORT=#{port}\" #{@app_name}:#{@tag}"
137
+ end
134
138
  rebuild = "docker build -t #{@app_name} ."
135
139
 
136
140
  say " <%= color('hint', [YELLOW, BOLD]) %> To run your app, try: <%= color('#{run}', [BOLD]) %>"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: building
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Carlson