crek 0.1.1 → 0.1.2
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 +4 -4
- data/lib/crek/styles/constants.rb +1 -1
- data/lib/crek/styles/converter.rb +2 -2
- data/lib/crek/styles/style_types.rb +2 -2
- data/lib/crek/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c1dfc03f300fe9cec62335181edc9ede579fbf3fee8f6904bc142765b2f53cc
|
|
4
|
+
data.tar.gz: d027659dcceb08488568a258c01d20477babd4f7dd9ce02fbb5e60adaf6baf7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17917d08a0e50cc1205ab651d0cc1f1f25e1071dfa2cad8c1a0bc77ed020bbb60dca3a60f44c88adf461d2a2f1b4496a31c904cdb7607da184b4247ae15e9a5c
|
|
7
|
+
data.tar.gz: 9f09c4c2692e2f44b0b53b2a296d05ed6fca196f40ec95043ae62ba8fe8780ba974e522a5c05da395057cf65ec8c127fdd27e73b7d1338d26aa47a97f379b126
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require 'set'
|
|
2
2
|
|
|
3
|
-
module
|
|
3
|
+
module Crek
|
|
4
4
|
class Styles
|
|
5
5
|
class Converter
|
|
6
|
-
include
|
|
6
|
+
include Crek::Styles::Constants
|
|
7
7
|
##
|
|
8
8
|
# The heart of typecasting. The ruby type is determined either explicitly
|
|
9
9
|
# from the cell xml or implicitly from the cell style, and this
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# https://github.com/hmcgowan/roo/blob/master/lib/roo/excelx.rb
|
|
2
2
|
# https://github.com/woahdae/simple_xlsx_reader/blob/master/lib/simple_xlsx_reader.rb#L231
|
|
3
|
-
module
|
|
3
|
+
module Crek
|
|
4
4
|
class Styles
|
|
5
5
|
class StyleTypes
|
|
6
|
-
include
|
|
6
|
+
include Crek::Styles::Constants
|
|
7
7
|
attr_accessor :styles_xml_doc
|
|
8
8
|
def initialize(styles_xml_doc)
|
|
9
9
|
@styles_xml_doc = styles_xml_doc
|
data/lib/crek/version.rb
CHANGED