bootpay 1.0.6 → 1.0.9

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
  SHA256:
3
- metadata.gz: 62000bbd11d35179e8c378660dcb69ea6ef76f210b456e739e60c65f0400bcc7
4
- data.tar.gz: 5e2c39cfe97cebecb17a1caa296ed47ee07688bc2849a573260f33a42d70d357
3
+ metadata.gz: 3eb10bcc2cbb6a72251c867f80e7dc139528feeb542c131f5bc7e0f584550706
4
+ data.tar.gz: 78f4e2b5e64a77c27416cc7c4bc6b4ce674395f2b112ac8b1a4bee6605c8064f
5
5
  SHA512:
6
- metadata.gz: 1efc1b4ae4873f145e0aa9345b3e70eb71c495d203d2a54cc43e8fea7237b7cf455ee56423763e79231072f1b7bcee37811421a26792887991e0532761c06e87
7
- data.tar.gz: 4833950cb2fb366a831fc2c79991b733e4c532becdbce662244348ad58477031799edc453e6911384b6bfb45a1052f6ab83c3e2eec7dc8f82b6dce31088b1227
6
+ metadata.gz: ef40d4391980eed446b9e4bad9a13bfed76dc8588bc64bf0c7e8856fbab6d403b068ec764b691808b6eaf3f4f9fc1fc50479788f25bd60f3ff8d9742dd2647e7
7
+ data.tar.gz: fe92f9724612f87bb3adbc7660cd1e34fd6792f137aaebc232e226157213f2731eaff5606a54dc701f1e29b0d430b98f4d4cb33d67506efe64fad94d1d1c901c
data/.gitignore CHANGED
@@ -13,3 +13,5 @@
13
13
  *.idea
14
14
  *.iml
15
15
  Gemfile.lock
16
+ *.gem
17
+ *.rspec
data/bootpay.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.require_paths = ["lib"]
33
33
 
34
34
  # Uncomment to register a new dependency of your gem
35
- spec.add_dependency "activesupport", "~> 6.0"
35
+ spec.add_dependency "activesupport", "~> 7.0"
36
36
  spec.add_dependency "http"
37
37
  # spec.add_dependency "example-gem", "~> 1.0"
38
38
 
@@ -1,4 +1,3 @@
1
-
2
1
  # bootpay dev api
3
2
  # Comment by Gosomi
4
3
  # Date: 2020-06-18
@@ -9,9 +8,24 @@ module Bootpay::PaymentResource
9
8
  included do
10
9
  def update_pg_resource(data)
11
10
  request(
12
- uri: 'project/payment',
11
+ uri: 'project/payment',
13
12
  payload: data
14
13
  )
15
14
  end
15
+
16
+ #----------------------------------------------------------
17
+ # 새로운 웹훅을 실행한다
18
+ # Comment by Gosomi
19
+ # Date: 2021-12-21
20
+ #----------------------------------------------------------
21
+ def create_webhook(receipt_id:, webhook_url:)
22
+ request(
23
+ uri: 'webhook',
24
+ payload: {
25
+ receipt_id: receipt_id,
26
+ webhook_url: webhook_url
27
+ }
28
+ )
29
+ end
16
30
  end
17
31
  end
@@ -1,25 +1,25 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bootpay
4
- VERSION = "1.0.6"
4
+ VERSION = "1.0.9"
5
5
  BANKCODE = {
6
- "한국은행" => "001",
7
- "기업은행" => "003",
8
- "국민은행" => "004",
9
- "외환은행" => "005",
10
- "수협은행" => "007",
11
- "농협은행" => "011",
12
- "우리은행" => "020",
13
- "SC은행" => "023",
14
- "대구은행" => "031",
15
- "부산은행" => "032",
16
- "광주은행" => "034",
17
- "경남은행" => "039",
18
- "우체국" => "071",
6
+ "한국은행" => "001",
7
+ "기업은행" => "003",
8
+ "국민은행" => "004",
9
+ "외환은행" => "005",
10
+ "수협은행" => "007",
11
+ "농협은행" => "011",
12
+ "우리은행" => "020",
13
+ "SC은행" => "023",
14
+ "대구은행" => "031",
15
+ "부산은행" => "032",
16
+ "광주은행" => "034",
17
+ "경남은행" => "039",
18
+ "우체국" => "071",
19
19
  "KEB하나은행" => "081",
20
- "신한은행" => "088",
21
- "케이뱅크" => "089",
22
- "카카오뱅크" => "090",
20
+ "신한은행" => "088",
21
+ "케이뱅크" => "089",
22
+ "카카오뱅크" => "090",
23
23
  }
24
24
  end
25
25
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - bootpay
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-09 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.0'
19
+ version: '7.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '6.0'
26
+ version: '7.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: http
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -45,9 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - ".DS_Store"
49
48
  - ".gitignore"
50
- - ".rspec"
51
49
  - CHANGELOG.md
52
50
  - CODE_OF_CONDUCT.md
53
51
  - Gemfile
@@ -56,16 +54,8 @@ files:
56
54
  - Rakefile
57
55
  - bin/console
58
56
  - bin/setup
59
- - bootpay-1.0.0.gem
60
- - bootpay-1.0.1.gem
61
- - bootpay-1.0.2.gem
62
- - bootpay-1.0.3.gem
63
- - bootpay-1.0.4.gem
64
- - bootpay-1.0.5.gem
65
57
  - bootpay.gemspec
66
- - lib/.DS_Store
67
58
  - lib/bootpay.rb
68
- - lib/bootpay/.DS_Store
69
59
  - lib/bootpay/billing.rb
70
60
  - lib/bootpay/bootpay.rb
71
61
  - lib/bootpay/cancel.rb
@@ -101,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
91
  - !ruby/object:Gem::Version
102
92
  version: '0'
103
93
  requirements: []
104
- rubygems_version: 3.2.19
94
+ rubygems_version: 3.3.3
105
95
  signing_key:
106
96
  specification_version: 4
107
97
  summary: Bootpay server side plugin for ruby
data/.DS_Store DELETED
Binary file
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --require spec_helper
data/bootpay-1.0.0.gem DELETED
Binary file
data/bootpay-1.0.1.gem DELETED
Binary file
data/bootpay-1.0.2.gem DELETED
Binary file
data/bootpay-1.0.3.gem DELETED
Binary file
data/bootpay-1.0.4.gem DELETED
Binary file
data/bootpay-1.0.5.gem DELETED
Binary file
data/lib/.DS_Store DELETED
Binary file
Binary file