rubyXL 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rubyXL/parser.rb +3 -3
- data/rubyXL.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
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
|
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.
|
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
|
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.
|
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-
|
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:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
9
|
+
- 4
|
10
10
|
segments_generated: true
|
11
|
-
version: 1.2.
|
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-
|
19
|
+
date: 2012-01-17 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|