jsontochart 0.0.6 → 0.0.7

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/jsontochart.rb +1 -0
  2. metadata +1 -1
data/lib/jsontochart.rb CHANGED
@@ -72,6 +72,7 @@ class JSONToChart
72
72
  tmpstring = tmpstring + dhash[key].to_s
73
73
  elsif dhash[key] == true || dhash[key] == false
74
74
  tmpstring = tmpstring + dhash[key].to_s
75
+ else tmpstring = tmpstring + "'" + dhash[key] + "'"
75
76
  end
76
77
  else tmpstring = tmpstring + "' '"
77
78
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsontochart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: