google_drive 1.0.0.pre2 → 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/google_drive/spreadsheet.rb +8 -0
- 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: cf6a5bff0ead6ce60ef24f5466608ecea6a2a4cb
|
4
|
+
data.tar.gz: 08f91409bc03d3ddb1d440a033e9cf26f2e7400c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 733e620521f37821a892e7b48a6320efaf1513b2f730a2c784e14d68598e7db01d8aa1e71d5dc19ec69709431e094e19cd387604e9c3c17fb4d8a884126cd9f7
|
7
|
+
data.tar.gz: 6a367750f336916198b37b9aa8eacef2502366ebbd405346f54b0307d8d427407d9433ebadc01a5a82f7c2fc472c51be03b3e08bbb5ce8a297709a74a08a1414
|
@@ -73,6 +73,14 @@ module GoogleDrive
|
|
73
73
|
return self.worksheets.find(){ |ws| ws.title == title }
|
74
74
|
end
|
75
75
|
|
76
|
+
# Returns a GoogleDrive::Worksheet with the given gid.
|
77
|
+
#
|
78
|
+
# Returns nil if not found.
|
79
|
+
def worksheet_by_gid(gid)
|
80
|
+
gid = gid.to_s()
|
81
|
+
return self.worksheets.find(){ |ws| ws.gid == gid }
|
82
|
+
end
|
83
|
+
|
76
84
|
# Adds a new worksheet to the spreadsheet. Returns added GoogleDrive::Worksheet.
|
77
85
|
def add_worksheet(title, max_rows = 100, max_cols = 20)
|
78
86
|
xml = <<-"EOS"
|
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.0
|
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-
|
11
|
+
date: 2014-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -157,9 +157,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
159
|
requirements:
|
160
|
-
- - "
|
160
|
+
- - ">="
|
161
161
|
- !ruby/object:Gem::Version
|
162
|
-
version:
|
162
|
+
version: '0'
|
163
163
|
requirements: []
|
164
164
|
rubyforge_project:
|
165
165
|
rubygems_version: 2.2.2
|