greek-i18n 0.0.2
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 +7 -0
- data/CHANGELOG.md +0 -0
- data/Gemfile +2 -0
- data/LICENSE +19 -0
- data/README.md +39 -0
- data/Rakefile +2 -0
- data/bin/console +7 -0
- data/bin/setup +5 -0
- data/exe/atono +6 -0
- data/exe/greeklish +1 -0
- data/greek-i18n.gemspec +34 -0
- data/lib/greek/i18n.rb +37 -0
- data/lib/greek/i18n/version.rb +5 -0
- data/locales/ancient_greeklish.yml +369 -0
- data/locales/atono.yml +184 -0
- data/locales/greeklish.yml +104 -0
- metadata +163 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 80c57fe2080f5018037c0bead0e2c61295b946cb3eb532e2378fc7c16c0f1765
|
|
4
|
+
data.tar.gz: 14e2850ee0bbbde688c9747c516c1fd70bc2ff3231235dbe7df6f1cc8bff8f9a
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: a67af468141d1d41e3b8b2f71230c9db484aa102d48d65fc7667fcc7f7d6562315726222de20a41094c1761a4e6a14a868ce08957d2cc4622934bd8a5c226007
|
|
7
|
+
data.tar.gz: 95f9aa62098be34188eb67aa8f51603c0dc7d072359b42e22d73de350e25bb30557035c4a027e939a6787c590dc42fa4e769c0e18dd74ea08cec9d80e77e4fc0
|
data/CHANGELOG.md
ADDED
|
File without changes
|
data/Gemfile
ADDED
data/LICENSE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright (c) 2018 shamangeorge, demetraskl, fruitopology
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Greek::I18n
|
|
2
|
+
|
|
3
|
+
A gem that provides transliteration for greeklish, ancient greek and
|
|
4
|
+
ancient greek without diacritics.
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
|
|
8
|
+
Add this line to your application's Gemfile:
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
gem 'greek-i18n'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
And then execute:
|
|
15
|
+
|
|
16
|
+
$ bundle
|
|
17
|
+
|
|
18
|
+
Or install it yourself as:
|
|
19
|
+
|
|
20
|
+
$ gem install greek-i18n
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
There are scripts in `exe` allowing you to pipe ancient greek and
|
|
25
|
+
greek strings through the greeklish and non-diacritics transliteration
|
|
26
|
+
|
|
27
|
+
## Todo
|
|
28
|
+
|
|
29
|
+
* Usage examples
|
|
30
|
+
|
|
31
|
+
## Development
|
|
32
|
+
|
|
33
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
34
|
+
|
|
35
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
36
|
+
|
|
37
|
+
## Contributing
|
|
38
|
+
|
|
39
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/greek-i18n.
|
data/Rakefile
ADDED
data/bin/console
ADDED
data/bin/setup
ADDED
data/exe/atono
ADDED
data/exe/greeklish
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
data/greek-i18n.gemspec
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
|
+
|
|
4
|
+
require "greek/i18n/version"
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "greek-i18n"
|
|
8
|
+
spec.version = Greek::I18n::VERSION
|
|
9
|
+
spec.authors = %w[shamangeorge
|
|
10
|
+
demetraskl]
|
|
11
|
+
spec.email = %w[shamangeorge@fruitopology.net
|
|
12
|
+
demetra@fruitopology.net]
|
|
13
|
+
|
|
14
|
+
spec.summary = "i18n greek transliteration locales"
|
|
15
|
+
spec.description = %(i18n modules for polytonic greek,
|
|
16
|
+
ancient greek and greeklish)
|
|
17
|
+
spec.homepage = "https://damos.fruitopology.net/agora/greek-i18n"
|
|
18
|
+
spec.license = "MIT"
|
|
19
|
+
|
|
20
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
21
|
+
f.match(%r{^(test|spec|features)/}) || f.match(/^\./)
|
|
22
|
+
end
|
|
23
|
+
spec.bindir = "exe"
|
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
25
|
+
spec.require_paths = ["lib"]
|
|
26
|
+
|
|
27
|
+
spec.add_dependency "i18n", "~> 1.0"
|
|
28
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
|
29
|
+
spec.add_development_dependency "pry", "~> 0.11"
|
|
30
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
31
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
|
32
|
+
spec.add_development_dependency "rubocop", "~> 0.58"
|
|
33
|
+
spec.add_development_dependency "simplecov", "~> 0.16"
|
|
34
|
+
end
|
data/lib/greek/i18n.rb
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
require "greek/i18n/version"
|
|
2
|
+
require "yaml"
|
|
3
|
+
require "i18n"
|
|
4
|
+
|
|
5
|
+
I18n.enforce_available_locales = false
|
|
6
|
+
|
|
7
|
+
module Greek
|
|
8
|
+
module I18n
|
|
9
|
+
TRANSLITERATIONS = %w[greeklish atono ancient_greeklish].freeze
|
|
10
|
+
LOCALES_DIR = "../../../locales".freeze
|
|
11
|
+
def self.setup
|
|
12
|
+
TRANSLITERATIONS.each do |transliteration|
|
|
13
|
+
locales_location = File.expand_path(LOCALES_DIR, __FILE__)
|
|
14
|
+
locale_file = "#{locales_location}/#{transliteration}.yml"
|
|
15
|
+
locale_obj = YAML.load_file(locale_file)
|
|
16
|
+
locale = locale_obj[transliteration]["i18n"]
|
|
17
|
+
::I18n.backend.store_translations(
|
|
18
|
+
transliteration.to_sym,
|
|
19
|
+
i18n: locale
|
|
20
|
+
)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def self.greeklish(line)
|
|
25
|
+
::I18n.transliterate(line, locale: :greeklish)
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def self.ancient_greeklish(line)
|
|
29
|
+
::I18n.transliterate(line, locale: :ancient_greeklish)
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def self.atono(line)
|
|
33
|
+
::I18n.transliterate(line, locale: :atono)
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
Greek::I18n.setup
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
ancient_greeklish:
|
|
2
|
+
i18n:
|
|
3
|
+
transliterate:
|
|
4
|
+
rule:
|
|
5
|
+
α: a
|
|
6
|
+
|
|
7
|
+
ά: a/
|
|
8
|
+
|
|
9
|
+
ᾶ: a=
|
|
10
|
+
|
|
11
|
+
ά: a/
|
|
12
|
+
|
|
13
|
+
ἁ: a(
|
|
14
|
+
|
|
15
|
+
ἂ: a)\
|
|
16
|
+
|
|
17
|
+
ἀ: a)
|
|
18
|
+
|
|
19
|
+
ἄ: a)/
|
|
20
|
+
|
|
21
|
+
ὰ: a\
|
|
22
|
+
|
|
23
|
+
ἅ: a(/
|
|
24
|
+
|
|
25
|
+
ᾳ: a|
|
|
26
|
+
|
|
27
|
+
ᾷ: a=|
|
|
28
|
+
|
|
29
|
+
ἆ: a)=
|
|
30
|
+
|
|
31
|
+
ἆ: a)=
|
|
32
|
+
|
|
33
|
+
ἃ: a(\
|
|
34
|
+
|
|
35
|
+
Ἄ: "*)/a"
|
|
36
|
+
|
|
37
|
+
Ἆ: "*)=a"
|
|
38
|
+
|
|
39
|
+
Ἅ: "*(/a"
|
|
40
|
+
|
|
41
|
+
Ἁ: "*(a"
|
|
42
|
+
|
|
43
|
+
Α: "*a"
|
|
44
|
+
|
|
45
|
+
Ἀ: "*)a"
|
|
46
|
+
|
|
47
|
+
Ά: "*/a"
|
|
48
|
+
|
|
49
|
+
β: b
|
|
50
|
+
|
|
51
|
+
Β: "*b"
|
|
52
|
+
|
|
53
|
+
γ: g
|
|
54
|
+
|
|
55
|
+
Γ: "*g"
|
|
56
|
+
|
|
57
|
+
δ: d
|
|
58
|
+
|
|
59
|
+
Δ: "*d"
|
|
60
|
+
|
|
61
|
+
ε: e
|
|
62
|
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: h(/|
|
|
134
|
+
|
|
135
|
+
ῂ: h\|
|
|
136
|
+
|
|
137
|
+
Η: "*h"
|
|
138
|
+
|
|
139
|
+
Ἤ: "*)/h"
|
|
140
|
+
|
|
141
|
+
Ἥ: "*(/h"
|
|
142
|
+
|
|
143
|
+
Ἡ: "*(h"
|
|
144
|
+
|
|
145
|
+
Ἠ: "*)h"
|
|
146
|
+
|
|
147
|
+
Ή: "*/h"
|
|
148
|
+
|
|
149
|
+
θ: q
|
|
150
|
+
|
|
151
|
+
Θ: "*q"
|
|
152
|
+
|
|
153
|
+
ι: i
|
|
154
|
+
|
|
155
|
+
ΐ: "*i="
|
|
156
|
+
|
|
157
|
+
ἴ: i)/
|
|
158
|
+
|
|
159
|
+
ἶ: i)=
|
|
160
|
+
|
|
161
|
+
ἷ: i(=
|
|
162
|
+
|
|
163
|
+
ϊ: i+
|
|
164
|
+
|
|
165
|
+
ί̈: i/+
|
|
166
|
+
|
|
167
|
+
ἲ: i)\
|
|
168
|
+
|
|
169
|
+
ϊ: i+
|
|
170
|
+
|
|
171
|
+
ἳ: i(\
|
|
172
|
+
|
|
173
|
+
ῖ: i=
|
|
174
|
+
|
|
175
|
+
ὶ: i\
|
|
176
|
+
|
|
177
|
+
ἰ: i)
|
|
178
|
+
|
|
179
|
+
ί: i/
|
|
180
|
+
|
|
181
|
+
ί: i/
|
|
182
|
+
|
|
183
|
+
ἵ: i(/
|
|
184
|
+
|
|
185
|
+
ἱ: (
|
|
186
|
+
|
|
187
|
+
Ἰ: "*)i"
|
|
188
|
+
|
|
189
|
+
Ἴ: )/
|
|
190
|
+
|
|
191
|
+
Ἶ: "*)=i"
|
|
192
|
+
|
|
193
|
+
Ἱ: "*(i"
|
|
194
|
+
|
|
195
|
+
Ι: "*i"
|
|
196
|
+
|
|
197
|
+
Ί: "*/i"
|
|
198
|
+
|
|
199
|
+
κ: k
|
|
200
|
+
|
|
201
|
+
Κ: "*k"
|
|
202
|
+
|
|
203
|
+
λ: l
|
|
204
|
+
|
|
205
|
+
Λ: "*l"
|
|
206
|
+
|
|
207
|
+
μ: m
|
|
208
|
+
|
|
209
|
+
Μ: "*m"
|
|
210
|
+
|
|
211
|
+
ν: n
|
|
212
|
+
|
|
213
|
+
Ν: "*n"
|
|
214
|
+
|
|
215
|
+
ξ: c
|
|
216
|
+
|
|
217
|
+
Ξ: "*c"
|
|
218
|
+
|
|
219
|
+
ο: o
|
|
220
|
+
|
|
221
|
+
Ο: "*o"
|
|
222
|
+
|
|
223
|
+
ό: o/
|
|
224
|
+
|
|
225
|
+
ὃ: o(\
|
|
226
|
+
|
|
227
|
+
ὀ: o)
|
|
228
|
+
|
|
229
|
+
ὸ: o\
|
|
230
|
+
|
|
231
|
+
ὄ: o)/
|
|
232
|
+
|
|
233
|
+
ό: o/
|
|
234
|
+
|
|
235
|
+
ὅ: "*(/o"
|
|
236
|
+
|
|
237
|
+
ὁ: "*(o"
|
|
238
|
+
|
|
239
|
+
Ό: "*o/"
|
|
240
|
+
|
|
241
|
+
Ὀ: ")*o"
|
|
242
|
+
|
|
243
|
+
Ὄ: ")/*o"
|
|
244
|
+
|
|
245
|
+
π: p
|
|
246
|
+
|
|
247
|
+
Π: "*p"
|
|
248
|
+
|
|
249
|
+
ρ: r
|
|
250
|
+
|
|
251
|
+
ῤ: )r
|
|
252
|
+
|
|
253
|
+
ῥ: (r
|
|
254
|
+
|
|
255
|
+
Ρ: r
|
|
256
|
+
|
|
257
|
+
Ῥ: "*(r"
|
|
258
|
+
|
|
259
|
+
Ρ: "*r"
|
|
260
|
+
|
|
261
|
+
σ: s
|
|
262
|
+
|
|
263
|
+
Σ: "*s"
|
|
264
|
+
|
|
265
|
+
ς: s
|
|
266
|
+
|
|
267
|
+
τ: t
|
|
268
|
+
|
|
269
|
+
Τ: "*t"
|
|
270
|
+
|
|
271
|
+
υ: u
|
|
272
|
+
|
|
273
|
+
ύ: u/
|
|
274
|
+
|
|
275
|
+
ῦ: u=
|
|
276
|
+
|
|
277
|
+
ὖ: u)=
|
|
278
|
+
|
|
279
|
+
ὔ: u)/
|
|
280
|
+
|
|
281
|
+
ὺ: u\
|
|
282
|
+
|
|
283
|
+
ὐ: u)
|
|
284
|
+
|
|
285
|
+
ὕ: u(/
|
|
286
|
+
|
|
287
|
+
ὑ: u(
|
|
288
|
+
|
|
289
|
+
ὗ: u(=
|
|
290
|
+
|
|
291
|
+
ύ: u/
|
|
292
|
+
|
|
293
|
+
ϋ: u+
|
|
294
|
+
|
|
295
|
+
ΰ: u=
|
|
296
|
+
|
|
297
|
+
ὓ: u(\
|
|
298
|
+
|
|
299
|
+
ῢ: u\=
|
|
300
|
+
|
|
301
|
+
Υ: "*u"
|
|
302
|
+
|
|
303
|
+
Ύ: "*/u"
|
|
304
|
+
|
|
305
|
+
Ὑ: "*(u"
|
|
306
|
+
|
|
307
|
+
φ: f
|
|
308
|
+
|
|
309
|
+
Φ: f
|
|
310
|
+
|
|
311
|
+
Φ: "*f"
|
|
312
|
+
|
|
313
|
+
χ: x
|
|
314
|
+
|
|
315
|
+
Χ: "*x"
|
|
316
|
+
|
|
317
|
+
ψ: y
|
|
318
|
+
|
|
319
|
+
Ψ: y
|
|
320
|
+
|
|
321
|
+
Ψ: "*y"
|
|
322
|
+
|
|
323
|
+
ω: w
|
|
324
|
+
|
|
325
|
+
ώ: w/
|
|
326
|
+
|
|
327
|
+
ῴ: w/
|
|
328
|
+
|
|
329
|
+
ῳ: w|
|
|
330
|
+
|
|
331
|
+
ῷ: w=|
|
|
332
|
+
|
|
333
|
+
ὡ: w(
|
|
334
|
+
|
|
335
|
+
ὼ: w\
|
|
336
|
+
|
|
337
|
+
ὣ: w(\
|
|
338
|
+
|
|
339
|
+
ὤ: w)/
|
|
340
|
+
|
|
341
|
+
ὠ: w)
|
|
342
|
+
|
|
343
|
+
ὥ: w(/
|
|
344
|
+
|
|
345
|
+
ᾧ: w(=|
|
|
346
|
+
|
|
347
|
+
ὧ: w(=
|
|
348
|
+
|
|
349
|
+
ᾤ: w)/|
|
|
350
|
+
|
|
351
|
+
ὧ: w(=
|
|
352
|
+
|
|
353
|
+
ώ: w/
|
|
354
|
+
|
|
355
|
+
ῶ: w=
|
|
356
|
+
|
|
357
|
+
ὢ: w)\
|
|
358
|
+
|
|
359
|
+
ὦ: w)=
|
|
360
|
+
|
|
361
|
+
Ώ: "*/w"
|
|
362
|
+
|
|
363
|
+
Ω: "*w"
|
|
364
|
+
|
|
365
|
+
Ὠ: "*)w"
|
|
366
|
+
|
|
367
|
+
Ὦ: "*)=w"
|
|
368
|
+
|
|
369
|
+
Ὧ: "*(=w"
|
data/locales/atono.yml
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
atono:
|
|
2
|
+
i18n:
|
|
3
|
+
transliterate:
|
|
4
|
+
rule:
|
|
5
|
+
α: α
|
|
6
|
+
ά: α
|
|
7
|
+
ᾶ: α
|
|
8
|
+
ά: α
|
|
9
|
+
ἁ: α
|
|
10
|
+
ἂ: α
|
|
11
|
+
ἀ: α
|
|
12
|
+
ἄ: α
|
|
13
|
+
ὰ: α
|
|
14
|
+
ἅ: α
|
|
15
|
+
ᾳ: α
|
|
16
|
+
ᾷ: α
|
|
17
|
+
ἆ: α
|
|
18
|
+
ἆ: α
|
|
19
|
+
ἃ: α
|
|
20
|
+
Ἄ: Α
|
|
21
|
+
Ἆ: Α
|
|
22
|
+
Ἅ: Α
|
|
23
|
+
Ἁ: Α
|
|
24
|
+
Α: Α
|
|
25
|
+
Ἀ: Α
|
|
26
|
+
Ά: Α
|
|
27
|
+
β: β
|
|
28
|
+
Β: Β
|
|
29
|
+
γ: γ
|
|
30
|
+
Γ: Γ
|
|
31
|
+
δ: δ
|
|
32
|
+
Δ: Δ
|
|
33
|
+
ε: ε
|
|
34
|
+
ἑ: ε
|
|
35
|
+
ὲ: ε
|
|
36
|
+
έ: ε
|
|
37
|
+
ἕ: ε
|
|
38
|
+
ἐ: ε
|
|
39
|
+
ἔ: ε
|
|
40
|
+
έ: ε
|
|
41
|
+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
ΆΥ: av
|
|
95
|
+
ΑΎ: av
|
|
96
|
+
ΑΥ: av
|
|
97
|
+
ευ: ev
|
|
98
|
+
εύ: ev
|
|
99
|
+
έυ: ev
|
|
100
|
+
ΕΥ: ev
|
|
101
|
+
ΕΎ: ev
|
|
102
|
+
ΈΥ: ev
|
|
103
|
+
ϊ : i
|
|
104
|
+
ϋ : i
|
metadata
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: greek-i18n
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- shamangeorge
|
|
8
|
+
- demetraskl
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: exe
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2018-08-08 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: i18n
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
requirements:
|
|
18
|
+
- - "~>"
|
|
19
|
+
- !ruby/object:Gem::Version
|
|
20
|
+
version: '1.0'
|
|
21
|
+
type: :runtime
|
|
22
|
+
prerelease: false
|
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
24
|
+
requirements:
|
|
25
|
+
- - "~>"
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: '1.0'
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: bundler
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
- - "~>"
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
34
|
+
version: '1.15'
|
|
35
|
+
type: :development
|
|
36
|
+
prerelease: false
|
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - "~>"
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: '1.15'
|
|
42
|
+
- !ruby/object:Gem::Dependency
|
|
43
|
+
name: pry
|
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
|
45
|
+
requirements:
|
|
46
|
+
- - "~>"
|
|
47
|
+
- !ruby/object:Gem::Version
|
|
48
|
+
version: '0.11'
|
|
49
|
+
type: :development
|
|
50
|
+
prerelease: false
|
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - "~>"
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: '0.11'
|
|
56
|
+
- !ruby/object:Gem::Dependency
|
|
57
|
+
name: rake
|
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
|
59
|
+
requirements:
|
|
60
|
+
- - "~>"
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: '10.0'
|
|
63
|
+
type: :development
|
|
64
|
+
prerelease: false
|
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
66
|
+
requirements:
|
|
67
|
+
- - "~>"
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: '10.0'
|
|
70
|
+
- !ruby/object:Gem::Dependency
|
|
71
|
+
name: rspec
|
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
|
73
|
+
requirements:
|
|
74
|
+
- - "~>"
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: '3.0'
|
|
77
|
+
type: :development
|
|
78
|
+
prerelease: false
|
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
80
|
+
requirements:
|
|
81
|
+
- - "~>"
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: '3.0'
|
|
84
|
+
- !ruby/object:Gem::Dependency
|
|
85
|
+
name: rubocop
|
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
- - "~>"
|
|
89
|
+
- !ruby/object:Gem::Version
|
|
90
|
+
version: '0.58'
|
|
91
|
+
type: :development
|
|
92
|
+
prerelease: false
|
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
94
|
+
requirements:
|
|
95
|
+
- - "~>"
|
|
96
|
+
- !ruby/object:Gem::Version
|
|
97
|
+
version: '0.58'
|
|
98
|
+
- !ruby/object:Gem::Dependency
|
|
99
|
+
name: simplecov
|
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
|
101
|
+
requirements:
|
|
102
|
+
- - "~>"
|
|
103
|
+
- !ruby/object:Gem::Version
|
|
104
|
+
version: '0.16'
|
|
105
|
+
type: :development
|
|
106
|
+
prerelease: false
|
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
108
|
+
requirements:
|
|
109
|
+
- - "~>"
|
|
110
|
+
- !ruby/object:Gem::Version
|
|
111
|
+
version: '0.16'
|
|
112
|
+
description: |-
|
|
113
|
+
i18n modules for polytonic greek,
|
|
114
|
+
ancient greek and greeklish
|
|
115
|
+
email:
|
|
116
|
+
- shamangeorge@fruitopology.net
|
|
117
|
+
- demetra@fruitopology.net
|
|
118
|
+
executables:
|
|
119
|
+
- atono
|
|
120
|
+
- greeklish
|
|
121
|
+
extensions: []
|
|
122
|
+
extra_rdoc_files: []
|
|
123
|
+
files:
|
|
124
|
+
- CHANGELOG.md
|
|
125
|
+
- Gemfile
|
|
126
|
+
- LICENSE
|
|
127
|
+
- README.md
|
|
128
|
+
- Rakefile
|
|
129
|
+
- bin/console
|
|
130
|
+
- bin/setup
|
|
131
|
+
- exe/atono
|
|
132
|
+
- exe/greeklish
|
|
133
|
+
- greek-i18n.gemspec
|
|
134
|
+
- lib/greek/i18n.rb
|
|
135
|
+
- lib/greek/i18n/version.rb
|
|
136
|
+
- locales/ancient_greeklish.yml
|
|
137
|
+
- locales/atono.yml
|
|
138
|
+
- locales/greeklish.yml
|
|
139
|
+
homepage: https://damos.fruitopology.net/agora/greek-i18n
|
|
140
|
+
licenses:
|
|
141
|
+
- MIT
|
|
142
|
+
metadata: {}
|
|
143
|
+
post_install_message:
|
|
144
|
+
rdoc_options: []
|
|
145
|
+
require_paths:
|
|
146
|
+
- lib
|
|
147
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
148
|
+
requirements:
|
|
149
|
+
- - ">="
|
|
150
|
+
- !ruby/object:Gem::Version
|
|
151
|
+
version: '0'
|
|
152
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
|
+
requirements:
|
|
154
|
+
- - ">="
|
|
155
|
+
- !ruby/object:Gem::Version
|
|
156
|
+
version: '0'
|
|
157
|
+
requirements: []
|
|
158
|
+
rubyforge_project:
|
|
159
|
+
rubygems_version: 2.7.7
|
|
160
|
+
signing_key:
|
|
161
|
+
specification_version: 4
|
|
162
|
+
summary: i18n greek transliteration locales
|
|
163
|
+
test_files: []
|