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 +4 -4
- data/Gemfile.lock +3 -1
- data/lib/tagabaybay.rb +1 -3
- data/lib/tagabaybay/version.rb +1 -1
- data/tagabaybay.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c5fd903bde6d49bdbb0fd80ffefc8e1a52f0bce6bde87457b2875ed73f1390d
|
4
|
+
data.tar.gz: 5ffec9fa56389a3ee0d8ad7e5029fc1739b5430ab610d3005dba9472d380406d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
|
142
|
-
matched
|
140
|
+
matched || [text[0], text[0]]
|
143
141
|
end
|
144
142
|
end
|
145
143
|
end
|
data/lib/tagabaybay/version.rb
CHANGED
data/tagabaybay.gemspec
CHANGED
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.
|
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-
|
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
|