square.rb 6.3.0.20200826 → 6.4.0.20200923
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/square/api/base_api.rb +1 -1
- data/lib/square/api/disputes_api.rb +2 -15
- data/lib/square/api/invoices_api.rb +0 -15
- data/lib/square/api/orders_api.rb +0 -8
- data/lib/square/api/payments_api.rb +12 -15
- data/lib/square/api/refunds_api.rb +9 -5
- data/lib/square/client.rb +2 -2
- data/lib/square/configuration.rb +1 -1
- data/test/api/api_test_base.rb +1 -6
- data/test/api/test_catalog_api.rb +1 -4
- data/test/api/test_customers_api.rb +1 -4
- data/test/api/test_employees_api.rb +1 -4
- data/test/api/test_labor_api.rb +2 -6
- data/test/api/test_locations_api.rb +21 -32
- data/test/api/test_merchants_api.rb +1 -4
- data/test/api/test_payments_api.rb +3 -6
- data/test/api/test_refunds_api.rb +3 -6
- data/test/http_response_catcher.rb +0 -5
- data/test/test_helper.rb +0 -5
- metadata +30 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff331317ad3b1bea0c21cf6a6cc9bfd0b46296890792bf0f5d19d21be6ea8ddb
|
4
|
+
data.tar.gz: dbf543ea3a0ebd7a70cd04e754ffc843d13575899c7e0fe1697c0a538d68fa0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15818b53efa7435cc292b14f3d504feef1ab423e3edafdba332694ad229910d8400eb08e6ba67906c19629ac2ecdc9a76251d29f85790fb3046a115aca3a566c
|
7
|
+
data.tar.gz: 749326579ee962e569e387f932af7176f0137e6f6b175e7392bfa9b8e19e872092f34b7f2097fa9ce9d21cd744c2837cd23015e5c826b50510664887bd9ee546
|
data/lib/square/api/base_api.rb
CHANGED
@@ -92,9 +92,6 @@ module Square
|
|
92
92
|
# Square debits the disputed amount from the seller’s Square
|
93
93
|
# account. If the Square account balance does not have
|
94
94
|
# sufficient funds, Square debits the associated bank account.
|
95
|
-
# For an overview of the Disputes API, see
|
96
|
-
# [Overview](https://developer.squareup.com/docs/docs/disputes-api/overview)
|
97
|
-
# .
|
98
95
|
# @param [String] dispute_id Required parameter: ID of the dispute you want
|
99
96
|
# to accept.
|
100
97
|
# @return [AcceptDisputeResponse Hash] response from the API call
|
@@ -245,9 +242,6 @@ module Square
|
|
245
242
|
# accepts
|
246
243
|
# HTTP multipart/form-data file uploads in HEIC, HEIF, JPEG, PDF, PNG,
|
247
244
|
# and TIFF formats.
|
248
|
-
# For more information, see [Challenge a
|
249
|
-
# Dispute](https://developer.squareup.com/docs/docs/disputes-api/process-dis
|
250
|
-
# putes#challenge-a-dispute).
|
251
245
|
# @param [String] dispute_id Required parameter: ID of the dispute you want
|
252
246
|
# to upload evidence for.
|
253
247
|
# @param [CreateDisputeEvidenceFileRequest] request Optional parameter:
|
@@ -307,11 +301,7 @@ module Square
|
|
307
301
|
ApiResponse.new(_response, data: decoded, errors: _errors)
|
308
302
|
end
|
309
303
|
|
310
|
-
# Uploads text to use as evidence for a dispute challenge.
|
311
|
-
# information, see
|
312
|
-
# [Challenge a
|
313
|
-
# Dispute](https://developer.squareup.com/docs/docs/disputes-api/process-dis
|
314
|
-
# putes#challenge-a-dispute).
|
304
|
+
# Uploads text to use as evidence for a dispute challenge.
|
315
305
|
# @param [String] dispute_id Required parameter: The ID of the dispute you
|
316
306
|
# want to upload evidence for.
|
317
307
|
# @param [CreateDisputeEvidenceTextRequest] body Required parameter: An
|
@@ -359,10 +349,7 @@ module Square
|
|
359
349
|
# [CreateDisputeEvidenceText](https://developer.squareup.com/docs/reference/
|
360
350
|
# square/disputes-api/create-dispute-evidence-text) endpoints,
|
361
351
|
# and evidence automatically provided by Square, when
|
362
|
-
# available.
|
363
|
-
# [Challenge a
|
364
|
-
# Dispute](https://developer.squareup.com/docs/docs/disputes-api/process-dis
|
365
|
-
# putes#challenge-a-dispute).
|
352
|
+
# available.
|
366
353
|
# @param [String] dispute_id Required parameter: The ID of the dispute you
|
367
354
|
# want to submit evidence for.
|
368
355
|
# @return [SubmitEvidenceResponse Hash] response from the API call
|
@@ -8,9 +8,6 @@ module Square
|
|
8
8
|
# Returns a list of invoices for a given location. The response
|
9
9
|
# is paginated. If truncated, the response includes a `cursor` that you
|
10
10
|
# use in a subsequent request to fetch the next set of invoices.
|
11
|
-
# For more information about retrieving invoices, see [Retrieve
|
12
|
-
# invoices](https://developer.squareup.com/docs/docs/invoices-api/overview#r
|
13
|
-
# etrieve-invoices).
|
14
11
|
# @param [String] location_id Required parameter: The ID of the location for
|
15
12
|
# which to list invoices.
|
16
13
|
# @param [String] cursor Optional parameter: A pagination cursor returned by
|
@@ -60,8 +57,6 @@ module Square
|
|
60
57
|
# A draft invoice remains in your account and no action is taken.
|
61
58
|
# You must publish the invoice before Square can process it (send it to the
|
62
59
|
# customer's email address or charge the customer’s card on file).
|
63
|
-
# For more information, see [Manage Invoices Using the Invoices
|
64
|
-
# API](https://developer.squareup.com/docs/docs/invoices-api/overview).
|
65
60
|
# @param [CreateInvoiceRequest] body Required parameter: An object
|
66
61
|
# containing the fields to POST for the request. See the corresponding
|
67
62
|
# object definition for field details.
|
@@ -100,9 +95,6 @@ module Square
|
|
100
95
|
# optionally one customer.
|
101
96
|
# The response is paginated. If truncated, the response includes a `cursor`
|
102
97
|
# that you use in a subsequent request to fetch the next set of invoices.
|
103
|
-
# For more information about retrieving invoices, see [Retrieve
|
104
|
-
# invoices](https://developer.squareup.com/docs/docs/invoices-api/overview#r
|
105
|
-
# etrieve-invoices).
|
106
98
|
# @param [SearchInvoicesRequest] body Required parameter: An object
|
107
99
|
# containing the fields to POST for the request. See the corresponding
|
108
100
|
# object definition for field details.
|
@@ -217,9 +209,6 @@ module Square
|
|
217
209
|
# as specified in the request.
|
218
210
|
# There are no restrictions to updating an invoice in a draft state.
|
219
211
|
# However, there are guidelines for updating a published invoice.
|
220
|
-
# For more information, see [Update an
|
221
|
-
# invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#up
|
222
|
-
# date-an-invoice).
|
223
212
|
# @param [String] invoice_id Required parameter: The id of the invoice to
|
224
213
|
# update.
|
225
214
|
# @param [UpdateInvoiceRequest] body Required parameter: An object
|
@@ -313,10 +302,6 @@ module Square
|
|
313
302
|
# Square emails the invoice or `PARTIALLY_PAID` if Square charge a card on
|
314
303
|
# file for a portion of the
|
315
304
|
# invoice amount).
|
316
|
-
# For more information, see
|
317
|
-
# [Create and publish an
|
318
|
-
# invoice](https://developer.squareup.com/docs/docs/invoices-api/overview#cr
|
319
|
-
# eate-and-publish-an-invoice).
|
320
305
|
# @param [String] invoice_id Required parameter: The id of the invoice to
|
321
306
|
# publish.
|
322
307
|
# @param [PublishInvoiceRequest] body Required parameter: An object
|
@@ -13,9 +13,6 @@ module Square
|
|
13
13
|
# guide.
|
14
14
|
# You can modify open orders using the
|
15
15
|
# [UpdateOrder](#endpoint-orders-updateorder) endpoint.
|
16
|
-
# To learn more about the Orders API, see the
|
17
|
-
# [Orders API
|
18
|
-
# Overview](https://developer.squareup.com/docs/orders-api/what-it-does).
|
19
16
|
# @param [CreateOrderRequest] body Required parameter: An object containing
|
20
17
|
# the fields to POST for the request. See the corresponding object
|
21
18
|
# definition for field details.
|
@@ -177,9 +174,6 @@ module Square
|
|
177
174
|
# To pay for an order, please refer to the [Pay for
|
178
175
|
# Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders)
|
179
176
|
# guide.
|
180
|
-
# To learn more about the Orders API, see the
|
181
|
-
# [Orders API
|
182
|
-
# Overview](https://developer.squareup.com/docs/orders-api/what-it-does).
|
183
177
|
# @param [String] order_id Required parameter: The ID of the order to
|
184
178
|
# update.
|
185
179
|
# @param [UpdateOrderRequest] body Required parameter: An object containing
|
@@ -237,8 +231,6 @@ module Square
|
|
237
231
|
# layed-capture).
|
238
232
|
# Using a delayed capture payment with PayOrder will complete the approved
|
239
233
|
# payment.
|
240
|
-
# Learn how to [pay for orders with a single payment using the Payments
|
241
|
-
# API](https://developer.squareup.com/docs/orders-api/pay-for-orders).
|
242
234
|
# @param [String] order_id Required parameter: The ID of the order being
|
243
235
|
# paid.
|
244
236
|
# @param [PayOrderRequest] body Required parameter: An object containing the
|
@@ -22,14 +22,18 @@ module Square
|
|
22
22
|
# [Pagination](https://developer.squareup.com/docs/basics/api101/pagination)
|
23
23
|
# for more information.
|
24
24
|
# @param [String] location_id Optional parameter: Limit results to the
|
25
|
-
# location supplied. By default, results are returned for
|
26
|
-
# associated with the merchant.
|
25
|
+
# location supplied. By default, results are returned for the default (main)
|
26
|
+
# location associated with the merchant.
|
27
27
|
# @param [Long] total Optional parameter: The exact amount in the
|
28
28
|
# total_money for a `Payment`.
|
29
29
|
# @param [String] last_4 Optional parameter: The last 4 digits of `Payment`
|
30
30
|
# card.
|
31
31
|
# @param [String] card_brand Optional parameter: The brand of `Payment`
|
32
32
|
# card. For example, `VISA`
|
33
|
+
# @param [Integer] limit Optional parameter: Maximum number of results to be
|
34
|
+
# returned in a single page. It is possible to receive fewer results than
|
35
|
+
# the specified limit on a given page. If the supplied value is greater
|
36
|
+
# than 100, at most 100 results will be returned. Default: `100`
|
33
37
|
# @return [ListPaymentsResponse Hash] response from the API call
|
34
38
|
def list_payments(begin_time: nil,
|
35
39
|
end_time: nil,
|
@@ -38,7 +42,8 @@ module Square
|
|
38
42
|
location_id: nil,
|
39
43
|
total: nil,
|
40
44
|
last_4: nil,
|
41
|
-
card_brand: nil
|
45
|
+
card_brand: nil,
|
46
|
+
limit: nil)
|
42
47
|
# Prepare query url.
|
43
48
|
_query_builder = config.get_base_uri
|
44
49
|
_query_builder << '/v2/payments'
|
@@ -51,7 +56,8 @@ module Square
|
|
51
56
|
'location_id' => location_id,
|
52
57
|
'total' => total,
|
53
58
|
'last_4' => last_4,
|
54
|
-
'card_brand' => card_brand
|
59
|
+
'card_brand' => card_brand,
|
60
|
+
'limit' => limit
|
55
61
|
)
|
56
62
|
_query_url = APIHelper.clean_url _query_builder
|
57
63
|
|
@@ -82,9 +88,6 @@ module Square
|
|
82
88
|
# For example, tip money, whether to autocomplete the payment, or a
|
83
89
|
# reference ID
|
84
90
|
# to correlate this payment with another system.
|
85
|
-
# For more information about these
|
86
|
-
# payment options, see [Take
|
87
|
-
# Payments](https://developer.squareup.com/docs/payments-api/take-payments).
|
88
91
|
# The `PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS` OAuth permission is required
|
89
92
|
# to enable application fees.
|
90
93
|
# @param [CreatePaymentRequest] body Required parameter: An object
|
@@ -199,10 +202,7 @@ module Square
|
|
199
202
|
|
200
203
|
# Cancels (voids) a payment. If you set `autocomplete` to false when
|
201
204
|
# creating a payment,
|
202
|
-
# you can cancel the payment using this endpoint.
|
203
|
-
# [Delayed
|
204
|
-
# Payments](https://developer.squareup.com/docs/payments-api/take-payments#d
|
205
|
-
# elayed-payments).
|
205
|
+
# you can cancel the payment using this endpoint.
|
206
206
|
# @param [String] payment_id Required parameter: `payment_id` identifying
|
207
207
|
# the payment to be canceled.
|
208
208
|
# @return [CancelPaymentResponse Hash] response from the API call
|
@@ -240,10 +240,7 @@ module Square
|
|
240
240
|
# created.
|
241
241
|
# If you set autocomplete to false when creating a payment, you can complete
|
242
242
|
# (capture)
|
243
|
-
# the payment using this endpoint.
|
244
|
-
# [Delayed
|
245
|
-
# Payments](https://developer.squareup.com/docs/payments-api/take-payments#d
|
246
|
-
# elayed-payments).
|
243
|
+
# the payment using this endpoint.
|
247
244
|
# @param [String] payment_id Required parameter: Unique ID identifying the
|
248
245
|
# payment to be completed.
|
249
246
|
# @return [CompletePaymentResponse Hash] response from the API call
|
@@ -32,6 +32,10 @@ module Square
|
|
32
32
|
# with the given source type are returned. - `CARD` - List refunds only for
|
33
33
|
# payments where card was specified as payment source. Default: If omitted
|
34
34
|
# refunds are returned regardless of source type.
|
35
|
+
# @param [Integer] limit Optional parameter: Maximum number of results to be
|
36
|
+
# returned in a single page. It is possible to receive fewer results than
|
37
|
+
# the specified limit on a given page. If the supplied value is greater
|
38
|
+
# than 100, at most 100 results will be returned. Default: `100`
|
35
39
|
# @return [ListPaymentRefundsResponse Hash] response from the API call
|
36
40
|
def list_payment_refunds(begin_time: nil,
|
37
41
|
end_time: nil,
|
@@ -39,7 +43,8 @@ module Square
|
|
39
43
|
cursor: nil,
|
40
44
|
location_id: nil,
|
41
45
|
status: nil,
|
42
|
-
source_type: nil
|
46
|
+
source_type: nil,
|
47
|
+
limit: nil)
|
43
48
|
# Prepare query url.
|
44
49
|
_query_builder = config.get_base_uri
|
45
50
|
_query_builder << '/v2/refunds'
|
@@ -51,7 +56,8 @@ module Square
|
|
51
56
|
'cursor' => cursor,
|
52
57
|
'location_id' => location_id,
|
53
58
|
'status' => status,
|
54
|
-
'source_type' => source_type
|
59
|
+
'source_type' => source_type,
|
60
|
+
'limit' => limit
|
55
61
|
)
|
56
62
|
_query_url = APIHelper.clean_url _query_builder
|
57
63
|
|
@@ -75,9 +81,7 @@ module Square
|
|
75
81
|
end
|
76
82
|
|
77
83
|
# Refunds a payment. You can refund the entire payment amount or a
|
78
|
-
# portion of it.
|
79
|
-
# [Payments and Refunds
|
80
|
-
# Overview](https://developer.squareup.com/docs/payments-api/overview).
|
84
|
+
# portion of it.
|
81
85
|
# @param [RefundPaymentRequest] body Required parameter: An object
|
82
86
|
# containing the fields to POST for the request. See the corresponding
|
83
87
|
# object definition for field details.
|
data/lib/square/client.rb
CHANGED
@@ -4,7 +4,7 @@ module Square
|
|
4
4
|
attr_reader :config
|
5
5
|
|
6
6
|
def sdk_version
|
7
|
-
'6.
|
7
|
+
'6.4.0.20200923'
|
8
8
|
end
|
9
9
|
|
10
10
|
def square_version
|
@@ -193,7 +193,7 @@ module Square
|
|
193
193
|
|
194
194
|
def initialize(timeout: 60, max_retries: 0, retry_interval: 1,
|
195
195
|
backoff_factor: 1, environment: 'production',
|
196
|
-
square_version: '2020-
|
196
|
+
square_version: '2020-09-23', access_token: 'TODO: Replace',
|
197
197
|
additional_headers: {}, config: nil)
|
198
198
|
@config = if config.nil?
|
199
199
|
Configuration.new(timeout: timeout, max_retries: max_retries,
|
data/lib/square/configuration.rb
CHANGED
@@ -22,7 +22,7 @@ module Square
|
|
22
22
|
|
23
23
|
def initialize(timeout: 60, max_retries: 0, retry_interval: 1,
|
24
24
|
backoff_factor: 1, environment: 'production',
|
25
|
-
square_version: '2020-
|
25
|
+
square_version: '2020-09-23', access_token: 'TODO: Replace',
|
26
26
|
additional_headers: {})
|
27
27
|
# The value to use for connection timeout
|
28
28
|
@timeout = timeout
|
data/test/api/api_test_base.rb
CHANGED
@@ -1,8 +1,3 @@
|
|
1
|
-
# square
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
1
|
require 'json'
|
7
2
|
require 'minitest/autorun'
|
8
3
|
require 'minitest/hell'
|
@@ -19,6 +14,6 @@ class ApiTestBase < Minitest::Test
|
|
19
14
|
# Create configuration and set any test parameters
|
20
15
|
CONFIG = Configuration.new(
|
21
16
|
access_token: ENV.fetch('SQUARE_SANDBOX_TOKEN', 'AccessToken'),
|
22
|
-
environment:
|
17
|
+
environment: 'sandbox'
|
23
18
|
)
|
24
19
|
end
|
data/test/api/test_labor_api.rb
CHANGED
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
1
|
+
|
5
2
|
|
6
3
|
require_relative 'api_test_base'
|
7
4
|
|
@@ -35,12 +32,11 @@ class LaborApiTests < ApiTestBase
|
|
35
32
|
# Returns a paginated list of `EmployeeWage` instances for a business.
|
36
33
|
def test_list_employee_wages()
|
37
34
|
# Parameters for the API call
|
38
|
-
employee_id = nil
|
39
35
|
limit = nil
|
40
36
|
cursor = nil
|
41
37
|
|
42
38
|
# Perform the API call through the SDK function
|
43
|
-
result = @controller.list_employee_wages(
|
39
|
+
result = @controller.list_employee_wages(limit: limit, cursor: cursor)
|
44
40
|
|
45
41
|
# Test response code
|
46
42
|
assert_equal(200, @response_catcher.response.status_code)
|
@@ -1,35 +1,24 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
@response_catcher = HttpResponseCatcher.new
|
12
|
-
@controller = LocationsApi.new CONFIG, http_call_back: @response_catcher
|
13
|
-
end
|
14
|
-
|
15
|
-
# Provides the details for all of a business's locations.
|
1
|
+
require_relative 'api_test_base'
|
2
|
+
|
3
|
+
class LocationsApiTests < ApiTestBase
|
4
|
+
# Called only once for the class before any test has executed
|
5
|
+
def setup
|
6
|
+
@response_catcher = HttpResponseCatcher.new
|
7
|
+
@controller = LocationsApi.new CONFIG, http_call_back: @response_catcher
|
8
|
+
end
|
9
|
+
|
10
|
+
# Provides information of all locations of a business.
|
16
11
|
#
|
17
12
|
#Most other Connect API endpoints have a required `location_id` path parameter.
|
18
13
|
#The `id` field of the [`Location`](#type-location) objects returned by this
|
19
|
-
#endpoint correspond to that `location_id` parameter.
|
20
|
-
def
|
21
|
-
|
22
|
-
# Perform the API call through the SDK function
|
23
|
-
result = @controller.list_locations()
|
24
|
-
|
25
|
-
# Test response code
|
26
|
-
assert_equal(200, @response_catcher.response.status_code)
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
expected_headers['content-type'] = 'application/json'
|
31
|
-
|
32
|
-
assert(TestHelper.match_headers(expected_headers, @response_catcher.response.headers))
|
33
|
-
end
|
34
|
-
|
35
|
-
end
|
14
|
+
#endpoint correspond to that `location_id` parameter.
|
15
|
+
def test_list_locations()
|
16
|
+
|
17
|
+
# Perform the API call through the SDK function
|
18
|
+
result = @controller.list_locations()
|
19
|
+
|
20
|
+
# Test response code
|
21
|
+
assert_equal(200, @response_catcher.response.status_code)
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
1
|
+
|
5
2
|
|
6
3
|
require_relative 'api_test_base'
|
7
4
|
|
@@ -12,8 +9,8 @@ class PaymentsApiTests < ApiTestBase
|
|
12
9
|
@controller = PaymentsApi.new CONFIG, http_call_back: @response_catcher
|
13
10
|
end
|
14
11
|
|
15
|
-
# Retrieves a list of payments taken by the account making the request.
|
16
|
-
#
|
12
|
+
# Retrieves a list of payments taken by the account making the request.
|
13
|
+
#
|
17
14
|
#Max results per page: 100
|
18
15
|
def test_test_list_payments()
|
19
16
|
# Parameters for the API call
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
1
|
+
|
5
2
|
|
6
3
|
require_relative 'api_test_base'
|
7
4
|
|
@@ -12,8 +9,8 @@ class RefundsApiTests < ApiTestBase
|
|
12
9
|
@controller = RefundsApi.new CONFIG, http_call_back: @response_catcher
|
13
10
|
end
|
14
11
|
|
15
|
-
# Retrieves a list of refunds for the account making the request.
|
16
|
-
#
|
12
|
+
# Retrieves a list of refunds for the account making the request.
|
13
|
+
#
|
17
14
|
#Max results per page: 100
|
18
15
|
def test_test_list_payment_refunds()
|
19
16
|
# Parameters for the API call
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: square.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.4.0.20200923
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Square Developer Platform
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logging
|
@@ -16,42 +16,48 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
26
|
+
version: '2.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0
|
33
|
+
version: '1.0'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.0.1
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - "~>"
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0
|
43
|
+
version: '1.0'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.0.1
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: faraday_middleware
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
53
|
+
version: '1.0'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
60
|
+
version: '1.0'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: certifi
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,6 +65,9 @@ dependencies:
|
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
67
|
version: '2018.1'
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 2018.01.18
|
62
71
|
type: :runtime
|
63
72
|
prerelease: false
|
64
73
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -66,34 +75,43 @@ dependencies:
|
|
66
75
|
- - "~>"
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '2018.1'
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 2018.01.18
|
69
81
|
- !ruby/object:Gem::Dependency
|
70
82
|
name: faraday-http-cache
|
71
83
|
requirement: !ruby/object:Gem::Requirement
|
72
84
|
requirements:
|
73
85
|
- - "~>"
|
74
86
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2.
|
87
|
+
version: '2.2'
|
76
88
|
type: :runtime
|
77
89
|
prerelease: false
|
78
90
|
version_requirements: !ruby/object:Gem::Requirement
|
79
91
|
requirements:
|
80
92
|
- - "~>"
|
81
93
|
- !ruby/object:Gem::Version
|
82
|
-
version: '2.
|
94
|
+
version: '2.2'
|
83
95
|
- !ruby/object:Gem::Dependency
|
84
96
|
name: minitest
|
85
97
|
requirement: !ruby/object:Gem::Requirement
|
86
98
|
requirements:
|
87
99
|
- - "~>"
|
88
100
|
- !ruby/object:Gem::Version
|
89
|
-
version: '5.
|
101
|
+
version: '5.14'
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 5.14.1
|
90
105
|
type: :development
|
91
106
|
prerelease: false
|
92
107
|
version_requirements: !ruby/object:Gem::Requirement
|
93
108
|
requirements:
|
94
109
|
- - "~>"
|
95
110
|
- !ruby/object:Gem::Version
|
96
|
-
version: '5.
|
111
|
+
version: '5.14'
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: 5.14.1
|
97
115
|
- !ruby/object:Gem::Dependency
|
98
116
|
name: minitest-proveit
|
99
117
|
requirement: !ruby/object:Gem::Requirement
|