unicode-x 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -3
- data/lib/unicode/x.rb +3 -1
- data/unicode-x.gemspec +4 -2
- metadata +32 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f18b305f59b7bc348e44ed9c3ee4ca5a95eca28
|
4
|
+
data.tar.gz: f5486bb1227d6378d5739f6273f7608acce2f653
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e001c574bdd8811773ace4d6daf833e030c64492cc91d437c4f9af2b2a1c7665345f7e37084922c42d3ae20bea47ef1a21d1d5be49d17ec804e61918a704f744
|
7
|
+
data.tar.gz: df4d198111fc68786f4ebcb2decec9754673cc9d41e73a7eee46dea32ec94d80c019126a8602db5e0c5ff80b27db74e2881ef2d3b15b4c0f3673332f1a871bb4
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Unicode X
|
2
2
|
|
3
|
-
A collection of libraries providing data and algorithms about unicode characters in Ruby:
|
3
|
+
A collection of specific micro libraries providing data and algorithms about unicode characters in Ruby:
|
4
4
|
|
5
5
|
Library | Info
|
6
6
|
------------------------|-------------------------------------------------
|
@@ -8,6 +8,10 @@ Library | Info
|
|
8
8
|
[unicode-categories](https://github.com/janlelis/unicode-categories) | General Categories
|
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
|
-
[unicode-name](https://github.com/janlelis/unicode-name) | Unicode
|
12
|
-
[unicode_normalize](https://github.com/ruby/ruby/blob/trunk/lib/unicode_normalize
|
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 (*stdlib*)
|
13
|
+
[unicode-numeric_value](https://github.com/janlelis/unicode-numeric_value) | Convert a Unicode character into its numeric value
|
13
14
|
[unicode-scripts](https://github.com/janlelis/unicode-scripts) | Scripts and Script_Extensions
|
15
|
+
[unicode-types](https://github.com/janlelis/unicode-types) | Basic codepoint types
|
16
|
+
|
17
|
+
Although you can use the bundled gem (**unicode-x**) to install all the above at once, every of this libraries is standalone, so you are able to select only the features you need.
|
data/lib/unicode/x.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Unicode
|
2
2
|
module X
|
3
|
-
VERSION = "1.0.
|
3
|
+
VERSION = "1.0.3".freeze
|
4
4
|
end
|
5
5
|
end
|
6
6
|
|
@@ -9,7 +9,9 @@ require "unicode/categories"
|
|
9
9
|
require "unicode/confusable"
|
10
10
|
require "unicode/display_width"
|
11
11
|
require "unicode/name"
|
12
|
+
require "unicode/numeric_value"
|
12
13
|
require "unicode/scripts"
|
14
|
+
require "unicode/types"
|
13
15
|
|
14
16
|
begin
|
15
17
|
require "unicode_normalize/normalize"
|
data/unicode-x.gemspec
CHANGED
@@ -6,10 +6,10 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.name = "unicode-x"
|
7
7
|
gem.version = Unicode::X::VERSION
|
8
8
|
gem.summary = "unicode-x"
|
9
|
-
gem.description = "A collection of libraries providing data and algorithms about unicode characters."
|
9
|
+
gem.description = "A collection of micro libraries providing data and algorithms about unicode characters."
|
10
10
|
gem.authors = ["Jan Lelis"]
|
11
11
|
gem.email = ["mail@janlelis.de"]
|
12
|
-
gem.homepage = "https://github.com/janlelis/unicode-
|
12
|
+
gem.homepage = "https://github.com/janlelis/unicode-x"
|
13
13
|
gem.license = "MIT"
|
14
14
|
|
15
15
|
gem.files = Dir["{**/}{.*,*}"].select{ |path| File.file?(path) && path !~ /^pkg/ }
|
@@ -23,5 +23,7 @@ Gem::Specification.new do |gem|
|
|
23
23
|
gem.add_dependency "unicode-confusable", "~> 1.0"
|
24
24
|
gem.add_dependency "unicode-display_width", "~> 1.0"
|
25
25
|
gem.add_dependency "unicode-name", "~> 1.0"
|
26
|
+
gem.add_dependency "unicode-numeric_value", "~> 1.0"
|
26
27
|
gem.add_dependency "unicode-scripts", "~> 1.0"
|
28
|
+
gem.add_dependency "unicode-types", "~> 1.0"
|
27
29
|
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.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode-blocks
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: unicode-numeric_value
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: unicode-scripts
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,7 +108,21 @@ dependencies:
|
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '1.0'
|
97
|
-
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: unicode-types
|
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'
|
125
|
+
description: A collection of micro libraries providing data and algorithms about unicode
|
98
126
|
characters.
|
99
127
|
email:
|
100
128
|
- mail@janlelis.de
|
@@ -107,7 +135,7 @@ files:
|
|
107
135
|
- Rakefile
|
108
136
|
- lib/unicode/x.rb
|
109
137
|
- unicode-x.gemspec
|
110
|
-
homepage: https://github.com/janlelis/unicode-
|
138
|
+
homepage: https://github.com/janlelis/unicode-x
|
111
139
|
licenses:
|
112
140
|
- MIT
|
113
141
|
metadata: {}
|