regexp_property_values 1.4.0 → 1.5.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
  SHA256:
3
- metadata.gz: 3e530cc9c245b9a0295f3f4d155ba9cdb32d2d105c8e6beae6f59771eee8e862
4
- data.tar.gz: 295197787f2ca187ac8a0ca57eebd1551cf8a243389a107d66fcedb49bc7f792
3
+ metadata.gz: c3b4e58dbefa036bfca55b36da86baa96e1ba6c56483167279c9ce971823b8ba
4
+ data.tar.gz: 5e5ed54fef70679475b4abaf35abe7e65a8d28940cde6f07398378b5eedf3e03
5
5
  SHA512:
6
- metadata.gz: 5879eb2ec3999b46aa8fa66340b0d22704f828328285625670ef8bf2e67e1b10162dd89149ff9950f3842bab0f1978f7975fba0a5bdacb0085e3c9bc070afbf5
7
- data.tar.gz: af154b78b8a44ef2ef7fe988d47564c565ab6e4e1a03ca2bc7a0c1951ef556c2ae6f054fa98fdfb775cb34b2a36913cfa6621dc883a44b533290a50dd4861daa
6
+ metadata.gz: d650720818f1e427b0cb4532e8e93cc348d7680c5a3c0c11e5cfba273802c32889567b0e2aff6e84247c98e60dc97022a47cb4987ed812a3d787bbf9ca98a3a0
7
+ data.tar.gz: 10232496849f607db55974e99a998fd6b9f4b2efe459e0fabe03db46ccfe9f41414f1b3028f39ba27101cc17eb0afdb32cb7326d87f262c7739222a958c7e327
data/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@ 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.5.1] - 2024-01-06
8
+
9
+ ### Fixed
10
+ - added missing Grapheme_Cluster_Break properties
11
+
12
+ ## [1.5.0] - 2024-01-06
13
+
14
+ ### Added
15
+ - new properties of future Ruby 3.3.x / Unicode 15.1
16
+
7
17
  ## [1.4.0] - 2023-06-10
8
18
 
9
19
  ### Added
data/lib/aliases CHANGED
@@ -56,6 +56,7 @@ Elba;Elbasan
56
56
  Elym;Elymaic
57
57
  Ethi;Ethiopic
58
58
  Ext;Extender
59
+ ExtPict;Extended_Pictographic
59
60
  Geor;Georgian
60
61
  Glag;Glagolitic
61
62
  Gong;Gunjala_Gondi
@@ -83,6 +84,7 @@ IDC;ID_Continue
83
84
  IDS;ID_Start
84
85
  IDSB;IDS_Binary_Operator
85
86
  IDST;IDS_Trinary_Operator
87
+ IDSU;IDS_Unary_Operator
86
88
  Ideo;Ideographic
87
89
  Ital;Old_Italic
88
90
  Java;Javanese
@@ -15,6 +15,7 @@ module RegexpPropertyValues
15
15
  PropertyValueAliases.txt
16
16
  PropList.txt
17
17
  Scripts.txt
18
+ auxiliary/GraphemeBreakProperty.txt
18
19
  ]
19
20
 
20
21
  EMOJI_FILES = %w[
@@ -88,6 +89,10 @@ module RegexpPropertyValues
88
89
  @values << 'Age=' + caps[:age_num]
89
90
  end
90
91
 
92
+ scan('GraphemeBreakProperty.txt', /; *(?<name>\w+) *#/) do |caps|
93
+ @values << 'Grapheme_Cluster_Break=' + caps[:name]
94
+ end
95
+
91
96
  File.write(RegexpPropertyValues::VALUES_PATH, @values.sort.join("\n"))
92
97
  end
93
98
 
@@ -1,3 +1,3 @@
1
1
  module RegexpPropertyValues
2
- VERSION = '1.4.0'
2
+ VERSION = '1.5.1'
3
3
  end
data/lib/values CHANGED
@@ -9,6 +9,7 @@ Age=12.1
9
9
  Age=13.0
10
10
  Age=14.0
11
11
  Age=15.0
12
+ Age=15.1
12
13
  Age=2.0
13
14
  Age=2.1
14
15
  Age=3.0
@@ -107,6 +108,19 @@ Gothic
107
108
  Grantha
108
109
  Graph
109
110
  Grapheme_Base
111
+ Grapheme_Cluster_Break=CR
112
+ Grapheme_Cluster_Break=Control
113
+ Grapheme_Cluster_Break=Extend
114
+ Grapheme_Cluster_Break=L
115
+ Grapheme_Cluster_Break=LF
116
+ Grapheme_Cluster_Break=LV
117
+ Grapheme_Cluster_Break=LVT
118
+ Grapheme_Cluster_Break=Prepend
119
+ Grapheme_Cluster_Break=Regional_Indicator
120
+ Grapheme_Cluster_Break=SpacingMark
121
+ Grapheme_Cluster_Break=T
122
+ Grapheme_Cluster_Break=V
123
+ Grapheme_Cluster_Break=ZWJ
110
124
  Grapheme_Extend
111
125
  Grapheme_Link
112
126
  Greek
@@ -124,6 +138,9 @@ Hiragana
124
138
  Hyphen
125
139
  IDS_Binary_Operator
126
140
  IDS_Trinary_Operator
141
+ IDS_Unary_Operator
142
+ ID_Compat_Math_Continue
143
+ ID_Compat_Math_Start
127
144
  ID_Continue
128
145
  ID_Start
129
146
  Ideographic
@@ -181,6 +198,7 @@ In_CJK_Unified_Ideographs_Extension_E
181
198
  In_CJK_Unified_Ideographs_Extension_F
182
199
  In_CJK_Unified_Ideographs_Extension_G
183
200
  In_CJK_Unified_Ideographs_Extension_H
201
+ In_CJK_Unified_Ideographs_Extension_I
184
202
  In_Carian
185
203
  In_Caucasian_Albanian
186
204
  In_Chakma
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.4.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janosch Müller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-10 00:00:00.000000000 Z
11
+ date: 2024-01-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This small library lets you see which property values are supported by
14
14
  the regular expression engine of the Ruby version you are running, and what they
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  requirements: []
64
- rubygems_version: 3.4.10
64
+ rubygems_version: 3.5.0.dev
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Inspect property values supported by Ruby's regex engine