takeltau 0.45.11 → 0.45.13

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: f6d0dc8fc50e46b89c40119ed9df721ae735575f373f6bf81c06254f607e7cc3
4
- data.tar.gz: 889e3812cf06a7cef93249f1bab664ae9155ac40ddc91b4f590a98474343b178
3
+ metadata.gz: 3c5a5d7fa8d4041c19febf3b718639ddfff60a3f755beb45b18d749a76ac455a
4
+ data.tar.gz: 41f7639790c45628afcac85a5f2b0aa84e58658dbc120d20c3998c509f5bc1b2
5
5
  SHA512:
6
- metadata.gz: d499a4631282fbd0e72525d7e6b8a29f98417d1a31eaa6fe5e914963d5b48c9a56a9bff7dd68d660662ad78e62711333918a973cc6b6712e2f0f1efc1652faff
7
- data.tar.gz: 985a4e83645af92ab6ed6a1600abdb0a6c6a7a6101f3191f9c12127260efa85ffb044083ff8eacc72d2527c0e191f0b3c7e217cb69b69aa9617ecdfdb6a472b4
6
+ metadata.gz: '0090b3a67cf72a6f570a5ac742686e516749e8ec28895971ab3d165df9f7f2d1569f04f270c7012e7a3231650aa9af36ea3754ced76cf88bc4216d74c93f6bcb'
7
+ data.tar.gz: a96cd7240688ae4183189f76191279e8801398043651ef5d427152a69fd2f50e85acb60011d035c7f24b9f899168cedb12becc92443b6e26de9ad63e1067266e
data/README.md CHANGED
@@ -194,10 +194,10 @@ or *tau config*.
194
194
  | TAKELAGE_TAU_CONFIG_* | ultimate | Fileless configuration through TAKELAGE_TAU_CONFIG environment variables. |
195
195
 
196
196
  The tau command line tool is directory-aware so it is important that you can set the working directory of the tau command.
197
- The project directory is identified by the first match:
197
+ The project directory is identified by precedence:
198
198
 
199
- | Method | Precedence | Description |
200
- |-|-|-|
199
+ | Method | Precedence |
200
+ |-|-|
201
201
  | Current working directory | lowest |
202
202
  | Main [`Rakefile`](Rakefile) | normal |
203
203
  | `TAKELAGE_WORKDIR` environment variable | highest |
@@ -267,6 +267,12 @@ Add this to your [bash startup files](https://www.gnu.org/software/bash/manual/h
267
267
  source <(tau completion bash)
268
268
  ```
269
269
 
270
+ and/or
271
+
272
+ ```bash
273
+ source <(ship completion bash)
274
+ ```
275
+
270
276
  ### Software Tests
271
277
 
272
278
  *takelage-cli* uses
@@ -17,7 +17,7 @@ module Takeltau
17
17
  def bash
18
18
  completion_bash = Takeltau::CLI.new.bash_fylla
19
19
  exit false if completion_bash == false
20
- say completion_bash
20
+ say completion_bash.strip.split("\n").grep_v(/"--help"/).grep_v(/"-h"/).join("\n")
21
21
  true
22
22
  end
23
23
  end
@@ -64,7 +64,7 @@ cmd_ship_docker: 'docker'
64
64
  cmd_ship_docker_check: 'docker --version'
65
65
  cmd_ship_project_start_docker_run_nonprivileged: '%{ship_docker} run --rm --interactive %{ship_run_args_nonprivileged} %{image} %{command}'
66
66
  cmd_ship_project_start_docker_run_privileged: '%{ship_docker} run --privileged --rm --detach --name %{ship_hostname} --hostname %{ship_hostname} %{ship_env} %{ports} --volume %{project_root_dir}/%{ship_data_dir}:/home/podman/takelship %{ship_run_args_privileged} %{image} %{command}'
67
- cmd_ship_project_start_docker_stop: '%{ship_docker} stop %{ship_hostname}'
67
+ cmd_ship_project_start_docker_stop: '%{ship_docker} kill %{ship_hostname}'
68
68
  docker_container_check_matrjoschka: true
69
69
  docker_debug: 'ansible/roles/takel_takelage/files/takelscripts'
70
70
  docker_entrypoint_extra: ''
@@ -98,7 +98,6 @@ ship_images_sync: true
98
98
  ship_name: 'takelship'
99
99
  ship_podman_localhost: '127.0.0.1'
100
100
  ship_repo: 'takelship'
101
- ship_restart_sleep_seconds: '2'
102
101
  ship_run_args_nonprivileged: ''
103
102
  ship_run_args_privileged: ''
104
103
  ship_tag: 'latest'
@@ -29,6 +29,8 @@ module ShipCompletionBash
29
29
  .split(/_tau[^_]*/)
30
30
  .grep(/_ship/)
31
31
  .grep_v(/_ship\n/)
32
+ .grep_v(/"--help"/)
33
+ .grep_v(/"-h"/)
32
34
  functions.join
33
35
  end
34
36
  end
@@ -52,13 +52,6 @@ module Takeltau
52
52
  # ship restart: {Takeltau::ShipProject#restart}
53
53
  def restart(project = 'default')
54
54
  Takeltau::ShipProject.new.stop
55
- begin
56
- seconds = Integer(config.active['ship_restart_sleep_seconds'])
57
- rescue ArgumentError
58
- seconds = 2
59
- end
60
- log.debug "Sleeping for #{seconds} seconds"
61
- sleep seconds
62
55
  Takeltau::ShipProject.new.start project
63
56
  end
64
57
 
data/lib/takeltau/version CHANGED
@@ -1 +1 @@
1
- 0.45.11
1
+ 0.45.13
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.11
4
+ version: 0.45.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takelwerk