fawry 1.4.0 → 1.4.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 +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/workflows/codeql-analysis.yml +70 -0
- data/.github/workflows/ruby.yml +2 -2
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +14 -8
- data/README.md +2 -4
- data/lib/fawry/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ceeba4660bac627fe2be38b051bdc2b1d5c07db74fbd1373ab363b5e4e616e9
|
|
4
|
+
data.tar.gz: 28228c7e057417166257b129de55a48918f33142a5f0ec0fa715a9962be54bfe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 936ec7e35ab66a3153882cc916c76d9f72caf216e8f6d910d753b8d0133551235cfe409b0ff9846abdfa3fa112784f703e44830da5a29f46a4d14d2bf9bb9f75
|
|
7
|
+
data.tar.gz: 3c1d857be36e7d8c97691500a861ded813b3eb811aa5530ae492298fb61b6b456bc529c7561eb6107845fe600ae0bdc1792d3bf79c1373e7880b858a5d4d4a19
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Describe the bug**
|
|
11
|
+
A clear and concise description of what the bug is.
|
|
12
|
+
|
|
13
|
+
**To Reproduce**
|
|
14
|
+
Steps to reproduce the behavior:
|
|
15
|
+
1. Go to '...'
|
|
16
|
+
2. Click on '....'
|
|
17
|
+
3. Scroll down to '....'
|
|
18
|
+
4. See error
|
|
19
|
+
|
|
20
|
+
**Expected behavior**
|
|
21
|
+
A clear and concise description of what you expected to happen.
|
|
22
|
+
|
|
23
|
+
**Screenshots**
|
|
24
|
+
If applicable, add screenshots to help explain your problem.
|
|
25
|
+
|
|
26
|
+
**Desktop (please complete the following information):**
|
|
27
|
+
- OS: [e.g. iOS]
|
|
28
|
+
- Browser [e.g. chrome, safari]
|
|
29
|
+
- Version [e.g. 22]
|
|
30
|
+
|
|
31
|
+
**Smartphone (please complete the following information):**
|
|
32
|
+
- Device: [e.g. iPhone6]
|
|
33
|
+
- OS: [e.g. iOS8.1]
|
|
34
|
+
- Browser [e.g. stock browser, safari]
|
|
35
|
+
- Version [e.g. 22]
|
|
36
|
+
|
|
37
|
+
**Additional context**
|
|
38
|
+
Add any other context about the problem here.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request
|
|
3
|
+
about: Suggest an idea for this project
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
12
|
+
|
|
13
|
+
**Describe the solution you'd like**
|
|
14
|
+
A clear and concise description of what you want to happen.
|
|
15
|
+
|
|
16
|
+
**Describe alternatives you've considered**
|
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
|
18
|
+
|
|
19
|
+
**Additional context**
|
|
20
|
+
Add any other context or screenshots about the feature request here.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
+
# to commit it to your repository.
|
|
3
|
+
#
|
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
+
# or to provide custom queries or build logic.
|
|
6
|
+
#
|
|
7
|
+
# ******** NOTE ********
|
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
+
# supported CodeQL languages.
|
|
11
|
+
#
|
|
12
|
+
name: "CodeQL"
|
|
13
|
+
|
|
14
|
+
on:
|
|
15
|
+
push:
|
|
16
|
+
branches: [ main ]
|
|
17
|
+
pull_request:
|
|
18
|
+
# The branches below must be a subset of the branches above
|
|
19
|
+
branches: [ main ]
|
|
20
|
+
schedule:
|
|
21
|
+
- cron: '38 19 * * 0'
|
|
22
|
+
|
|
23
|
+
jobs:
|
|
24
|
+
analyze:
|
|
25
|
+
name: Analyze
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
permissions:
|
|
28
|
+
actions: read
|
|
29
|
+
contents: read
|
|
30
|
+
security-events: write
|
|
31
|
+
|
|
32
|
+
strategy:
|
|
33
|
+
fail-fast: false
|
|
34
|
+
matrix:
|
|
35
|
+
language: [ 'ruby' ]
|
|
36
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
|
37
|
+
# Learn more about CodeQL language support at https://git.io/codeql-language-support
|
|
38
|
+
|
|
39
|
+
steps:
|
|
40
|
+
- name: Checkout repository
|
|
41
|
+
uses: actions/checkout@v2
|
|
42
|
+
|
|
43
|
+
# Initializes the CodeQL tools for scanning.
|
|
44
|
+
- name: Initialize CodeQL
|
|
45
|
+
uses: github/codeql-action/init@v1
|
|
46
|
+
with:
|
|
47
|
+
languages: ${{ matrix.language }}
|
|
48
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
49
|
+
# By default, queries listed here will override any specified in a config file.
|
|
50
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
51
|
+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
|
52
|
+
|
|
53
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
54
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
|
55
|
+
- name: Autobuild
|
|
56
|
+
uses: github/codeql-action/autobuild@v1
|
|
57
|
+
|
|
58
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
|
59
|
+
# 📚 https://git.io/JvXDl
|
|
60
|
+
|
|
61
|
+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
|
62
|
+
# and modify them (or add more) to build your code if your project
|
|
63
|
+
# uses a compiled language
|
|
64
|
+
|
|
65
|
+
#- run: |
|
|
66
|
+
# make bootstrap
|
|
67
|
+
# make release
|
|
68
|
+
|
|
69
|
+
- name: Perform CodeQL Analysis
|
|
70
|
+
uses: github/codeql-action/analyze@v1
|
data/.github/workflows/ruby.yml
CHANGED
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
19
19
|
runs-on: ubuntu-latest
|
|
20
20
|
strategy:
|
|
21
21
|
matrix:
|
|
22
|
-
ruby-version: [
|
|
22
|
+
ruby-version: [2.6, 2.7, '3.0', 3.1]
|
|
23
23
|
|
|
24
24
|
steps:
|
|
25
25
|
- uses: actions/checkout@v2
|
|
@@ -27,7 +27,7 @@ jobs:
|
|
|
27
27
|
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
28
28
|
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
|
29
29
|
# uses: ruby/setup-ruby@v1
|
|
30
|
-
uses: ruby/setup-ruby@
|
|
30
|
+
uses: ruby/setup-ruby@v1
|
|
31
31
|
with:
|
|
32
32
|
ruby-version: ${{ matrix.ruby-version }}
|
|
33
33
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
fawry (1.4.
|
|
4
|
+
fawry (1.4.1)
|
|
5
5
|
dry-validation (~> 1.7)
|
|
6
6
|
faraday (~> 1.8)
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ GEM
|
|
|
12
12
|
public_suffix (>= 2.0.2, < 5.0)
|
|
13
13
|
ast (2.4.2)
|
|
14
14
|
byebug (11.1.3)
|
|
15
|
-
concurrent-ruby (1.
|
|
15
|
+
concurrent-ruby (1.2.2)
|
|
16
16
|
crack (0.4.5)
|
|
17
17
|
rexml
|
|
18
18
|
diff-lcs (1.5.0)
|
|
@@ -48,27 +48,31 @@ GEM
|
|
|
48
48
|
dry-core (~> 0.5, >= 0.5)
|
|
49
49
|
dry-initializer (~> 3.0)
|
|
50
50
|
dry-schema (~> 1.8, >= 1.8.0)
|
|
51
|
-
faraday (1.
|
|
51
|
+
faraday (1.10.3)
|
|
52
52
|
faraday-em_http (~> 1.0)
|
|
53
53
|
faraday-em_synchrony (~> 1.0)
|
|
54
54
|
faraday-excon (~> 1.1)
|
|
55
|
-
faraday-httpclient (~> 1.0
|
|
55
|
+
faraday-httpclient (~> 1.0)
|
|
56
|
+
faraday-multipart (~> 1.0)
|
|
56
57
|
faraday-net_http (~> 1.0)
|
|
57
|
-
faraday-net_http_persistent (~> 1.
|
|
58
|
+
faraday-net_http_persistent (~> 1.0)
|
|
58
59
|
faraday-patron (~> 1.0)
|
|
59
60
|
faraday-rack (~> 1.0)
|
|
60
|
-
|
|
61
|
+
faraday-retry (~> 1.0)
|
|
61
62
|
ruby2_keywords (>= 0.0.4)
|
|
62
63
|
faraday-em_http (1.0.0)
|
|
63
64
|
faraday-em_synchrony (1.0.0)
|
|
64
65
|
faraday-excon (1.1.0)
|
|
65
66
|
faraday-httpclient (1.0.1)
|
|
67
|
+
faraday-multipart (1.0.4)
|
|
68
|
+
multipart-post (~> 2)
|
|
66
69
|
faraday-net_http (1.0.1)
|
|
67
70
|
faraday-net_http_persistent (1.2.0)
|
|
68
71
|
faraday-patron (1.0.0)
|
|
69
72
|
faraday-rack (1.0.0)
|
|
73
|
+
faraday-retry (1.0.3)
|
|
70
74
|
hashdiff (1.0.1)
|
|
71
|
-
multipart-post (2.
|
|
75
|
+
multipart-post (2.3.0)
|
|
72
76
|
parallel (1.21.0)
|
|
73
77
|
parser (3.0.3.2)
|
|
74
78
|
ast (~> 2.4.1)
|
|
@@ -76,7 +80,8 @@ GEM
|
|
|
76
80
|
rainbow (3.0.0)
|
|
77
81
|
rake (13.0.6)
|
|
78
82
|
regexp_parser (2.2.0)
|
|
79
|
-
rexml (3.
|
|
83
|
+
rexml (3.3.3)
|
|
84
|
+
strscan
|
|
80
85
|
rspec (3.10.0)
|
|
81
86
|
rspec-core (~> 3.10.0)
|
|
82
87
|
rspec-expectations (~> 3.10.0)
|
|
@@ -105,6 +110,7 @@ GEM
|
|
|
105
110
|
parser (>= 3.0.1.1)
|
|
106
111
|
ruby-progressbar (1.11.0)
|
|
107
112
|
ruby2_keywords (0.0.5)
|
|
113
|
+
strscan (3.1.0)
|
|
108
114
|
unicode-display_width (2.1.0)
|
|
109
115
|
webmock (3.14.0)
|
|
110
116
|
addressable (>= 2.8.0)
|
data/README.md
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
[](https://circleci.com/gh/fawry-api/fawry)
|
|
2
|
-
|
|
3
1
|
# Fawry
|
|
4
2
|
|
|
5
3
|
[README - متوفر باللغة العربية](https://github.com/fawry-api/fawry/blob/master/README-ar.md)
|
|
@@ -10,7 +8,7 @@ A plug-and-play library that makes interfacing with Fawry's payment gateway API
|
|
|
10
8
|
|
|
11
9
|
_Fawry's production and sandbox environments are supported._
|
|
12
10
|
|
|
13
|
-
_This library is tested on Ruby v2.6, 2.7, 3.
|
|
11
|
+
_This library is tested on Ruby v2.6, 2.7, 3.0, 3.1_
|
|
14
12
|
|
|
15
13
|
## Installation
|
|
16
14
|
|
|
@@ -184,4 +182,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
184
182
|
|
|
185
183
|
## Contributing
|
|
186
184
|
|
|
187
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
185
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/fawry-api/fawry. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/lib/fawry/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fawry
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amr El Bakry
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-08-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dry-validation
|
|
@@ -143,6 +143,9 @@ executables: []
|
|
|
143
143
|
extensions: []
|
|
144
144
|
extra_rdoc_files: []
|
|
145
145
|
files:
|
|
146
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
|
147
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
|
148
|
+
- ".github/workflows/codeql-analysis.yml"
|
|
146
149
|
- ".github/workflows/ruby.yml"
|
|
147
150
|
- ".gitignore"
|
|
148
151
|
- ".rspec"
|
|
@@ -201,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
201
204
|
- !ruby/object:Gem::Version
|
|
202
205
|
version: '0'
|
|
203
206
|
requirements: []
|
|
204
|
-
rubygems_version: 3.
|
|
207
|
+
rubygems_version: 3.4.10
|
|
205
208
|
signing_key:
|
|
206
209
|
specification_version: 4
|
|
207
210
|
summary: A library to interface with Fawry's payment gateway API (charge, refund,
|