testdata 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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