uklatn 1.13.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/uklatn.rb +10 -0
  3. metadata +6 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3844b30e65bcc5178350ff0b59315938d3a02f112499cb4b372e0306acf22f6a
4
- data.tar.gz: f1fa0f0cb158ee14bdd77baa6b8207f44523702854c2858449b00e13ffcdb56d
3
+ metadata.gz: 42e5ec52fed3606abf86455242ab120b6de47c54e425f61df86bb0efa0239fcb
4
+ data.tar.gz: 43c6004400efc08e9726d349b0211d71e98640da9458de23144af271b13b9d33
5
5
  SHA512:
6
- metadata.gz: 74c66f54754d82bc537095d52cfb970404a13a5f9577395e1c3b3a342e8a390f33f47a59457a1386b470c9885ded9e6d899b38c2eb9cddd6d98a9168071ab917
7
- data.tar.gz: 353848c5d4e1caadb92b63c386c5bd32fb013f84e65195611bdcc1679ad400dfffb5c7ba842cb1b6a6757452097a05d5d5aceb15de33ea156c2e5aa38b08bec6
6
+ metadata.gz: 318933626925d62e7e2465342f8753a3b90c72058e6918d2bc950a1d10a65c1d84a47ecc6d5644f759daa94dfb8a87383d444c701ce237a0f03fe8e44a7fb2e8
7
+ data.tar.gz: e54bbdf1044d74cf9e09ac99e3ddb27bef0e3124246478cc7b509d9aa4e4a56ee7a10d1fa98b26d2570821d8ddef3eb92c454d1c3922a5ebdeede3a91bdcaba9
data/lib/uklatn.rb CHANGED
@@ -6,6 +6,16 @@
6
6
  # - 'DSTU_9112_A': DSTU 9112:2021 System A
7
7
  # - 'DSTU_9112_B': DSTU 9112:2021 System B
8
8
  # - 'KMU_55': KMU 55:2010, not reversible
9
+ #
10
+ # Usage:
11
+ # tr = UkrainianLatin.new
12
+ # tr.encode('Доброго вечора!')
13
+ # tr.decode('Paljanycja')
14
+ #
15
+ # Set the transliteration scheme:
16
+ # tr.encode('Борщ', 'DSTU_9112_B')
17
+ # tr.encode('Шевченко', 'KMU_55')
18
+ #
9
19
  class UkrainianLatin
10
20
 
11
21
  # Transliterates a string of Ukrainian Cyrillic to Latin script.
metadata CHANGED
@@ -1,19 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uklatn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavlo Ivashkov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-16 00:00:00.000000000 Z
11
+ date: 2024-12-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
+ Ukrainian Cyrillic transliteration to Latin script.
15
+
14
16
  Ukraine national transliteration schemes:
15
- - DSTU 9112:2021,
16
- - KMU 55:2010 (not reversible)
17
+ - DSTU 9112:2021,
18
+ - KMU 55:2010 (not reversible)
17
19
  email:
18
20
  executables: []
19
21
  extensions: []