eco-rake 0.2.17 → 0.2.19
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 +4 -4
- data/CHANGELOG.md +13 -1
- data/lib/eco-rake/lib/export/payload.rb +8 -8
- data/lib/eco-rake/lib/task/runner_launch.rb +8 -2
- data/lib/eco-rake/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a340954aeedb14ae0b78422449f7533d6905c9fc6d321780af08c182d1cd1ccc
|
4
|
+
data.tar.gz: dd0891774a00fd0bb2e93cf42f0a46b73addd827508998c53f9e9570ac4d81f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6a8f94ec722427359c5994c2ae02b6fc29a476736aaaeaf5a35cc3e26ca0c1cd91c1623686e5bbc985b38743a519e8a2aef203a2727aa8725b1acb2838b23c1
|
7
|
+
data.tar.gz: d8a89d67b14729c88201da0e53621004239ab8b2e0d7755a765e3979723d6266c9460db30821bd8b31d8faf7b19beeb670d9992bd31725aa76922edc7c92dd27
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
-
## [0.2.
|
5
|
+
## [0.2.20] - 2025-03-xx
|
6
6
|
|
7
7
|
### Added
|
8
8
|
|
@@ -10,6 +10,18 @@ All notable changes to this project will be documented in this file.
|
|
10
10
|
|
11
11
|
### Fixed
|
12
12
|
|
13
|
+
## [0.2.19] - 2025-03-xx
|
14
|
+
|
15
|
+
### Changed
|
16
|
+
|
17
|
+
- `subtask` names to have an alternative substitution from `-` to `_` for method names compatiblity
|
18
|
+
|
19
|
+
## [0.2.18] - 2025-03-22
|
20
|
+
|
21
|
+
### Changed
|
22
|
+
|
23
|
+
- Command invocation cases on `Export::Payload` related tasks.
|
24
|
+
|
13
25
|
## [0.2.17] - 2025-03-22
|
14
26
|
|
15
27
|
### Added
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Use case for special integrations. It requires some use cases to be present
|
2
|
-
# 1. `-
|
3
|
-
# 2. `-
|
4
|
-
# 3. `-
|
5
|
-
# 4. `-
|
2
|
+
# 1. `-extract-select-options`
|
3
|
+
# 2. `-extract-registers`
|
4
|
+
# 3. `-extract-pack`
|
5
|
+
# 4. `-extract-sftp-push`
|
6
6
|
require 'optparse/time'
|
7
7
|
class EcoRake
|
8
8
|
module Lib
|
@@ -67,19 +67,19 @@ class EcoRake
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def export_select_options
|
70
|
-
forward_command('-
|
70
|
+
forward_command('-extract-select-options')
|
71
71
|
end
|
72
72
|
|
73
73
|
def export_registers
|
74
|
-
forward_command('-
|
74
|
+
forward_command('-extract-registers')
|
75
75
|
end
|
76
76
|
|
77
77
|
def export_pack
|
78
|
-
forward_command('-
|
78
|
+
forward_command('-extract-pack', :full, :asat)
|
79
79
|
end
|
80
80
|
|
81
81
|
def export_sftp_push
|
82
|
-
forward_command('-
|
82
|
+
forward_command('-extract-sftp-push')
|
83
83
|
end
|
84
84
|
|
85
85
|
def forward_command(use, *opts)
|
@@ -62,10 +62,16 @@ class EcoRake
|
|
62
62
|
|
63
63
|
def target_subtask
|
64
64
|
subtask_name = options[:task].to_sym
|
65
|
-
|
65
|
+
alt_name = subtask_name.to_s.gsub('-', '_').to_sym
|
66
|
+
|
67
|
+
subtasks = self.class.subtasks
|
68
|
+
subtasks.values_at(subtask_name, alt_name).compact.first.tap do |ts|
|
66
69
|
next if ts
|
67
70
|
|
68
|
-
|
71
|
+
msg = "Couldn't find any (sub)task named '#{subtask_name}'"
|
72
|
+
msg << " (#{alt_name})" unless alt_name == subtask_name
|
73
|
+
|
74
|
+
raise msg
|
69
75
|
end
|
70
76
|
end
|
71
77
|
|
data/lib/eco-rake/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eco-rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oscar Segura Samper
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|