unicode-version 1.1.0 → 1.3.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 +9 -1
- data/MIT-LICENSE.txt +1 -1
- data/README.md +5 -5
- data/lib/unicode/version/version.rb +1 -1
- data/lib/unicode/version.rb +4 -0
- data/unicode-version.gemspec +1 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0edc4e699e4d8fafecbc9d44d13ef60665433c66c71b1f62580a9455e7088096
|
4
|
+
data.tar.gz: 3dea445a2eec3dc226c684486cfb9802e3cd38828897c7062c41c9e9fb20ab09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9eed1bdb600c2a054d60e2d83d6a62e61d4e423170cea08d163b840fd00040cb5129a9cf21014be36d5d8b0f9ac452014e6f79d66f5921ceebc676a08cd7e44e
|
7
|
+
data.tar.gz: db16573e83967cf077186505c7e6d60e6dba729090ab423414d9754336167821ad4c52a7418f23ad5febe7992a0f273f5c77b94110941afe9a5a054f8ad30bdc
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -13,8 +13,8 @@ gem "unicode-version"
|
|
13
13
|
## Usage
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
# Returns current Unicode version (example with Ruby 3.
|
17
|
-
Unicode::Version.unicode_version # =>
|
16
|
+
# Returns current Unicode version (example with Ruby 3.1.0)
|
17
|
+
Unicode::Version.unicode_version # => 13.0.0
|
18
18
|
|
19
19
|
# Returns Unicode version of older Rubies
|
20
20
|
Unicode::Version.unicode_version "2.6.2" # => 12.0.0
|
@@ -23,8 +23,8 @@ Unicode::Version.unicode_version 1.9 # => 5.2.0
|
|
23
23
|
# Returns nil when Ruby version too old (before 1.9)
|
24
24
|
Unicode::Version.unicode_version 1.8 # => nil
|
25
25
|
|
26
|
-
# Returns current Emoji version (example with Ruby 3.
|
27
|
-
Unicode::Version.emoji_version # =>
|
26
|
+
# Returns current Emoji version (example with Ruby 3.1.0)
|
27
|
+
Unicode::Version.emoji_version # => 13.1
|
28
28
|
|
29
29
|
# Returns Emoji version of older Rubies
|
30
30
|
Unicode::Version.emoji_version "2.6.2" # => 12.0
|
@@ -36,4 +36,4 @@ Unicode::Version.emoji_version 2.4 # => nil
|
|
36
36
|
|
37
37
|
## MIT License
|
38
38
|
|
39
|
-
Copyright (C) 2020 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
39
|
+
Copyright (C) 2020-2022 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
data/lib/unicode/version.rb
CHANGED
@@ -8,6 +8,8 @@ module Unicode
|
|
8
8
|
RB_CONFIG_EMOJI_AVAILABLE = "2.6.0"
|
9
9
|
|
10
10
|
RUBY_UNICODE_VERSIONS = {
|
11
|
+
3.2 => "15.0.0",
|
12
|
+
3.1 => "13.0.0",
|
11
13
|
3.0 => "12.1.0",
|
12
14
|
2.7 => "12.1.0",
|
13
15
|
2.6 => "12.1.0",
|
@@ -24,6 +26,8 @@ module Unicode
|
|
24
26
|
}.freeze
|
25
27
|
|
26
28
|
RUBY_EMOJI_VERSIONS = {
|
29
|
+
3.2 => "15.0",
|
30
|
+
3.1 => "13.1",
|
27
31
|
3.0 => "12.1",
|
28
32
|
2.7 => "12.1",
|
29
33
|
2.6 => "12.0",
|
data/unicode-version.gemspec
CHANGED
@@ -16,6 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
|
+
gem.metadata = { "rubygems_mfa_required" => "true" }
|
19
20
|
|
20
21
|
gem.required_ruby_version = ">= 2.0"
|
21
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-version
|
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: 2022-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Returns Unicode / Emoji versions of current and previous Rubies
|
14
14
|
email:
|
@@ -32,7 +32,8 @@ files:
|
|
32
32
|
homepage: https://github.com/janlelis/unicode-version
|
33
33
|
licenses:
|
34
34
|
- MIT
|
35
|
-
metadata:
|
35
|
+
metadata:
|
36
|
+
rubygems_mfa_required: 'true'
|
36
37
|
post_install_message:
|
37
38
|
rdoc_options: []
|
38
39
|
require_paths:
|
@@ -48,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
48
49
|
- !ruby/object:Gem::Version
|
49
50
|
version: '0'
|
50
51
|
requirements: []
|
51
|
-
rubygems_version: 3.
|
52
|
+
rubygems_version: 3.3.7
|
52
53
|
signing_key:
|
53
54
|
specification_version: 4
|
54
55
|
summary: Ruby / Unicode / Emoji versions mapping
|