gocardless_pro 2.39.0 → 2.40.0

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: 990240f75515ea3d045a8f6c2441b9a059f77c394523b65345e346c0d904f9eb
4
- data.tar.gz: 2a4ec854432020da88f778b578596cec978d4c41d8df5aa2983c029ccd4becc6
3
+ metadata.gz: e651254dd1b8ee279f19b5c698c1cc0d71412186c7ffc472cd92d403c694d41f
4
+ data.tar.gz: 493fc00fae5258c12b24d6a13fff0d2c76db9948b3898a782a6cf4eb59b281c8
5
5
  SHA512:
6
- metadata.gz: f99764d38cc0c1f4119098d20c834b66fb77af86d2adf26218d2319e1d9ff6852a64054d3936714599783bf97e8f05381065f23de7c90383e2b8e5e2ac5bb364
7
- data.tar.gz: d2b6954f67518e0c26bf8ed2a219992400d58bf4959bddcf52517c3b31ccd5cbf4bd883a79f8e7b0524a3806f80b1b136300c02dd7ff99bcd9e0af14eed19571
6
+ metadata.gz: 907c66f3f805bca23f58fea3c35893b1dd7623e6003d293f04fc8afeb667268a28f0dae259bed2255b97acd8c970cacaebedfc6e8b8d49365a23def27f544aa4
7
+ data.tar.gz: 5f242c38777b4b9747fdca04e4dc335a9ffb740cc82b2af16dd21558a603786bc7cb5f80ad355423522ca2300a0bfc7664b41af20e0630bdff298d3d730ae821
@@ -0,0 +1,42 @@
1
+ name: gocardless/gocardless-pro-ruby/tests
2
+ on:
3
+ push:
4
+ branches:
5
+ - master
6
+ env:
7
+ RUBYGEM_PUBLISH_API_KEY: ${{ secrets.RUBYGEM_PUBLISH_API_KEY }}
8
+ jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
+ container:
12
+ image: ruby:${{ matrix.ruby-version }}
13
+ env:
14
+ FARADAY_VERSION: ${{ matrix.faraday-version }}
15
+ strategy:
16
+ matrix:
17
+ faraday-version:
18
+ - '2.0'
19
+ ruby-version:
20
+ - '2.6'
21
+ - '2.7'
22
+ - '3.0'
23
+ - '3.1'
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - run: bundle install && bundle exec rspec
27
+ publish:
28
+ if: contains('refs/heads/master', github.ref)
29
+ runs-on: ubuntu-latest
30
+ container:
31
+ image: ruby:2.6
32
+ needs:
33
+ - test
34
+ steps:
35
+ - uses: actions/checkout@v2
36
+ - run: |
37
+ mkdir -p $HOME/.gem
38
+ touch $HOME/.gem/credentials
39
+ chmod 0600 $HOME/.gem/credentials
40
+ printf -- "---\n:rubygems_api_key: $RUBYGEM_PUBLISH_API_KEY\n" > $HOME/.gem/credentials
41
+ gem build *.gemspec
42
+ gem push *.gem
@@ -198,7 +198,7 @@ module GoCardlessPro
198
198
  'User-Agent' => user_agent.to_s,
199
199
  'Content-Type' => 'application/json',
200
200
  'GoCardless-Client-Library' => 'gocardless-pro-ruby',
201
- 'GoCardless-Client-Version' => '2.39.0',
201
+ 'GoCardless-Client-Version' => '2.40.0',
202
202
  },
203
203
  }
204
204
  end
@@ -4,5 +4,5 @@ end
4
4
 
5
5
  module GoCardlessPro
6
6
  # Current version of the GC gem
7
- VERSION = '2.39.0'.freeze
7
+ VERSION = '2.40.0'.freeze
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gocardless_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.39.0
4
+ version: 2.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-22 00:00:00.000000000 Z
11
+ date: 2022-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -135,7 +135,7 @@ executables: []
135
135
  extensions: []
136
136
  extra_rdoc_files: []
137
137
  files:
138
- - ".circleci/config.yml"
138
+ - ".github/workflows/tests.yml"
139
139
  - ".gitignore"
140
140
  - ".rspec"
141
141
  - ".rubocop.yml"
data/.circleci/config.yml DELETED
@@ -1,44 +0,0 @@
1
- version: 2.1
2
-
3
- jobs:
4
- test: &test
5
- parallelism: 1
6
- parameters:
7
- faraday-version: { type: string }
8
- ruby-version: { type: string }
9
- docker:
10
- - image: ruby:<<parameters.ruby-version>>
11
- environment:
12
- - FARADAY_VERSION=<<parameters.faraday-version>>
13
- steps:
14
- - checkout
15
- - run: bundle install && bundle exec rspec
16
- publish: &publish
17
- docker:
18
- - image: ruby:2.6
19
- steps:
20
- - checkout
21
- - run: |
22
- mkdir -p $HOME/.gem
23
- touch $HOME/.gem/credentials
24
- chmod 0600 $HOME/.gem/credentials
25
- printf -- "---\n:rubygems_api_key: $RUBYGEM_PUBLISH_API_KEY\n" > $HOME/.gem/credentials
26
- gem build *.gemspec
27
- gem push *.gem
28
-
29
- workflows:
30
- version: 2
31
- tests:
32
- jobs:
33
- - test:
34
- matrix:
35
- parameters:
36
- faraday-version: ["2.0"]
37
- ruby-version: ["2.6", "2.7", "3.0", "3.1"]
38
- - publish:
39
- filters:
40
- branches:
41
- only:
42
- - master
43
- requires:
44
- - test