recurly 2.18.17 → 2.18.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57d3bce28e9b7cb714fbe3ae73413241ece9cae957ce05748ecd677ce215de1c
4
- data.tar.gz: f49da1688b87eb248478284b0d7f32f855834c7eec22b76e4180dad3b8d5f138
3
+ metadata.gz: 264bf46b7496932acda139212a0e9a9614703b1fc700877680b15c2413d3a82b
4
+ data.tar.gz: 767d32e7db149b8c79781268025f4fc178c1328d8ec13aa71141dd83b1678c9c
5
5
  SHA512:
6
- metadata.gz: 57b8b64377f6ef368ba8dc67ac7634875aa956aa248f597417e03b3d6dbc8a4f277351b6cb9bb959769186abb9852ec206edfad050b82ed75b04f6e25e4c47c1
7
- data.tar.gz: c545c26bb2c072216f7423614cfd4d43c619bfdc285609baf11a773a14cc2cf30e4155a743f9607fb87b18e383e5afd8317ccd533ea15e9caa8d7dbea931175c
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'
17
+ gem 'recurly', '~> 2.18.18'
18
18
  ```
19
19
 
20
20
  Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
@@ -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
  )
@@ -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.
@@ -1,6 +1,6 @@
1
1
  module Recurly
2
2
  module Version
3
- VERSION = "2.18.17"
3
+ VERSION = "2.18.18"
4
4
 
5
5
  class << self
6
6
  def inspect
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.17
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-12 00:00:00.000000000 Z
11
+ date: 2020-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri