google_drive 3.0.1 → 3.0.2

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: 9f25e6f56fbe52d2a272f3f1516ae0bef39b2d4c
4
- data.tar.gz: 9ea826958e74d005bf1a297a692a725bca0156d6
3
+ metadata.gz: f2865f6f60afd35f662963e20dc007435b2423e7
4
+ data.tar.gz: '0188065da34b278318d377920761293e8dd136a6'
5
5
  SHA512:
6
- metadata.gz: 68a6879beec1ee40b260b17ea34cce946b26f8d667acb74a8e1295d53a3fd772646ec222038f9d852816e1e5f55e4f1410afe40aee29dc0017371e3df15d2372
7
- data.tar.gz: 980721819d9317a7ccdaf31926dbb8d664284148244592a2953ea9f6d27f4099f98c04cfbae2ea97e76afbac276beaed1514c5a1b4659b1f22866ded23aecf0e
6
+ metadata.gz: e80dc181f7403c13789cc232383de52746f0ebbf080dfa9d218c2d58d018e9682ee7afffbde8dafe50ab13e82d8d03aa6862a590580782200f9afce5899d4585
7
+ data.tar.gz: 2d966006bf5b7176c62d23d7fc89adc206ede7ed5597e4886df9b2f719a2813e3f433b08c24e58c20bf504a3ff2f3f7954de72e2237ba4b7fcf761da4130e022
@@ -638,8 +638,12 @@ module GoogleDrive
638
638
  def set_properties(properties)
639
639
  @properties = properties
640
640
  @title = @remote_title = properties.title
641
- @max_rows = properties.grid_properties.row_count
642
- @max_cols = properties.grid_properties.column_count
641
+ if properties.grid_properties.nil?
642
+ @max_rows = @max_cols = 0
643
+ else
644
+ @max_rows = properties.grid_properties.row_count
645
+ @max_cols = properties.grid_properties.column_count
646
+ end
643
647
  @meta_modified = false
644
648
  end
645
649
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_drive
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi Ichikawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-10 00:00:00.000000000 Z
11
+ date: 2019-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: 0.11.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: 0.26.0
42
+ version: 0.29.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: 0.11.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: 0.26.0
52
+ version: 0.29.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: googleauth
55
55
  requirement: !ruby/object:Gem::Requirement