credit-card-sms-parser 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/credit-card-sms-parser.gemspec +1 -1
- data/lib/credit_card_sms_parser.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56ca177800bede171da51a55f83d5b4838d245dc
|
4
|
+
data.tar.gz: 15e888de2909c7bf9b58dee6e7b7e2856a270a78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74162be64dab7e3feeec510de50d9a7fd4248ab8b356f26e3ff0f7f8bf3b8c45958f52f8813cc7f64449da3379e6fbbb99ab6c820be0ec8559aeb5a6b799e30a
|
7
|
+
data.tar.gz: 374c148a1eadf71d1e4dda9e1f7a99e73fb910d40d42d79e000eb8c231a5474e2d6a901de44c274321ac94b0093a329e99391c8c20b5c52864faae0a7fc77385
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'credit-card-sms-parser'
|
7
|
-
spec.version = '0.3.
|
7
|
+
spec.version = '0.3.7'
|
8
8
|
spec.authors = %w(Hanson Benjamin)
|
9
9
|
spec.email = %w(jehokim@live.com)
|
10
10
|
if spec.respond_to?(:metadata)
|
@@ -30,7 +30,7 @@ class KoreanCreditCardLexer < RLTK::Lexer
|
|
30
30
|
rule(/일시불/) { :type }
|
31
31
|
rule(/^잔액/) { :type }
|
32
32
|
rule(/주식회사\p{Hangul}+/) {|t| [:shop_name, t[4..-1]]}
|
33
|
-
rule(/^[\p{Hangul}
|
33
|
+
rule(/^[\p{Hangul}\u3000]+( +[\p{Hangul}\u3000]+)*?$/) { |t|
|
34
34
|
t.gsub!(/\u3000/,' ')
|
35
35
|
t.chomp!(' 사용')
|
36
36
|
t.chomp!(' 일시불')
|