middleman-google_drive 0.3.11 → 0.3.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b512713a14e06f68271b52c6fe1c11e6eca89b9c
4
- data.tar.gz: 9af40d8650d3fe359616058da7d9bf97639330ea
3
+ metadata.gz: 807f06b351002d6fc92541c068eb1b7ab3b752a2
4
+ data.tar.gz: 1eee546218576b35ce5d82955d963195dfe7b93b
5
5
  SHA512:
6
- metadata.gz: 22837eedbd792f072eb3bfb037dbd77d2679a1f7f4eec23ad4bfb9f69d24f616dad5dc7d47cae6a10ba6d4ef0278d226abcf9bc27047d4f0c48f7d40f605d4e3
7
- data.tar.gz: a7fc0a8df2259af78ee3271879225c97f72defc567229d12d199c313df287aed6724a5b449e29405139d6abece1aec35c7e480f45b1e1b52b6260ef8046d214b
6
+ metadata.gz: 77a8be8d0b27b9bf609f8be34cc52f7b8317831043ec4c55e92d659bbb9b6d3ff85437f538c96aecfce0d8c1695c3a0b96962beefa670af8b87e642834298d8e
7
+ data.tar.gz: 20e40768a296d8b47d89a8692ba87784cf89d9208598b84eb90ae0baf103e1f47ed201a319a8c51b903c520bb5731643a3b88a7d29d87d91a081d36a50a0408f
@@ -223,7 +223,7 @@ class GoogleDrive
223
223
  return [] if table.length < 2
224
224
  header = table.shift # Get the header row
225
225
  # remove blank rows
226
- table.reject! { |row| row.map { |r| r.to_s }.reduce(:+).strip.empty? }
226
+ table.reject! { |row| row.nil? || row.map { |r| r.to_s }.reduce(:+).strip.empty? }
227
227
  table.map do |row|
228
228
  # zip headers with current row, convert it to a hash
229
229
  header.zip(row).to_h unless row.nil?
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module GoogleDrive
3
- VERSION = '0.3.11'
3
+ VERSION = '0.3.12'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-google_drive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Mark
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-01 00:00:00.000000000 Z
12
+ date: 2015-06-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman-core