characteristics 1.1.0 → 1.4.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 +4 -4
- data/CHANGELOG.md +17 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +3 -3
- data/Rakefile +5 -1
- data/characteristics.gemspec +5 -5
- data/lib/characteristics/unicode.rb +1 -0
- data/lib/characteristics/version.rb +2 -2
- metadata +9 -12
- data/.travis.yml +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f6c0c97ced2ba825e903391d7fa85338426d4fa848e1e381f8d5e3327636b95
|
4
|
+
data.tar.gz: ce8ecf5daea1e682ffac5dd3a11a6e554b09d392735beba807fb0c096dd55646
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27daa861d1dd894b43df9c4d0ad7c29c3273f56d056e401e5bc2ee84106133501d6e9243b0f4a7f33bfd36e042de0f99bf2256d9782577811826dae950bdec81
|
7
|
+
data.tar.gz: 1f1234006989d604a5bb637a5b69ef8968e4f6c5c24a3ac1848e7ca635b6c625c1929b809a91747e44a6201fbef772d204081c124a4660251fd887716ca74fe2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
## CHANGELOG
|
2
2
|
|
3
|
+
### 1.4.1
|
4
|
+
|
5
|
+
* Add NO-BREAK SPACE to blanks 😅
|
6
|
+
|
7
|
+
### 1.4.0
|
8
|
+
|
9
|
+
* Unicode 14 (general categories)
|
10
|
+
|
11
|
+
### 1.3.0
|
12
|
+
|
13
|
+
* Unicode 13 (general categories)
|
14
|
+
* Relax Ruby version requirement to allow Ruby 3.0
|
15
|
+
|
16
|
+
### 1.2.0
|
17
|
+
|
18
|
+
* Unicode 12 (general categories)
|
19
|
+
|
3
20
|
### 1.1.0
|
4
21
|
|
5
22
|
* Unicode 11 (general categories)
|
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Characteristics [![[version]](https://badge.fury.io/rb/characteristics.svg)](
|
1
|
+
# Characteristics [![[version]](https://badge.fury.io/rb/characteristics.svg)](https://badge.fury.io/rb/characteristics) [![[ci]](https://github.com/janlelis/characteristics/workflows/Test/badge.svg)](https://github.com/janlelis/characteristics/actions?query=workflow%3ATest)
|
2
2
|
|
3
3
|
A Ruby library that provides additional info about characters:¹
|
4
4
|
|
@@ -8,7 +8,7 @@ A Ruby library that provides additional info about characters:¹
|
|
8
8
|
|
9
9
|
Extra data is available for Unicode characters (see below).
|
10
10
|
|
11
|
-
The [unibits](https://github.com/janlelis/unibits) and [uniscribe](https://github.com/janlelis/uniscribe) gems makes use of this data to visualize it
|
11
|
+
The [unibits](https://github.com/janlelis/unibits) and [uniscribe](https://github.com/janlelis/uniscribe) gems makes use of this data to visualize it accordingly.
|
12
12
|
|
13
13
|
¹ in the sense of [codepoints](https://en.wikipedia.org/wiki/Codepoint)
|
14
14
|
|
@@ -118,4 +118,4 @@ This flag is *true* only for special formatting characters, which are not contro
|
|
118
118
|
|
119
119
|
## MIT License
|
120
120
|
|
121
|
-
Copyright (C) 2017 Jan Lelis <
|
121
|
+
Copyright (C) 2017-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
data/Rakefile
CHANGED
@@ -32,7 +32,11 @@ end
|
|
32
32
|
|
33
33
|
desc "#{gemspec.name} | Spec"
|
34
34
|
task :spec do
|
35
|
-
|
35
|
+
if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
|
36
|
+
sh "for %f in (spec/\*.rb) do ruby spec/%f"
|
37
|
+
else
|
38
|
+
sh "for file in spec/*.rb; do ruby $file; done"
|
39
|
+
end
|
36
40
|
end
|
37
41
|
task default: :spec
|
38
42
|
|
data/characteristics.gemspec
CHANGED
@@ -5,10 +5,10 @@ require File.dirname(__FILE__) + "/lib/characteristics/version"
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "characteristics"
|
7
7
|
gem.version = Characteristics::VERSION
|
8
|
-
gem.summary = "Basic character properties
|
9
|
-
gem.description = "
|
8
|
+
gem.summary = "Basic character properties"
|
9
|
+
gem.description = "Provides basic information about how characters behave in different encodings"
|
10
10
|
gem.authors = ["Jan Lelis"]
|
11
|
-
gem.email = ["
|
11
|
+
gem.email = ["hi@ruby.consulting.com"]
|
12
12
|
gem.homepage = "https://github.com/janlelis/characteristics"
|
13
13
|
gem.license = "MIT"
|
14
14
|
|
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
-
gem.required_ruby_version = "
|
21
|
-
gem.add_dependency 'unicode-categories', '~> 1.
|
20
|
+
gem.required_ruby_version = ">= 2.0"
|
21
|
+
gem.add_dependency 'unicode-categories', '~> 1.7'
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: characteristics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1
|
4
|
+
version: 1.4.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: 2022-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode-categories
|
@@ -16,24 +16,22 @@ 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.
|
27
|
-
description:
|
28
|
-
behave in different encodings.
|
26
|
+
version: '1.7'
|
27
|
+
description: Provides basic information about how characters behave in different encodings
|
29
28
|
email:
|
30
|
-
-
|
29
|
+
- hi@ruby.consulting.com
|
31
30
|
executables: []
|
32
31
|
extensions: []
|
33
32
|
extra_rdoc_files: []
|
34
33
|
files:
|
35
34
|
- ".gitignore"
|
36
|
-
- ".travis.yml"
|
37
35
|
- CHANGELOG.md
|
38
36
|
- CODE_OF_CONDUCT.md
|
39
37
|
- Gemfile
|
@@ -59,7 +57,7 @@ require_paths:
|
|
59
57
|
- lib
|
60
58
|
required_ruby_version: !ruby/object:Gem::Requirement
|
61
59
|
requirements:
|
62
|
-
- - "
|
60
|
+
- - ">="
|
63
61
|
- !ruby/object:Gem::Version
|
64
62
|
version: '2.0'
|
65
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -68,10 +66,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
66
|
- !ruby/object:Gem::Version
|
69
67
|
version: '0'
|
70
68
|
requirements: []
|
71
|
-
|
72
|
-
rubygems_version: 2.7.6
|
69
|
+
rubygems_version: 3.3.3
|
73
70
|
signing_key:
|
74
71
|
specification_version: 4
|
75
|
-
summary: Basic character properties
|
72
|
+
summary: Basic character properties
|
76
73
|
test_files:
|
77
74
|
- spec/characteristics_spec.rb
|
data/.travis.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
|
4
|
-
rvm:
|
5
|
-
- ruby-head
|
6
|
-
- 2.5.1
|
7
|
-
- 2.4.4
|
8
|
-
- 2.3.7
|
9
|
-
- 2.2
|
10
|
-
- 2.1
|
11
|
-
- 2.0
|
12
|
-
- jruby-head
|
13
|
-
- jruby-9.1.16.0
|
14
|
-
|
15
|
-
matrix:
|
16
|
-
allow_failures:
|
17
|
-
- rvm: jruby-head
|
18
|
-
- rvm: ruby-head
|
19
|
-
- rvm: 2.2
|
20
|
-
- rvm: 2.1
|
21
|
-
- rvm: 2.0
|
22
|
-
# fast_finish: true
|