ooxl 0.0.1.4.17 → 0.0.1.4.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6008c3736e9eeaa305788a0a038e85c0f10fb861
4
- data.tar.gz: 5b9d41efd94f1d703da1d61b5405dff7f28a8721
3
+ metadata.gz: 08f8056f4983c037006b3c172c116ce7d6afbd63
4
+ data.tar.gz: ff3b42c44c7ad29cb1035d2297125e67fb695d1b
5
5
  SHA512:
6
- metadata.gz: fca43d68d99856e854f9da8f6572d95377f6737a8594e7b449bf6c2b3c44032355a0ba153c56371b6af3bb8a23a93039d531cb57f326796d4401c35f7115655f
7
- data.tar.gz: 2e414e1dfb5db6f6b4ea3f271d2b87f1aa830ecf0b0757d4a3c67b67e8995732b903a5b4a11825f34d8327ab1fda105b00f51627df8e1ecd07e4eaf7dd931e76
6
+ metadata.gz: 37c96c20ec894466cc2f763f690e63087e089edb866b7cab6252248f4e8352208694931d967667ac2b1b5ce0e63e1dff693c374de964e9c3275752814f87e8f5
7
+ data.tar.gz: d4646de90534a884d1c9f8a4eb07c19d462c39594246a5b4ba2fcc15e8feebac13b1353f2cd70a46fe4909c29a817d51ee07e4ebc788955301a0a24af8eac3df
data/lib/ooxl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class OOXL
2
- VERSION = "0.0.1.4.17"
2
+ VERSION = "0.0.1.4.18"
3
3
  end
@@ -1,3 +1,9 @@
1
+ # <cellStyleXfs count="4">
2
+ # <xf numFmtId="0" fontId="0" fillId="0" borderId="0" />
3
+ # <xf numFmtId="0" fontId="1" fillId="0" borderId="0" />
4
+ # <xf numFmtId="0" fontId="39" fillId="0" borderId="0" applyProtection="0" />
5
+ # <xf numFmtId="9" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0" />
6
+ # </cellStyleXfs>
1
7
  class OOXL
2
8
  class CellStyleReference
3
9
  attr_accessor :id, :number_formatting_id, :fill_id, :font_id
@@ -8,17 +14,10 @@ class OOXL
8
14
  attributes = cell_style_xfs_node.attributes
9
15
  self.new(
10
16
  id: attributes["xfId"].value.to_i,
11
- number_formatting_id: attributes["numFmtId"].value.to_i,
12
- fill_id: attributes["fillId"].value.to_i,
13
- font_id: attributes["fontId"].value.to_i
17
+ number_formatting_id: attributes["numFmtId"] && attributes["numFmtId"].value.to_i,
18
+ fill_id: attributes["fillId"] && attributes["fillId"].value.to_i,
19
+ font_id: attributes["fontId"] && attributes["fontId"].value.to_i
14
20
  )
15
21
  end
16
22
  end
17
23
  end
18
-
19
- # <cellStyleXfs count="4">
20
- # <xf numFmtId="0" fontId="0" fillId="0" borderId="0" />
21
- # <xf numFmtId="0" fontId="1" fillId="0" borderId="0" />
22
- # <xf numFmtId="0" fontId="39" fillId="0" borderId="0" applyProtection="0" />
23
- # <xf numFmtId="9" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0" />
24
- # </cellStyleXfs>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ooxl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.4.17
4
+ version: 0.0.1.4.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Mones
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-23 00:00:00.000000000 Z
11
+ date: 2016-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport