ooxl 0.0.1.4.23 → 0.0.1.4.24

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: a6b4800d5e70046a53795dae9373410d07489414
4
- data.tar.gz: c5e5eb72f067a42ab0a8e9a16c71eed71fc544ce
3
+ metadata.gz: 8eb9194a8f21b6a1ff814c7307581b87039174af
4
+ data.tar.gz: 19327c4f196fa7be33de042dd02a5637855d9326
5
5
  SHA512:
6
- metadata.gz: bb57dc1d7afe95251338d0956b3fd35db4cc24a522cce5b9761575fcfcfe6e08a06f8d006a095423ec3f4c97ad250a4bb90358a7f71bcb262be7f75a90b5b14f
7
- data.tar.gz: 4a1dc341697e1a92e6ebdc56ce205c5dc200ab1a209084fbcef40933ad71628bd746b54c41a5ca811e2f8ecc3f9a2229547d705212148738802bba7d7e085504
6
+ metadata.gz: 2fa656c463f7278a8ba232e890eca33137a65b6065a0936b90a4017c3efaab77c2e4b9921fcc780b80912b55b2dcfd332a43a0ebd4bab2fea8bc38e256c8385f
7
+ data.tar.gz: e8ef1b7a8c5a9705690ba0b512f550faa2c785a87f796a0b85f7fce407559ddcdbacb6695345ad58503f1c3daf0206133b687c6e05ad9f26820d07517d451d29
data/lib/ooxl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class OOXL
2
- VERSION = "0.0.1.4.23"
2
+ VERSION = "0.0.1.4.24"
3
3
  end
@@ -13,7 +13,7 @@ class OOXL
13
13
  def self.load_from_node(cell_style_xfs_node)
14
14
  attributes = cell_style_xfs_node.attributes
15
15
  self.new(
16
- id: attributes["xfId"].value.to_i,
16
+ id: attributes["xfId"] && attributes["xfId"].value.to_i,
17
17
  number_formatting_id: attributes["numFmtId"] && attributes["numFmtId"].value.to_i,
18
18
  fill_id: attributes["fillId"] && attributes["fillId"].value.to_i,
19
19
  font_id: attributes["fontId"] && attributes["fontId"].value.to_i
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.23
4
+ version: 0.0.1.4.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Mones
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport