unicode-age 2.4.0 → 2.5.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/Gemfile.lock +6 -4
- data/README.md +1 -1
- data/lib/unicode/age/version.rb +2 -2
- data/lib/unicode/age.rb +2 -0
- data/spec/unicode_age_spec.rb +5 -0
- data/unicode-age.gemspec +1 -1
- metadata +5 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b27cdab54886185638abf89418a3f472cb8b8bf1b0948bf3c0f895ee30a3805
|
|
4
|
+
data.tar.gz: bc46ea7e98a2bf31a48e3014645886cbdb78247adc3feda445fb2c0e58209b9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7037e82552af16c2cbb7b1a65a9e7675515edda7dbc1d6b0c11cef56df5b4f82c4aae0febc3bac66526a6559fc8ee3d31c68b195c2437eb9fbecb1c126202e74
|
|
7
|
+
data.tar.gz: adcc353f446ddef0020bb15b8c6c7132b827a3a5eb2442ebecf82544a80574b217e23417c3e9ace089a3a11bf2bc2cbf35b138e8dbe471fb7de0b289c15604f1
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
unicode-age (2.
|
|
4
|
+
unicode-age (2.5.0)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
minitest (
|
|
10
|
-
|
|
9
|
+
minitest (6.0.1)
|
|
10
|
+
prism (~> 1.5)
|
|
11
|
+
prism (1.7.0)
|
|
12
|
+
rake (13.3.1)
|
|
11
13
|
|
|
12
14
|
PLATFORMS
|
|
13
15
|
ruby
|
|
@@ -18,4 +20,4 @@ DEPENDENCIES
|
|
|
18
20
|
unicode-age!
|
|
19
21
|
|
|
20
22
|
BUNDLED WITH
|
|
21
|
-
|
|
23
|
+
4.0.3
|
data/README.md
CHANGED
|
@@ -23,4 +23,4 @@ See the [Unicode — Ruby version table at Idiosyncratic Ruby](https://idiosyncr
|
|
|
23
23
|
|
|
24
24
|
## MIT License
|
|
25
25
|
|
|
26
|
-
Copyright (C) 2016-
|
|
26
|
+
Copyright (C) 2016-2026 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
data/lib/unicode/age/version.rb
CHANGED
data/lib/unicode/age.rb
CHANGED
data/spec/unicode_age_spec.rb
CHANGED
|
@@ -12,6 +12,11 @@ describe Unicode::Age do
|
|
|
12
12
|
assert_equal 8.0, Unicode::Age.of("🌮 ") if RUBY_VERSION >= "2.3.0"
|
|
13
13
|
assert_equal 9.0, Unicode::Age.of("🛒 ") if RUBY_VERSION >= "2.4.0"
|
|
14
14
|
assert_equal 10.0, Unicode::Age.of("🛷 ") if RUBY_VERSION >= "2.5.0"
|
|
15
|
+
assert_equal 14.0, Unicode::Age.of("𞟣") if RUBY_VERSION >= "3.2.0"
|
|
16
|
+
assert_equal 15.0, Unicode::Age.of("𝋀") if RUBY_VERSION >= "3.2.0"
|
|
17
|
+
assert_equal 15.1, Unicode::Age.of("") if RUBY_VERSION >= "4.0.0"
|
|
18
|
+
assert_equal 16.0, Unicode::Age.of("") if RUBY_VERSION >= "4.0.0"
|
|
19
|
+
assert_equal 17.0, Unicode::Age.of("") if RUBY_VERSION >= "4.0.0"
|
|
15
20
|
end
|
|
16
21
|
|
|
17
22
|
it "will raise Unicode::Age::UnknownAge exception for unassigned characters" do
|
data/unicode-age.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: unicode-age
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Lelis
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies: []
|
|
13
|
-
description: "[Unicode
|
|
12
|
+
description: "[Unicode 17.0.0] A micromodule to detect which Unicode version is required
|
|
14
13
|
to display a string."
|
|
15
14
|
email:
|
|
16
15
|
- hi@ruby.consulting
|
|
@@ -36,7 +35,6 @@ licenses:
|
|
|
36
35
|
- MIT
|
|
37
36
|
metadata:
|
|
38
37
|
rubygems_mfa_required: 'true'
|
|
39
|
-
post_install_message:
|
|
40
38
|
rdoc_options: []
|
|
41
39
|
require_paths:
|
|
42
40
|
- lib
|
|
@@ -47,15 +45,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
47
45
|
version: '2.0'
|
|
48
46
|
- - "<"
|
|
49
47
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: '
|
|
48
|
+
version: '5.0'
|
|
51
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
50
|
requirements:
|
|
53
51
|
- - ">="
|
|
54
52
|
- !ruby/object:Gem::Version
|
|
55
53
|
version: '0'
|
|
56
54
|
requirements: []
|
|
57
|
-
rubygems_version:
|
|
58
|
-
signing_key:
|
|
55
|
+
rubygems_version: 4.0.3
|
|
59
56
|
specification_version: 4
|
|
60
57
|
summary: Determine required Unicode version of a string.
|
|
61
58
|
test_files:
|