credit-card-sms-parser 0.3.5 → 0.3.6
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 +3 -3
- data/lib/credit_card_sms_parser.rb +2 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 517a67c9c0d1c70125d888ba8d4ae449506165e9
|
4
|
+
data.tar.gz: d10047af248a51e99a35b97063285e38dc48f7d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d3795ba04089b9ac2b639335e7a58277e4ab2d569eb3dad41efe20d5be3b2de0fe703e275233f844d0df8774fab99c21136c337e336c596325044cce601233
|
7
|
+
data.tar.gz: c6f51b85ecd0462f3b262388a038343e78ce97de0c2d097fde323a8899402eea3f1384c5d63515e65cf1dafd8600d8bcb8f909e8d5e61462f7cc3324da818b1a
|
@@ -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.6'
|
8
8
|
spec.authors = %w(Hanson Benjamin)
|
9
9
|
spec.email = %w(jehokim@live.com)
|
10
10
|
if spec.respond_to?(:metadata)
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
|
-
spec.
|
26
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
25
|
+
spec.add_dependency 'rltk', '>= 3.0.0'
|
26
|
+
spec.add_development_dependency 'bundler', '~> 1.10'
|
27
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
28
28
|
end
|
@@ -30,7 +30,8 @@ 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(
|
33
|
+
rule(/^[\p{Hangul},\u3000]+( +[\p{Hangul},\u3000]+)*?$/) { |t|
|
34
|
+
t.gsub!(/\u3000/,' ')
|
34
35
|
t.chomp!(' 사용')
|
35
36
|
t.chomp!(' 일시불')
|
36
37
|
t.chomp!(' 취소')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: credit-card-sms-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hanson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-09-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rltk
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '1.
|
34
|
+
version: '1.10'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '1.
|
41
|
+
version: '1.10'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rake
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.4.
|
99
|
+
rubygems_version: 2.4.8
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: Parsing credit card SMS messages
|