recurly 2.18.26 → 2.18.27

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: 80f20612581de184e9289de7932e7801799978847a9ee3c464dfd8283c99a6f2
4
- data.tar.gz: 7f8a60c7be6db9467b434d9c78d7b1aae344313d9af88b3868c9436815ed011f
3
+ metadata.gz: a4cbb0efbc5939f0cbf777eac1753057d60b7d19a1da8e65ab7c6a2eb5c44423
4
+ data.tar.gz: 041b8ac3990008c0ed3c370d9ac3f064f72a93c70c493dd22866fb3d70a529da
5
5
  SHA512:
6
- metadata.gz: ed179b0bb225b7ed545d70788a488d0f1b1518ddaef440a1aed8048490c67cdfd63bd87594a65a9d596dedef54355c5c909468e9bd3b5e11f33277bf55c3d0cf
7
- data.tar.gz: 15e08b97f21699ce9c005495e81be7bffd842dafbabbd58e0b68be80d8176d168d84c853e092f5956c7662d5513da2ea1007d269f46f84ee89ac36ea566b48e1
6
+ metadata.gz: 077d9dfc05e903e0943107b22b5c31e3039fe650ab79936199fd176c4608baaeb9a7027ccbd496a51136b793cc10cf135ca87d8056d8500c4e39e63cbd6d8733
7
+ data.tar.gz: cc4da6e59da4f6a9c4ca2ea9d08259b7570e172252d6232af41c9c068ba2559e8a2ebf298dd677cceb34456c1c06a53f3b2e42e6ecafaeadba715dc71a7686a7
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.26'
17
+ gem 'recurly', '~> 2.18.27'
18
18
  ```
19
19
 
20
20
  Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
@@ -34,6 +34,7 @@ module Recurly
34
34
  origin
35
35
  unit_amount_in_cents
36
36
  quantity
37
+ quantity_decimal
37
38
  discount_in_cents
38
39
  total_in_cents
39
40
  currency
@@ -45,6 +46,7 @@ module Recurly
45
46
  created_at
46
47
  updated_at
47
48
  quantity_remaining
49
+ quantity_decimal_remaining
48
50
  revenue_schedule_type
49
51
  tax_in_cents
50
52
  tax_type
@@ -281,6 +281,7 @@ module Recurly
281
281
  adj_node = node.add_element 'adjustment'
282
282
  adj_node.add_element 'uuid', line_item[:adjustment].uuid
283
283
  adj_node.add_element 'quantity', line_item[:quantity]
284
+ adj_node.add_element('quantity_decimal', line_item[:quantity_decimal]) if line_item.key?(:quantity_decimal)
284
285
  adj_node.add_element 'prorate', line_item[:prorate]
285
286
  end
286
287
  builder.to_s
data/lib/recurly/usage.rb CHANGED
@@ -9,6 +9,7 @@ module Recurly
9
9
  unit_amount_in_cents
10
10
  usage_percentage
11
11
  amount
12
+ amount_decimal
12
13
  merchant_tag
13
14
  usage_timestamp
14
15
  recording_timestamp
@@ -1,6 +1,6 @@
1
1
  module Recurly
2
2
  module Version
3
- VERSION = "2.18.26"
3
+ VERSION = "2.18.27"
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.26
4
+ version: 2.18.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-31 00:00:00.000000000 Z
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri