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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d9ee76291f5aafbc59e093fe4e10d39e145f754
4
- data.tar.gz: a0b8c073cc8aa484bdb7c0e7485272ac94c60991
3
+ metadata.gz: cf6a5bff0ead6ce60ef24f5466608ecea6a2a4cb
4
+ data.tar.gz: 08f91409bc03d3ddb1d440a033e9cf26f2e7400c
5
5
  SHA512:
6
- metadata.gz: 1d09a5b9cb38197481392383a56a37ca957e44676dc3d910d8832254cf1d4db8d03d287578be74a1adb6152596168aa4abe718adc5097dbb7e7989a4be559756
7
- data.tar.gz: 5a24e7d09facd452ddd125ba6667c1307d848e3a813d71c7aa940025a1a936c0126e200cf87bee64efafa4dda2adfcefd88b63e176169d6d89a9d8a8e1daecb0
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.pre2
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-29 00:00:00.000000000 Z
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: 1.3.1
162
+ version: '0'
163
163
  requirements: []
164
164
  rubyforge_project:
165
165
  rubygems_version: 2.2.2