cuke_master 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4819e3f699a295abbf0f3e7f46415eced8cb5c4b
4
- data.tar.gz: b8737141a33715d4ef5d8ffd657861880a88c3d9
3
+ metadata.gz: 0db0c057627b41fecc8c63b1b50c6bf68da0b382
4
+ data.tar.gz: e9bda2e32756d756636454703d77152d74ff192b
5
5
  SHA512:
6
- metadata.gz: 2a3eb8d3e31b8b8b97bd56ebdcae52c35b56a6a036449e170495338d4f0fe1686d990bf12987bb8d21d9364b63051d8b78582931fa2e46e2ec8f879f30e56e43
7
- data.tar.gz: 0d7c094fe9d3625e5dba990c632f1998a8bef63fd861de75bf4cf2015bd873ed04f10e6e33c1e9126ddc8ee2766096f824a09b86b7a0730eafcd4fc5e9a6c801
6
+ metadata.gz: bdf5113f6d9adaa557fe88533b123ff0e7e87824805a1f30fb7645796c946ea61d59f2041b83ed073a894b840a98eca9acba1dbd56d16a6607ba8cd711893f57
7
+ data.tar.gz: 22eeb41345514aaabd48cab63785450b1aa33e7aa2af30f2cfecdb6c72d32527170d78489605577f7555306ecb4592ee4edc15965e21d2604c96126c5445c1fa
@@ -380,7 +380,7 @@ ParameterType(
380
380
  name: 'variable',
381
381
  regexp: /^\[([^"]*)\]$/,
382
382
  transformer: lambda { |string|
383
- val = instance_variable_get("@#{string}")
383
+ val = instance_variable_get("@#{string.gsub(/\]|\[/, '')}")
384
384
  if val
385
385
  val
386
386
  else
@@ -1,3 +1,3 @@
1
1
  module CukeMaster
2
- VERSION = '0.1.10'.freeze
2
+ VERSION = '0.1.11'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cuke_master
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Huynh