stripe 5.7.0 → 5.7.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/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/lib/stripe.rb +2 -2
- data/lib/stripe/list_object.rb +10 -0
- data/lib/stripe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc4c445567a38782dc843a338247615185c7f7f37a41e7fc7112ae09a9b80863
|
|
4
|
+
data.tar.gz: 3feccf9203d4c39fcb2abb6ceee3cae6e501d2194a91117d6802fb2ecf151f2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb4acdf7e1d6c198f93b383fa6963a1222fcfc40fc3893ce005978e350a48995a2cd8c2507ac957284406a36eaeaa018db5b29d53092269b5dba1302dddfcc7f
|
|
7
|
+
data.tar.gz: 56f2cb939da176b60462370323bd5aff987b6d7ab2d12965833843d3fd8ad81bf9f1cd9f4ae65ebda1340a6c9eeba1a634d77ccaeff41e437abf3660c081dcb5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.7.1 - 2019-10-15
|
|
4
|
+
* [#869](https://github.com/stripe/stripe-ruby/pull/869) Fixes the misnamed `connection_base=` setter to be named `connect_base=`
|
|
5
|
+
|
|
3
6
|
## 5.7.0 - 2019-10-10
|
|
4
7
|
* [#865](https://github.com/stripe/stripe-ruby/pull/865) Support backwards pagination with list's `#auto_paging_each`
|
|
5
8
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.7.
|
|
1
|
+
5.7.1
|
data/lib/stripe.rb
CHANGED
|
@@ -139,8 +139,8 @@ module Stripe
|
|
|
139
139
|
end
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
def self.
|
|
143
|
-
@
|
|
142
|
+
def self.connect_base=(connect_base)
|
|
143
|
+
@connect_base = connect_base
|
|
144
144
|
StripeClient.clear_all_connection_managers
|
|
145
145
|
end
|
|
146
146
|
|
data/lib/stripe/list_object.rb
CHANGED
|
@@ -51,6 +51,16 @@ module Stripe
|
|
|
51
51
|
# Iterates through each resource in all pages, making additional fetches to
|
|
52
52
|
# the API as necessary.
|
|
53
53
|
#
|
|
54
|
+
# The default iteration direction is forwards according to Stripe's API
|
|
55
|
+
# "natural" ordering direction -- newer objects first, and moving towards
|
|
56
|
+
# older objects.
|
|
57
|
+
#
|
|
58
|
+
# However, if the initial list object was fetched using an `ending_before`
|
|
59
|
+
# cursor (and only `ending_before`, `starting_after` cannot also be
|
|
60
|
+
# included), the method assumes that the user is trying to iterate
|
|
61
|
+
# backwards compared to natural ordering and returns results that way --
|
|
62
|
+
# older objects first, and moving towards newer objects.
|
|
63
|
+
#
|
|
54
64
|
# Note that this method will make as many API calls as necessary to fetch
|
|
55
65
|
# all resources. For more granular control, please see +each+ and
|
|
56
66
|
# +next_page+.
|
data/lib/stripe/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stripe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.7.
|
|
4
|
+
version: 5.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-10-
|
|
11
|
+
date: 2019-10-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Stripe is the easiest way to accept payments online. See https://stripe.com
|
|
14
14
|
for details.
|