paypal_client 0.3.1 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ruby.yml +43 -0
- data/.travis.yml +5 -5
- data/CHANGELOG.md +9 -0
- data/LICENSE.txt +21 -0
- data/lib/paypal_client/version.rb +1 -1
- data/paypal_client.gemspec +3 -4
- metadata +16 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 97c54676a4e9635c4673b543fbc01cbeedc05affbfc55925f7effc49d974e39f
|
4
|
+
data.tar.gz: 3e50f2e49d32e7a0168e3121f25c9eb67c2078effbffbc2d2ced3da9b61567af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39858f1d877bb5ad46d9f1aa14bef437b305d49363c85cb76e635955d1ae0662739168ae01580fe4b9bdcbc9f61d82f1a0b10e325726eb91c20810fe59860e6d
|
7
|
+
data.tar.gz: fcf2fc33610edb12e441252736ce0937a66dc66d173f7c615a388e30273fb36e4c62298d3181b0bc51d65118b9fd8849aeef06dd4f6192991a22fc0c5c1dc879
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: Ruby
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches: [ "master" ]
|
13
|
+
pull_request:
|
14
|
+
branches: [ "master" ]
|
15
|
+
|
16
|
+
permissions:
|
17
|
+
contents: read
|
18
|
+
|
19
|
+
env:
|
20
|
+
ACTIVESUPPORT_VERSION: '4.2.11'
|
21
|
+
PAYPAL_CLIENT_ID: paypal_id
|
22
|
+
PAYPAL_CLIENT_SECRET: so_secret
|
23
|
+
|
24
|
+
jobs:
|
25
|
+
test:
|
26
|
+
|
27
|
+
runs-on: ubuntu-latest
|
28
|
+
strategy:
|
29
|
+
matrix:
|
30
|
+
ruby-version: ['2.6', '2.7', '3.0']
|
31
|
+
|
32
|
+
steps:
|
33
|
+
- uses: actions/checkout@v3
|
34
|
+
- name: Set up Ruby
|
35
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
36
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
37
|
+
# uses: ruby/setup-ruby@v1
|
38
|
+
uses: ruby/setup-ruby@0a29871fe2b0200a17a4497bae54fe5df0d973aa # v1.115.3
|
39
|
+
with:
|
40
|
+
ruby-version: ${{ matrix.ruby-version }}
|
41
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
42
|
+
- name: Run tests (integration excluded)
|
43
|
+
run: bundle exec rspec --exclude-pattern "spec/integration/*"
|
data/.travis.yml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
sudo: false
|
2
2
|
language: ruby
|
3
3
|
rvm:
|
4
|
-
- 2.
|
5
|
-
- 2.
|
6
|
-
- 2.5
|
7
|
-
- 2.
|
4
|
+
- 2.4.9
|
5
|
+
- 2.5.6
|
6
|
+
- 2.6.5
|
7
|
+
- 2.7.0
|
8
8
|
env:
|
9
9
|
- ACTIVESUPPORT_VERSION='> 5'
|
10
10
|
- ACTIVESUPPORT_VERSION=4.2.11
|
11
11
|
|
12
|
-
before_install: gem install bundler
|
12
|
+
before_install: gem install bundler
|
13
13
|
matrix:
|
14
14
|
fast_finish: true
|
15
15
|
script:
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.4.1 - 27-05-2021
|
4
|
+
* Update faraday dependencies
|
5
|
+
|
6
|
+
## 0.4.0 - 02-03-2020
|
7
|
+
* [#4] (https://github.com/dennisvdvliet/paypal_client/pull/4) Maintenance update
|
8
|
+
- Update rake gem in response to: https://github.com/advisories/GHSA-jppv-gw3r-w3q8
|
9
|
+
- Update build matrix
|
10
|
+
- Do not build for ruby 2.3.x since this version is end-of-life
|
11
|
+
- Remove bundler version constraint from gemspec
|
3
12
|
## 0.3.1 - 08-01-2019
|
4
13
|
* [#3](https://github.com/dennisvdvliet/paypal_client/pull/3) Make error messages in exception more useful
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2022 Dennis van der Vliet
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/paypal_client.gemspec
CHANGED
@@ -29,11 +29,10 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.require_paths = ['lib']
|
30
30
|
|
31
31
|
spec.add_dependency 'activesupport', "#{(ENV['ACTIVESUPPORT_VERSION'] || '> 4.2.8')}"
|
32
|
-
spec.add_dependency 'faraday', '~>
|
33
|
-
spec.add_dependency 'faraday_middleware', '~>
|
32
|
+
spec.add_dependency 'faraday', '~> 1.4'
|
33
|
+
spec.add_dependency 'faraday_middleware', '~> 1'
|
34
34
|
|
35
|
-
spec.add_development_dependency '
|
36
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
35
|
+
spec.add_development_dependency 'rake', '>= 12.3.3'
|
37
36
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
38
37
|
|
39
38
|
spec.required_ruby_version = '>= 2.3'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paypal_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dennis van der Vliet
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -30,56 +30,42 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: faraday_middleware
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: bundler
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.16'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.16'
|
54
|
+
version: '1'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rake
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- - "
|
59
|
+
- - ">="
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
61
|
+
version: 12.3.3
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
|
-
- - "
|
66
|
+
- - ">="
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
68
|
+
version: 12.3.3
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rspec
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -102,12 +88,14 @@ executables: []
|
|
102
88
|
extensions: []
|
103
89
|
extra_rdoc_files: []
|
104
90
|
files:
|
91
|
+
- ".github/workflows/ruby.yml"
|
105
92
|
- ".gitignore"
|
106
93
|
- ".rspec"
|
107
94
|
- ".travis.yml"
|
108
95
|
- CHANGELOG.md
|
109
96
|
- CODE_OF_CONDUCT.md
|
110
97
|
- Gemfile
|
98
|
+
- LICENSE.txt
|
111
99
|
- README.md
|
112
100
|
- Rakefile
|
113
101
|
- bin/console
|
@@ -120,7 +108,7 @@ homepage: https://github.com/dennisvdvliet/paypal_client
|
|
120
108
|
licenses: []
|
121
109
|
metadata:
|
122
110
|
allowed_push_host: https://rubygems.org
|
123
|
-
post_install_message:
|
111
|
+
post_install_message:
|
124
112
|
rdoc_options: []
|
125
113
|
require_paths:
|
126
114
|
- lib
|
@@ -135,9 +123,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
123
|
- !ruby/object:Gem::Version
|
136
124
|
version: '0'
|
137
125
|
requirements: []
|
138
|
-
|
139
|
-
|
140
|
-
signing_key:
|
126
|
+
rubygems_version: 3.3.11
|
127
|
+
signing_key:
|
141
128
|
specification_version: 4
|
142
129
|
summary: API Client for the PayPal REST API
|
143
130
|
test_files: []
|