google_drive 3.0.2 → 3.0.3
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.
- checksums.yaml +5 -5
- data/lib/google_drive/worksheet.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 71bd4c5beb1dca6adac8ac731350adc287a14d2866617babe69af781ed037267
|
|
4
|
+
data.tar.gz: 6b96ced61bff53274b89298e13f44b3b404780481131ed4cb263e7fc0f19a191
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c4853d7bea90aa49aa0e5027aba824a230755f01fd99e00007a52942372386515ee3e31db6fa41e8cc157f2393877bb37efc088a70efbfa6d576aad9661ab9a
|
|
7
|
+
data.tar.gz: c87ea759783a8ca5cdb62bb31a66eb1472d9c936f87ef98e5e9083dc29dd0d45ff6834e7d03d4e32fc1cdf69979c0fd25f1c59a5670f82bb9d3d8b6f303d7280
|
|
@@ -50,7 +50,7 @@ module GoogleDrive
|
|
|
50
50
|
# @api private
|
|
51
51
|
# A regexp which matches an invalid character in XML 1.0:
|
|
52
52
|
# https://en.wikipedia.org/wiki/Valid_characters_in_XML#XML_1.0
|
|
53
|
-
|
|
53
|
+
XML_INVALID_CHAR_REGEXP =
|
|
54
54
|
/[^\u0009\u000a\u000d\u0020-\ud7ff\ue000-\ufffd\u{10000}-\u{10ffff}]/
|
|
55
55
|
|
|
56
56
|
# @api private
|
|
@@ -709,7 +709,7 @@ module GoogleDrive
|
|
|
709
709
|
end
|
|
710
710
|
|
|
711
711
|
def validate_cell_value(value)
|
|
712
|
-
if value =~
|
|
712
|
+
if value =~ XML_INVALID_CHAR_REGEXP
|
|
713
713
|
raise(
|
|
714
714
|
ArgumentError,
|
|
715
715
|
format('Contains invalid character %p for XML 1.0: %p', $&, value)
|
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.
|
|
4
|
+
version: 3.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hiroshi Ichikawa
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-06-09 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.
|
|
42
|
+
version: 0.31.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.
|
|
52
|
+
version: 0.31.0
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: googleauth
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
169
169
|
version: '0'
|
|
170
170
|
requirements: []
|
|
171
171
|
rubyforge_project:
|
|
172
|
-
rubygems_version: 2.
|
|
172
|
+
rubygems_version: 2.7.7
|
|
173
173
|
signing_key:
|
|
174
174
|
specification_version: 4
|
|
175
175
|
summary: A library to read/write files/spreadsheets in Google Drive/Docs.
|