google_drive 2.1.2 → 2.1.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 +4 -4
- data/README.md +5 -1
- data/lib/google_drive/api_client_fetcher.rb +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed440ea8d85066b1d35977ca23b3943188d43a25
|
|
4
|
+
data.tar.gz: dd27072e2bb69a904853408ee8ba16992f8e2bbf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6bae4c40c7daabb792de2dff56eda0cee92fe8c33fea95f6c2cceee3150edf8392dae98fdd19e31e92999e7cf50ade47470a56dd8d0da4292f043740e4e01f93
|
|
7
|
+
data.tar.gz: c76b82d87fc66f6716b70cfd1f0644991906cf68b8fa191f8e4f1c5ed61525c3c2b8d087647152dda24d7e2061db4e9cc2b5d7ba43500f07c13fe9570c48d8ce
|
data/README.md
CHANGED
|
@@ -48,6 +48,8 @@ require "google_drive"
|
|
|
48
48
|
|
|
49
49
|
# Creates a session. This will prompt the credential via command line for the
|
|
50
50
|
# first time and save it to config.json file for later usages.
|
|
51
|
+
# See this document to learn how to create config.json:
|
|
52
|
+
# https://github.com/gimite/google-drive-ruby/blob/master/doc/authorization.md
|
|
51
53
|
session = GoogleDrive::Session.from_config("config.json")
|
|
52
54
|
|
|
53
55
|
# Gets list of remote files.
|
|
@@ -73,6 +75,8 @@ require "google_drive"
|
|
|
73
75
|
|
|
74
76
|
# Creates a session. This will prompt the credential via command line for the
|
|
75
77
|
# first time and save it to config.json file for later usages.
|
|
78
|
+
# See this document to learn how to create config.json:
|
|
79
|
+
# https://github.com/gimite/google-drive-ruby/blob/master/doc/authorization.md
|
|
76
80
|
session = GoogleDrive::Session.from_config("config.json")
|
|
77
81
|
|
|
78
82
|
# First worksheet of
|
|
@@ -105,7 +109,7 @@ ws.reload
|
|
|
105
109
|
|
|
106
110
|
## Learn more
|
|
107
111
|
|
|
108
|
-
* [API documentation](http://www.rubydoc.info/gems/google_drive/2.1.
|
|
112
|
+
* [API documentation](http://www.rubydoc.info/gems/google_drive/2.1.2)
|
|
109
113
|
* [Authorization](https://github.com/gimite/google-drive-ruby/blob/master/doc/authorization.md)
|
|
110
114
|
* [Github](http://github.com/gimite/google-drive-ruby)
|
|
111
115
|
|
|
@@ -22,8 +22,9 @@ module GoogleDrive
|
|
|
22
22
|
@drive.authorization = authorization
|
|
23
23
|
# Make the timeout virtually infinite because some of the operations (e.g., uploading a large file)
|
|
24
24
|
# can take very long.
|
|
25
|
-
@drive.
|
|
26
|
-
@drive.
|
|
25
|
+
@drive.client_options.open_timeout_sec = 100_000_000
|
|
26
|
+
@drive.client_options.read_timeout_sec = 100_000_000
|
|
27
|
+
@drive.client_options.send_timeout_sec = 100_000_000
|
|
27
28
|
end
|
|
28
29
|
|
|
29
30
|
attr_reader(:drive)
|
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: 2.1.
|
|
4
|
+
version: 2.1.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:
|
|
11
|
+
date: 2017-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -36,7 +36,7 @@ dependencies:
|
|
|
36
36
|
requirements:
|
|
37
37
|
- - ">="
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.
|
|
39
|
+
version: 0.11.0
|
|
40
40
|
- - "<"
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
42
|
version: 1.0.0
|
|
@@ -46,7 +46,7 @@ dependencies:
|
|
|
46
46
|
requirements:
|
|
47
47
|
- - ">="
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 0.
|
|
49
|
+
version: 0.11.0
|
|
50
50
|
- - "<"
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: 1.0.0
|