medieval_latina 1.0.10 → 1.0.11

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: ce4b7b104e53b0e56816e2c8c3f1a981ead3bea20900376fe1edf1f6832fccf2
4
- data.tar.gz: 17c55b30e3bd9ab5963c652e97b6acd48b52d75aa604268b67e1570c057a101c
3
+ metadata.gz: 68c84716f769586e052066391a2e4d924403552654a52cf2a93aa762aaf5351a
4
+ data.tar.gz: 1239d96938528236e373ee3a447181a61338765873a509b1cd53d2cfebbb18c9
5
5
  SHA512:
6
- metadata.gz: 3dffeb2275571101e70de8c83612941ab89c27f614969c77584c64ffbc9f8d1a5c09c59c4a86edda489c8a3237171eb025f908652b298426e714f5da4b4e078f
7
- data.tar.gz: 7885e50517d8c23e5408869fd7296118951d3939f0abf2b8c1646224aef1368111d79671b07845057a200fe568343f85eba80af778305f23b6f16b9b74c3e6e2
6
+ metadata.gz: f09bd31881983cf54db9346227e2cfba2bc568d9e6e3f48254add441104808767eec0aa9fd9d77717510b2c484238aafd5fc6f56aa58727cae48d97f29a95f09
7
+ data.tar.gz: 95f6f126cb06c5096cc89bea694c575aa9c2ffd0aa784ebecc01e669754f9b435febfaca5b857bfb1a2cf19de1f0f6a5f65dc3e18ee8b117e43523eeb71caf03
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- medieval_latina (1.0.10)
4
+ medieval_latina (1.0.11)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -13,7 +13,7 @@ GEM
13
13
  ast (~> 2.4.0)
14
14
  rainbow (3.0.0)
15
15
  rake (12.3.3)
16
- rexml (3.2.4)
16
+ rexml (3.2.5)
17
17
  rspec (3.9.0)
18
18
  rspec-core (~> 3.9.0)
19
19
  rspec-expectations (~> 3.9.0)
@@ -10,7 +10,7 @@ class MedievalLatina
10
10
 
11
11
  def initialize(word)
12
12
  @index = 0
13
- @word = word
13
+ @word = word.downcase
14
14
  end
15
15
 
16
16
  def call
@@ -74,11 +74,11 @@ class MedievalLatina
74
74
 
75
75
  def initialize(text, index)
76
76
  @character = text[index]
77
- @rest = text.chars.drop(index + 1).join
77
+ @rest = text[index + 1..-1].chars.join
78
78
  end
79
79
 
80
80
  def to_team
81
- "#{character}#{rest.chars.first}".intern
81
+ "#{character}#{rest[0]}".intern
82
82
  end
83
83
  end
84
84
 
@@ -1,3 +1,3 @@
1
1
  class MedievalLatina
2
- VERSION = "1.0.10"
2
+ VERSION = "1.0.11"
3
3
  end
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.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jayson Virissimo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-05 00:00:00.000000000 Z
11
+ date: 2021-08-17 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.