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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sfn/state_machine.rb +2 -1
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d68a321378807a1a11249950ebb400f5f33a8c3d662306566ef3aede826d18ff
4
- data.tar.gz: 919713ecbec3594d08e5700105995772753ebcefcffdbc916d3c671b0d70c524
3
+ metadata.gz: 1384ddccb18a305a17731ef5d02763a85b8b92cf1e05a9a40cadede6656ed7ab
4
+ data.tar.gz: aff7168e1e72ec359797b13821d7c4553c37b4c93cdcfad2896dade504e0e087
5
5
  SHA512:
6
- metadata.gz: 7eef4da764b91790dc86510487a6a19752732928e986f95e86585a4edc92197fe5fa588032cade13eab2bbec0b7ae9e78a8ef2ed0de01e0425c01836a9903f10
7
- data.tar.gz: cdc8c3f006170f605636d555fde249e602e9eda30e2c0c7c49021e5ad3f792dc909e3a720f993c32d5cc5e36a941d63b88365ad66b70ab21985241284748e96b
6
+ metadata.gz: 5fd5aff892be45abdc6f298e857d7ce50aa255f0b268b4d9f62f00931a644fd58c68169a19b60caa513bc95dffea4437a23bb7c2e41b371a25a6d13f3b35112d
7
+ data.tar.gz: 11735317deaf4a9fa47a7f4fc5cf4a50d7a1995a2d2a084d9ae77869ed0fe77f73abb6249841a6b55229afdbcc9a5eeef385533295124f7dc34ca389e7235a10
@@ -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.split('/').last
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.32
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: 2023-07-04 00:00:00.000000000 Z
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.1.2
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: []