dlocal_go 0.1.0 → 0.1.1

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: 8f9e2ff547bf6bc0042c696f0c4815d7601135cb72ec74948faca35073efb458
4
- data.tar.gz: 072cd8f884e3d1ce4947899a37b9c4e397b2e491d22b8da1ac4fcf6e6133de00
3
+ metadata.gz: 742994b45e67cb4d844d69cd4570795367e3f51fa0f6aaaa57d620679b1bbd99
4
+ data.tar.gz: 25fb5000d012caa135caa37c432ab3282d9e4a4eae875a5356aa209ce3a59836
5
5
  SHA512:
6
- metadata.gz: 508e9b4fde2d886f3b4531257e8d3e8b38519303617a0630b395cb802380458d4f5c54673f65d9e77d02d19e234a2237c7ca2b2364b7a3320cd9a4fdd909b3af
7
- data.tar.gz: 5ac6fe63c35bc31d14ed05cfd3a3200ee902e0dc6526bbae2a9ad3737986b42e162ba2d7aa63f44349c1b7b7306c26254b9392c1bf43c631c6c169fd16886f42
6
+ metadata.gz: bf2f018e82417debfb6f3108da4d0fbd4552509861ee16cb5cae9d1ffb5b068eb008d8fc2e43c994c811af188ceb042e72eff4e160e89b0bbe5a82d6882d772b
7
+ data.tar.gz: 42e6313c58bfc8ee44bedb9144f67cad7d49e90976897f3c3eb988fa46b57b6e278ba9f46c820524d2bade6d0d9f3ec2e52e66caedd924f4e5ddade9d2880db8
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## [0.1.0] - 2023-03-03
1
+ ## [0.1.0] - 03-03-2023
2
2
 
3
3
  ### Initial release
4
4
 
@@ -6,3 +6,7 @@
6
6
  - Config environment and supported countries
7
7
  - Basic client with: create_payment, get_payment, and create_refund
8
8
 
9
+ ## [0.1.1] - 03-04-2023
10
+
11
+ - Better instructions in README.md
12
+
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dlocal_go (0.1.0)
4
+ dlocal_go (0.1.1)
5
5
  http
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -13,6 +13,11 @@ If bundler is not being used to manage dependencies, install the gem by executin
13
13
 
14
14
  $ gem install dlocal_go
15
15
 
16
+ ## Preview
17
+
18
+ https://user-images.githubusercontent.com/57004457/222937723-c95ca31c-2871-4f0f-a61e-fd4c9738e75f.mp4
19
+
20
+
16
21
  ## Usage
17
22
 
18
23
  1. Configure DlocalGo in a initializer
@@ -42,6 +47,9 @@ If bundler is not being used to manage dependencies, install the gem by executin
42
47
  }
43
48
  response = DlocalGo::Client.create_payment(params)
44
49
  # If request is not successful, it will raise a DlocalGo::Error, otherwise the response will be a DlocalGo::Response::Payment object
50
+
51
+ # You might want to save the payment from the response before redirecting, so you can update the state later via a webhook (notification_url)
52
+ redirect_to response.redirect_url, allow_other_host: true
45
53
  ```
46
54
 
47
55
  - Get Payment
@@ -70,3 +78,9 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/MetaLa
70
78
  ## License
71
79
 
72
80
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
81
+
82
+ ## Authors
83
+
84
+ Made with ❤️ by MetaLabs' Team
85
+
86
+ <img width="240" alt="Screenshot 2023-03-04 at 23 10 21" src="https://user-images.githubusercontent.com/57004457/222937877-f6d26748-ff85-4907-905b-d9a4b1469daf.png">
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DlocalGo
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlocal_go
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - matiassalles99