medieval_latina 1.0.5 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +47 -0
- data/.ruby-version +1 -0
- data/Gemfile.lock +2 -2
- data/README.md +4 -4
- data/lib/medieval_latina.rb +1 -1
- data/lib/medieval_latina/dictionary.rb +9 -1
- data/lib/medieval_latina/version.rb +1 -1
- data/medieval_latina.gemspec +1 -1
- metadata +9 -8
- data/.travis.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce4b7b104e53b0e56816e2c8c3f1a981ead3bea20900376fe1edf1f6832fccf2
|
4
|
+
data.tar.gz: 17c55b30e3bd9ab5963c652e97b6acd48b52d75aa604268b67e1570c057a101c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dffeb2275571101e70de8c83612941ab89c27f614969c77584c64ffbc9f8d1a5c09c59c4a86edda489c8a3237171eb025f908652b298426e714f5da4b4e078f
|
7
|
+
data.tar.gz: 7885e50517d8c23e5408869fd7296118951d3939f0abf2b8c1646224aef1368111d79671b07845057a200fe568343f85eba80af778305f23b6f16b9b74c3e6e2
|
@@ -0,0 +1,47 @@
|
|
1
|
+
name: Tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
push:
|
8
|
+
branches:
|
9
|
+
- master
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
unit_tests:
|
13
|
+
name: Unit Tests
|
14
|
+
if: "contains(github.event.commits[0].message, '[ci skip]') == false"
|
15
|
+
strategy:
|
16
|
+
fail-fast: false
|
17
|
+
matrix:
|
18
|
+
os:
|
19
|
+
- macos
|
20
|
+
- ubuntu
|
21
|
+
ruby:
|
22
|
+
- 2.4
|
23
|
+
- 2.5
|
24
|
+
- 2.6
|
25
|
+
- 2.7
|
26
|
+
- 3.0
|
27
|
+
allow_failures:
|
28
|
+
- false
|
29
|
+
include:
|
30
|
+
- os: ubuntu
|
31
|
+
ruby: ruby-head
|
32
|
+
allow_failures: true
|
33
|
+
env:
|
34
|
+
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
|
35
|
+
ALLOW_FAILURES: "${{ matrix.allow_failures }}"
|
36
|
+
runs-on: ${{ matrix.os }}-latest
|
37
|
+
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
|
38
|
+
steps:
|
39
|
+
- name: Checkout
|
40
|
+
uses: actions/checkout@v2
|
41
|
+
- name: Setup Ruby
|
42
|
+
uses: ruby/setup-ruby@v1
|
43
|
+
with:
|
44
|
+
ruby-version: ${{ matrix.ruby }}
|
45
|
+
bundler-cache: true
|
46
|
+
- name: Test
|
47
|
+
run: bundle exec rake spec || $ALLOW_FAILURES
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.0.0
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -22,10 +22,10 @@ Or install it yourself as:
|
|
22
22
|
## Usage
|
23
23
|
|
24
24
|
```ruby
|
25
|
-
["
|
26
|
-
# "
|
27
|
-
# "
|
28
|
-
# "
|
25
|
+
["caelum", "omnia", "pugno"].each { |word| puts MedievalLatina[word] }
|
26
|
+
# "chay-loom"
|
27
|
+
# "onm-nee-ah"
|
28
|
+
# "poon-yoh"
|
29
29
|
```
|
30
30
|
|
31
31
|
## Development
|
data/lib/medieval_latina.rb
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
class MedievalLatina
|
2
2
|
DICTIONARY = {
|
3
|
+
"alma" => "almuh",
|
4
|
+
"ego" => "ay-goh",
|
5
|
+
"et" => "ate",
|
6
|
+
"ex" => "ex",
|
3
7
|
"duo" => "doo-oh",
|
4
|
-
"
|
8
|
+
"mater" => "mah-tare",
|
9
|
+
"octo" => "awk-toh",
|
10
|
+
"omnia" => "ohm-nee-ah",
|
11
|
+
"optime" => "op-tee-may",
|
12
|
+
"quo" => "quo"
|
5
13
|
}.freeze
|
6
14
|
end
|
data/medieval_latina.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.description = description
|
16
16
|
spec.homepage = "https://github.com/jaysonvirissimo/medieval_latina"
|
17
17
|
spec.license = "MIT"
|
18
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
18
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
19
19
|
spec.metadata["allowed_push_host"] = "https://rubygems.org/"
|
20
20
|
spec.metadata["homepage_uri"] = spec.homepage
|
21
21
|
spec.metadata["source_code_uri"] = github_uri
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: medieval_latina
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jayson Virissimo
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
There are good text-to-speech engines for English and classical Latin, but none for medieval Latin.
|
@@ -19,9 +19,10 @@ executables: []
|
|
19
19
|
extensions: []
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
|
+
- ".github/workflows/tests.yml"
|
22
23
|
- ".gitignore"
|
23
24
|
- ".rspec"
|
24
|
-
- ".
|
25
|
+
- ".ruby-version"
|
25
26
|
- Gemfile
|
26
27
|
- Gemfile.lock
|
27
28
|
- LICENSE.txt
|
@@ -41,7 +42,7 @@ metadata:
|
|
41
42
|
homepage_uri: https://github.com/jaysonvirissimo/medieval_latina
|
42
43
|
source_code_uri: https://github.com/jaysonvirissimo/medieval_latina
|
43
44
|
changelog_uri: https://github.com/jaysonvirissimo/medieval_latina
|
44
|
-
post_install_message:
|
45
|
+
post_install_message:
|
45
46
|
rdoc_options: []
|
46
47
|
require_paths:
|
47
48
|
- lib
|
@@ -49,15 +50,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
49
50
|
requirements:
|
50
51
|
- - ">="
|
51
52
|
- !ruby/object:Gem::Version
|
52
|
-
version: 2.
|
53
|
+
version: 2.4.0
|
53
54
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
55
|
requirements:
|
55
56
|
- - ">="
|
56
57
|
- !ruby/object:Gem::Version
|
57
58
|
version: '0'
|
58
59
|
requirements: []
|
59
|
-
rubygems_version: 3.
|
60
|
-
signing_key:
|
60
|
+
rubygems_version: 3.2.3
|
61
|
+
signing_key:
|
61
62
|
specification_version: 4
|
62
63
|
summary: Transform medieval Latin text into phonetic English
|
63
64
|
test_files: []
|