characteristics 1.0.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- 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/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: f42097b0c534440224b1ff928bfdf6f79322931e207ae843265ec3d6332b1d4f
|
4
|
+
data.tar.gz: c412d8c8b45e1c8e7a553556445cf61081342072d22f4510b8b0410b03c937d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2879f78aeeb2e9296682b1dec6b6c7858b2cd9fa233d9d8b5721e4b313ef3f74dd3d44d611ef912e1008348ccdb5567428ad09df2ada00576335e5e8799f63b1
|
7
|
+
data.tar.gz: 57ffd57251526afcd12399cb524f7db39542f3732c060af98889d0dae59386e237be6118fd43639e030919b36a47fa63c1b2a105b2db444e2daaa6906e5f5033
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
## CHANGELOG
|
2
2
|
|
3
|
+
### 1.4.0
|
4
|
+
|
5
|
+
* Unicode 14 (general categories)
|
6
|
+
|
7
|
+
### 1.3.0
|
8
|
+
|
9
|
+
* Unicode 13 (general categories)
|
10
|
+
* Relax Ruby version requirement to allow Ruby 3.0
|
11
|
+
|
12
|
+
### 1.2.0
|
13
|
+
|
14
|
+
* Unicode 12 (general categories)
|
15
|
+
|
16
|
+
### 1.1.0
|
17
|
+
|
18
|
+
* Unicode 11 (general categories)
|
19
|
+
|
3
20
|
### 1.0.0
|
4
21
|
|
5
22
|
* Mark as production-ready, no API changes
|
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.
|
4
|
+
version: 1.4.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: 2021-09-15 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.3
|
69
|
+
rubygems_version: 3.2.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
|