ruby-sfn-local 0.1.27 → 0.1.28

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 +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d6385a2c314fd825107942b944d72db015669637a51880c03eac7238dcb4abd
4
- data.tar.gz: 83058e9ce9ad7d6b2ec6e7c59b753b886c1686da9c4a451c886d44574b27d467
3
+ metadata.gz: a1ded192dbca449ce9c35a0fdac5a33cff11a5d6e7c60bf2780de51e93463896
4
+ data.tar.gz: 0d3ccddbbded015d1bae65ca6459f68e19581121063d3d9a93e4c31d5402fbba
5
5
  SHA512:
6
- metadata.gz: fedfb55e9bdc340b3f26f9ed56dd721a3631d33ee869722077a7cc28fdce0ee5def60a7537be7c02fd3deb071f0f48a077944aa40a5c422f90a2051b606c9cd3
7
- data.tar.gz: f31002ca1116c87a48f9ab8c429d217c52c33929c7a5e046e1c45e468321d9f59357da11c8a1026c9a248aafe15709ff857cde0f06e292629c034887c41b4f80
6
+ metadata.gz: e18a67928a60e687dbe05e0ee1947feedfa16c4ecad21f45f2c483bd5efbf2391785b010031d16592ba8b2e7043b8f9a41621d99473721cfb0ef23404c0c70a8
7
+ data.tar.gz: 60e1b4cfdfb3497e767dfc1a2ac6afdfad190df3c97141c538500085170858a863f10166a63ec451b04f1387b637b4fe9c4dc90195a05abcc48bda1c6a18d701
@@ -83,7 +83,7 @@ module Sfn
83
83
  local_definition = local_definition.gsub(/,[\s\n]+\}/, "\n}")
84
84
  local_definition = local_definition.gsub(/(\${[a-z_]+})/) do |variable|
85
85
  key = variable.gsub(/[${}]/, '')
86
- variables[key]
86
+ variables[key].to_s || variable
87
87
  end
88
88
  File.open(local_definition_path, 'w') { |file| file.puts local_definition }
89
89
  "file://#{local_definition_path}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-sfn-local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.27
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gianni Mazza