unicode-name 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 990485823ed1ab3282dcd13d6fd065499f5dcf46
4
- data.tar.gz: 890802e0e5d2bdc61960dc79eb8cff5c9c353174
3
+ metadata.gz: 859ec6ffd69250038b8c42c828bc3e501ddd3d2f
4
+ data.tar.gz: dc642269349c00386b6f8ff45f7606d455a97d51
5
5
  SHA512:
6
- metadata.gz: e0b5c9abefc9f0b6f521a54c86ef0334e815645328aa07af46f20a20db4529ebdd3d06e104f7720e96b24fd085df36f9f5ea70d2a6be8c04d295e7bb592dd088
7
- data.tar.gz: 6adcb039b952fafd091cccf69b9b0e648085130695934e310ffe6cf4417249aa0942a0607b5ead164d39341b3cdacc5b073abaa89cb00f7d446ab3462e3b14dd
6
+ metadata.gz: a131bb50c40c8790ac437deffa233bf11e9668d7a9d9f712f229d3cc473f58f862ee7e672caf473f865368717d70c339e4cac5cae687aa4b04e74f41c264021c
7
+ data.tar.gz: 6900b3843a756e5b5062115f3247e050886788c4869e8e76cf7fddfa0a18b8117da126c920e743350b451d95903bb15a8f327f80271077c14707c790412b84ce
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.4.1
4
+
5
+ * Be compatible with Ruby 2.4's surrogate literals
6
+ * Bump unicode-types dependency
7
+
3
8
  ### 1.4.0
4
9
 
5
10
  * Support Hangul Syllables
@@ -1,6 +1,6 @@
1
1
  module Unicode
2
2
  module Name
3
- VERSION = "1.4.0".freeze
3
+ VERSION = "1.4.1".freeze
4
4
  UNICODE_VERSION = "9.0.0".freeze
5
5
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + '/../../../data/').freeze
6
6
  INDEX_FILENAME = (DATA_DIRECTORY + '/name.marshal.gz').freeze
@@ -63,7 +63,7 @@ describe Unicode::Name do
63
63
  end
64
64
 
65
65
  it "will return <surrogate-hhhh> for codepoints in surrogate area" do
66
- assert_equal "<surrogate-D800>", Unicode::Name.label("\u{D800}")
66
+ assert_equal "<surrogate-D800>", Unicode::Name.label("\xED\xA0\x80")
67
67
  end
68
68
 
69
69
  it "will return <noncharacter-hhhh> for codepoints defined as noncharacter" do
data/unicode-name.gemspec CHANGED
@@ -18,5 +18,5 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = ["lib"]
19
19
 
20
20
  gem.required_ruby_version = "~> 2.0"
21
- gem.add_dependency "unicode-types", "~> 1.1"
21
+ gem.add_dependency "unicode-types", "~> 1.1", ">= 1.1.2"
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.4.0
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: 2017-02-23 00:00:00.000000000 Z
11
+ date: 2017-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unicode-types
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.1'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.1.2
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,6 +27,9 @@ dependencies:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.1'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.1.2
27
33
  description: "[Unicode 9.0.0] Returns name/aliases/label of a Unicode codepoint"
28
34
  email:
29
35
  - mail@janlelis.de