recurly 2.18.17 → 2.18.18
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/README.md +1 -1
- data/lib/recurly/add_on.rb +2 -0
- data/lib/recurly/invoice.rb +3 -0
- data/lib/recurly/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: 264bf46b7496932acda139212a0e9a9614703b1fc700877680b15c2413d3a82b
|
|
4
|
+
data.tar.gz: 767d32e7db149b8c79781268025f4fc178c1328d8ec13aa71141dd83b1678c9c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be98eb8d85bd4dbf0f12535d8d92fd826148c460066e637bf7d67ea13b8ae53301fc84a118b9c5461f3aee334ad1bbd92b1d59868259ccd1d599ac5453bbb13d
|
|
7
|
+
data.tar.gz: 1aa9e3db000d6aa8275b0b1d48dde1bb3b5f6c6d2272e3a88e55ac7c39a4898b8cb25f5341505eb585b5dc5b48f84ceb5464186faed6bd62ee3aec12acaa2b7f
|
data/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Recurly is packaged as a Ruby gem. We recommend you install it with
|
|
|
14
14
|
[Bundler](http://gembundler.com/) by adding the following line to your Gemfile:
|
|
15
15
|
|
|
16
16
|
``` ruby
|
|
17
|
-
gem 'recurly', '~> 2.18.
|
|
17
|
+
gem 'recurly', '~> 2.18.18'
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
|
data/lib/recurly/add_on.rb
CHANGED
|
@@ -9,6 +9,7 @@ module Recurly
|
|
|
9
9
|
add_on_code
|
|
10
10
|
item_code
|
|
11
11
|
name
|
|
12
|
+
item_state
|
|
12
13
|
accounting_code
|
|
13
14
|
default_quantity
|
|
14
15
|
unit_amount_in_cents
|
|
@@ -23,6 +24,7 @@ module Recurly
|
|
|
23
24
|
created_at
|
|
24
25
|
updated_at
|
|
25
26
|
tier_type
|
|
27
|
+
external_sku
|
|
26
28
|
avalara_service_type
|
|
27
29
|
avalara_transaction_type
|
|
28
30
|
)
|
data/lib/recurly/invoice.rb
CHANGED
|
@@ -203,6 +203,9 @@ module Recurly
|
|
|
203
203
|
self.class.from_response(
|
|
204
204
|
follow_link :refund, :body => refund_line_items_to_xml(line_items, refund_method, options)
|
|
205
205
|
)
|
|
206
|
+
rescue Recurly::API::UnprocessableEntity => e
|
|
207
|
+
Transaction::Error.validate! e, (self if is_a?(Transaction))
|
|
208
|
+
raise
|
|
206
209
|
end
|
|
207
210
|
|
|
208
211
|
# Refunds the invoice for a specific amount.
|
data/lib/recurly/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: recurly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.18.
|
|
4
|
+
version: 2.18.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Recurly
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-11-
|
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|