tagabaybay 0.1.1 → 0.2.0

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: 12bead14dfca9241697ac2d892a0ed2ba52c7e77e3cf9ea6cc02c4a05a19eef0
4
- data.tar.gz: 729ae68f5208ef2bce03555d6241e9c0bf1539a2072b26181b6c783b6c830a3d
3
+ metadata.gz: 8c5fd903bde6d49bdbb0fd80ffefc8e1a52f0bce6bde87457b2875ed73f1390d
4
+ data.tar.gz: 5ffec9fa56389a3ee0d8ad7e5029fc1739b5430ab610d3005dba9472d380406d
5
5
  SHA512:
6
- metadata.gz: afe862187172bab10e1b72c1d2ca1cdc57a717eeb18abca9a923e3a6ab251062e8e6515307ea1275a791efdef0ea4da2e571df770d4ec515c1158cd19243e523
7
- data.tar.gz: 2d8fe20846bb210102ee7c9893f2a02ef0ef18d73a0a1a31ea2d3d2d3774943ffcb8740ed6c517b6372f6d38459b9f606c4f4c294b67eac298ead3fba2487142
6
+ metadata.gz: f27e11d3abef78ad4e032088723fb0aab2891c9c4d506899cfefb75ed6e4777fb0aba646280e8a4ee388f39307a8c2634157f1672fb94584871f740c13a704c3
7
+ data.tar.gz: 82bc7302022dcdf02b0882a751045d850bb1d71e2fc1ecb7622b9b1e0c90f408d5a12fac0f053b35c3e1a1a94259e59309a8efdbfcc60087e0dfdc1d0ae5587c
data/Gemfile.lock CHANGED
@@ -1,11 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tagabaybay (0.1.0)
4
+ tagabaybay (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
+ gem-release (2.1.1)
9
10
  minitest (5.12.2)
10
11
  rake (10.5.0)
11
12
 
@@ -14,6 +15,7 @@ PLATFORMS
14
15
 
15
16
  DEPENDENCIES
16
17
  bundler (~> 2.0)
18
+ gem-release
17
19
  minitest (~> 5.0)
18
20
  rake (~> 10.0)
19
21
  tagabaybay!
data/lib/tagabaybay.rb CHANGED
@@ -87,7 +87,6 @@ module Tagabaybay
87
87
  }
88
88
 
89
89
  SINGLES = {
90
- " " => " ",
91
90
  "a" => "ᜀ",
92
91
  "i" => "ᜁ",
93
92
  "e" => "ᜁ",
@@ -138,8 +137,7 @@ module Tagabaybay
138
137
  matched = Mapping::ALL.find do |matcher, _baybayin|
139
138
  Regexp.new("^#{matcher}") =~ text
140
139
  end
141
- raise "Unable to match mapping for #{text}" unless matched
142
- matched
140
+ matched || [text[0], text[0]]
143
141
  end
144
142
  end
145
143
  end
@@ -1,3 +1,3 @@
1
1
  module Tagabaybay
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
data/tagabaybay.gemspec CHANGED
@@ -27,4 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.add_development_dependency "bundler", "~> 2.0"
28
28
  spec.add_development_dependency "rake", "~> 10.0"
29
29
  spec.add_development_dependency "minitest", "~> 5.0"
30
+ spec.add_development_dependency "gem-release"
30
31
  end
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.1
4
+ version: 0.2.0
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-11-09 00:00:00.000000000 Z
11
+ date: 2019-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: gem-release
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  description:
56
70
  email:
57
71
  - canariasnorly@gmail.com