superstudio 0.9.0 → 0.9.8

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/superstudio.rb +5 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 928b32af89e76b871f7e48e86a12952b723ab636
4
- data.tar.gz: 8de2eeb53e569521316dc77842161b32e1ae26e3
3
+ metadata.gz: a25e99ce480f3fb79a988984db0280701124c0a1
4
+ data.tar.gz: 97f7ad0f3833a0e940e4ec1208cbd9df93fa997e
5
5
  SHA512:
6
- metadata.gz: 6e22dd2612758528bd90cdae11ac07ca7ca90d6d3319906b3e85af4a891667bd116e4d119a40e3f13ee489141ecd1f9d89845ef4edd4263801b4f74f60be5411
7
- data.tar.gz: ffd7130d9e3302404903aa8f77dc0948d1ba42fbd81b3563dce2269859d5c206490372caaa5c134a92bd08edc4ea11613d4347673818592d117efbd19f90cee1
6
+ metadata.gz: ad651378b91b6653cffd86663e2cb4d25e99bf23ce9c683863980ef8d4e20abf802f07b2361bcadd66e9cbe59df30bab3cc6b4f60813e2455e8545d67462a9d5
7
+ data.tar.gz: 43b6313838e41e4d18457b1638122485c3ed2645783fb33d575f1190768e79e900684938aa28f990e35396fd80f1264edc9a13b355d1a86985635918e5027016
@@ -60,7 +60,11 @@ module Superstudio
60
60
  working_row = []
61
61
 
62
62
  @human_readable_tags.each_with_index do |value, index|
63
- working_row << (@json_nodes[value.to_sym].to_s)
63
+ if (@quoted_tags[index] == 0 && @json_nodes[value.to_sym].blank?)
64
+ working_row << "null"
65
+ else
66
+ working_row << (@json_nodes[value.to_sym].to_s)
67
+ end
64
68
  end
65
69
  return working_row
66
70
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superstudio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Dawson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-24 00:00:00.000000000 Z
11
+ date: 2017-09-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: ''
14
14
  email: its.dave.dawson@gmail.com