sheet_reader 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sheet_reader.rb +1 -0
- data/lib/sheet_reader/errors.rb +1 -0
- data/lib/sheet_reader/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6f77613bbf2c969a879225110bbf7def59f44e0
|
4
|
+
data.tar.gz: 37f153c21601dd935583740cfa34139388b026fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82e5a62039aaa242fff4f7220f4981cffcf58ab5b72858fb8aa26fdbaa6d645d35919196388e58118cb1ce638fc32084b90f7b32cf4aa9abf5a94d711154ff79
|
7
|
+
data.tar.gz: 0a095f97c9a587206a8b477a4fad256253e0144f634edcca1d7818d29308e6c57ab5ea8b00ba4029cd98d619ef5f541bcc88fc079779a3abcabb372f5a6c6b02
|
data/lib/sheet_reader.rb
CHANGED
@@ -29,6 +29,7 @@ module SheetReader
|
|
29
29
|
raw_values = sheets.get_spreadsheet_values(sheet_id, "#{sheet_name}!A:ZZ").values
|
30
30
|
rescue Google::Apis::ClientError => e
|
31
31
|
raise BadSheetId if e.message =~ /notFound/
|
32
|
+
raise Unauthorized if e.message =~ /forbidden/
|
32
33
|
rescue
|
33
34
|
raise Error
|
34
35
|
end
|
data/lib/sheet_reader/errors.rb
CHANGED
data/lib/sheet_reader/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sheet_reader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clearbit
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
version: '0'
|
68
68
|
requirements: []
|
69
69
|
rubyforge_project:
|
70
|
-
rubygems_version: 2.
|
70
|
+
rubygems_version: 2.6.8
|
71
71
|
signing_key:
|
72
72
|
specification_version: 4
|
73
73
|
summary: Read google spreadsheets
|