mobilize-base 1.363 → 1.364
Sign up to get free protection for your applications and to get access to all the features.
@@ -70,7 +70,10 @@ module Mobilize
|
|
70
70
|
def Gsheet.find_or_create_by_path(path,gdrive_slot,rows=100,cols=20)
|
71
71
|
book_path,sheet_name = path.split("/")
|
72
72
|
book = Gbook.find_or_create_by_path(book_path,gdrive_slot)
|
73
|
-
sheet
|
73
|
+
#try to guess the sheet case
|
74
|
+
sheet = book.worksheet_by_title(sheet_name) ||
|
75
|
+
book.worksheet_by_title(sheet_name.downcase) ||
|
76
|
+
book.worksheet_by_title(sheet_name.capitalize)
|
74
77
|
if sheet.nil?
|
75
78
|
sheet = book.add_worksheet(sheet_name,rows,cols)
|
76
79
|
("Created gsheet #{path} at #{Time.now.utc.to_s}").oputs
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobilize-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.364'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
234
234
|
version: '0'
|
235
235
|
segments:
|
236
236
|
- 0
|
237
|
-
hash:
|
237
|
+
hash: 3043585426916430228
|
238
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
239
|
none: false
|
240
240
|
requirements:
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
version: '0'
|
244
244
|
segments:
|
245
245
|
- 0
|
246
|
-
hash:
|
246
|
+
hash: 3043585426916430228
|
247
247
|
requirements: []
|
248
248
|
rubyforge_project: mobilize-base
|
249
249
|
rubygems_version: 1.8.25
|