eco-rake 0.2.19 → 0.2.22

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: a340954aeedb14ae0b78422449f7533d6905c9fc6d321780af08c182d1cd1ccc
4
- data.tar.gz: dd0891774a00fd0bb2e93cf42f0a46b73addd827508998c53f9e9570ac4d81f0
3
+ metadata.gz: 885c49ab28211426eb99a4f2f4fd29444169308929ca69e7f4987a3b74445dfd
4
+ data.tar.gz: bf35b6c25a4e1b72bcb45bd390d65e0813dd8badc057828fe33a4702707872b8
5
5
  SHA512:
6
- metadata.gz: b6a8f94ec722427359c5994c2ae02b6fc29a476736aaaeaf5a35cc3e26ca0c1cd91c1623686e5bbc985b38743a519e8a2aef203a2727aa8725b1acb2838b23c1
7
- data.tar.gz: d8a89d67b14729c88201da0e53621004239ab8b2e0d7755a765e3979723d6266c9460db30821bd8b31d8faf7b19beeb670d9992bd31725aa76922edc7c92dd27
6
+ metadata.gz: 54ec3eab079fafacecd8430183ffdd0fb81a1ea893c40251e9e659d5359f8751ade9ddb27da4ffb35ede0f28adac323bb46c592d72cfa8dc6d1a23a899b0b036
7
+ data.tar.gz: 2a384df8e189597b3cac6cfe6f8192b2bfcd2604d61f568325a85fd6c16f85d00e5954422051951953743fa5d49d0943a49df1a6fee71bbfcc7924c6458e5b2d
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.20] - 2025-03-xx
5
+ ## [0.2.23] - 2025-03-xx
6
6
 
7
7
  ### Added
8
8
 
@@ -10,7 +10,30 @@ 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
13
+ ## [0.2.22] - 2025-03-26
14
+
15
+ ### Added
16
+
17
+ ### Changed
18
+
19
+ ### Fixed
20
+
21
+ - Payload push command
22
+
23
+ ## [0.2.21] - 2025-03-26
24
+
25
+ ### Fixed
26
+
27
+ - Payload push shouldn't carry options
28
+
29
+ ## [0.2.20] - 2025-03-26
30
+
31
+ ### Added
32
+
33
+ - `export:payload`
34
+ - added `-get-people` stage
35
+
36
+ ## [0.2.19] - 2025-03-22
14
37
 
15
38
  ### Changed
16
39
 
@@ -30,6 +30,8 @@ class EcoRake
30
30
  str_desc = 'Target space of the envionment (i.e. uat)'
31
31
  option '-w', '--space SPACE', String, desc: str_desc
32
32
 
33
+ option '-n', '--no-get', FalseClass, desc: 'Skip get people step'
34
+
33
35
  str_desc = 'If the PAYLOAD file is a full file (false: means delta)'
34
36
  option '-f', '--[no-]full', TrueClass, default: false, desc: str_desc
35
37
 
@@ -46,6 +48,8 @@ class EcoRake
46
48
  option_forwarding(**FORWARD_RULES)
47
49
 
48
50
  def task(*_args)
51
+ sh_exit_on_fail people_get_command unless options[:no_get]
52
+
49
53
  sh_chain(commands) do |ok, res|
50
54
  next if ok
51
55
 
@@ -79,7 +83,7 @@ class EcoRake
79
83
  end
80
84
 
81
85
  def export_sftp_push
82
- forward_command('-extract-sftp-push')
86
+ base_command('-extract-sftp-push')
83
87
  end
84
88
 
85
89
  def forward_command(use, *opts)
@@ -133,6 +137,10 @@ class EcoRake
133
137
 
134
138
  exit 1
135
139
  end
140
+
141
+ def people_get_command
142
+ string_cmd(ruby_runner, *forward_options(:enviro, :space), '-get-people')
143
+ end
136
144
  end
137
145
  end
138
146
  end
@@ -1,5 +1,5 @@
1
1
  require 'rake-commander'
2
2
 
3
3
  class EcoRake < RakeCommander
4
- VERSION = '0.2.19'.freeze
4
+ VERSION = '0.2.22'.freeze
5
5
  end
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.19
4
+ version: 0.2.22
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-22 00:00:00.000000000 Z
11
+ date: 2025-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake