sct 1.10.0 → 1.10.2

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
  SHA256:
3
- metadata.gz: c662a27967c4ce64e04d081bcc5f5809e8cb593d5d83908657515c20c94c7ccf
4
- data.tar.gz: 0c6fcea918a56fe65e3d49dc21be0bce93b794721157e3880d4d7215b9cc7785
3
+ metadata.gz: 5a68f16a0e6fdb2f7b847d550f6f494c5542050c874960882b3dd895d38957a4
4
+ data.tar.gz: 615de06d3a5caef06ae896155fb8f21c7bfc4363c15deeecff587ded887a1938
5
5
  SHA512:
6
- metadata.gz: e228362189fdff909fbb6c6b332e0b82ea9af721c418ff859ac89e2b8f4517aa97cf70d854112f679ed40449b154e6a30bb7a9db1aa586f6ac4fa66e0b2e883c
7
- data.tar.gz: 54b46912915b24e7bdefcbe406246020f9dbefd5d42786425de5f6873fdb14e15ec700c5aa05060d5ff61e34f2f21f7e2ca5da3fd11b6be6efa55a5f5bc4da86
6
+ metadata.gz: a5a35b8c07b6177c9f437a9372335274d79f1bf0e827b0787518cf1a4e30e981a098f0bda42831506dda7160f5c721d853f719fe4f6cef7b0f2636e10e56370b
7
+ data.tar.gz: fa90845379ac42f607555e51ef3224d33dac018e7924459e69b00605da836dd690d41874d68c636ebab925e2ec417e37a048e7fd42890726033a926d514289e5
@@ -69,7 +69,12 @@ module Sct
69
69
  container = service_spec["container_name"]
70
70
  command = service_spec["command"] || ""
71
71
 
72
- dc_dev "run --rm --service-ports --name #{container} #{service} #{command}", env
72
+ begin
73
+ dc_dev "up --remove-orphans --force-recreate --always-recreate-deps", env
74
+ rescue Interrupt
75
+ # user pressed Ctrl+C, do nothing
76
+ end
77
+ dc_dev "down --remove-orphans", env
73
78
  else
74
79
  begin
75
80
  dc_dev "up --remove-orphans --force-recreate --always-recreate-deps", env
@@ -9,7 +9,7 @@ module Sct
9
9
  end
10
10
 
11
11
  def execute args, options
12
- command = args.empty? ? "sh" : args.join(" ")
12
+ command = args.empty? ? "bash" : args.join(" ")
13
13
 
14
14
  file = "docker-compose.dev.yml"
15
15
 
@@ -1,3 +1,3 @@
1
1
  module Sct
2
- VERSION = "1.10.0"
2
+ VERSION = "1.10.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sct
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reshad Farid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-23 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored
@@ -253,8 +253,8 @@ metadata:
253
253
  post_install_message:
254
254
  rdoc_options: []
255
255
  require_paths:
256
- - sct_core/lib
257
256
  - sct/lib
257
+ - sct_core/lib
258
258
  - henk/lib
259
259
  - cluster/lib
260
260
  required_ruby_version: !ruby/object:Gem::Requirement