unicode-x 1.1.0 → 1.2.0
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/CHANGELOG.md +5 -0
- data/README.md +11 -4
- data/lib/unicode/x.rb +2 -1
- data/unicode-x.gemspec +2 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 692e47c71874eb653881d0ba1348384962d1f6da
|
4
|
+
data.tar.gz: c719cc2c06052d58f897e30bb339a66c3b11040e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f553887b2520ee0571aa6f67bab1ef4beb68648a9926f67a5f2a05e20ab80fd8634ffa1b320aa016141ec393e513ff2faeded7abb923c0a7bd2278505cfc574a
|
7
|
+
data.tar.gz: f4a5642d173abbd28a39e88bd9394d31d2b55dbba698c38ef6173b19fe80dfa01ac40792cd18f54491c9ed5af155637e669bed0409d3df45e02216edc8470330
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Unicode X
|
2
2
|
|
3
|
-
A collection of specific micro libraries providing data and algorithms
|
3
|
+
A collection of specific micro libraries providing data and algorithms that might be handy when working with Unicode characters in Ruby:
|
4
4
|
|
5
5
|
Library | Info
|
6
6
|
------------------------|-------------------------------------------------
|
@@ -9,11 +9,18 @@ Library | Info
|
|
9
9
|
[unicode-confusable](https://github.com/janlelis/unicode-confusable) | Confusable detection
|
10
10
|
[unicode-display_width](https://github.com/janlelis/unicode-display_width) | Monospace character width
|
11
11
|
[unicode-name](https://github.com/janlelis/unicode-name) | Unicode codepoint name/alias/label
|
12
|
-
[unicode_normalize](https://github.com/ruby/ruby/blob/trunk/lib/unicode_normalize.rb) | Unicode normalization (
|
12
|
+
[unicode_normalize](https://github.com/ruby/ruby/blob/trunk/lib/unicode_normalize.rb) | Unicode normalization (**stdlib**)
|
13
13
|
[unicode-numeric_value](https://github.com/janlelis/unicode-numeric_value) | Convert a Unicode character into its numeric value
|
14
14
|
[unicode-scripts](https://github.com/janlelis/unicode-scripts) | Scripts and Script_Extensions
|
15
|
+
[unicode-sequence_name](https://github.com/janlelis/unicode-scripts) | Codepoint sequence names
|
15
16
|
[unicode-types](https://github.com/janlelis/unicode-types) | Basic codepoint types
|
16
17
|
|
17
|
-
|
18
|
+
## Setup
|
18
19
|
|
19
|
-
|
20
|
+
Add to Gemfile:
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
gem 'unicode-x'
|
24
|
+
```
|
25
|
+
|
26
|
+
All gems can also be installed standalone, if you only need certain features. The Unicode index data in most of the gems is generated using [unicoder](https://github.com/janlelis/unicoder).
|
data/lib/unicode/x.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Unicode
|
2
2
|
module X
|
3
|
-
VERSION = "1.
|
3
|
+
VERSION = "1.2.0".freeze
|
4
4
|
end
|
5
5
|
end
|
6
6
|
|
@@ -9,6 +9,7 @@ require "unicode/categories"
|
|
9
9
|
require "unicode/confusable"
|
10
10
|
require "unicode/display_width"
|
11
11
|
require "unicode/name"
|
12
|
+
require "unicode/sequence_name"
|
12
13
|
require "unicode/numeric_value"
|
13
14
|
require "unicode/scripts"
|
14
15
|
require "unicode/types"
|
data/unicode-x.gemspec
CHANGED
@@ -22,8 +22,9 @@ Gem::Specification.new do |gem|
|
|
22
22
|
gem.add_dependency "unicode-categories", "~> 1.1"
|
23
23
|
gem.add_dependency "unicode-confusable", "~> 1.1"
|
24
24
|
gem.add_dependency "unicode-display_width", "~> 1.1"
|
25
|
-
gem.add_dependency "unicode-name", "~> 1.
|
25
|
+
gem.add_dependency "unicode-name", "~> 1.4"
|
26
26
|
gem.add_dependency "unicode-numeric_value", "~> 1.2"
|
27
27
|
gem.add_dependency "unicode-scripts", "~> 1.1"
|
28
|
+
gem.add_dependency "unicode-sequence_name", "~> 1.0"
|
28
29
|
gem.add_dependency "unicode-types", "~> 1.1"
|
29
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-x
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
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: 2017-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode-blocks
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
75
|
+
version: '1.4'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1.
|
82
|
+
version: '1.4'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: unicode-numeric_value
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: unicode-sequence_name
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: unicode-types
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
170
|
version: '0'
|
157
171
|
requirements: []
|
158
172
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.
|
173
|
+
rubygems_version: 2.6.8
|
160
174
|
signing_key:
|
161
175
|
specification_version: 4
|
162
176
|
summary: unicode-x
|