google_drive 2.1.2 → 2.1.3

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: 584b24ba7f2e0849c5209e2343f33f553dc920f6
4
- data.tar.gz: b6a5d71757609057cb510ea4177a14e9cb8355a4
3
+ metadata.gz: ed440ea8d85066b1d35977ca23b3943188d43a25
4
+ data.tar.gz: dd27072e2bb69a904853408ee8ba16992f8e2bbf
5
5
  SHA512:
6
- metadata.gz: 34f581e48edad100d18590d9556f25fbdcf348332c5e05afda8a0de7ac93a41244f773614e9d67fcc1ac3941e07c1726e74bd3797ea95571eff3a01c88ebc71e
7
- data.tar.gz: f8787070a461e3d712f9dd9ab42c342b48016fac29f433c854ab6722b4abc8963f0e643b1282d9e7f3a38f1f0a7be4bb638c9fc6373c32399a8530862f8347af
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.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.request_options.timeout_sec = 100_000_000
26
- @drive.request_options.open_timeout_sec = 100_000_000
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.2
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: 2016-12-10 00:00:00.000000000 Z
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.9.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.9.0
49
+ version: 0.11.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: 1.0.0