ruby-sfn-local 0.1.17 → 0.1.19

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/execution.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a8d8a6fc30d2a2965dfda5c56c1aad5af809b7599f829828c829cf9930efbaf
4
- data.tar.gz: ac740780539e3c0f93a7f3613f5b332f727d063bbbc63476b50c19c536489418
3
+ metadata.gz: 184760e30916c0f301d4bc438b66f213c75774987df81472cf3a7c05dbbc0b3d
4
+ data.tar.gz: 7d6c7cf307eec32ade24d3a472c2f0dc396ece10daf296af401ce8d7d5fa7023
5
5
  SHA512:
6
- metadata.gz: f0f125829bc0d612a8dfd84f06434434ff684e61cdc51328af8c2ffe0df809cfbf00141d5d436b6a091ecb1413a3b1c58da097eae2b0fbd0fddab7c7e2be7b78
7
- data.tar.gz: 1b1de6bb7d076d4930594eb5d153c1e243067d5c48f17376a5e500b3d9988679009caa24d34174f3dd3d9c6104b14fa66ddd93ce016b6dda9dcac835c6b3ff46
6
+ metadata.gz: 4a78367ca2df85472e6a090e5aac5d0d5c2707828a1a5d852c74aa9afb1ba05820a56192103743556856b6af92bccc234a6de1fd9a4c4d43d3a887bb808693e2
7
+ data.tar.gz: 332a9ab75391af1b4b106bca9f28ae4f9203d30a2506c180be3750cddf9239160d80559d1e9c027cced1f95675ab589f4e87fbaf393751b6860dbdb250a55ed4
data/lib/sfn/execution.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Sfn
4
4
  class Execution
5
- attr_accessor :uuid, :state_machine, :test_case, :arn, :output, :profile
5
+ attr_accessor :id, :uuid, :state_machine, :test_case, :arn, :output, :profile
6
6
 
7
7
  def self.call(state_machine, test_case, mock_data, input, dry_run = false)
8
8
  new(state_machine, test_case).exec(mock_data, input, dry_run)
@@ -11,6 +11,7 @@ module Sfn
11
11
  def initialize(state_machine, test_case)
12
12
  self.uuid = SecureRandom.uuid
13
13
  self.state_machine = state_machine
14
+ self.id = "#{self.state_machine.arn.gsub("stateMachine","execution")}:#{self.uuid}"
14
15
  self.test_case = test_case.camelize
15
16
  end
16
17
 
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.17
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gianni Mazza
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-29 00:00:00.000000000 Z
11
+ date: 2022-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-release