cloudpayments-ruby 0.4.2 → 0.4.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea79fbdf7f291c5131c1c3820beb1a50a75da268e523b5bc4c72afeb7c534c64
|
|
4
|
+
data.tar.gz: bade36e858879040a3ed87eaf316b2ef047e5d41cb6afbd7ddd22da5750bf788
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b951b1fdcca768dd21652241d839cdaeef96c345c74077e381d8364225527161203c604776e010b1c202aeb00dc08922faf54f5b43dc07d2ded588758d50f2d4
|
|
7
|
+
data.tar.gz: 3927c6796551b2fb18f1502dea1ed8433c0afbda20c81bd90afdb990fad18b6a891f0534373a9b35c161a4a090d1aefe23531aedc4c14799816c66b02809d784
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.4.3](https://github.com/Hexlet/cloudpayments-ruby/compare/v0.4.2...v0.4.3) (2026-06-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* allow null for MaxPeriods in subscription response model ([bcddb1a](https://github.com/Hexlet/cloudpayments-ruby/commit/bcddb1a49762fb4801838b0bf31f052c01824ba4))
|
|
9
|
+
* nullable MaxPeriods response + migrate off Stainless build ([b7feae4](https://github.com/Hexlet/cloudpayments-ruby/commit/b7feae419c4949833161ef2debafe7f851e6789a))
|
|
10
|
+
|
|
3
11
|
## 0.4.2 (2026-04-09)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.4.1...v0.4.2](https://github.com/Hexlet/cloudpayments-ruby/compare/v0.4.1...v0.4.2)
|
data/README.md
CHANGED
|
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
15
15
|
<!-- x-release-please-start-version -->
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
gem "cloudpayments-ruby", "~> 0.4.
|
|
18
|
+
gem "cloudpayments-ruby", "~> 0.4.3"
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
<!-- x-release-please-end -->
|
|
@@ -135,7 +135,7 @@ module CloudpaymentsRuby
|
|
|
135
135
|
# Максимальное количество платежей
|
|
136
136
|
#
|
|
137
137
|
# @return [Integer, nil]
|
|
138
|
-
optional :max_periods, Integer, api_name: :MaxPeriods
|
|
138
|
+
optional :max_periods, Integer, api_name: :MaxPeriods, nil?: true
|
|
139
139
|
|
|
140
140
|
# @!attribute next_transaction_date
|
|
141
141
|
# Дата следующей транзакции
|
|
@@ -200,7 +200,7 @@ module CloudpaymentsRuby
|
|
|
200
200
|
#
|
|
201
201
|
# @param last_transaction_date_iso [String] Дата последней транзакции ISO
|
|
202
202
|
#
|
|
203
|
-
# @param max_periods [Integer] Максимальное количество платежей
|
|
203
|
+
# @param max_periods [Integer, nil] Максимальное количество платежей
|
|
204
204
|
#
|
|
205
205
|
# @param next_transaction_date [String] Дата следующей транзакции
|
|
206
206
|
#
|
|
@@ -114,7 +114,7 @@ module CloudpaymentsRuby
|
|
|
114
114
|
sig { returns(T.nilable(Integer)) }
|
|
115
115
|
attr_reader :max_periods
|
|
116
116
|
|
|
117
|
-
sig { params(max_periods: Integer).void }
|
|
117
|
+
sig { params(max_periods: T.nilable(Integer)).void }
|
|
118
118
|
attr_writer :max_periods
|
|
119
119
|
|
|
120
120
|
# Дата следующей транзакции
|
|
@@ -162,7 +162,7 @@ module CloudpaymentsRuby
|
|
|
162
162
|
failover_scheme_id: String,
|
|
163
163
|
last_transaction_date: String,
|
|
164
164
|
last_transaction_date_iso: String,
|
|
165
|
-
max_periods: Integer,
|
|
165
|
+
max_periods: T.nilable(Integer),
|
|
166
166
|
next_transaction_date: String,
|
|
167
167
|
next_transaction_date_iso: String,
|
|
168
168
|
receipt: T.anything
|
|
@@ -246,7 +246,7 @@ module CloudpaymentsRuby
|
|
|
246
246
|
failover_scheme_id: String,
|
|
247
247
|
last_transaction_date: String,
|
|
248
248
|
last_transaction_date_iso: String,
|
|
249
|
-
max_periods: Integer,
|
|
249
|
+
max_periods: T.nilable(Integer),
|
|
250
250
|
next_transaction_date: String,
|
|
251
251
|
next_transaction_date_iso: String,
|
|
252
252
|
receipt: T.anything
|
|
@@ -23,7 +23,7 @@ module CloudpaymentsRuby
|
|
|
23
23
|
failover_scheme_id: String,
|
|
24
24
|
last_transaction_date: String,
|
|
25
25
|
last_transaction_date_iso: String,
|
|
26
|
-
max_periods: Integer
|
|
26
|
+
max_periods: Integer?,
|
|
27
27
|
next_transaction_date: String,
|
|
28
28
|
next_transaction_date_iso: String,
|
|
29
29
|
receipt: top
|
|
@@ -84,7 +84,7 @@ module CloudpaymentsRuby
|
|
|
84
84
|
|
|
85
85
|
attr_reader max_periods: Integer?
|
|
86
86
|
|
|
87
|
-
def max_periods=: (Integer) -> Integer
|
|
87
|
+
def max_periods=: (Integer?) -> Integer?
|
|
88
88
|
|
|
89
89
|
attr_reader next_transaction_date: String?
|
|
90
90
|
|
|
@@ -120,7 +120,7 @@ module CloudpaymentsRuby
|
|
|
120
120
|
?failover_scheme_id: String,
|
|
121
121
|
?last_transaction_date: String,
|
|
122
122
|
?last_transaction_date_iso: String,
|
|
123
|
-
?max_periods: Integer
|
|
123
|
+
?max_periods: Integer?,
|
|
124
124
|
?next_transaction_date: String,
|
|
125
125
|
?next_transaction_date_iso: String,
|
|
126
126
|
?receipt: top
|
|
@@ -148,7 +148,7 @@ module CloudpaymentsRuby
|
|
|
148
148
|
failover_scheme_id: String,
|
|
149
149
|
last_transaction_date: String,
|
|
150
150
|
last_transaction_date_iso: String,
|
|
151
|
-
max_periods: Integer
|
|
151
|
+
max_periods: Integer?,
|
|
152
152
|
next_transaction_date: String,
|
|
153
153
|
next_transaction_date_iso: String,
|
|
154
154
|
receipt: top
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudpayments-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cloudpayments
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|