testdata 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/testdata.rb +1 -1
  2. metadata +1 -1
data/lib/testdata.rb CHANGED
@@ -106,7 +106,7 @@ class Testdata
106
106
  body = content[i][2].strip.gsub("\n ","\n")
107
107
  if content[i][1] then
108
108
  content[i][1].zip(values).each do |keyword, value|
109
- body.gsub!(/#{keyword}(?!:)/, value)
109
+ body.gsub!(/#{keyword}(?!:)/, "'%s'" % value )
110
110
  end
111
111
  end
112
112
  ["# #{path_no}) #{content[i][0]}\n", body + "\n", output + "\n\n"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors: []
7
7