roo 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@ h4. April-Juni 2008
33
33
 
34
34
  table.
35
35
  |Betrag|Name|
36
- |0,00 €|Test|
36
+ |-|-|
37
37
 
38
38
 
39
39
 
@@ -133,6 +133,22 @@ returned:
133
133
  * :formula
134
134
  * :time
135
135
 
136
+ Numeric values are returned as type :float, the return value is a Ruby Float object (note: integer values like 42 are returned as 42.0 - not as a Fixnum 42 object).
137
+
138
+ String values are returned as type :string and Ruby String object.
139
+
140
+ Date values are returned as type :date and as a Ruby Date object.
141
+
142
+ Percentage are return as type :percentage and as Ruby Float object with the
143
+ range from 0.0 to 1.0.
144
+
145
+ Formulas are returned as type :formula - the value of the cell is the computed
146
+ value of this formula. The formula itself can be retrieved with the #formula
147
+ method.
148
+
149
+ Time values are returned as type :time - the value of the cell are the seconds
150
+ from midnight a a Fixnum object
151
+
136
152
  h3. Write access
137
153
 
138
154
  Cells in a google spreadsheet can be read or written.
@@ -259,7 +275,7 @@ Setting these variables can be done if you add these lines to your
259
275
  export GOOGLE_MAIL="yourname@gmail.com"
260
276
  export GOOGLE_PASSWORD="mysecretpassword"
261
277
 
262
- This gem does not check if you are allowed to access a specific google spreadsheet. If it's not your own spreadsheet or you are not allowed to read or wwrite to a spreadsheet the behaviour is not defined (but it will not work ;-) ).
278
+ This gem does not check if you are allowed to access a specific google spreadsheet. If it's not your own spreadsheet or you are not allowed to read or write to a spreadsheet the behaviour is not defined (but it will not work ;-) ).
263
279
 
264
280
  The default behavior at opening a spreadsheet with a certain extension has been
265
281
  changed.
@@ -286,6 +302,13 @@ is really of the false type).
286
302
  If you completely know what you are doing you can also disable the warning with the
287
303
  parameter :ignore.
288
304
 
305
+ Temporary files of this gem are stored in directories which are named with 'oo_' and
306
+ a number (the PID of the current process).
307
+ These directories are created within the current working directory. If you want to
308
+ use a different directory for temporary files set the environment variable ROO_TMP! (for
309
+ example "export ROO_TMP=/tmp" in your .bashrc file).
310
+ ROO_TMP was introduced in releases >1.1.0.
311
+
289
312
  h3. Accessing Spreadsheet over the Web
290
313
 
291
314
  You can even read openoffice or excel-spreadsheets from a http-address:
@@ -371,7 +394,7 @@ h2. How to submit patches
371
394
 
372
395
  Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.
373
396
 
374
- <strike>The trunk repository is <code>svn://rubyforge.org/var/svn/gorank/trunk</code> for anonymous access.</strike>
397
+ <strike>The trunk repository is <code>svn://rubyforge.org/var/svn/roo/trunk</code> for anonymous access.</strike>
375
398
 
376
399
  h2. License
377
400
 
@@ -387,3 +410,5 @@ h2. Thanks
387
410
  * for the Excel-part the "spreadsheet":http://rubyforge.org/projects/spreadsheet/ gem is used. My functions are a convenient wrapper around the functions of this gem
388
411
  * Dirk Huth f&uuml;rs Testen unter Windows
389
412
  * Thanks to davecahill for a bug-fix patch within the google part
413
+ * Thanks to Ryan Waldron for a bug-fix patch in Google set_value
414
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Preymesser
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-31 00:00:00 +02:00
12
+ date: 2008-08-24 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency