jsontochart 0.0.3 → 0.0.4

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 -1
  2. metadata +2 -2
data/lib/jsontochart.rb CHANGED
@@ -72,7 +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
- elsif dhash[key] == nil || dhash[key] == null
75
+ elsif dhash[key] == nil || dhash[key].blank?
76
76
  tmpstring = tmpstring + " "
77
77
  end
78
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.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-07 00:00:00.000000000 Z
12
+ date: 2013-12-14 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Take JSON files and outputs html for various types of charts
15
15
  email: shidash@shidash.com