takeltau 0.44.39 → 0.44.41

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: 20b7b38793f603453839bb7afb42a2a722d9c534520dd554067d6d85cf4a5933
4
- data.tar.gz: 5e1da36f08c08b9592f34ce37fdbf18afbfee4ecfa7e84cc4f69b5743f7fea24
3
+ metadata.gz: 4ba68a908eb9fc2892702047e2bab32fed4f094ce05a78132dffebcafe3b06af
4
+ data.tar.gz: 982ac70933014a8be6b08348c1e62d244fa43b22e04f1cd951c017c761c931c1
5
5
  SHA512:
6
- metadata.gz: 467a23d50a52ef4c76c407d1bc5fa5270d6bbfc1921978ada4bb3d86134ff7d24480ecefb733b5d2762e5076e45beb1f6be92a7927298b70ec5546844ac6f7b9
7
- data.tar.gz: 10c53c955a13ae01753297b4f426a20b334d7bb0ca370d7b14419875cfcbae43a1fd00755c975635f2e833c7f83ad909aeafd641f3fc2303ec7884659a5a9484
6
+ metadata.gz: e66a3149146dcd4a3a892984ab6fb67a7ef0062a7ac7a0fc164af4f80ea1438ec4c46ba0fd51042d4bce264b0f3197c056ee7ad8c4b80010617e6258ebdc664a
7
+ data.tar.gz: a62b1f02afae211d2ce17272c8d5a9daea8d312885d80310814e3151f3869dbf8a447a50d219af4aa083c27dff72cbe9c7ca0534ef4652a5d66e333da02c2ee2
data/README.md CHANGED
@@ -119,6 +119,7 @@ or *tau commands*:
119
119
  | tau [self config default](features/cucumber/features/self/self.config.default.feature) | Print takelage default configuration |
120
120
  | tau [self config home](features/cucumber/features/self/self.config.home.feature) | Print takelage home config file configuration |
121
121
  | tau [self config project](features/cucumber/features/self/self.config.project.feature) | Print takelage project config file configuration |
122
+ | tau [self config envvars](features/cucumber/features/self/self.config.envvars.feature) | Print env vars takeltau configuration |
122
123
  | tau [self version](features/cucumber/features/self/self.version.feature) | Print tau semantic version number |
123
124
  | tau [ship completion bash](features/cucumber/features/ship/completion/completion.bash.feature) | Print bash completion code for ship subcommand |
124
125
  | tau [ship container check existing](features/cucumber/features/ship/container/ship.container.check.existing.feature) | Check if a takelship is existing |
@@ -136,6 +137,7 @@ or *tau commands*:
136
137
  | tau [ship container update](features/cucumber/features/ship/container/ship.container.update.feature) | Update takelship image |
137
138
  | tau [ship info takelconfig](features/cucumber/features/ship/info/ship.info.takelconfig.feature) | Print takelage config |
138
139
  | tau [ship info takelship](features/cucumber/features/ship/info/ship.info.takelship.feature) | Print takelship info |
140
+ | tau [ship info version](features/cucumber/features/ship/info/ship.info.version.feature) | Print ship version |
139
141
  | tau [ship project create](features/cucumber/features/ship/project/ship.project.create.feature) [PROJECT] | Create a takelship [PROJECT] |
140
142
  | tau [ship project list](features/cucumber/features/ship/project/ship.project.list.feature) | List takelship projects |
141
143
  | tau [ship project restart](features/cucumber/features/ship/project/ship.project.restart.feature) [PROJECT] | Restart a takelship [PROJECT] |
@@ -159,6 +161,7 @@ or *tau commands*:
159
161
  | tau ship sudo [CMD] | Alias for tau [ship container sudo](features/cucumber/features/ship/container/ship.container.sudo.feature) |
160
162
  | tau ship wreck | Alias for tau [ship project stop](features/cucumber/features/ship/project/ship.project.stop.feature) |
161
163
  | tau ship update | Alias for tau [ship container update](features/cucumber/features/ship/container/ship.container.update.feature) |
164
+ | tau ship version | Alias for tau [ship info version](features/cucumber/features/ship/container/ship.info.version.feature) |
162
165
  | tau clean | Alias for tau [docker container clean](features/cucumber/features/docker/docker.container.clean.feature) |
163
166
  | tau commands | Alias for tau [self commands](features/cucumber/features/self/self.commands.feature) |
164
167
  | tau config | Alias for tau [self config active](features/cucumber/features/self/self.config.active.feature) |
@@ -195,10 +198,10 @@ The project directory is identified by the first match:
195
198
 
196
199
  | Method | Precedence | Description |
197
200
  |-|-|-|
198
- | `--workdir`/`-w` command line option | ultimate |
199
- | `TAKELAGE_WORKDIR` environment variable | highest |
200
- | Main [`Rakefile`](Rakefile) | normal |
201
201
  | Current working directory | lowest |
202
+ | Main [`Rakefile`](Rakefile) | normal |
203
+ | `TAKELAGE_WORKDIR` environment variable | highest |
204
+ | `--workdir`/`-w` command line option | ultimate |
202
205
 
203
206
  ### Configuration Examples
204
207
 
@@ -5,7 +5,6 @@ require 'open3'
5
5
  require 'yaml'
6
6
 
7
7
  # Interaction with the operating system
8
- # rubocop:disable Metrics/ModuleLength
9
8
  module SystemModule
10
9
  # Check if a command is available else log error message
11
10
  # @return [Boolean] is the command available?
@@ -228,4 +227,3 @@ module SystemModule
228
227
  plural
229
228
  end
230
229
  end
231
- # rubocop:enable Metrics/ModuleLength
@@ -20,7 +20,6 @@ module Takeltau
20
20
 
21
21
  tau self config defaults > ~/.takelage.yml
22
22
  LONGDESC
23
- # Print takeltau default configuration.
24
23
  def default
25
24
  config_default_yaml = hash_to_yaml(config.default)
26
25
  exit false if config_default_yaml == false
@@ -28,6 +27,23 @@ module Takeltau
28
27
  true
29
28
  end
30
29
 
30
+ #
31
+ # config active
32
+ #
33
+ desc 'active', 'Print active takeltau configuration'
34
+ long_desc <<-LONGDESC.gsub("\n", "\x5")
35
+ Print active takeltau configuration
36
+ This command will print the configuration read from the takeltau
37
+ configuration file (which is by default ~/.takeltau.yml).
38
+ LONGDESC
39
+ # Print active takeltau configuration.
40
+ def active
41
+ config_active_yaml = hash_to_yaml(config.active)
42
+ exit false if config_active_yaml == false
43
+ say config_active_yaml
44
+ true
45
+ end
46
+
31
47
  #
32
48
  # config home
33
49
  #
@@ -78,22 +94,5 @@ module Takeltau
78
94
  say config_envvars_yaml
79
95
  true
80
96
  end
81
-
82
- #
83
- # config active
84
- #
85
- desc 'active', 'Print active takeltau configuration'
86
- long_desc <<-LONGDESC.gsub("\n", "\x5")
87
- Print active takeltau configuration
88
- This command will print the configuration read from the takeltau
89
- configuration file (which is by default ~/.takeltau.yml).
90
- LONGDESC
91
- # Print active takeltau configuration.
92
- def active
93
- config_active_yaml = hash_to_yaml(config.active)
94
- exit false if config_active_yaml == false
95
- say config_active_yaml
96
- true
97
- end
98
97
  end
99
98
  end
@@ -176,6 +176,15 @@ module Takeltau
176
176
  Takeltau::ShipProject.new.stop
177
177
  end
178
178
 
179
+ desc 'version', 'Print ship version'
180
+ long_desc <<-LONGDESC.gsub("\n", "\x5")
181
+ Print ship semantic version number.
182
+ Alias for ship info version.
183
+ LONGDESC
184
+ def version
185
+ Takeltau::ShipInfo.new.version
186
+ end
187
+
179
188
  desc 'wreck', 'Stop a takelship'
180
189
  long_desc <<-LONGDESC.gsub("\n", "\x5")
181
190
  Stop a takelship container.
@@ -36,5 +36,17 @@ module Takeltau
36
36
  def takelship
37
37
  say _ship_info_lib_get_takelshipinfo.to_yaml
38
38
  end
39
+
40
+ #
41
+ # ship info version
42
+ #
43
+ desc 'version', 'Print ship version'
44
+ long_desc <<-LONGDESC.gsub("\n", "\x5")
45
+ Print ship semantic version number.
46
+ LONGDESC
47
+ def version
48
+ say VERSION
49
+ true
50
+ end
39
51
  end
40
52
  end
data/lib/takeltau/version CHANGED
@@ -1 +1 @@
1
- 0.44.39
1
+ 0.44.41
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.44.39
4
+ version: 0.44.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takelwerk