unicode-blocks 1.11.0 → 1.12.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: 197d5e8d3ed8609f6543fb4f037e738b00e1fc2548227bb866e0c3a7b818c0c1
4
- data.tar.gz: f9360ec2852bd80677913811d4b7e91d86a5889ba0237a218ffcc0cf592fc6ef
3
+ metadata.gz: 6b28ef8e235f75cf844cf2acdbad86cfed9fc20d8f641f5fe880067cd36bbdb8
4
+ data.tar.gz: 74a319f9bd1d41de94e3df2ca15c0429927a60e87a8f1c6b0fee700591e79f83
5
5
  SHA512:
6
- metadata.gz: a00c7ff4691f71a45fb2875a0c2ff48b6dc2078cf9a5d692c1137b54466d86693e66af6e21cd0986ae23b3d268202f6e872cf4330ba1b9d4b3ad5b58860a9c1b
7
- data.tar.gz: f5de9c1a7464940f1bc66858d00a79ecb05017e4f0cd4363b65eafc073a1213d33a75f2dd0ff28ab7a92254daae5734abb616f87bdd5276ed1e63083e900231b
6
+ metadata.gz: 775bf1111b5e84558f6cfc975c09a5b722c5978864377d237b9f91eb9480e0169ecaf3030e28b00b60949824ef63c3eed3a071dbf7a7d9f25a6574773605c9c6
7
+ data.tar.gz: f26782698718c6f6e899612f032fd3fecf5b749e1c4fd316fccb11229f8de12c7c8ebfdd7d269d68fd3b08827174c54e503cc3fdb957123b6f8f7600b514b6e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.12.0
4
+
5
+ - Unicode 18.0
6
+
3
7
  ### 1.11.0
4
8
 
5
9
  - Unicode 17.0
data/Gemfile CHANGED
@@ -3,5 +3,8 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  gem 'minitest'
6
+ gem 'minitest-mock'
6
7
  gem 'rake'
7
- gem 'irb' unless RUBY_ENGINE == "jruby"
8
+ gem 'ostruct'
9
+ gem 'tsort'
10
+ gem 'irb'
data/Gemfile.lock CHANGED
@@ -1,24 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unicode-blocks (1.11.0)
4
+ unicode-blocks (1.12.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- io-console (0.6.0)
10
- irb (1.8.1)
11
- rdoc
12
- reline (>= 0.3.8)
13
- minitest (5.20.0)
14
- psych (5.1.0)
15
- stringio
16
- rake (13.0.6)
17
- rdoc (6.5.0)
18
- psych (>= 4.0.0)
19
- reline (0.3.8)
9
+ drb (2.2.3)
10
+ erb (6.0.7)
11
+ io-console (0.9.4)
12
+ irb (1.18.0)
13
+ pp (>= 0.6.0)
14
+ prism (>= 1.3.0)
15
+ rdoc (>= 4.0.0)
16
+ reline (>= 0.4.2)
17
+ logger (1.7.0)
18
+ minitest (6.0.6)
19
+ drb (~> 2.0)
20
+ prism (~> 1.5)
21
+ minitest-mock (5.27.0)
22
+ ostruct (0.6.3)
23
+ pp (0.6.4)
24
+ prettyprint
25
+ prettyprint (0.2.0)
26
+ prism (1.9.0)
27
+ rake (13.4.2)
28
+ rbs (4.2.0)
29
+ logger
30
+ prism (>= 1.6.0)
31
+ tsort
32
+ rdoc (8.0.0)
33
+ erb
34
+ prism (>= 1.6.0)
35
+ rbs (>= 4.0.0)
36
+ tsort
37
+ reline (0.7.0)
20
38
  io-console (~> 0.5)
21
- stringio (3.0.8)
39
+ tsort (0.2.0)
22
40
 
23
41
  PLATFORMS
24
42
  ruby
@@ -26,8 +44,11 @@ PLATFORMS
26
44
  DEPENDENCIES
27
45
  irb
28
46
  minitest
47
+ minitest-mock
48
+ ostruct
29
49
  rake
50
+ tsort
30
51
  unicode-blocks!
31
52
 
32
53
  BUNDLED WITH
33
- 2.6.2
54
+ 4.1.0.beta1
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2025 Jan Lelis, https://janlelis.com
1
+ Copyright (c) 2016-2026 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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Each Unicode character belongs to a [block](https://en.wikipedia.org/wiki/Unicode_block). This gem returns the all blocks associated with the given string.
4
4
 
5
- Unicode version: **17.0.0** (September 2025)
5
+ Unicode version: **18.0.0** (September 2026)
6
6
 
7
7
  ## Gemfile
8
8
 
@@ -308,6 +308,7 @@ Marchen
308
308
  Masaram Gondi
309
309
  Gunjala Gondi
310
310
  Tolong Siki
311
+ Bengali Supplement
311
312
  Makasar
312
313
  Kawi
313
314
  Lisu Supplement
@@ -315,6 +316,7 @@ Tamil Supplement
315
316
  Cuneiform
316
317
  Cuneiform Numbers and Punctuation
317
318
  Early Dynastic Cuneiform
319
+ Archaic Cuneiform Numerals
318
320
  Cypro-Minoan
319
321
  Egyptian Hieroglyphs
320
322
  Egyptian Hieroglyph Format Controls
@@ -336,6 +338,8 @@ Tangut Components
336
338
  Khitan Small Script
337
339
  Tangut Supplement
338
340
  Tangut Components Supplement
341
+ Jurchen
342
+ Jurchen Radicals
339
343
  Kana Extended-B
340
344
  Kana Supplement
341
345
  Kana Extended-A
@@ -349,12 +353,14 @@ Znamenny Musical Notation
349
353
  Byzantine Musical Symbols
350
354
  Musical Symbols
351
355
  Ancient Greek Musical Notation
356
+ Musical Symbols Supplement
352
357
  Kaktovik Numerals
353
358
  Mayan Numerals
354
359
  Tai Xuan Jing Symbols
355
360
  Counting Rod Numerals
356
361
  Mathematical Alphanumeric Symbols
357
362
  Sutton SignWriting
363
+ Miscellaneous Symbols and Arrows Extended
358
364
  Latin Extended-G
359
365
  Glagolitic Supplement
360
366
  Cyrillic Extended-D
@@ -396,6 +402,7 @@ CJK Compatibility Ideographs Supplement
396
402
  CJK Unified Ideographs Extension G
397
403
  CJK Unified Ideographs Extension H
398
404
  CJK Unified Ideographs Extension J
405
+ Seal
399
406
  Tags
400
407
  Variation Selectors Supplement
401
408
  Supplementary Private Use Area-A
@@ -406,5 +413,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
406
413
 
407
414
  ## MIT License
408
415
 
409
- - Copyright (C) 2016-2025 Jan Lelis <https://janlelis.com>. Released under the MIT license.
416
+ - Copyright (C) 2016-2026 Jan Lelis <https://janlelis.com>. Released under the MIT license.
410
417
  - Unicode data: https://www.unicode.org/copyright.html#Exhibit1
Binary file
@@ -2,8 +2,8 @@
2
2
 
3
3
  module Unicode
4
4
  module Blocks
5
- VERSION = "1.11.0"
6
- UNICODE_VERSION = "17.0.0"
5
+ VERSION = "1.12.0"
6
+ UNICODE_VERSION = "18.0.0"
7
7
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
8
8
  INDEX_FILENAME = (DATA_DIRECTORY + "/blocks.marshal.gz").freeze
9
9
  end
@@ -1,4 +1,5 @@
1
1
  require_relative "../lib/unicode/blocks"
2
+ require "minitest/mock"
2
3
  require "minitest/autorun"
3
4
 
4
5
  describe Unicode::Blocks do
metadata CHANGED
@@ -1,16 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-09-09 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
- description: "[Unicode 17.0.0] Answers the question: Which Unicode block does a code
12
+ description: "[Unicode 18.0.0] Answers the question: Which Unicode block does a code
14
13
  point belong to?"
15
14
  email:
16
15
  - hi@ruby.consulting
@@ -38,7 +37,6 @@ licenses:
38
37
  - MIT
39
38
  metadata:
40
39
  rubygems_mfa_required: 'true'
41
- post_install_message:
42
40
  rdoc_options: []
43
41
  require_paths:
44
42
  - lib
@@ -53,8 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
51
  - !ruby/object:Gem::Version
54
52
  version: '0'
55
53
  requirements: []
56
- rubygems_version: 3.5.21
57
- signing_key:
54
+ rubygems_version: 4.0.3
58
55
  specification_version: 4
59
56
  summary: Return Unicode blocks of a string.
60
57
  test_files: