tagabaybay 0.1.0 → 0.1.1

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: 20a9f25f0f6a48b78ce45183b70f87342bc2bfb6a08a47a90c27e6502b93098b
4
- data.tar.gz: 774aa9adbd8d91c2a57bcd9ddf29b13f25e7258d71a46e4ea6d270145fbfb588
3
+ metadata.gz: 12bead14dfca9241697ac2d892a0ed2ba52c7e77e3cf9ea6cc02c4a05a19eef0
4
+ data.tar.gz: 729ae68f5208ef2bce03555d6241e9c0bf1539a2072b26181b6c783b6c830a3d
5
5
  SHA512:
6
- metadata.gz: 252f26e70e94a334b2ce199a1522c033ead6a108e59b81f65c92daede85186d93e821a283e2d16d297ebea125ba6dea27ea1529a79fb9b96217a8f6a5b01556c
7
- data.tar.gz: f68312099a813606a35d7b2c172e32192536b0f4ae2e5672d6b01fd4b562f26d3af5553587abf22381cf2bc5c3ead9050806609f0559da768969fb2c42a7c8ed
6
+ metadata.gz: afe862187172bab10e1b72c1d2ca1cdc57a717eeb18abca9a923e3a6ab251062e8e6515307ea1275a791efdef0ea4da2e571df770d4ec515c1158cd19243e523
7
+ data.tar.gz: 2d8fe20846bb210102ee7c9893f2a02ef0ef18d73a0a1a31ea2d3d2d3774943ffcb8740ed6c517b6372f6d38459b9f606c4f4c294b67eac298ead3fba2487142
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Tagabaybay
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/tagabaybay`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ Tagabaybay lets you transliterate tagalog into baybayin.
6
4
 
7
5
  ## Installation
8
6
 
@@ -1,3 +1,3 @@
1
1
  module Tagabaybay
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/tagabaybay.rb CHANGED
@@ -87,6 +87,7 @@ module Tagabaybay
87
87
  }
88
88
 
89
89
  SINGLES = {
90
+ " " => " ",
90
91
  "a" => "ᜀ",
91
92
  "i" => "ᜁ",
92
93
  "e" => "ᜁ",
@@ -134,7 +135,7 @@ module Tagabaybay
134
135
  private
135
136
 
136
137
  def find_match(text)
137
- matched = Mapping::ALL.find do |matcher, baybayin|
138
+ matched = Mapping::ALL.find do |matcher, _baybayin|
138
139
  Regexp.new("^#{matcher}") =~ text
139
140
  end
140
141
  raise "Unable to match mapping for #{text}" unless matched
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tagabaybay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Norly Canarias
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-27 00:00:00.000000000 Z
11
+ date: 2019-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler