openxml-xlsx 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/openxml/xlsx/elements/cell.rb +7 -6
- data/lib/openxml/xlsx/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: d61f2ae12bcfbe276088e8172480efa22194e4ed
|
4
|
+
data.tar.gz: 4dcf9a6ef13ea7c79eb3d88049dfdcc35fdeffdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bc7e70cf470296d11d348673b54ecbc1dd0d93312150481d21f4d19cb5c0571577c1000ab8fc2dedf8d0d89130ffdba380e25e2b07528dca480912e4f5f479f
|
7
|
+
data.tar.gz: 28e539380f129e2c243fbb5dd682fa945699c7f66febbcefc44838405cdd9bdc87baa0d40dcf3b78d2ce37751433c40b2e4d9296a650fcd58681df2872fd6aeb
|
data/Gemfile.lock
CHANGED
@@ -11,17 +11,18 @@ module OpenXml
|
|
11
11
|
@column = options.fetch(:column)
|
12
12
|
@value = options[:value]
|
13
13
|
case value
|
14
|
-
when
|
15
|
-
@type = :
|
16
|
-
|
17
|
-
when Date then
|
14
|
+
when Numeric
|
15
|
+
@type = :general
|
16
|
+
when Date
|
18
17
|
@type = :date
|
19
18
|
@serial_date = to_serial_date(value)
|
20
|
-
when Time
|
19
|
+
when Time
|
21
20
|
@type = :time
|
22
21
|
@serial_time = to_serial_time(value)
|
23
22
|
else
|
24
|
-
@
|
23
|
+
@value = value.to_s
|
24
|
+
@type = :string
|
25
|
+
@string_id = package.string_ref(value)
|
25
26
|
end
|
26
27
|
@style = package.style_ref(options[:style]) if options.key? :style
|
27
28
|
@formula = options[:formula]
|
data/lib/openxml/xlsx/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openxml-xlsx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Lail
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|