ruby-sfn-local 0.1.22 → 0.1.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sfn/state_machine.rb +4 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cb6326f70d08bab3c54dc346c06cbbe2526671fff5735241008d8207fa78a51
4
- data.tar.gz: 1b79884b08ca35e5692defb5994e772db22cb22c7e0c3c32338c2bde58a6d972
3
+ metadata.gz: 5649086ba90d0f7597ded6316c02004caef537d9f441bc23bdebffd2b335ab96
4
+ data.tar.gz: 8b1539d8cf66d37985d6446a50ef43febb50403b9b14c1fcdccc343cc44b8247
5
5
  SHA512:
6
- metadata.gz: 33ecc88a354f55dbb917e47f521712d1fdf8d5d0deec092d2d1484acfca515bfa217d12c6c14e03bbe47bbf6179300cae3133b189adda46f7cfe68bf38c5d0cd
7
- data.tar.gz: bc850a62b5a758e43c4de78400aef85af22347690e39fbeaa945e585f7bd2813c6d929bfa36df60c51b3dfea0dd0484fe41879a74da5d3a1df25578a04f27067
6
+ metadata.gz: 779b53b87b9b156ab739b5c18b118f439e82ffe8471ab6b9c440b57e24eb19255aac913811006dea0280cd644978e19d49b53d9491d21a6bd0bab5c5ddd33ae4
7
+ data.tar.gz: 9bb8f5901b66ac85328d4d683f2dc7912e5b442afc6135bf2ba798c79cd99812f6ab75b99660d5cfd313e5850a10d67681e7183adc1ea38eb9ef6fecfb5860ab
@@ -75,9 +75,11 @@ module Sfn
75
75
  local_definition = local_definition.gsub(/"Seconds": [0-9]+,*/, '')
76
76
  local_definition = local_definition.gsub(/"Timestamp": "[0-9\-T:+]+",*/, '')
77
77
  local_definition = local_definition.gsub(/"TimestampPath": "[^\"]+",*/, '')
78
- local_definition = local_definition.gsub(/,[\s\n]+\}/, "\n}")
79
78
  local_definition = local_definition.gsub("ItemProcessor", "Iterator")
80
- local_definition = local_definition.gsub(/"ProcessorConfig":\s+{\n\s+"Mode":\s"[A-Z]+"\n\s+},\n/, "")
79
+ local_definition = local_definition.gsub("ItemSelector", "Parameters")
80
+ local_definition = local_definition.gsub(/"ProcessorConfig":\s*{[\s"[A-Za-z:,]]+},*/, "")
81
+ local_definition = local_definition.gsub(/"Label": "[A-Za-z]+",*/, "")
82
+ local_definition = local_definition.gsub(/,[\s\n]+\}/, "\n}")
81
83
 
82
84
  File.open(local_definition_path, 'w') { |file| file.puts local_definition }
83
85
  "file://#{local_definition_path}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-sfn-local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.22
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gianni Mazza
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-02 00:00:00.000000000 Z
11
+ date: 2023-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-release