unicode-categories 1.2.0 → 1.2.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 +5 -5
- data/.travis.yml +6 -7
- data/CHANGELOG.md +4 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +5 -3
- data/lib/unicode/categories/constants.rb +1 -1
- data/lib/unicode/categories/index.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 01ee373224fd1b13d19dd0acc2ba0de39b5e37e2fd7b6dfeea386320fb5da43c
|
4
|
+
data.tar.gz: 239968bd6799e30b6498f1fc670f213e4cad53b76f50441a538fea9dec628922
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e9216e10595b738d48efb1c6f99bc387b83f505726f21f1a4275a635d6eb64872a5841b9ae477b3f19f84c2d42a51197b70b80aad1a426ca7e55d1544d2a43a
|
7
|
+
data.tar.gz: ebc7e674a2aabdc9f7e0061e910026ee2754f317c04ba076c731f7730eeed8143752779c3eaf188e33eba7738da0068f4e2ab3dee67e0456bc1478e8cfbcf006
|
data/.travis.yml
CHANGED
@@ -3,21 +3,20 @@ language: ruby
|
|
3
3
|
|
4
4
|
rvm:
|
5
5
|
- ruby-head
|
6
|
-
- 2.
|
7
|
-
- 2.
|
6
|
+
- 2.5.1
|
7
|
+
- 2.4.4
|
8
|
+
- 2.3.7
|
8
9
|
- 2.2
|
9
10
|
- 2.1
|
10
11
|
- 2.0
|
11
12
|
- jruby-head
|
12
|
-
- jruby-9.1.
|
13
|
-
|
14
|
-
cache:
|
15
|
-
- bundler
|
13
|
+
- jruby-9.1.16.0
|
16
14
|
|
17
15
|
matrix:
|
18
16
|
allow_failures:
|
19
17
|
- rvm: jruby-head
|
20
18
|
- rvm: ruby-head
|
19
|
+
- rvm: 2.2
|
20
|
+
- rvm: 2.1
|
21
21
|
- rvm: 2.0
|
22
22
|
# fast_finish: true
|
23
|
-
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,9 @@ Returns which [General Categories](https://en.wikipedia.org/wiki/Unicode_charact
|
|
4
4
|
|
5
5
|
Unicode version: **10.0.0**
|
6
6
|
|
7
|
-
Supported Rubies: **2.
|
7
|
+
Supported Rubies: **2.5**, **2.4**, **2.3**, **2.2**
|
8
|
+
|
9
|
+
Old Rubies that might still work: **2.1**, **2.0**
|
8
10
|
|
9
11
|
## Gemfile
|
10
12
|
|
@@ -22,7 +24,7 @@ Unicode::Categories.categories("A 2") # => ["Lu", "Nd", "Zs"]
|
|
22
24
|
Unicode::Categories.categories("A 2", format: :long)
|
23
25
|
# => ["Decimal_Number", "Space_Separator", "Uppercase_Letter"]
|
24
26
|
|
25
|
-
# Also aliased as .of
|
27
|
+
# Also aliased as .of
|
26
28
|
Unicode::Categories.of("\u{10c50}") # => ["Cn"]
|
27
29
|
|
28
30
|
# Single character
|
@@ -91,6 +93,6 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
|
|
91
93
|
|
92
94
|
## MIT License
|
93
95
|
|
94
|
-
- Copyright (C) 2016-
|
96
|
+
- Copyright (C) 2016-2018 Jan Lelis <http://janlelis.com>. Released under the MIT license.
|
95
97
|
- Unicode data: http://www.unicode.org/copyright.html#Exhibit1
|
96
98
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Unicode
|
2
2
|
module Categories
|
3
|
-
VERSION = "1.2.
|
3
|
+
VERSION = "1.2.1".freeze
|
4
4
|
UNICODE_VERSION = "10.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
|
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.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: "[Unicode 10.0.0] Determine which Unicode General Categories a string
|
14
14
|
belongs to."
|
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
56
|
rubyforge_project:
|
57
|
-
rubygems_version: 2.6
|
57
|
+
rubygems_version: 2.7.6
|
58
58
|
signing_key:
|
59
59
|
specification_version: 4
|
60
60
|
summary: Determine the Unicode General Categories of a string.
|