oxcelix 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -5
- data/CHANGES +6 -7
- data/README.md +3 -0
- data/lib/oxcelix.rb +1 -1
- data/oxcelix.gemspec +2 -2
- data/spec/{fixnum_spec.rb → integer_spec.rb} +1 -1
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,17 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMjU2":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NzFjMzMxY2FjYTc3NmVkOWI4NjJiMWI5NmQzOTAyZDdlODcxNTNmZTA2MzZi
|
5
|
+
NzllYWY2NGY1NmEzYzYxN2U2Yg==
|
6
|
+
data.tar.gz: !binary |-
|
7
|
+
NjA1ODY4YzBmZDQyODk2NzBhOWM1NmFlOGUxZDRkZjVmNGEwMmIyMzA4MzQ1
|
8
|
+
NzMzZTI4YjYyMGExNTAxNzI4Zg==
|
5
9
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
10
|
+
metadata.gz: !binary |-
|
11
|
+
ZjM5N2I1M2UwOWIyNTU3YjI3ODY5YjMwMWRmZjM5ZmZhZDYxMTU0NDdjMjgw
|
12
|
+
M2JiNzE5ZjExZjVkNjMxOGE5YTI4NGZlZTI3ZDc3ZTAzZmIwODI2YWY4OWFj
|
13
|
+
MzY4NTE4ODUyM2FiMzFhMjk0N2Q0ZTE4MWVlNTBmZDhmNjI1OWQ=
|
14
|
+
data.tar.gz: !binary |-
|
15
|
+
ODRkNDM2YWI2MTY4MmU5YzBmMWE5Yjc2NmU3YzM1OWRkMDhjOWY2NGYxM2I0
|
16
|
+
ZTRiNWRmYWEwYmRkNDRkNGFiZDVlNWJmNDNhZDdiNWM5NTljYjI1M2I3ZTE1
|
17
|
+
M2UwMDNlN2FhZjI1ZTQyN2M1YWZhM2FlZTA3ZWM1YWZjOTk2OTY=
|
data/CHANGES
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
+
0.4.2
|
2
|
+
* fixed deprecation warning caused by ruby 2.4 Fixnum and Bignum unification
|
3
|
+
into Integer
|
4
|
+
|
1
5
|
0.4.1
|
2
|
-
*
|
3
|
-
* Simplified gemfile (mindreframer)
|
4
|
-
* pry in spec_helper (mindreframer)
|
5
|
-
* code style cleanup (mindreframer)
|
6
|
-
* "duplicate key" warning removed in numformats.rb (mindreframer, jdevega)
|
7
|
-
* numformat 49 is now treated as Text (jaydorsey)
|
6
|
+
* Fixed whitespaces around equality signs (Thanks to mindreframer)
|
8
7
|
|
9
8
|
0.4.0
|
10
9
|
* Code refactoring - Workbook creation is now more fine-grained.
|
@@ -17,7 +16,7 @@
|
|
17
16
|
* System temp directory is uses for unpacking.
|
18
17
|
|
19
18
|
0.3.3
|
20
|
-
* Will not terminate
|
19
|
+
* Will not terminate if a directory called 'tmp' already exists in the current directory.
|
21
20
|
Thanks to bhavinkamani for pointing this out.
|
22
21
|
* Corrected type in xlsheet parser: empty cells near to non-empty ones will now be correctly handled
|
23
22
|
|
data/README.md
CHANGED
@@ -42,11 +42,13 @@ Synopsis
|
|
42
42
|
`w.sheets[0].to_ru # returns a Matrix of DateTime, Integer, etc objects`
|
43
43
|
`w.sheets[0].to_fmt # returns a Matrix of formatted Strings based on the above.`
|
44
44
|
OR:
|
45
|
+
|
45
46
|
`require 'oxcelix'`
|
46
47
|
`w = Oxcelix::RuValueWorkbook.new('whatever.xlsx', :copymerge => true)`
|
47
48
|
`w = Oxcelix::FormattedWorkbook.new('whatever.xlsx', :copymerge => true)`
|
48
49
|
|
49
50
|
You can parse an Excel file partially to save memory:
|
51
|
+
|
50
52
|
`require 'oxcelix'`
|
51
53
|
`w = Oxcelix::Workbook.new('whatever.xlsx', :cellrange => ('A3'..'R42')) # will only parse the cells included in the given range on every included sheet`
|
52
54
|
`w = Oxcelix::Workbook.new('whatever.xlsx', :paginate => [5,2]) # will only parse the second five-row group of every included sheet.`
|
@@ -74,6 +76,7 @@ For a comparison of XML parsers, please consult the Ox homepage[http://www.ohler
|
|
74
76
|
|
75
77
|
TODO
|
76
78
|
----
|
79
|
+
* Support for inline strings to be added
|
77
80
|
* include/exclude mechanism should extend to cell areas inside Sheet objects
|
78
81
|
* Further improvement to the formatting algorithms. Theoretically, to_fmt should be able to
|
79
82
|
split conditional-formatting strings and to display e.g. thousands separated number strings
|
data/lib/oxcelix.rb
CHANGED
data/oxcelix.gemspec
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
require 'rake'
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'oxcelix'
|
6
|
-
s.version = '0.4.
|
7
|
-
s.date = '
|
6
|
+
s.version = '0.4.2'
|
7
|
+
s.date = '2018-11-01'
|
8
8
|
s.summary = 'A fast Excel 2007/2010 file parser'
|
9
9
|
s.description = 'A fast Excel 2007/2010 (.xlsx) file parser that returns a collection of Matrix objects'
|
10
10
|
s.authors = 'Giovanni Biczo'
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oxcelix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Giovanni Biczo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ox
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 2.1.7
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.1.7
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubyzip
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 1.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: pry
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ! '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ! '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ! '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ! '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: oga
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ! '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ! '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: A fast Excel 2007/2010 (.xlsx) file parser that returns a collection
|
@@ -101,7 +101,7 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
-
-
|
104
|
+
- .yardopts
|
105
105
|
- CHANGES
|
106
106
|
- LICENSE
|
107
107
|
- README.md
|
@@ -119,7 +119,7 @@ files:
|
|
119
119
|
- lib/oxcelix/workbook.rb
|
120
120
|
- oxcelix.gemspec
|
121
121
|
- spec/cell_spec.rb
|
122
|
-
- spec/
|
122
|
+
- spec/integer_spec.rb
|
123
123
|
- spec/matrix_spec.rb
|
124
124
|
- spec/oxcelix_spec.rb
|
125
125
|
- spec/sheet_spec.rb
|
@@ -131,22 +131,22 @@ licenses:
|
|
131
131
|
metadata: {}
|
132
132
|
post_install_message:
|
133
133
|
rdoc_options:
|
134
|
-
-
|
134
|
+
- --all
|
135
135
|
require_paths:
|
136
136
|
- lib
|
137
137
|
required_ruby_version: !ruby/object:Gem::Requirement
|
138
138
|
requirements:
|
139
|
-
- -
|
139
|
+
- - ! '>='
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
|
-
- -
|
144
|
+
- - ! '>='
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
148
|
rubyforge_project: oxcelix
|
149
|
-
rubygems_version: 2.
|
149
|
+
rubygems_version: 2.7.7
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: A fast Excel 2007/2010 file parser
|