ruby-sfn-local 0.1.23 → 0.1.24
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 +3 -2
- 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: 5649086ba90d0f7597ded6316c02004caef537d9f441bc23bdebffd2b335ab96
|
4
|
+
data.tar.gz: 8b1539d8cf66d37985d6446a50ef43febb50403b9b14c1fcdccc343cc44b8247
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 779b53b87b9b156ab739b5c18b118f439e82ffe8471ab6b9c440b57e24eb19255aac913811006dea0280cd644978e19d49b53d9491d21a6bd0bab5c5ddd33ae4
|
7
|
+
data.tar.gz: 9bb8f5901b66ac85328d4d683f2dc7912e5b442afc6135bf2ba798c79cd99812f6ab75b99660d5cfd313e5850a10d67681e7183adc1ea38eb9ef6fecfb5860ab
|
data/lib/sfn/state_machine.rb
CHANGED
@@ -75,10 +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
79
|
local_definition = local_definition.gsub("ItemSelector", "Parameters")
|
81
|
-
local_definition = local_definition.gsub(/"ProcessorConfig":\s
|
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}")
|
82
83
|
|
83
84
|
File.open(local_definition_path, 'w') { |file| file.puts local_definition }
|
84
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.
|
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-
|
11
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-release
|