ruby-sfn-local 0.1.21 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sfn/state_machine.rb +4 -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: 2894068622db2c20baedbefb1b890af2144736538c253a6e9d073bd3c381aa5b
|
4
|
+
data.tar.gz: 005de56e64a03ff270b1f8a5f16ccb75060fb0fb9d6cc8d7146ad90710cb26cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06f0d307de2fa217ad4bf2f79e8d6beb6909406420d677098e8919142099a67debdc251a1353613a4dee07a341a6801a5f00838dc7a5697da69c41e49ee51397
|
7
|
+
data.tar.gz: 29b01ff318928956aa3660b0ea1d026b944fc0886cc0c4b1487debc5911ed69222efd08271cdb364d7925fb6fe4b4e5cd6e15599167885e6a0740f9c67c82543
|
data/lib/sfn/state_machine.rb
CHANGED
@@ -76,7 +76,10 @@ module Sfn
|
|
76
76
|
local_definition = local_definition.gsub(/"Timestamp": "[0-9\-T:+]+",*/, '')
|
77
77
|
local_definition = local_definition.gsub(/"TimestampPath": "[^\"]+",*/, '')
|
78
78
|
local_definition = local_definition.gsub(/,[\s\n]+\}/, "\n}")
|
79
|
-
|
79
|
+
local_definition = local_definition.gsub("ItemProcessor", "Iterator")
|
80
|
+
local_definition = local_definition.gsub("ItemSelector", "Parameters")
|
81
|
+
local_definition = local_definition.gsub(/"ProcessorConfig":\s+{\n\s+"Mode":\s"[A-Z]+"\n\s+},\n/, "")
|
82
|
+
|
80
83
|
File.open(local_definition_path, 'w') { |file| file.puts local_definition }
|
81
84
|
"file://#{local_definition_path}"
|
82
85
|
end
|
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.
|
4
|
+
version: 0.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gianni Mazza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-release
|