jsontochart 0.0.6 → 0.0.7

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/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: