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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c06b0c32b7d109557cf9b154a7812e30364cba0e3a5b11f60414f8eab4958d94
4
- data.tar.gz: 80acf05a755efa9356a116144b9d58ba99ab38a10360db8aea33b20f16c639c4
3
+ metadata.gz: ce4b7b104e53b0e56816e2c8c3f1a981ead3bea20900376fe1edf1f6832fccf2
4
+ data.tar.gz: 17c55b30e3bd9ab5963c652e97b6acd48b52d75aa604268b67e1570c057a101c
5
5
  SHA512:
6
- metadata.gz: edd6ec30087938df343b18308455b92ad8fdc72038aed09e62e577a1d14b37d10407dfa6e8e0af70fd336eff6374a6624ea9cb3a8c429f81170c9c0cfccaf628
7
- data.tar.gz: '083e33f1622314f31279462c22eba47b62fec9a357562e16cc9ff7d3eeefcbf2ac8cf46fb517438f3dfe2cbd9a32d0e7873426ee091ac1bd4c60a2c1b8efcf8d'
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- medieval_latina (1.0.5)
4
+ medieval_latina (1.0.10)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -52,4 +52,4 @@ DEPENDENCIES
52
52
  standard
53
53
 
54
54
  BUNDLED WITH
55
- 2.1.2
55
+ 2.2.13
data/README.md CHANGED
@@ -22,10 +22,10 @@ Or install it yourself as:
22
22
  ## Usage
23
23
 
24
24
  ```ruby
25
- ["deus", "luna", "via"].each { |word| puts MedievalLatina[word] }
26
- # "dayoos"
27
- # "loonah"
28
- # "veeah"
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
@@ -37,7 +37,7 @@ class MedievalLatina
37
37
  j: ->(rest) { "y" },
38
38
  x: ->(rest) { "ks" }
39
39
  }
40
- CONSONENT_TEAMS = {qu: "kw"}
40
+ CONSONENT_TEAMS = {gn: "n-y", qu: "kw"}
41
41
  SOFT_C = ["e", "i", "ae", "oe"]
42
42
  SOFT_G = SOFT_C
43
43
  VOWEL_TEAMS = {ae: "ay", oe: "ay", au: "ou"}
@@ -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
- "octo" => "awk-toh"
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
@@ -1,3 +1,3 @@
1
1
  class MedievalLatina
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.10"
3
3
  end
@@ -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.3.0")
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.5
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: 2020-08-14 00:00:00.000000000 Z
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
- - ".travis.yml"
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.3.0
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.0.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: []
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- ---
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.6.2
6
- before_install: gem install bundler -v 2.1.2