spreadsheet 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ === 0.8.4 / 20.04.2013
2
+
3
+ * Applied Patch by boss@airbladesoftware.com
4
+ * https://groups.google.com/d/msg/rubyspreadsheet/73IoEwSx69w/barE7uVnIzwJ
5
+
1
6
  === 0.8.3 / 12.03.2013
2
7
 
3
8
  uthor: Keith Walsh <keith.walsh@adtegrity.com>
data/README.txt CHANGED
@@ -70,7 +70,7 @@ You will get a deprecated warning about iconv when using spreadsheet with Ruby
70
70
  == Examples
71
71
 
72
72
  Have a look at the GUIDE[link://files/GUIDE_txt.html].
73
-
73
+ Also look at: https://gist.github.com/phollyer/1214475
74
74
 
75
75
  == Installation
76
76
 
@@ -58,7 +58,7 @@ class Row < Spreadsheet::Row
58
58
  return data if data.is_a?(DateTime)
59
59
  base = @worksheet.date_base
60
60
  date = base + data.to_f
61
- hour = (data % 1) * 24
61
+ hour = (data.to_f % 1) * 24
62
62
  min = (hour % 1) * 60
63
63
  sec = ((min % 1) * 60).round
64
64
  min = min.floor
data/lib/spreadsheet.rb CHANGED
@@ -43,7 +43,7 @@ module Spreadsheet
43
43
 
44
44
  ##
45
45
  # The version of Spreadsheet you are using.
46
- VERSION = '0.8.3'
46
+ VERSION = '0.8.4'
47
47
 
48
48
  ##
49
49
  # Default client Encoding. Change this value if your application uses a
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreadsheet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-12 00:00:00.000000000 Z
12
+ date: 2013-04-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby-ole
16
- requirement: &14415820 !ruby/object:Gem::Requirement
16
+ requirement: &21959600 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *14415820
24
+ version_requirements: *21959600
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &14415380 !ruby/object:Gem::Requirement
27
+ requirement: &21975520 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.10'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *14415380
35
+ version_requirements: *21975520
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hoe
38
- requirement: &14414940 !ruby/object:Gem::Requirement
38
+ requirement: &21975040 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '2.13'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *14414940
46
+ version_requirements: *21975040
47
47
  description: ! 'The Spreadsheet Library is designed to read and write Spreadsheet
48
48
  Documents.
49
49