unicode-name 1.7.0 → 1.10.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd22e9bcb3377866854cb476212841112aef33bc887ca2cd396d68605fcfdde6
4
- data.tar.gz: cc14e507c29d292c8959a66efdf7d7f44a4e1f91c907d4ea6996fbabf9c4001e
3
+ metadata.gz: 27a2d82431b184d4607b42b00cd95cf019b6276acd89e0b0f47429d0e9edfbd5
4
+ data.tar.gz: 7317530c7419356def7bb0a77b00cf6c4fa78d29b1cf67f57f641180a4b1dbf3
5
5
  SHA512:
6
- metadata.gz: 40ebcef06941e6441ef5ce1d5d6d715dbe0ffc1e1ef347bd5bc7c35737544f15ba11767b2e343b33f49c0c5281deba2c7920cfe68efd43641eed5ef9659f8641
7
- data.tar.gz: fffcde599de04af778828fa09f0e348ab9bd6f65ccc5571a5a2951603ea4fed9b3862ed69acdefd4e1ab2f72205733f2a4f4d79062a7215e21e16508afeaaa6a
6
+ metadata.gz: ae8df054a4a77b8393bbf3d987616d903bb618d5d0594a19748338f888af0a167d964107c403faf35d2221a9c27e354c10b93b37eeb1dcf9f61cb730bcc33564
7
+ data.tar.gz: 7a3fb361fffa2b90ecb3fb35b400903b12aac238220bed8b1a2ecfe4268211342d10884e8707621189f3099e988c57074feb0812bb79d2485f2b3f6a964e3076
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.10.0
4
+
5
+ - Unicode 14.0
6
+
7
+ ### 1.9.0
8
+
9
+ - Unicode 13
10
+
11
+ ### 1.8.0
12
+
13
+ * Unicode 12.1
14
+
15
+ ### 1.7.1
16
+
17
+ * Push unicode-types dependency to 1.4.0
18
+
3
19
  ### 1.7.0
4
20
 
5
21
  * Unicode 12
data/Gemfile CHANGED
@@ -4,3 +4,4 @@ gemspec
4
4
 
5
5
  gem 'minitest'
6
6
  gem 'rake'
7
+ gem 'irb' unless RUBY_ENGINE == "jruby"
data/Gemfile.lock CHANGED
@@ -1,23 +1,25 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unicode-name (1.5.0)
5
- unicode-types (~> 1.2)
4
+ unicode-name (1.8.0)
5
+ unicode-types (~> 1.5)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
+ irb (1.0.0)
10
11
  minitest (5.10.2)
11
12
  rake (12.0.0)
12
- unicode-types (1.2.0)
13
+ unicode-types (1.5.0)
13
14
 
14
15
  PLATFORMS
15
16
  ruby
16
17
 
17
18
  DEPENDENCIES
19
+ irb
18
20
  minitest
19
21
  rake
20
22
  unicode-name!
21
23
 
22
24
  BUNDLED WITH
23
- 1.14.6
25
+ 1.17.2
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2019 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2016-2021 Jan Lelis, https://janlelis.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # Unicode::Name [![[version]](https://badge.fury.io/rb/unicode-name.svg)](https://badge.fury.io/rb/unicode-name) [![[travis]](https://travis-ci.org/janlelis/unicode-name.png)](https://travis-ci.org/janlelis/unicode-name)
1
+ # Unicode::Name [![[version]](https://badge.fury.io/rb/unicode-name.svg)](https://badge.fury.io/rb/unicode-name) [![[ci]](https://github.com/janlelis/unicode-name/workflows/Test/badge.svg)](https://github.com/janlelis/unicode-name/actions?query=workflow%3ATest)
2
2
 
3
3
  Return Unicode codepoint names, aliases, and labels.
4
4
 
5
- Unicode version: **12.0.0** (March 2019)
5
+ Unicode version: **14.0.0** (September 2021)
6
6
 
7
- Supported Rubies: **2.6**, **2.5**, **2.4**
7
+ Supported Rubies: **3.0**, **2.7**
8
8
 
9
- Old Rubies that might still work: **2.3**, **2.2**, **2.1**, **2.0**
9
+ Old Rubies that might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
10
10
 
11
11
  ## Usage
12
12
 
@@ -45,5 +45,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
45
45
 
46
46
  ## MIT License
47
47
 
48
- - Copyright (C) 2016-2019 Jan Lelis <http://janlelis.com>. Released under the MIT license.
49
- - Unicode data: http://www.unicode.org/copyright.html#Exhibit1
48
+ - Copyright (C) 2016-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
49
+ - Unicode data: https://www.unicode.org/copyright.html#Exhibit1
data/Rakefile CHANGED
@@ -32,6 +32,10 @@ end
32
32
 
33
33
  desc "#{gemspec.name} | Spec"
34
34
  task :spec do
35
- sh "for file in spec/*.rb; do ruby $file; done"
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
data/data/name.marshal.gz CHANGED
Binary file
@@ -2,8 +2,8 @@
2
2
 
3
3
  module Unicode
4
4
  module Name
5
- VERSION = "1.7.0"
6
- UNICODE_VERSION = "12.0.0"
5
+ VERSION = "1.10.0"
6
+ UNICODE_VERSION = "14.0.0"
7
7
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
8
8
  INDEX_FILENAME = (DATA_DIRECTORY + "/name.marshal.gz").freeze
9
9
  end
data/unicode-name.gemspec CHANGED
@@ -6,9 +6,9 @@ Gem::Specification.new do |gem|
6
6
  gem.name = "unicode-name"
7
7
  gem.version = Unicode::Name::VERSION
8
8
  gem.summary = "Returns name/aliases/label of a Unicode codepoint"
9
- gem.description = "[Unicode #{Unicode::Name::UNICODE_VERSION}] Returns name/aliases/label of a Unicode codepoint"
9
+ gem.description = "[Unicode #{Unicode::Name::UNICODE_VERSION}] Returns the name, aliases, or label of a Unicode code point"
10
10
  gem.authors = ["Jan Lelis"]
11
- gem.email = ["mail@janlelis.de"]
11
+ gem.email = ["hi@ruby.consulting"]
12
12
  gem.homepage = "https://github.com/janlelis/unicode-name"
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 = "~> 2.0"
21
- gem.add_dependency "unicode-types", "~> 1.3"
20
+ gem.required_ruby_version = ">= 2.0"
21
+ gem.add_dependency "unicode-types", "~> 1.7"
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-name
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.10.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: 2019-03-05 00:00:00.000000000 Z
11
+ date: 2021-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unicode-types
@@ -16,23 +16,23 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
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.3'
27
- description: "[Unicode 12.0.0] Returns name/aliases/label of a Unicode codepoint"
26
+ version: '1.7'
27
+ description: "[Unicode 14.0.0] Returns the name, aliases, or label of a Unicode code
28
+ point"
28
29
  email:
29
- - mail@janlelis.de
30
+ - hi@ruby.consulting
30
31
  executables: []
31
32
  extensions: []
32
33
  extra_rdoc_files: []
33
34
  files:
34
35
  - ".gitignore"
35
- - ".travis.yml"
36
36
  - CHANGELOG.md
37
37
  - CODE_OF_CONDUCT.md
38
38
  - Gemfile
@@ -57,7 +57,7 @@ require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '2.0'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
- rubygems_version: 3.0.1
69
+ rubygems_version: 3.2.3
70
70
  signing_key:
71
71
  specification_version: 4
72
72
  summary: Returns name/aliases/label of a Unicode codepoint
data/.travis.yml DELETED
@@ -1,24 +0,0 @@
1
- sudo: false
2
- language: ruby
3
-
4
- script: bundle exec ruby spec/unicode_name_spec.rb
5
-
6
- rvm:
7
- - 2.6.1
8
- - 2.5.3
9
- - 2.4.5
10
- - 2.3.8
11
- - 2.2
12
- - 2.1
13
- - 2.0
14
- - ruby-head
15
- - jruby-head
16
- - jruby-9.2.6.0
17
-
18
- matrix:
19
- allow_failures:
20
- - rvm: 2.3.8
21
- - rvm: 2.2
22
- - rvm: 2.1
23
- - rvm: 2.0
24
- - rvm: jruby-head