credit-card-sms-parser 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e4149648b6e301f6e8aa239353fa906e6d407b9
4
- data.tar.gz: 934b1c08e284403ab362fa7dc84a5e80a9ab0e43
3
+ metadata.gz: 20734c5e150cdf48a2e3fb61d4fbfdfe4881e01f
4
+ data.tar.gz: 3230283a766dab34dd66f3fbfbb00029f0e0b90f
5
5
  SHA512:
6
- metadata.gz: 85b423130ccf96dc704dd2a5c35d717b8527b23eb43c2fd782ecd26ecaed6769043ae1d43545c32f71a59751d65bf84cd240697b7c3e021e4efc8fcdf633ec69
7
- data.tar.gz: f51a10e44b7d21c71f5f6e816e0775b23b07c14a58bbe517d6886060e3d2eedb6521b393e2b22782022b8db210147c38cb0a6b6a946d58c5a39d7a1c8ed01f56
6
+ metadata.gz: f3fa1d33552a3769621ed5c61016f67119e25fe5520909879562330a4875c61eaaba69cefc6435a6dae0cbcb042a24a6706811f1974881655181f99eba352db7
7
+ data.tar.gz: 440b99c08d7e8aaf1020c188ece9784f65a1be9b793bb4bf5e83e1a79a1c6b4c21c4868bf0998ab6578a085f0bf8deb7d8a17b2c02317a7be529498f6e363b69
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- credit-card-sms-parser (0.0.5)
4
+ credit-card-sms-parser (0.0.6)
5
5
  rltk
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,2 +1,26 @@
1
1
  # credit-card-sms-parser
2
+ [![Gem Version](https://badge.fury.io/rb/credit-card-sms-parser.svg)](http://badge.fury.io/rb/credit-card-sms-parser)
3
+
2
4
  신용카드 회사에서 보내주는 sms 문자열을 읽어서 `가게명`, `사용금액`, `누적사용금액` 정보들을 추출해줍니다.
5
+
6
+ ## 사용방법
7
+ ```
8
+ $ gem install credit-card-sms-parser
9
+ $ pry
10
+ [1] pry(main)> require 'credit_card_sms_parser'
11
+ => true
12
+ [2] pry(main)> include CreditCardSmsParser
13
+ => Object
14
+ [3] pry(main)> parse_sms('18001111', '하나(6*8*)***님 04/06 15:26 씨유판교 일시불/3,500원/누적-4,645
15
+ => {:CARD=>"하나(6*8*)",
16
+ :DATE=>"04/06",
17
+ :TIME=>"15:26",
18
+ :SHOP=>"씨유판교",
19
+ :MONEY=>4645,
20
+ :card_name=>"하나카드"}
21
+ ```
22
+
23
+ ## 현재까지 지원하는(걸로 추정되는) 카드사
24
+ * 현대카드
25
+ * 하나SK카드
26
+ * 국민카드
@@ -4,12 +4,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = 'credit-card-sms-parser'
7
- gem.version = '0.0.5'
7
+ gem.version = '0.0.6'
8
8
  gem.licenses = %w(MIT)
9
9
  gem.authors = %w(Hanson Benjamin)
10
10
  gem.email = %w(jehokim@live.com)
11
- gem.description = %q{credit-card-sms-parser}
12
- gem.summary = %q{It parses all Korean credit card messages.}
11
+ gem.description = 'It parses out the SMS notifications for each credit (or debit) transaction, allowing you to collect the following information: transaction amount, name of credit card company, payee (store), total amount. For the time being, support is limited to Korean credit card companies only.'
12
+ gem.summary = 'Parsing credit card SMS messages'
13
13
  gem.homepage = 'https://github.com/kakao/credit-card-sms-parser'
14
14
  gem.metadata['allowed_push_host'] = 'https://rubygems.org'
15
15
 
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.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hanson
@@ -25,7 +25,10 @@ dependencies:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
- description: credit-card-sms-parser
28
+ description: 'It parses out the SMS notifications for each credit (or debit) transaction,
29
+ allowing you to collect the following information: transaction amount, name of credit
30
+ card company, payee (store), total amount. For the time being, support is limited
31
+ to Korean credit card companies only.'
29
32
  email:
30
33
  - jehokim@live.com
31
34
  executables: []
@@ -65,6 +68,6 @@ rubyforge_project:
65
68
  rubygems_version: 2.4.6
66
69
  signing_key:
67
70
  specification_version: 4
68
- summary: It parses all Korean credit card messages.
71
+ summary: Parsing credit card SMS messages
69
72
  test_files:
70
73
  - test/test_credit_card_sms_parser.rb