regexp_property_values 1.2.0-java → 1.3.0-java

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
  SHA256:
3
- metadata.gz: dacf307a51b5b959716893297f01121614b829741f3d3f9032a95a9a7c514551
4
- data.tar.gz: cc90c8688ee4465e316c00e676af47cbd1c8083c9f5d00b575940a6c1a61bf31
3
+ metadata.gz: a0fc6877c0321863b4209bb005caf2119b8aab4a639f9d5958fc94f213fa8983
4
+ data.tar.gz: 0710be0ee4d3f617e2749c4705172f01f708091d7a12aac4bf254f2b8d9a3f35
5
5
  SHA512:
6
- metadata.gz: 923198aae109bc79d5b0632e021b2dbdc83e83351394e7abfd5cf68d337113a55b2f7e81cf0f6d367fd133f4b7a75875ba65f8d8459d98a6694422c2f820eb77
7
- data.tar.gz: aff9b6e0d4822175cef337dfcded3be3d8016edd64d03d038c4ecb56ff7eac1ff07ef74242a74db55c2ca96293c41b674479d481b97b988c92da429b5442fd10
6
+ metadata.gz: eb2b809191db9b28aaa1341cb15a5c5ec60e1c3e1cdf0633a9e87748711d26b4f933082981a05dae8dad78141938861f9c2a39ad3fd2a8fd98238d2c7d4874c5
7
+ data.tar.gz: 84c81202dea8b1b7cae97e39a0170b9bc675f5af9c1d1ecf86b4d6e41fac7ba62cb96e453f84bcbea0be92590bfc9ba68b6748ff952fd7d165903d8eab460a57
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.3.0] - 2022-04-07
8
+
9
+ ### Added
10
+ - new properties of Ruby 3.2 / Unicode 14.0
11
+
7
12
  ## [1.2.0] - 2021-12-31
8
13
 
9
14
  ### Added
data/Rakefile CHANGED
@@ -32,3 +32,8 @@ if RUBY_PLATFORM !~ /java/i
32
32
  # recompile before running specs
33
33
  task(:spec).enhance([:compile])
34
34
  end
35
+
36
+ task :update do
37
+ require_relative 'lib/regexp_property_values'
38
+ RegexpPropertyValues.update
39
+ end
data/lib/aliases CHANGED
@@ -35,6 +35,7 @@ Cn;Unassigned
35
35
  Co;Private_Use
36
36
  Combining_Mark;Mark
37
37
  Copt;Coptic
38
+ Cpmn;Cypro_Minoan
38
39
  Cprt;Cypriot
39
40
  Cs;Surrogate
40
41
  Cyrl;Cyrillic
@@ -154,6 +155,7 @@ Orkh;Old_Turkic
154
155
  Orya;Oriya
155
156
  Osge;Osage
156
157
  Osma;Osmanya
158
+ Ougr;Old_Uyghur
157
159
  P;Punctuation
158
160
  PCM;Prepended_Concatenation_Mark
159
161
  Palm;Palmyrene
@@ -218,10 +220,12 @@ Tglg;Tagalog
218
220
  Thaa;Thaana
219
221
  Tibt;Tibetan
220
222
  Tirh;Tirhuta
223
+ Tnsa;Tangsa
221
224
  UIdeo;Unified_Ideograph
222
225
  Ugar;Ugaritic
223
226
  VS;Variation_Selector
224
227
  Vaii;Vai
228
+ Vith;Vithkuqi
225
229
  WSpace;White_Space
226
230
  Wara;Warang_Citi
227
231
  Wcho;Wancho
@@ -5,7 +5,7 @@ module RegexpPropertyValues
5
5
  require 'fileutils'
6
6
  require 'set'
7
7
 
8
- BASE_URL = 'http://www.unicode.org/Public'
8
+ BASE_URL = 'https://www.unicode.org/Public/UCD/latest/ucd'
9
9
 
10
10
  UCD_FILES = %w[
11
11
  Blocks.txt
@@ -38,26 +38,11 @@ module RegexpPropertyValues
38
38
  end
39
39
 
40
40
  def download_ucd_files(ucd_path: nil, emoji_path: nil)
41
- unicode_version = RbConfig::CONFIG.fetch('UNICODE_VERSION')
42
- emoji_version = RbConfig::CONFIG.fetch('UNICODE_EMOJI_VERSION')
43
-
44
- ucd_path ||= ENV['RPV_UCD_PATH']
45
- emoji_path ||= ENV['RPV_EMOJI_PATH']
46
-
47
- if ucd_path.nil? && emoji_path.nil?
48
- puts <<-EOS.gsub(/\n */, ' ')
49
- This try will load ucd and emoji data for the CURRENT RUBY (
50
- (#{RUBY_VERSION} - ucd #{unicode_version}, emoji #{emoji_version}).
51
- Run this on the latest Ruby version you want to support.
52
- Unicode directory structure changes sometimes, so you might need to
53
- pass the right path(s) as keyword args or ENV vars. Continue? [y/n]'
54
- EOS
55
-
56
- return puts 'download skipped.' unless $stdin.gets =~ /^y/i
57
- end
41
+ puts 'This will try to load the latest UCD data. Continue? [y/n]'
42
+ return puts 'download skipped.' unless $stdin.gets =~ /^y/i
58
43
 
59
- ucd_path ||= "#{BASE_URL}/#{unicode_version}/ucd"
60
- emoji_path ||= "#{BASE_URL}/emoji/#{emoji_version}"
44
+ ucd_path ||= ENV['RPV_UCD_PATH'] || BASE_URL
45
+ emoji_path ||= ENV['RPV_EMOJI_PATH'] || "#{BASE_URL}/emoji/"
61
46
 
62
47
  Dir.chdir(TMP_DIR) do
63
48
  UCD_FILES.each { |f| `wget #{ucd_path}/#{f}` }
@@ -1,3 +1,3 @@
1
1
  module RegexpPropertyValues
2
- VERSION = '1.2.0'
2
+ VERSION = '1.3.0'
3
3
  end
data/lib/values CHANGED
@@ -7,6 +7,7 @@ Age=11.0
7
7
  Age=12.0
8
8
  Age=12.1
9
9
  Age=13.0
10
+ Age=14.0
10
11
  Age=2.0
11
12
  Age=2.1
12
13
  Age=3.0
@@ -71,6 +72,7 @@ Coptic
71
72
  Cuneiform
72
73
  Currency_Symbol
73
74
  Cypriot
75
+ Cypro_Minoan
74
76
  Cyrillic
75
77
  Dash
76
78
  Dash_Punctuation
@@ -135,6 +137,7 @@ In_Ancient_Greek_Numbers
135
137
  In_Ancient_Symbols
136
138
  In_Arabic
137
139
  In_Arabic_Extended_A
140
+ In_Arabic_Extended_B
138
141
  In_Arabic_Mathematical_Alphabetic_Symbols
139
142
  In_Arabic_Presentation_Forms_A
140
143
  In_Arabic_Presentation_Forms_B
@@ -196,6 +199,7 @@ In_Cuneiform
196
199
  In_Cuneiform_Numbers_and_Punctuation
197
200
  In_Currency_Symbols
198
201
  In_Cypriot_Syllabary
202
+ In_Cypro_Minoan
199
203
  In_Cyrillic
200
204
  In_Cyrillic_Extended_A
201
205
  In_Cyrillic_Extended_B
@@ -222,6 +226,7 @@ In_Enclosed_Ideographic_Supplement
222
226
  In_Ethiopic
223
227
  In_Ethiopic_Extended
224
228
  In_Ethiopic_Extended_A
229
+ In_Ethiopic_Extended_B
225
230
  In_Ethiopic_Supplement
226
231
  In_General_Punctuation
227
232
  In_Geometric_Shapes
@@ -261,6 +266,7 @@ In_Inscriptional_Parthian
261
266
  In_Javanese
262
267
  In_Kaithi
263
268
  In_Kana_Extended_A
269
+ In_Kana_Extended_B
264
270
  In_Kana_Supplement
265
271
  In_Kanbun
266
272
  In_Kangxi_Radicals
@@ -282,6 +288,8 @@ In_Latin_Extended_B
282
288
  In_Latin_Extended_C
283
289
  In_Latin_Extended_D
284
290
  In_Latin_Extended_E
291
+ In_Latin_Extended_F
292
+ In_Latin_Extended_G
285
293
  In_Lepcha
286
294
  In_Letterlike_Symbols
287
295
  In_Limbu
@@ -346,6 +354,7 @@ In_Old_Persian
346
354
  In_Old_Sogdian
347
355
  In_Old_South_Arabian
348
356
  In_Old_Turkic
357
+ In_Old_Uyghur
349
358
  In_Optical_Character_Recognition
350
359
  In_Oriya
351
360
  In_Ornamental_Dingbats
@@ -408,6 +417,7 @@ In_Tai_Xuan_Jing_Symbols
408
417
  In_Takri
409
418
  In_Tamil
410
419
  In_Tamil_Supplement
420
+ In_Tangsa
411
421
  In_Tangut
412
422
  In_Tangut_Components
413
423
  In_Tangut_Supplement
@@ -417,15 +427,18 @@ In_Thai
417
427
  In_Tibetan
418
428
  In_Tifinagh
419
429
  In_Tirhuta
430
+ In_Toto
420
431
  In_Transport_and_Map_Symbols
421
432
  In_Ugaritic
422
433
  In_Unified_Canadian_Aboriginal_Syllabics
423
434
  In_Unified_Canadian_Aboriginal_Syllabics_Extended
435
+ In_Unified_Canadian_Aboriginal_Syllabics_Extended_A
424
436
  In_Vai
425
437
  In_Variation_Selectors
426
438
  In_Variation_Selectors_Supplement
427
439
  In_Vedic_Extensions
428
440
  In_Vertical_Forms
441
+ In_Vithkuqi
429
442
  In_Wancho
430
443
  In_Warang_Citi
431
444
  In_Yezidi
@@ -433,6 +446,7 @@ In_Yi_Radicals
433
446
  In_Yi_Syllables
434
447
  In_Yijing_Hexagram_Symbols
435
448
  In_Zanabazar_Square
449
+ In_Znamenny_Musical_Notation
436
450
  Inherited
437
451
  Initial_Punctuation
438
452
  Inscriptional_Pahlavi
@@ -508,6 +522,7 @@ Old_Persian
508
522
  Old_Sogdian
509
523
  Old_South_Arabian
510
524
  Old_Turkic
525
+ Old_Uyghur
511
526
  Open_Punctuation
512
527
  Oriya
513
528
  Osage
@@ -572,6 +587,7 @@ Tai_Tham
572
587
  Tai_Viet
573
588
  Takri
574
589
  Tamil
590
+ Tangsa
575
591
  Tangut
576
592
  Telugu
577
593
  Terminal_Punctuation
@@ -581,6 +597,7 @@ Tibetan
581
597
  Tifinagh
582
598
  Tirhuta
583
599
  Titlecase_Letter
600
+ Toto
584
601
  Ugaritic
585
602
  Unassigned
586
603
  Unified_Ideograph
@@ -590,6 +607,7 @@ Uppercase
590
607
  Uppercase_Letter
591
608
  Vai
592
609
  Variation_Selector
610
+ Vithkuqi
593
611
  Wancho
594
612
  Warang_Citi
595
613
  White_Space
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regexp_property_values
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: java
6
6
  authors:
7
7
  - Janosch Müller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-31 00:00:00.000000000 Z
11
+ date: 2022-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: range_compressor
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  requirements: []
77
- rubygems_version: 3.3.0.dev
77
+ rubygems_version: 3.3.3
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: Inspect property values supported by Ruby's regex engine