google_drive 1.0.0 → 1.0.1

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: cf6a5bff0ead6ce60ef24f5466608ecea6a2a4cb
4
- data.tar.gz: 08f91409bc03d3ddb1d440a033e9cf26f2e7400c
3
+ metadata.gz: 5bb3a0f8730150b91a7372abbb1d0692e5188562
4
+ data.tar.gz: 1766484d57fae5b79cefd07023b9c8694c654d98
5
5
  SHA512:
6
- metadata.gz: 733e620521f37821a892e7b48a6320efaf1513b2f730a2c784e14d68598e7db01d8aa1e71d5dc19ec69709431e094e19cd387604e9c3c17fb4d8a884126cd9f7
7
- data.tar.gz: 6a367750f336916198b37b9aa8eacef2502366ebbd405346f54b0307d8d427407d9433ebadc01a5a82f7c2fc472c51be03b3e08bbb5ce8a297709a74a08a1414
6
+ metadata.gz: 3d125e0cae9a4d27d9ca3d79102843c28452090433a05ac22b320e8dd04581249b21f962753c65fdf729e87ce8bdad3c144fef45d9dac426e9d2fd8a43c0b1a4
7
+ data.tar.gz: abab1ce0c9c4e9abb56287a7af477bef976f2d6d02610da9409703bdac7cbe68b0a0ac4d63d27aa072240c4b9ac68092bc90938a898c7138109529fee267781a
data/README.rdoc CHANGED
@@ -107,7 +107,7 @@ The license of this source is "New BSD Licence"
107
107
 
108
108
  = Supported environments
109
109
 
110
- Ruby 1.8.x, 1.9.x and 2.0.x. Checked with Ruby 1.8.7, 1.9.3 and 2.0.0.
110
+ Ruby 1.9.x or later. Checked with Ruby 1.9.3 and 2.1.3.
111
111
 
112
112
 
113
113
  = Author
@@ -30,8 +30,6 @@ module GoogleDrive
30
30
  include(Util)
31
31
  extend(Util)
32
32
 
33
- UPLOAD_CHUNK_SIZE = 512 * 1024
34
-
35
33
  # The same as GoogleDrive.login_with_oauth.
36
34
  def self.login_with_oauth(client_or_access_token, proxy = nil)
37
35
  return Session.new(client_or_access_token, proxy)
@@ -68,7 +68,7 @@ module GoogleDrive
68
68
  # Exports the worksheet to +path+ in CSV format.
69
69
  def export_as_file(path)
70
70
  data = export_as_string()
71
- open(path, "w:utf-8"){ |f| f.write(data) }
71
+ open(path, "wb"){ |f| f.write(data) }
72
72
  end
73
73
 
74
74
  # gid of the worksheet.
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi Ichikawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-25 00:00:00.000000000 Z
11
+ date: 2015-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri