xlsxtream 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17822e38d655cde01b73bc0b29123f1e551a7b37
4
- data.tar.gz: 75e450c68981eadf8ad7bc28f8642b8dedb50e52
3
+ metadata.gz: 642a452b03d01ae99f30e2718d0ade58a6bb20d1
4
+ data.tar.gz: 767f1ab54f50f8fea6c4061d2820d4f21783bbac
5
5
  SHA512:
6
- metadata.gz: de62559b3aaa6225f51ede2d317998cf46e0cbeb9fd5f21188c4e5bc9d2b693d1c25cfa7793f266f72632adbb540029e68d92ce2bdee3ef67c9d9bb3091927b0
7
- data.tar.gz: 92db1243a6246a9c53d2b0893bd7e1cc9d6f3c50502e9a3432acddc462639cc1a646824ee69ff00fc4c9b2a79cd17484c9eabe678fffe0398ef58444d89a0572
6
+ metadata.gz: 34026fb0948c29a706c71345a872665946222c20d90e8772e80cd87c7643b6afc78ccff915d6b3e88b8dbcea61dcfe813307dd19c4eb816f99600e0caa6eeb94
7
+ data.tar.gz: f341216f5220bead5c40f230b6a2df3c05b85b5540173c0783a40493cd6ba4b2f6b126a3e63f0bd900f7d68127a64c789944de3a8a1f27de864b1f3262e82607
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.2 (2017-10-30)
4
+
5
+ - Fix circular require in workbook
6
+ - Fix wrong escaping of extended Unicode characters
7
+
3
8
  ## 1.3.1 (2017-10-30)
4
9
 
5
10
  - Restore stringio require in workbook
@@ -1,3 +1,3 @@
1
1
  module Xlsxtream
2
- VERSION = '1.3.1'.freeze
2
+ VERSION = '1.3.2'.freeze
3
3
  end
@@ -3,7 +3,7 @@ require "stringio"
3
3
  require "xlsxtream/errors"
4
4
  require "xlsxtream/xml"
5
5
  require "xlsxtream/shared_string_table"
6
- require "xlsxtream/workbook"
6
+ require "xlsxtream/worksheet"
7
7
  require "xlsxtream/io/rubyzip"
8
8
 
9
9
  module Xlsxtream
data/lib/xlsxtream/xml.rb CHANGED
@@ -16,7 +16,7 @@ module Xlsxtream
16
16
 
17
17
  # http://www.w3.org/TR/REC-xml/#NT-Char:
18
18
  # Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
19
- INVALID_XML10_CHARS = /[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]/.freeze
19
+ INVALID_XML10_CHARS = /[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u{10000}-\u{10FFFF}]/.freeze
20
20
 
21
21
  # ST_Xstring escaping
22
22
  ESCAPE_CHAR = lambda { |c| '_x%04X_'.freeze % c.ord }.freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlsxtream
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Bünemann