takeltau 0.45.0 → 0.45.3

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: 18425fc54e196beadfd93491d38107bf127d3a08e6c5e9a72be0dc42de441a7e
4
- data.tar.gz: 452128d0b1ee6a8446c632bbbcc9c8f119865bf4d2061bc77206b98567b3edc3
3
+ metadata.gz: 0517b8192d4b404d2dfb7ca8fd0e14449dc619e94faa16f90949b05251d27eee
4
+ data.tar.gz: 1607602afd9899da8c7d3fdadb45c61c76415c1eae1b91fa507e224560e162e7
5
5
  SHA512:
6
- metadata.gz: cc01acc0867fa7e5410c07457c753842046a2f5ce15c653014678ca39abc5966a738a59914da17acda7cf5e09f31bd410e2466d7d7a640480f9b9f1a37ab43cf
7
- data.tar.gz: c1019e1de61d6d060291881080b694397445b922e9373774e5744e502f0cfb9b80212c2d48cc8f15fd2405b60aac6d33dbffb5b4c53afe1c96ff1542216a98ce
6
+ metadata.gz: ec1eb837ef05338055ef8269e0d87d911ba355a824deb3436915f479dd2332ecf64aea0ec5cb042804695acd346b80516b975e8f2ec899caadcbb5d4fe92a241
7
+ data.tar.gz: 1c570418922ebd2283ebe28cb96c6b0ceccc16de1040d27c6ac02c3a85e13263395eb44c3c2cf7e3ead39930b2e983235d025a167df19f2d608ccf8e319bad1a
@@ -95,6 +95,9 @@ module SystemModule
95
95
 
96
96
  # Use Kernel#exec to replace the ruby process with a command.
97
97
  def run_and_exit(command)
98
+ trap 'SIGINT' do
99
+ exit
100
+ end
98
101
  Dir.chdir(config.active['project_root_dir']) do
99
102
  log.debug "Running command \"#{command}\" and exiting afterwards"
100
103
  exec command
@@ -125,7 +125,7 @@ module Takeltau
125
125
  Takeltau::ShipContainer.new.podman(*args)
126
126
  end
127
127
 
128
- desc 'restart [PROJECT]', 'Restart takelship [PROJECT]'
128
+ desc 'restart [PROJECT]', 'Restart a takelship [PROJECT]'
129
129
  long_desc <<-LONGDESC.gsub("\n", "\x5")
130
130
  Restart a takelship and run project [PROJECT] in it.
131
131
  Alias for ship project restart which is an
@@ -146,7 +146,7 @@ module Takeltau
146
146
  Takeltau::ShipContainer.new.sudo(*args)
147
147
  end
148
148
 
149
- desc 'start [PROJECT]', 'Start takelship [PROJECT]'
149
+ desc 'start [PROJECT]', 'Start a takelship [PROJECT]'
150
150
  long_desc <<-LONGDESC.gsub("\n", "\x5")
151
151
  Start a takelship and run project [PROJECT] in it.
152
152
  Alias for ship project start.
@@ -156,7 +156,7 @@ module Takeltau
156
156
  Takeltau::ShipProject.new.start project
157
157
  end
158
158
 
159
- desc 'sail [PROJECT]', 'Start takelship [PROJECT]'
159
+ desc 'sail [PROJECT]', 'Start a takelship [PROJECT]'
160
160
  long_desc <<-LONGDESC.gsub("\n", "\x5")
161
161
  Start a takelship and run project [PROJECT] in it.
162
162
  Alias for ship project start.
@@ -44,7 +44,7 @@ module Takeltau
44
44
  #
45
45
  # ship project restart
46
46
  #
47
- desc 'restart [PROJECT]', 'Restart takelship [PROJECT]'
47
+ desc 'restart [PROJECT]', 'Restart a takelship [PROJECT]'
48
48
  long_desc <<-LONGDESC.gsub("\n", "\x5")
49
49
  Restart a takelship and run the project [PROJECT] in it.
50
50
  Alias for ship project stop and ship project start.
@@ -65,7 +65,7 @@ module Takeltau
65
65
  #
66
66
  # ship project start
67
67
  #
68
- desc 'start [PROJECT]', 'Start takelship [PROJECT]'
68
+ desc 'start [PROJECT]', 'Start a takelship [PROJECT]'
69
69
  long_desc <<-LONGDESC.gsub("\n", "\x5")
70
70
  Start a takelship and run project [PROJECT] in it.
71
71
  LONGDESC
data/lib/takeltau/version CHANGED
@@ -1 +1 @@
1
- 0.45.0
1
+ 0.45.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: takeltau
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.45.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takelwerk