medieval_latina 1.0.4 → 1.0.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c86820d59e5a49dad59f587db0a9e554c99f7bba74e3670e4afd05920635795c
4
- data.tar.gz: 6b01cf720c8613418c367cadec2eaa491bd0a9a3579e1f7aed7d776f7ff1ef0a
3
+ metadata.gz: f8c6d52f5556df5763cfd4057b281a75d332600d0296a989e1103657f7e4c023
4
+ data.tar.gz: 2afe685a09f176002e003f694b72026b99ed43a45922f65b5e26ea26a998de90
5
5
  SHA512:
6
- metadata.gz: bf8f3e4db1d90c239887dfcdb392b181857fd0d5f034d919e499443e1ae1ccfd12293752e97c0aa56511e8fec18c907a8675b5f772326e5bbf8ec3bc4d65ac2d
7
- data.tar.gz: 87ccd90570f4d763ec4363f915dc4e65baf9055ef5d9b700c55d2190c77501c0c7af9ef381b51357aefa8560c38091d14d75e4a12db55089d16e2f55e62ba042
6
+ metadata.gz: c3265632997c23be75ad13229902b6f837489849960f0e0ae3ddd65c8cf177bfc2f036a3c42d4554c208725cfafbd1f93354e7d2bf79121c2c89a5f2190c4602
7
+ data.tar.gz: a5a2effe3a04840e3415aad3215aea6817b82512333611f5d4a42870009149ce2ae1082099e2d3ec5e3c0a76e804dbe3e3fbeca898ef7e202a5eb020c6d528f2
@@ -0,0 +1,46 @@
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
+ allow_failures:
27
+ - false
28
+ include:
29
+ - os: ubuntu
30
+ ruby: ruby-head
31
+ allow_failures: true
32
+ env:
33
+ BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
34
+ ALLOW_FAILURES: "${{ matrix.allow_failures }}"
35
+ runs-on: ${{ matrix.os }}-latest
36
+ continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
37
+ steps:
38
+ - name: Checkout
39
+ uses: actions/checkout@v2
40
+ - name: Setup Ruby
41
+ uses: ruby/setup-ruby@v1
42
+ with:
43
+ ruby-version: ${{ matrix.ruby }}
44
+ bundler-cache: true
45
+ - name: Test
46
+ run: bundle exec rake spec || $ALLOW_FAILURES
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- medieval_latina (1.0.4)
4
+ medieval_latina (1.0.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -37,10 +37,10 @@ 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
- VOWEL_TEAMS = {ae: "ay", oe: "ay", au: "ow"}
43
+ VOWEL_TEAMS = {ae: "ay", oe: "ay", au: "ou"}
44
44
  VOWELS = {a: "ah", e: "ay", i: "ee", o: "oh", u: "oo"}
45
45
 
46
46
  Result = Struct.new(:substring, :increment_by)
@@ -1,6 +1,13 @@
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
+ "optime" => "op-tee-may",
11
+ "quo" => "quo"
5
12
  }.freeze
6
13
  end
@@ -1,3 +1,3 @@
1
1
  class MedievalLatina
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.9"
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.4
4
+ version: 1.0.9
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-09 00:00:00.000000000 Z
11
+ date: 2021-02-21 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,9 @@ 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
25
  - Gemfile
26
26
  - Gemfile.lock
27
27
  - LICENSE.txt
@@ -41,7 +41,7 @@ metadata:
41
41
  homepage_uri: https://github.com/jaysonvirissimo/medieval_latina
42
42
  source_code_uri: https://github.com/jaysonvirissimo/medieval_latina
43
43
  changelog_uri: https://github.com/jaysonvirissimo/medieval_latina
44
- post_install_message:
44
+ post_install_message:
45
45
  rdoc_options: []
46
46
  require_paths:
47
47
  - lib
@@ -49,7 +49,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 2.3.0
52
+ version: 2.4.0
53
53
  required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - ">="
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  version: '0'
58
58
  requirements: []
59
59
  rubygems_version: 3.0.3
60
- signing_key:
60
+ signing_key:
61
61
  specification_version: 4
62
62
  summary: Transform medieval Latin text into phonetic English
63
63
  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