saxlsx 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saxlsx/rows_collection_parser.rb +2 -4
- data/lib/saxlsx/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60f470276c74406d71c2f44b06f00eeb5f66e588
|
4
|
+
data.tar.gz: 093d8b41c50aa2481242dbad3caa95509ed4cfc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cc7354ac2b7dda2d58d0d9dee4535cc60d658cea61efd6db1dd8f9b3721ca8c634b8145c282256044d269a9029d1bfb2104da5378c02bec4b74712be9a6824e
|
7
|
+
data.tar.gz: 924c0e4a8227665786f0b1a6b884dd97a10e7950e35746b478ae056bf14060e5bce8d976e6678a6f539d8187450af33848d8929f3f7248bd59bb6c5db0e6f76a
|
@@ -110,12 +110,10 @@ module Saxlsx
|
|
110
110
|
DateTime.new(date.year, date.month, date.day, date.hour, date.minute, date.second)
|
111
111
|
when :fixnum
|
112
112
|
text.to_i
|
113
|
-
when :float
|
113
|
+
when :float, :percentage
|
114
114
|
text.to_f
|
115
115
|
when :bignum
|
116
116
|
BigDecimal.new(text)
|
117
|
-
when :percentage
|
118
|
-
text.to_f / 100
|
119
117
|
else
|
120
118
|
if @current_type == 'n'
|
121
119
|
text.to_f
|
@@ -150,4 +148,4 @@ module Saxlsx
|
|
150
148
|
end
|
151
149
|
end
|
152
150
|
end
|
153
|
-
end
|
151
|
+
end
|
data/lib/saxlsx/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saxlsx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edgars Beigarts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|