medieval_latina 1.0.2 → 1.0.3

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: 6b2dbf4d62fea9a0a7a3d06f6a66c3902eb85ba0605eb927c6f390c2ac7367e3
4
- data.tar.gz: 5396df26ae69ce6c0c4b3cd59d6af0b242246b31e4fac33698dc9ad1cafbb912
3
+ metadata.gz: 5d529da417665accceaa291439e59cf81defcdb3e9875a7345203dc61eb029a4
4
+ data.tar.gz: 23b2ccf873c85f4af040150987b985a4b662ad591e54dd03846cc6f54be35a17
5
5
  SHA512:
6
- metadata.gz: 3817575ebbb2313e5c0ff600f44aa6cd94b0968212490b0853293b5cd7ef787e3999c59317c10347e1f6409cd48d6e74d0e4ca79c9bf738fe9c8e9f7b2d84957
7
- data.tar.gz: 400e0dc6c1b3adff85c6e1dbcaa81f642cec74f8c1e046c107568a65e552082700156175d6690f057110981013a84584b660014e7bf62b5be03e222d75e79312
6
+ metadata.gz: b71e97d7e59e79d30965b9ac52c3da61bbecffedb05265f317dbc0a2e5710203e1f1c8643a27ef4f57e58a15908ef105ca01ed81c6ee48a03e299c81ef85bf87
7
+ data.tar.gz: 895103ff877f8ddf40a0f61f72281d0e786ba3a6b622b8dc08da154c2c73f652e69595f28e96834308e13a5764dbe822bce72eeecd41a187e897fa2ed100e03b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- medieval_latina (1.0.2)
4
+ medieval_latina (1.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -35,7 +35,7 @@ Then, run `rake spec` to run the tests.
35
35
  You can also run `bin/console` for an interactive prompt that will allow you to experiment.
36
36
 
37
37
  To install this gem onto your local machine, run `bundle exec rake install`.
38
- 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).
38
+ To release a new version, update the version number in `version.rb`, run `bin/setup` to increment the version in the lock file, 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).
39
39
  Run `standardrb --fix` before submitting any changes, to help keep the code formatting uniform.
40
40
 
41
41
  ## Contributing
@@ -3,9 +3,9 @@ require "medieval_latina/version"
3
3
 
4
4
  class MedievalLatina
5
5
  def self.[](text)
6
- text.split(" ").map do |word|
6
+ text.split(" ").map { |word|
7
7
  DICTIONARY[word.downcase] || new(word).call
8
- end.join(" ")
8
+ }.join(" ")
9
9
  end
10
10
 
11
11
  def initialize(word)
@@ -1,5 +1,6 @@
1
1
  class MedievalLatina
2
2
  DICTIONARY = {
3
- "duo" => "doo-oh"
4
- }.freeze
5
- end
3
+ "duo" => "doo-oh",
4
+ "octo" => "awk-toh"
5
+ }.freeze
6
+ end
@@ -1,3 +1,3 @@
1
1
  class MedievalLatina
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: medieval_latina
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jayson Virissimo