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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e24da01eb6097f7b8a23c4deb7a6ebcf4f1c8db
4
- data.tar.gz: 7672b78105650cca1f375ff11ec3e2cb9358d11c
3
+ metadata.gz: 517a67c9c0d1c70125d888ba8d4ae449506165e9
4
+ data.tar.gz: d10047af248a51e99a35b97063285e38dc48f7d3
5
5
  SHA512:
6
- metadata.gz: 1ef76201866389a407231cb4b914415c4603c961119a233c6d011d7a2cf150c255253851b6975459e9324d57b560780bd4ac7c5969740fa390ffb397775478dc
7
- data.tar.gz: 6e495b4b7eb70a5d2bd8bf6a0f07431b2043870f75746b72cb7f52174572a3ea59104d6d97b213e629dd415d97f1a64f81dee85779854a440768de7ce98c542f
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.5'
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.add_runtime_dependency 'rltk', '>= 3.0.0'
26
- spec.add_development_dependency 'bundler', '~> 1.8'
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(/^\p{Hangul}+( +\p{Hangul}+)*?$/) { |t|
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.5
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-06-19 00:00:00.000000000 Z
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.8'
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.8'
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.7
99
+ rubygems_version: 2.4.8
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Parsing credit card SMS messages