stack_car 0.17.0 → 0.18.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aed65228d5800ad11558a876bec39f0a8d39e7d26ee8f8129034b96dddce254b
4
- data.tar.gz: 34d44f3b1b014a2a47d0b9bbbd2bfd811fbc60eb1a4b3918530742e716dc4757
3
+ metadata.gz: a6ed8d5c6219471376a05ccc900ef285e6dd0409c4b6954a115282280fdbfb38
4
+ data.tar.gz: f87e0c76404381eda7bcf77e08ea24a937f197556cb77ad0e677540db09eba08
5
5
  SHA512:
6
- metadata.gz: ee8538051ee7aec8475b020825baa714f3044ed470d7bb65fee76a629667a442c91b38b6fbfa3d56284822b14f4b8b5ebc9bd3add7d09320c697c187b0aca0a6
7
- data.tar.gz: 66642618c3291966017e0f22c3b7d1e3e504d12dbeb5f37fcefac3f68fb12dcd2fb454b7550e456f32ee7f42e05fa976266b3a6005f2aad3724511198e8613ff
6
+ metadata.gz: 348b12ba0d514385f5b1b1263581e987aae3e2714c8a61aa888305a69fff5ce18b1a83906f04a349054dd4dd275a7df9d7ccbc005ecf3b03be0f0769ab1f25e0
7
+ data.tar.gz: c83f60d3aadd3b9e8aae2bd2fec26ed27759fdf4a8be6a1ef088f1e76eb841625cc00ce2982aab1f1c6261579f06a06eafe303953092aa90125053da970a3c7e
data/lib/stack_car/cli.rb CHANGED
@@ -18,11 +18,11 @@ module StackCar
18
18
  method_option :service, default: 'web', type: :string, aliases: '-s'
19
19
  method_option :build, default: false, type: :boolean, aliases: '-b'
20
20
  method_option :logs, default: true, type: :boolean
21
- desc "up", "starts docker compose with rebuild and orphan removal, defaults to web"
21
+ desc "up", "starts docker compose with rebuild, defaults to web"
22
22
  def up
23
23
  setup
24
24
  ensure_development_env
25
- args = ['--remove-orphans']
25
+ args = []
26
26
  args << '--build' if options[:build]
27
27
  if options[:build]
28
28
  run("#{dotenv} docker compose pull #{options[:service]}")
@@ -42,7 +42,6 @@ module StackCar
42
42
 
43
43
  method_option :volumes, aliases: '-v'
44
44
  method_option :rmi
45
- method_option :'remove-orphans'
46
45
  method_option :service, aliases: '-s'
47
46
  method_option :timeout, aliases: '-t'
48
47
  method_option :all, aliases: '-a'
@@ -75,13 +74,12 @@ module StackCar
75
74
 
76
75
  args = []
77
76
  if options[:all]
78
- prompt_run_confirmation('--all will remove all containers, volumes, networks, local images, and orphaned containers. Continue?')
77
+ prompt_run_confirmation('--all will remove all containers, volumes, networks, and local images. Continue?')
79
78
 
80
- args = %w[--volumes --rmi=local --remove-orphans]
79
+ args = %w[--volumes --rmi=local]
81
80
  else
82
81
  args << '--volumes' if options[:volumes]
83
82
  args << '--rmi=local' if options[:rmi]
84
- args << '--remove-orphans' if options[:'remove-orphans']
85
83
  args << '--timeout' if options[:timeout]
86
84
  end
87
85
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StackCar
4
- VERSION = '0.17.0'
4
+ VERSION = '0.18.0'
5
5
  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.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Kaufman