sct 1.10.0 → 1.10.1

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: 48f681aafa9124537e7313e47d6fd071e7003b307dae51695ac420b98533489c
4
+ data.tar.gz: 516ad86cf7bb374b091fe58ed62018c8fec88f4ef434f9744435a3a8735e43e5
5
5
  SHA512:
6
- metadata.gz: e228362189fdff909fbb6c6b332e0b82ea9af721c418ff859ac89e2b8f4517aa97cf70d854112f679ed40449b154e6a30bb7a9db1aa586f6ac4fa66e0b2e883c
7
- data.tar.gz: 54b46912915b24e7bdefcbe406246020f9dbefd5d42786425de5f6873fdb14e15ec700c5aa05060d5ff61e34f2f21f7e2ca5da3fd11b6be6efa55a5f5bc4da86
6
+ metadata.gz: e8946ad1798ee15da692749b6e06cff745b3da0a8e42fcd9e0816856c4582d0c250de169a44c5de64c43d3ba2997f3181a1dc1a5cb1e45c14bce01f8f3280ddd
7
+ data.tar.gz: 4e37d590ac2ab58e28e5dae05459ab58d0fcd735c14f3974dc99294d2bf7d82b9ed8cb2d97dfe17a8031b1fd38b871e4a3b19cbf697398f100359d613bdf097f
@@ -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.1"
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.1
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