rubyXL 1.2.3 → 1.2.4

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/rubyXL/parser.rb +3 -3
  3. data/rubyXL.gemspec +2 -2
  4. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.3
1
+ 1.2.4
data/lib/rubyXL/parser.rb CHANGED
@@ -167,9 +167,9 @@ module RubyXL
167
167
  wb.worksheets[i].sheet_view = Hash.xml_node_to_hash(sheet_views_node)[:sheetView]
168
168
 
169
169
  ##col styles##
170
- cols_node_set = files[j].xpath('/xmlns:worksheet/xmlns:cols/xmlns:col',namespaces)
170
+ cols_node_set = files[j].xpath('/xmlns:worksheet/xmlns:cols',namespaces)
171
171
  unless cols_node_set.empty?
172
- wb.worksheets[i].cols= cols_node_set.map(&:attributes)
172
+ wb.worksheets[i].cols= Hash.xml_node_to_hash(cols_node_set.first)[:col]
173
173
  end
174
174
  ##end col styles##
175
175
 
@@ -233,7 +233,7 @@ module RubyXL
233
233
  ##end row styles##
234
234
  end
235
235
 
236
- c_row = row.search('./xmlns:c[xmlns:v]')
236
+ c_row = row.search('./xmlns:c')
237
237
  c_row.each do |value|
238
238
  value_attributes= value.attributes
239
239
  cell_index = Parser.convert_to_index(value_attributes['r'].content)
data/rubyXL.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rubyXL}
8
- s.version = "1.2.3"
8
+ s.version = "1.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Vivek Bhagwat"]
12
- s.date = %q{2012-01-15}
12
+ s.date = %q{2012-01-17}
13
13
  s.description = %q{rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft Excel (.xlsx/.xlsm) Documents}
14
14
  s.email = %q{bhagwat.vivek@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyXL
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 3
9
+ - 4
10
10
  segments_generated: true
11
- version: 1.2.3
11
+ version: 1.2.4
12
12
  platform: ruby
13
13
  authors:
14
14
  - Vivek Bhagwat
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-01-15 00:00:00 -05:00
19
+ date: 2012-01-17 00:00:00 -05:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency