iso-15924 0.1.3 → 0.1.7

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: 5d84b5d0a78441e8a5287b8d540c34a83e20cdbebdf17932c20f15d61dc7077a
4
- data.tar.gz: 6bfb230ad5a2f4bb359e8c6552a6c78285b81b2c2d5d8be26340925f1548573e
3
+ metadata.gz: 274f0f964dcad9d3ce83c1a8d011a58c7517da7b8ea14e9616568eb0f7ea561d
4
+ data.tar.gz: f8489042e74a6c817d8198c258916bd04e181cc8c13b747849495d586d181760
5
5
  SHA512:
6
- metadata.gz: 2d98e1d162d828936401b9c95d187f674d7d6ca09238da3af4a342c77cec39640e5d22f133696a22beb92d7b76680867ea2b5c1848155f2117424431632d37ef
7
- data.tar.gz: 9fd1283cd58680ab3ca0cdfc08c5e161b6aac67b042556d7d07379c46d7c002972660aec652b122570809633b2da737d8902e0fff83f41448eb1ef64ce69cee1
6
+ metadata.gz: 9a6cee0bb355ff601ad2d9b7186f630642468a3d8af570b655c7c140890b591fefc1ed9e38221f82faab27dcd0a57ae493cca1e358fa3aa9652fa47f33385101
7
+ data.tar.gz: 80665e1c5f3014517e32954432e3029f36004f1ec31f85f4acfb3342e3e4f2e9514d36ee9377546ff1107b0646141364f169f0e7401f81937b5c35dc74d2780b
@@ -0,0 +1,35 @@
1
+ name: release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+
14
+ - uses: ruby/setup-ruby@v1
15
+ with:
16
+ ruby-version: '2.7'
17
+
18
+ - run: bundle install --jobs 4 --retry 3
19
+
20
+ - name: Test the Ruby package
21
+ run: bundle exec rake
22
+
23
+ - name: Publish to rubygems.org
24
+ env:
25
+ RUBYGEMS_API_KEY: ${{secrets.INTERSCRIPT_RUBYGEMS_API_KEY}}
26
+ run: |
27
+ gem install gem-release
28
+ touch ~/.gem/credentials
29
+ cat > ~/.gem/credentials << EOF
30
+ ---
31
+ :rubygems_api_key: ${RUBYGEMS_API_KEY}
32
+ EOF
33
+ chmod 0600 ~/.gem/credentials
34
+ git status
35
+ gem release
data/iso_15924.txt CHANGED
@@ -194,10 +194,12 @@ Thaa;170;Thaana;thâna;Thaana;3.0;2004-05-01
194
194
  Thai;352;Thai;thaï;Thai;1.1;2004-05-01
195
195
  Tibt;330;Tibetan;tibétain;Tibetan;2.0;2004-05-01
196
196
  Tirh;326;Tirhuta;tirhouta;Tirhuta;7.0;2014-11-15
197
+ Tnsa;275;Tangsa;tangsa;;;2021-02-17
197
198
  Toto;294;Toto;toto;;;2020-04-16
198
199
  Ugar;040;Ugaritic;ougaritique;Ugaritic;4.0;2004-05-01
199
200
  Vaii;470;Vai;vaï;Vai;5.1;2007-07-02
200
201
  Visp;280;Visible Speech;parole visible;;;2004-05-01
202
+ Vith;228;Vithkuqi;vithkuqi;;;2021-02-17
201
203
  Wara;262;Warang Citi (Varang Kshiti);warang citi;Warang_Citi;7.0;2014-11-15
202
204
  Wcho;283;Wancho;wantcho;Wancho;12.0;2017-07-26
203
205
  Wole;480;Woleai;woléaï;;;2010-12-21
@@ -1,3 +1,3 @@
1
1
  module Iso15924
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/iso-15924.rb CHANGED
@@ -6,7 +6,14 @@ module Iso15924
6
6
 
7
7
  ISO_15924 = lambda do
8
8
  yaml_file = File.expand_path('iso-15924.yaml', File.dirname(__FILE__))
9
- YAML.load(File.read(yaml_file)).tap do |h|
9
+
10
+ unsafe_load = if YAML.respond_to? :unsafe_load
11
+ :unsafe_load
12
+ else
13
+ :load
14
+ end
15
+
16
+ YAML.public_send(unsafe_load, File.read(yaml_file)).tap do |h|
10
17
  h.each do |k,v|
11
18
  v.freeze
12
19
  end
data/lib/iso-15924.yaml CHANGED
@@ -1322,6 +1322,13 @@ Tirh:
1322
1322
  pva: Tirhuta
1323
1323
  age: 7.0
1324
1324
  date: 2014-11-15
1325
+ Tnsa:
1326
+ numeric: 275
1327
+ english: Tangsa
1328
+ french: tangsa
1329
+ pva:
1330
+ age:
1331
+ date: 2021-02-17
1325
1332
  Toto:
1326
1333
  numeric: 294
1327
1334
  english: Toto
@@ -1350,6 +1357,13 @@ Visp:
1350
1357
  pva:
1351
1358
  age:
1352
1359
  date: 2004-05-01
1360
+ Vith:
1361
+ numeric: 228
1362
+ english: Vithkuqi
1363
+ french: vithkuqi
1364
+ pva:
1365
+ age:
1366
+ date: 2021-02-17
1353
1367
  Wara:
1354
1368
  numeric: 262
1355
1369
  english: Warang Citi (Varang Kshiti)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iso-15924
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-27 00:00:00.000000000 Z
11
+ date: 2023-04-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "A Ruby gem that provides the ISO 15924 data sets along with\n some
14
14
  convenience methods for accessing different entries\n and
@@ -19,6 +19,7 @@ executables: []
19
19
  extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
+ - ".github/workflows/release.yml"
22
23
  - ".github/workflows/sync_iso_data.yml"
23
24
  - ".gitignore"
24
25
  - ".rspec"
@@ -56,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
57
  - !ruby/object:Gem::Version
57
58
  version: '0'
58
59
  requirements: []
59
- rubygems_version: 3.0.3
60
+ rubygems_version: 3.1.6
60
61
  signing_key:
61
62
  specification_version: 4
62
63
  summary: ISO 15924 code entries