ruby-sfn-local 0.1.32 → 0.1.34
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 +2 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1384ddccb18a305a17731ef5d02763a85b8b92cf1e05a9a40cadede6656ed7ab
|
4
|
+
data.tar.gz: aff7168e1e72ec359797b13821d7c4553c37b4c93cdcfad2896dade504e0e087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fd5aff892be45abdc6f298e857d7ce50aa255f0b268b4d9f62f00931a644fd58c68169a19b60caa513bc95dffea4437a23bb7c2e41b371a25a6d13f3b35112d
|
7
|
+
data.tar.gz: 11735317deaf4a9fa47a7f4fc5cf4a50d7a1995a2d2a084d9ae77869ed0fe77f73abb6249841a6b55229afdbcc9a5eeef385533295124f7dc34ca389e7235a10
|
data/lib/sfn/state_machine.rb
CHANGED
@@ -29,7 +29,7 @@ module Sfn
|
|
29
29
|
|
30
30
|
def initialize(name, variables = {}, arn = nil)
|
31
31
|
self.path = "#{Sfn.configuration.definition_path}/#{name}.json"
|
32
|
-
self.name = name.
|
32
|
+
self.name = name.gsub('/','-')
|
33
33
|
self.variables = (variables || {}).stringify_keys
|
34
34
|
self.arn = arn || self.class.find_by_name(self.name)&.arn || create_state_machine
|
35
35
|
self.executions = {}
|
@@ -76,6 +76,7 @@ module Sfn
|
|
76
76
|
local_definition = local_definition.gsub(/"Seconds": [0-9]+,*/, '')
|
77
77
|
local_definition = local_definition.gsub(/"Timestamp": "[0-9\-T:+]+",*/, '')
|
78
78
|
local_definition = local_definition.gsub(/"TimestampPath": "[^"]+",*/, '')
|
79
|
+
local_definition = local_definition.gsub(/"AllowNullValues": (true|false),*/, '')
|
79
80
|
local_definition = local_definition.gsub('ItemProcessor', 'Iterator')
|
80
81
|
local_definition = local_definition.gsub('ItemSelector', 'Parameters')
|
81
82
|
local_definition = local_definition.gsub(/"ProcessorConfig":\s*{[\s"[A-Za-z:,]]+},*/, '')
|
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.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gianni Mazza
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-release
|
@@ -83,7 +83,7 @@ licenses:
|
|
83
83
|
- MIT
|
84
84
|
metadata:
|
85
85
|
rubygems_mfa_required: 'true'
|
86
|
-
post_install_message:
|
86
|
+
post_install_message:
|
87
87
|
rdoc_options: []
|
88
88
|
require_paths:
|
89
89
|
- lib
|
@@ -98,8 +98,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
102
|
-
signing_key:
|
101
|
+
rubygems_version: 3.5.3
|
102
|
+
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: Step Functions local ruby wrapper!
|
105
105
|
test_files: []
|