stack_car 0.2.4 → 0.2.5

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: 29d6252b6c7b9f9bdc155585e7166cc3ba4bf35f
4
- data.tar.gz: bf7a74d80e7caa0de9ecd68724c472455dc0bae9
3
+ metadata.gz: 358880428cb3b1bebab4e7f47072cd0a9096e5e0
4
+ data.tar.gz: 2c3d48913df2334d766f520ebd705680b84becc0
5
5
  SHA512:
6
- metadata.gz: 2619dad34b6a619141aa8d3a6b11cf60253dc95ecbcad07bbf839bd2cfa3bdbf2ee214de7fe6e25f20bbc3fa19a693f84022984f724dbe0473d70252c593af37
7
- data.tar.gz: c7719812cf7bfa91d3613f69d6e5de53428f9589aa1ab5a1c46023f34f27a7380c7b28795d9267fcc6afb12432f0f096fd96f77ec30dd38731c72c674fa3a35d
6
+ metadata.gz: 6b3732eeb9d5b2918a431ba0d790f8c51c639f5b56b132939d596fafa9f5b9eafa017f7f8f0ee8298eb271144aa80d44ac254b2451e9f7ef8077fc384a1118c6
7
+ data.tar.gz: bae1834cf48c9bfb441494ba2e72e5837fb6ea45222fb54d399cd47e973c53921b3ef6ec5562121134bf24bc387e13e81d6fe0c0ec086d9a1712446d71c10198
data/lib/stack_car/cli.rb CHANGED
@@ -21,12 +21,12 @@ module StackCar
21
21
  args << '-d' if !options[:foreground]
22
22
  run("rm -rf tmp/pids/server.pid")
23
23
  run("docker-compose up #{args.join(' ')} #{options[:service]}")
24
- if !options[:foreground]
24
+ if options[:build]
25
25
  @project_name = File.basename(File.expand_path('.'))
26
26
  say 'copying bundle to local, you can start using the app now.'
27
27
  run("docker cp #{@project_name}_#{options[:service]}_1:/bundle .") if options[:build]
28
- run("docker-compose logs --tail --follow #{options[:service]}") if options[:logs]
29
28
  end
29
+ run("docker-compose logs --tail 20 --follow ") if options[:logs]
30
30
  end
31
31
 
32
32
  method_option :service, default: '', type: :string, aliases: '-s'
@@ -1,3 +1,3 @@
1
1
  module StackCar
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stack_car
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Kaufman