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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sfn/state_machine.rb +3 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2894068622db2c20baedbefb1b890af2144736538c253a6e9d073bd3c381aa5b
4
- data.tar.gz: 005de56e64a03ff270b1f8a5f16ccb75060fb0fb9d6cc8d7146ad90710cb26cd
3
+ metadata.gz: 5649086ba90d0f7597ded6316c02004caef537d9f441bc23bdebffd2b335ab96
4
+ data.tar.gz: 8b1539d8cf66d37985d6446a50ef43febb50403b9b14c1fcdccc343cc44b8247
5
5
  SHA512:
6
- metadata.gz: 06f0d307de2fa217ad4bf2f79e8d6beb6909406420d677098e8919142099a67debdc251a1353613a4dee07a341a6801a5f00838dc7a5697da69c41e49ee51397
7
- data.tar.gz: 29b01ff318928956aa3660b0ea1d026b944fc0886cc0c4b1487debc5911ed69222efd08271cdb364d7925fb6fe4b4e5cd6e15599167885e6a0740f9c67c82543
6
+ metadata.gz: 779b53b87b9b156ab739b5c18b118f439e82ffe8471ab6b9c440b57e24eb19255aac913811006dea0280cd644978e19d49b53d9491d21a6bd0bab5c5ddd33ae4
7
+ data.tar.gz: 9bb8f5901b66ac85328d4d683f2dc7912e5b442afc6135bf2ba798c79cd99812f6ab75b99660d5cfd313e5850a10d67681e7183adc1ea38eb9ef6fecfb5860ab
@@ -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+{\n\s+"Mode":\s"[A-Z]+"\n\s+},\n/, "")
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.23
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