uniscribe 1.2.0 → 1.3.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/.travis.yml +8 -6
- data/CHANGELOG.md +4 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +13 -8
- data/lib/uniscribe/version.rb +2 -2
- data/uniscribe.gemspec +4 -4
- metadata +11 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 732f9c4b99fa2c2841f8bdccb48b693295fd69348e4d4432b7537b90814468e0
|
4
|
+
data.tar.gz: 4c2f7f086ec777588455db8c653e276e998362f6bec4af9c93d7e338d0baa1dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f075922ebe537a62803bb5b1e6643e63eff2eaa770f86134630a3e8ed38a8b7ade9c1f734af77b6ccde7a1ef5994240648364f94a8e87c4c97c7195f728b0608
|
7
|
+
data.tar.gz: 511aa4f17544d5b8be2b20fa476cf34ef366a74bb34e2cd8e8eb7da7b6a56db329f621f9d4fab7f4102154eb4d775a1e2134d9f599d988c0cacc271b52621aaa
|
data/.travis.yml
CHANGED
@@ -3,20 +3,22 @@ language: ruby
|
|
3
3
|
|
4
4
|
rvm:
|
5
5
|
- ruby-head
|
6
|
-
- 2.
|
7
|
-
- 2.
|
8
|
-
- 2.
|
6
|
+
- 2.6.1
|
7
|
+
- 2.5.3
|
8
|
+
- 2.4.5
|
9
|
+
- 2.3.8
|
9
10
|
- 2.2
|
10
11
|
- 2.1
|
11
12
|
- 2.0
|
12
13
|
- jruby-head
|
13
|
-
- jruby-9.
|
14
|
+
- jruby-9.2.6.0
|
14
15
|
|
15
16
|
matrix:
|
16
17
|
allow_failures:
|
17
18
|
- rvm: ruby-head
|
19
|
+
- rvm: 2.3.8
|
20
|
+
- rvm: 2.2
|
18
21
|
- rvm: 2.1
|
19
22
|
- rvm: 2.0
|
20
23
|
- rvm: jruby-head
|
21
|
-
- rvm: jruby-9.
|
22
|
-
# fast_finish: true
|
24
|
+
- rvm: jruby-9.2.6.0
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# uniscribe | Describe the Unicode [![[version]](https://badge.fury.io/rb/uniscribe.svg)](
|
1
|
+
# uniscribe | Describe the Unicode [![[version]](https://badge.fury.io/rb/uniscribe.svg)](https://badge.fury.io/rb/uniscribe) [![[travis]](https://travis-ci.org/janlelis/uniscribe.svg)](https://travis-ci.org/janlelis/uniscribe)
|
2
2
|
|
3
3
|
Describes Unicode characters with their name and shows compositions.
|
4
4
|
|
@@ -101,22 +101,27 @@ uniscribe "test strı̈ng"
|
|
101
101
|
|
102
102
|
## Notes
|
103
103
|
|
104
|
-
|
104
|
+
Although the gem is generally up to date with Unicode 12, the proper detection of compositions / graphemes / combined characters depends on your Ruby version:
|
105
105
|
|
106
106
|
Ruby | Unicode Version
|
107
107
|
-----|----------------
|
108
|
+
2.6 | 11.0.0
|
108
109
|
2.5 | 10.0.0
|
109
110
|
2.4 | 9.0.0
|
110
111
|
2.3 | 8.0.0
|
111
112
|
2.2 | 7.0.0
|
112
113
|
2.1 | 6.1.0
|
113
114
|
|
115
|
+
You can run `uniscribe -v` to check for the Unicode level of your uniscribe version.
|
116
|
+
|
114
117
|
Also see
|
115
118
|
|
116
|
-
- [unibits](https://github.com/janlelis/unibits) - visualizes Unicode encodings
|
117
|
-
- [
|
118
|
-
- [
|
119
|
-
- [
|
120
|
-
-
|
119
|
+
- CLI: [unibits](https://github.com/janlelis/unibits) - visualizes Unicode encodings
|
120
|
+
- CLI: [unicopy](https://github.com/janlelis/unicopy) - copy codepoints to clipboard
|
121
|
+
- Website: [character.construction](https://character.construction) - lists notable codepoints
|
122
|
+
- Ruby Library: [symbolify](https://github.com/janlelis/symbolify) - used for safely printing individual codepoints
|
123
|
+
- Ruby Library: [characteristics](https://github.com/janlelis/characteristics) - used for detecting blanks and similar
|
124
|
+
- Unicode® Standard Annex #29: [Unicode Text Segmentation](https://unicode.org/reports/tr29/)
|
125
|
+
- Talk: [Ten Unicode Characters You Should Know About as a Programmer](https://www.youtube.com/watch?v=hlryzsdGtZo)
|
121
126
|
|
122
|
-
Copyright (C) 2017-
|
127
|
+
Copyright (C) 2017-2019 Jan Lelis <http://janlelis.com>. Released under the MIT license.
|
data/lib/uniscribe/version.rb
CHANGED
data/uniscribe.gemspec
CHANGED
@@ -18,10 +18,10 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
20
|
gem.required_ruby_version = "~> 2.1"
|
21
|
-
gem.add_dependency "unicode-name", "~> 1.
|
22
|
-
gem.add_dependency "unicode-sequence_name", "~> 1.
|
23
|
-
gem.add_dependency "unicode-display_width", "~> 1.
|
24
|
-
gem.add_dependency "unicode-emoji", "~>
|
21
|
+
gem.add_dependency "unicode-name", "~> 1.7"
|
22
|
+
gem.add_dependency "unicode-sequence_name", "~> 1.3"
|
23
|
+
gem.add_dependency "unicode-display_width", "~> 1.5"
|
24
|
+
gem.add_dependency "unicode-emoji", "~> 2.0"
|
25
25
|
gem.add_dependency "symbolify", "~> 1.3"
|
26
26
|
gem.add_dependency "characteristics", ">= 0.8", "< 2.0"
|
27
27
|
gem.add_dependency "paint", ">= 0.9", "< 3.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uniscribe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.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: 2019-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode-name
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.7'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: unicode-sequence_name
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: unicode-display_width
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.5'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.5'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: unicode-emoji
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '2.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '2.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: symbolify
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,8 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
- !ruby/object:Gem::Version
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
|
-
|
180
|
-
rubygems_version: 2.7.6
|
179
|
+
rubygems_version: 3.0.1
|
181
180
|
signing_key:
|
182
181
|
specification_version: 4
|
183
182
|
summary: Describes Unicode characters.
|