oxcelix 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGES +1 -1
  2. data/lib/oxcelix/workbook.rb +3 -1
  3. data/oxcelix.gemspec +2 -2
  4. metadata +10 -10
data/CHANGES CHANGED
@@ -1,4 +1,4 @@
1
-
1
+ 09/10: Replaced an instance of Ox::load_file, as it won't work on windows
2
2
  08/10: The sheet class now inherits Matrix. Sheet can return a cell based on its excel name. Sheet::data is obsolete - deleted. Moved r, v, s to the Cellvalues module - they are not needed elsewhere but the Cell class. Documentation changes. .yardopts file added.
3
3
  slight documentation changes, yard options added to (protected and private methods docs are now readable)
4
4
 
@@ -120,7 +120,9 @@ module Oxcelix
120
120
  unless Dir[@destination + '/xl/worksheets/_rels'].empty?
121
121
  Find.find(@destination + '/xl/worksheets/_rels') do |path|
122
122
  if File.basename(path).split(".").last=='rels'
123
- f=Ox.load_file(path)
123
+ # f=Ox.load_file(path)
124
+ a=IO.read(@destination+'/xl/workbook.xml')
125
+ f=Ox::load(f)
124
126
  f.locate("Relationships/*").each do |x|
125
127
  if x[:Target].include?"comments"
126
128
  @sheets.each do |s|
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.2.0'
7
- s.date = '2013-10-08'
6
+ s.version = '0.2.1'
7
+ s.date = '2013-10-09'
8
8
  s.summary = 'A fast Excel 2007/2010 file parser'
9
9
  s.description = 'A fast .xlsx file parser that returns a collection of Matrix objects'
10
10
  s.authors = 'Giovanni Biczo'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxcelix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-08 00:00:00.000000000 Z
12
+ date: 2013-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ox
@@ -54,20 +54,20 @@ files:
54
54
  - README.md
55
55
  - lib/oxcelix.rb
56
56
  - lib/oxcelix/cell.rb
57
- - lib/oxcelix/workbook.rb
58
- - lib/oxcelix/sheet.rb
59
57
  - lib/oxcelix/cellhelper.rb
58
+ - lib/oxcelix/sheet.rb
59
+ - lib/oxcelix/workbook.rb
60
+ - lib/oxcelix/sax/comments.rb
60
61
  - lib/oxcelix/sax/sharedstrings.rb
61
62
  - lib/oxcelix/sax/xlsheet.rb
62
- - lib/oxcelix/sax/comments.rb
63
63
  - oxcelix.gemspec
64
- - spec/test.xlsx
65
- - spec/spec_helper.rb
66
- - spec/fixnum_spec.rb
67
- - spec/oxcelix_spec.rb
68
64
  - spec/cell_spec.rb
65
+ - spec/fixnum_spec.rb
69
66
  - spec/matrix_spec.rb
67
+ - spec/oxcelix_spec.rb
68
+ - spec/spec_helper.rb
70
69
  - spec/string_spec.rb
70
+ - spec/test.xlsx
71
71
  - .yardopts
72
72
  - CHANGES
73
73
  homepage: http://github.com/gbiczo/oxcelix
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project: oxcelix
95
- rubygems_version: 1.8.25
95
+ rubygems_version: 1.8.24
96
96
  signing_key:
97
97
  specification_version: 3
98
98
  summary: A fast Excel 2007/2010 file parser