gocardless_pro 2.20.0 → 2.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +25 -43
- data/Gemfile +7 -0
- data/gocardless_pro.gemspec +2 -2
- data/lib/gocardless_pro.rb +3 -0
- data/lib/gocardless_pro/api_service.rb +1 -1
- data/lib/gocardless_pro/client.rb +6 -1
- data/lib/gocardless_pro/resources/event.rb +12 -0
- data/lib/gocardless_pro/resources/payout.rb +2 -0
- data/lib/gocardless_pro/resources/payout_item.rb +2 -0
- data/lib/gocardless_pro/resources/tax_rate.rb +51 -0
- data/lib/gocardless_pro/services/bank_details_lookups_service.rb +0 -10
- data/lib/gocardless_pro/services/base_service.rb +11 -0
- data/lib/gocardless_pro/services/creditor_bank_accounts_service.rb +0 -10
- data/lib/gocardless_pro/services/creditors_service.rb +0 -10
- data/lib/gocardless_pro/services/currency_exchange_rates_service.rb +0 -10
- data/lib/gocardless_pro/services/customer_bank_accounts_service.rb +0 -10
- data/lib/gocardless_pro/services/customer_notifications_service.rb +0 -10
- data/lib/gocardless_pro/services/customers_service.rb +0 -10
- data/lib/gocardless_pro/services/events_service.rb +0 -10
- data/lib/gocardless_pro/services/instalment_schedules_service.rb +0 -10
- data/lib/gocardless_pro/services/mandate_import_entries_service.rb +0 -10
- data/lib/gocardless_pro/services/mandate_imports_service.rb +0 -10
- data/lib/gocardless_pro/services/mandate_pdfs_service.rb +0 -10
- data/lib/gocardless_pro/services/mandates_service.rb +0 -10
- data/lib/gocardless_pro/services/payments_service.rb +0 -10
- data/lib/gocardless_pro/services/payout_items_service.rb +0 -10
- data/lib/gocardless_pro/services/payouts_service.rb +0 -10
- data/lib/gocardless_pro/services/redirect_flows_service.rb +0 -10
- data/lib/gocardless_pro/services/refunds_service.rb +6 -11
- data/lib/gocardless_pro/services/subscriptions_service.rb +1 -11
- data/lib/gocardless_pro/services/tax_rates_service.rb +74 -0
- data/lib/gocardless_pro/version.rb +1 -1
- data/spec/resources/payout_item_spec.rb +5 -0
- data/spec/resources/payout_spec.rb +8 -0
- data/spec/resources/tax_rate_spec.rb +198 -0
- data/spec/services/creditor_bank_accounts_service_spec.rb +1 -1
- data/spec/services/customer_bank_accounts_service_spec.rb +1 -1
- data/spec/services/customer_notifications_service_spec.rb +1 -1
- data/spec/services/customers_service_spec.rb +1 -1
- data/spec/services/instalment_schedules_service_spec.rb +1 -1
- data/spec/services/mandate_imports_service_spec.rb +2 -2
- data/spec/services/mandates_service_spec.rb +2 -2
- data/spec/services/payments_service_spec.rb +2 -2
- data/spec/services/payout_items_service_spec.rb +9 -0
- data/spec/services/payouts_service_spec.rb +12 -0
- data/spec/services/redirect_flows_service_spec.rb +1 -1
- data/spec/services/subscriptions_service_spec.rb +3 -3
- data/spec/services/tax_rates_service_spec.rb +381 -0
- metadata +13 -7
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.
|
4
|
+
version: 2.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 0.9.2
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '2'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 0.9.2
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: 3.8.3
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
60
|
+
version: 3.8.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rubocop
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,6 +178,7 @@ files:
|
|
178
178
|
- lib/gocardless_pro/resources/redirect_flow.rb
|
179
179
|
- lib/gocardless_pro/resources/refund.rb
|
180
180
|
- lib/gocardless_pro/resources/subscription.rb
|
181
|
+
- lib/gocardless_pro/resources/tax_rate.rb
|
181
182
|
- lib/gocardless_pro/response.rb
|
182
183
|
- lib/gocardless_pro/services/bank_details_lookups_service.rb
|
183
184
|
- lib/gocardless_pro/services/base_service.rb
|
@@ -199,6 +200,7 @@ files:
|
|
199
200
|
- lib/gocardless_pro/services/redirect_flows_service.rb
|
200
201
|
- lib/gocardless_pro/services/refunds_service.rb
|
201
202
|
- lib/gocardless_pro/services/subscriptions_service.rb
|
203
|
+
- lib/gocardless_pro/services/tax_rates_service.rb
|
202
204
|
- lib/gocardless_pro/version.rb
|
203
205
|
- lib/gocardless_pro/webhook.rb
|
204
206
|
- spec/api_response_spec.rb
|
@@ -225,6 +227,7 @@ files:
|
|
225
227
|
- spec/resources/redirect_flow_spec.rb
|
226
228
|
- spec/resources/refund_spec.rb
|
227
229
|
- spec/resources/subscription_spec.rb
|
230
|
+
- spec/resources/tax_rate_spec.rb
|
228
231
|
- spec/response_spec.rb
|
229
232
|
- spec/services/bank_details_lookups_service_spec.rb
|
230
233
|
- spec/services/creditor_bank_accounts_service_spec.rb
|
@@ -245,6 +248,7 @@ files:
|
|
245
248
|
- spec/services/redirect_flows_service_spec.rb
|
246
249
|
- spec/services/refunds_service_spec.rb
|
247
250
|
- spec/services/subscriptions_service_spec.rb
|
251
|
+
- spec/services/tax_rates_service_spec.rb
|
248
252
|
- spec/spec_helper.rb
|
249
253
|
- spec/webhook_spec.rb
|
250
254
|
homepage: https://github.com/gocardless/gocardless-pro-ruby
|
@@ -266,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
270
|
- !ruby/object:Gem::Version
|
267
271
|
version: '0'
|
268
272
|
requirements: []
|
269
|
-
rubygems_version: 3.
|
273
|
+
rubygems_version: 3.1.2
|
270
274
|
signing_key:
|
271
275
|
specification_version: 4
|
272
276
|
summary: A gem for calling the GoCardless Pro API
|
@@ -295,6 +299,7 @@ test_files:
|
|
295
299
|
- spec/resources/redirect_flow_spec.rb
|
296
300
|
- spec/resources/refund_spec.rb
|
297
301
|
- spec/resources/subscription_spec.rb
|
302
|
+
- spec/resources/tax_rate_spec.rb
|
298
303
|
- spec/response_spec.rb
|
299
304
|
- spec/services/bank_details_lookups_service_spec.rb
|
300
305
|
- spec/services/creditor_bank_accounts_service_spec.rb
|
@@ -315,5 +320,6 @@ test_files:
|
|
315
320
|
- spec/services/redirect_flows_service_spec.rb
|
316
321
|
- spec/services/refunds_service_spec.rb
|
317
322
|
- spec/services/subscriptions_service_spec.rb
|
323
|
+
- spec/services/tax_rates_service_spec.rb
|
318
324
|
- spec/spec_helper.rb
|
319
325
|
- spec/webhook_spec.rb
|