ruby-sfn-local 0.1.32 → 0.1.33

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 +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d68a321378807a1a11249950ebb400f5f33a8c3d662306566ef3aede826d18ff
4
- data.tar.gz: 919713ecbec3594d08e5700105995772753ebcefcffdbc916d3c671b0d70c524
3
+ metadata.gz: 8b59ef356b7beac13ca2099b87f02ae53a0926fb2435eaf873816dc6819d874d
4
+ data.tar.gz: ced914931b321fd700a86016f5f72a4f373fb5ee3ee9b04991e161cfbc9dba2f
5
5
  SHA512:
6
- metadata.gz: 7eef4da764b91790dc86510487a6a19752732928e986f95e86585a4edc92197fe5fa588032cade13eab2bbec0b7ae9e78a8ef2ed0de01e0425c01836a9903f10
7
- data.tar.gz: cdc8c3f006170f605636d555fde249e602e9eda30e2c0c7c49021e5ad3f792dc909e3a720f993c32d5cc5e36a941d63b88365ad66b70ab21985241284748e96b
6
+ metadata.gz: f2c0c6d71e2f32e6875322218092b7aab0b697f53214d0e1177f8431fb648afa617ea32a0bd1ba5913021952d6140ba11d5a968ed5725d9948f478689bc18f07
7
+ data.tar.gz: c3219514cde0d4c26c9f446d50480dcb63baa3d82f3adf4073cf0962f4a61433ca6c0fd7e0ea99bd934ea8d6768636ccfe5e5d72786494b385c269d0d386429f
@@ -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 = {}
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.33
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-07-04 00:00:00.000000000 Z
11
+ date: 2023-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-release
@@ -98,7 +98,7 @@ 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
101
+ rubygems_version: 3.1.6
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Step Functions local ruby wrapper!