saxlsx 1.7.0 → 1.7.1
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/saxlsx/shared_string_collection_parser.rb +2 -2
- data/lib/saxlsx/version.rb +1 -1
- data/spec/data/Spec.xlsx +0 -0
- data/spec/workbook_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54925b1ff0a1cf772d1b5c26c1eee0c6f2d777ba
|
4
|
+
data.tar.gz: 1bbb66a26a5f095b0d11338d91da3024a93258d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27af434e8a16a6a779ed938a68c1b0e0deea8a1c80a272f99b96c17cf3923fb15567c378fef3e3eeb3826726ae2cb21f22d19b08e00d2007713654bb955f8cef
|
7
|
+
data.tar.gz: fe50048d93f025e557f5aba24dc107865f8438a8d840197e8a55cdc83e52211db6e5f6e29eeb9cc11de3b01ce11af5941d3e63b863d23ce9a4dd90f94703678e
|
@@ -16,7 +16,7 @@ module Saxlsx
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def start_element(name)
|
19
|
-
@current_string =
|
19
|
+
@current_string = String.new if name == :si
|
20
20
|
end
|
21
21
|
|
22
22
|
def end_element(name)
|
@@ -27,7 +27,7 @@ module Saxlsx
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def text(value)
|
30
|
-
@current_string
|
30
|
+
@current_string << CGI.unescapeHTML(value) if @current_string
|
31
31
|
end
|
32
32
|
|
33
33
|
end
|
data/lib/saxlsx/version.rb
CHANGED
data/spec/data/Spec.xlsx
CHANGED
Binary file
|
data/spec/workbook_spec.rb
CHANGED
@@ -47,8 +47,8 @@ describe Workbook do
|
|
47
47
|
it 'Shared strings' do
|
48
48
|
Workbook.open filename do |w|
|
49
49
|
w.should have(56).shared_strings
|
50
|
-
w.shared_strings
|
51
|
-
w.shared_strings
|
50
|
+
w.shared_strings.should include 'LevenshteinDistance'
|
51
|
+
w.shared_strings.should include 'TST_ModMan_Insulto_SU_Normal'
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saxlsx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edgars Beigarts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|