unicode-categories 1.1.1 → 1.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46c009abcf33c078cb5c6cd06885c159743ff789
4
- data.tar.gz: d037e3ba7676959d4e55dfb1336832c46e3265af
3
+ metadata.gz: 5b4cf92fd3cc3c7f6c0b22e909905aabb2a22623
4
+ data.tar.gz: 7ace53ad70bb860bdecb38d0039a28fbf9f9bfce
5
5
  SHA512:
6
- metadata.gz: 9f5bc0defe0083b32ebc2283324917b54b50a3df0360cea3eb6d654bca89de4c8f1721e77df21f603ee42f2c4138ea02db14ffd3ba9595a4a782206d9b05f10d
7
- data.tar.gz: 4518d997fff4ecd24f69cf2e25c5b204177786a6348cfd96b30bbd7ef4f80a0e31c66f72b6bc215db17e18a92fb5eec9c89f021e3d7eaf4cf134c82ba56cf715
6
+ metadata.gz: f22841e9216623d7ba4be4d4602b9533e1d514074b11cbb1bc65ce301665fdf1f16e34baa88456188d80f5059637f8e31d55bc4e939fe27990206cccd1635b29
7
+ data.tar.gz: 9a30fb3ad57175eecc7b10522dd5150afab1b80ac39df24639a711ba122884284a2bd0cd627091e1ddd477742524bf157681f03402ea8db8f323fa30cf54e252
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.1.2
4
+
5
+ - Fix bug that would wrongly assign unassigned codepoints to a category (but larger index size...)
6
+
3
7
  ### 1.1.1
4
8
 
5
9
  - Fix bug that prevented non-UTF-8 encodings from working
data/Gemfile CHANGED
@@ -3,3 +3,4 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  gem 'minitest'
6
+ gem 'rake'
Binary file
@@ -1,6 +1,6 @@
1
1
  module Unicode
2
2
  module Categories
3
- VERSION = "1.1.1".freeze
3
+ VERSION = "1.1.2".freeze
4
4
  UNICODE_VERSION = "9.0.0".freeze
5
5
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + '/../../../data/').freeze
6
6
  INDEX_FILENAME = (DATA_DIRECTORY + '/categories.marshal.gz').freeze
@@ -39,6 +39,7 @@ describe Unicode::Categories do
39
39
 
40
40
  it "will return Cn for unassigned codepoints" do
41
41
  assert_equal "Cn", Unicode::Categories.category("\u{10c50}")
42
+ assert_equal "Cn", Unicode::Categories.category("\u{e01f0}")
42
43
  end
43
44
  end
44
45
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-categories
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-08 00:00:00.000000000 Z
11
+ date: 2017-03-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "[Unicode 9.0.0] Determine which Unicode General Categories a string
14
14
  belongs to."
@@ -23,6 +23,7 @@ files:
23
23
  - CHANGELOG.md
24
24
  - CODE_OF_CONDUCT.md
25
25
  - Gemfile
26
+ - Gemfile.lock
26
27
  - MIT-LICENSE.txt
27
28
  - README.md
28
29
  - Rakefile