recurly 2.18.19 → 2.18.20

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: ac56d6049b53eb2c114df18605fe133df332a509acf3af2cfccffa5214b8f3e8
4
- data.tar.gz: 19b49d89780da52cefe3c957ef0feee12c3cc751e40be0c7caf6280726e1a569
3
+ metadata.gz: 17c82b3ed4385ef449530e65f3cf37fef29fc7b1459829672be9c0cc7557ec77
4
+ data.tar.gz: c8f9bdbcff45857a02bac6af75a82bd3f090ae332781e2df7592bf2f6776daaa
5
5
  SHA512:
6
- metadata.gz: e3cdaecdc4f14781d7a90a446e29e801b794ebd6e2d33d97bdecf6bcc503da995d9d5d90c92d5e5f3e57e87233fb7a9d2c4621fe84182c584512cc7158985bba
7
- data.tar.gz: 9bb12a7e753efc7628b8200660a7f1f1748baa0abc4b95caff5c257d6855af5731bfe7c7d0492c55500e0281a71d4a565b3c6450a6309d8e9af8e6afc04bc01b
6
+ metadata.gz: a07c1273b0da9046fb4dcf5e490318eab5a28fd38d7390a5c8b7b516dfeb66f7cb1967931ac99c500a0bb0778fe09338ea213cd87f1186407ce3233f77133ad7
7
+ data.tar.gz: 9267adfa03c7c1da06f9abfd9f178d15a239c0e243467853f1880b15b778bec700c4874d96e28fd9419040474fb02a3d89381b40e17fb7cb953f624509a6377f
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.19'
17
+ gem 'recurly', '~> 2.18.20'
18
18
  ```
19
19
 
20
20
  Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
@@ -261,12 +261,12 @@ module Recurly
261
261
  #
262
262
  # @return [true, false] +true+ when successful, +false+ when unable to
263
263
  # (e.g., the subscription is not active).
264
- # @param next_renewal_date [Time] when the subscription should renew.
264
+ # @param next_bill_date [Time] when the subscription should renew.
265
265
  # @param bulk [boolean] set to true for bulk updates (bypassing 60 second wait).
266
- def postpone next_renewal_date, bulk=false
266
+ def postpone next_bill_date, bulk=false
267
267
  return false unless link? :postpone
268
268
  reload follow_link(:postpone,
269
- :params => { :next_renewal_date => next_renewal_date, :bulk => bulk }
269
+ :params => { :next_bill_date => next_bill_date, :bulk => bulk }
270
270
  )
271
271
  true
272
272
  end
@@ -9,6 +9,8 @@ module Recurly
9
9
  tax_in_cents
10
10
  level
11
11
  billable
12
+ tax_type
13
+ tax_region
12
14
  )
13
15
 
14
16
  embedded! true
@@ -1,6 +1,6 @@
1
1
  module Recurly
2
2
  module Version
3
- VERSION = "2.18.19"
3
+ VERSION = "2.18.20"
4
4
 
5
5
  class << self
6
6
  def inspect
@@ -20,75 +20,77 @@ module Recurly
20
20
  # ...
21
21
  # end
22
22
  module Webhook
23
- autoload :Notification, 'recurly/webhook/notification'
24
- autoload :AccountNotification, 'recurly/webhook/account_notification'
25
- autoload :SubscriptionNotification, 'recurly/webhook/subscription_notification'
26
- autoload :InvoiceNotification, 'recurly/webhook/invoice_notification'
27
- autoload :ItemNotification, 'recurly/webhook/item_notification'
28
- autoload :TransactionNotification, 'recurly/webhook/transaction_notification'
29
- autoload :DunningNotification, 'recurly/webhook/dunning_notification'
30
- autoload :CreditPaymentNotification, 'recurly/webhook/credit_payment_notification'
31
- autoload :BillingInfoUpdatedNotification, 'recurly/webhook/billing_info_updated_notification'
32
- autoload :BillingInfoUpdateFailedNotification, 'recurly/webhook/billing_info_update_failed_notification'
33
- autoload :SubscriptionPausedNotification, 'recurly/webhook/subscription_paused_notification'
34
- autoload :SubscriptionPauseCanceledNotification,'recurly/webhook/subscription_pause_canceled_notification'
35
- autoload :SubscriptionPauseModifiedNotification,'recurly/webhook/subscription_pause_modified_notification'
36
- autoload :PausedSubscriptionRenewalNotification,'recurly/webhook/paused_subscription_renewal_notification'
37
- autoload :SubscriptionResumedNotification, 'recurly/webhook/subscription_resumed_notification'
38
- autoload :CanceledSubscriptionNotification, 'recurly/webhook/canceled_subscription_notification'
39
- autoload :ScheduledSubscriptionPauseNotification,'recurly/webhook/scheduled_subscription_pause_notification'
40
- autoload :CanceledAccountNotification, 'recurly/webhook/canceled_account_notification'
41
- autoload :ClosedInvoiceNotification, 'recurly/webhook/closed_invoice_notification'
42
- autoload :ClosedCreditInvoiceNotification, 'recurly/webhook/closed_credit_invoice_notification'
43
- autoload :NewCreditInvoiceNotification, 'recurly/webhook/new_credit_invoice_notification'
44
- autoload :ProcessingCreditInvoiceNotification, 'recurly/webhook/processing_credit_invoice_notification'
45
- autoload :ReopenedCreditInvoiceNotification, 'recurly/webhook/reopened_credit_invoice_notification'
46
- autoload :VoidedCreditInvoiceNotification, 'recurly/webhook/voided_credit_invoice_notification'
47
- autoload :NewCreditPaymentNotification, 'recurly/webhook/new_credit_payment_notification'
48
- autoload :VoidedCreditPaymentNotification, 'recurly/webhook/voided_credit_payment_notification'
49
- autoload :ExpiredSubscriptionNotification, 'recurly/webhook/expired_subscription_notification'
50
- autoload :FailedPaymentNotification, 'recurly/webhook/failed_payment_notification'
51
- autoload :NewAccountNotification, 'recurly/webhook/new_account_notification'
52
- autoload :UpdatedAccountNotification, 'recurly/webhook/updated_account_notification'
53
- autoload :NewInvoiceNotification, 'recurly/webhook/new_invoice_notification'
54
- autoload :NewChargeInvoiceNotification, 'recurly/webhook/new_charge_invoice_notification'
55
- autoload :ProcessingChargeInvoiceNotification, 'recurly/webhook/processing_charge_invoice_notification'
56
- autoload :PastDueChargeInvoiceNotification, 'recurly/webhook/past_due_charge_invoice_notification'
57
- autoload :PaidChargeInvoiceNotification, 'recurly/webhook/paid_charge_invoice_notification'
58
- autoload :FailedChargeInvoiceNotification, 'recurly/webhook/failed_charge_invoice_notification'
59
- autoload :ReopenedChargeInvoiceNotification, 'recurly/webhook/reopened_charge_invoice_notification'
60
- autoload :NewSubscriptionNotification, 'recurly/webhook/new_subscription_notification'
61
- autoload :PastDueInvoiceNotification, 'recurly/webhook/past_due_invoice_notification'
62
- autoload :ReactivatedAccountNotification, 'recurly/webhook/reactivated_account_notification'
63
- autoload :RenewedSubscriptionNotification, 'recurly/webhook/renewed_subscription_notification'
64
- autoload :SuccessfulPaymentNotification, 'recurly/webhook/successful_payment_notification'
65
- autoload :SuccessfulRefundNotification, 'recurly/webhook/successful_refund_notification'
66
- autoload :UpdatedSubscriptionNotification, 'recurly/webhook/updated_subscription_notification'
67
- autoload :VoidPaymentNotification, 'recurly/webhook/void_payment_notification'
68
- autoload :ProcessingPaymentNotification, 'recurly/webhook/processing_payment_notification'
69
- autoload :ProcessingInvoiceNotification, 'recurly/webhook/processing_invoice_notification'
70
- autoload :ScheduledPaymentNotification, 'recurly/webhook/scheduled_payment_notification'
71
- autoload :NewDunningEventNotification, 'recurly/webhook/new_dunning_event_notification'
72
- autoload :GiftCardNotification, 'recurly/webhook/gift_card_notification'
73
- autoload :PurchasedGiftCardNotification, 'recurly/webhook/purchased_gift_card_notification'
74
- autoload :UpdatedGiftCardNotification, 'recurly/webhook/updated_gift_card_notification'
75
- autoload :RegeneratedGiftCardNotification, 'recurly/webhook/regenerated_gift_card_notification'
76
- autoload :CanceledGiftCardNotification, 'recurly/webhook/canceled_gift_card_notification'
77
- autoload :RedeemedGiftCardNotification, 'recurly/webhook/redeemed_gift_card_notification'
78
- autoload :UpdatedBalanceGiftCardNotification, 'recurly/webhook/updated_balance_gift_card_notification'
79
- autoload :NewUsageNotification, 'recurly/webhook/new_usage_notification'
80
- autoload :TransactionAuthorizedNotification, 'recurly/webhook/transaction_authorized_notification'
81
- autoload :LowBalanceGiftCardNotification, 'recurly/webhook/low_balance_gift_card_notification'
82
- autoload :TransactionStatusUpdatedNotification, 'recurly/webhook/transaction_status_updated_notification'
83
- autoload :UpdatedInvoiceNotification, 'recurly/webhook/updated_invoice_notification'
84
- autoload :NewShippingAddressNotification, 'recurly/webhook/new_shipping_address_notification'
85
- autoload :UpdatedShippingAddressNotification, 'recurly/webhook/updated_shipping_address_notification'
86
- autoload :DeletedShippingAddressNotification, 'recurly/webhook/deleted_shipping_address_notification'
87
- autoload :FraudInfoUpdatedNotification, 'recurly/webhook/fraud_info_updated_notification'
88
- autoload :NewItemNotification, 'recurly/webhook/new_item_notification'
89
- autoload :UpdatedItemNotification, 'recurly/webhook/updated_item_notification'
90
- autoload :DeactivatedItemNotification, 'recurly/webhook/deactivated_item_notification'
91
- autoload :ReactivatedItemNotification, 'recurly/webhook/reactivated_item_notification'
23
+ autoload :Notification, 'recurly/webhook/notification'
24
+ autoload :AccountNotification, 'recurly/webhook/account_notification'
25
+ autoload :SubscriptionNotification, 'recurly/webhook/subscription_notification'
26
+ autoload :InvoiceNotification, 'recurly/webhook/invoice_notification'
27
+ autoload :ItemNotification, 'recurly/webhook/item_notification'
28
+ autoload :TransactionNotification, 'recurly/webhook/transaction_notification'
29
+ autoload :DunningNotification, 'recurly/webhook/dunning_notification'
30
+ autoload :CreditPaymentNotification, 'recurly/webhook/credit_payment_notification'
31
+ autoload :BillingInfoUpdatedNotification, 'recurly/webhook/billing_info_updated_notification'
32
+ autoload :BillingInfoUpdateFailedNotification, 'recurly/webhook/billing_info_update_failed_notification'
33
+ autoload :SubscriptionPausedNotification, 'recurly/webhook/subscription_paused_notification'
34
+ autoload :SubscriptionPauseCanceledNotification, 'recurly/webhook/subscription_pause_canceled_notification'
35
+ autoload :SubscriptionPauseModifiedNotification, 'recurly/webhook/subscription_pause_modified_notification'
36
+ autoload :PausedSubscriptionRenewalNotification, 'recurly/webhook/paused_subscription_renewal_notification'
37
+ autoload :SubscriptionResumedNotification, 'recurly/webhook/subscription_resumed_notification'
38
+ autoload :CanceledSubscriptionNotification, 'recurly/webhook/canceled_subscription_notification'
39
+ autoload :ScheduledSubscriptionPauseNotification, 'recurly/webhook/scheduled_subscription_pause_notification'
40
+ autoload :ScheduledSubscriptionUpdateNotification, 'recurly/webhook/scheduled_subscription_update_notification'
41
+ autoload :CanceledAccountNotification, 'recurly/webhook/canceled_account_notification'
42
+ autoload :ClosedInvoiceNotification, 'recurly/webhook/closed_invoice_notification'
43
+ autoload :ClosedCreditInvoiceNotification, 'recurly/webhook/closed_credit_invoice_notification'
44
+ autoload :NewCreditInvoiceNotification, 'recurly/webhook/new_credit_invoice_notification'
45
+ autoload :ProcessingCreditInvoiceNotification, 'recurly/webhook/processing_credit_invoice_notification'
46
+ autoload :ReopenedCreditInvoiceNotification, 'recurly/webhook/reopened_credit_invoice_notification'
47
+ autoload :VoidedCreditInvoiceNotification, 'recurly/webhook/voided_credit_invoice_notification'
48
+ autoload :NewCreditPaymentNotification, 'recurly/webhook/new_credit_payment_notification'
49
+ autoload :VoidedCreditPaymentNotification, 'recurly/webhook/voided_credit_payment_notification'
50
+ autoload :ExpiredSubscriptionNotification, 'recurly/webhook/expired_subscription_notification'
51
+ autoload :FailedPaymentNotification, 'recurly/webhook/failed_payment_notification'
52
+ autoload :NewAccountNotification, 'recurly/webhook/new_account_notification'
53
+ autoload :UpdatedAccountNotification, 'recurly/webhook/updated_account_notification'
54
+ autoload :NewInvoiceNotification, 'recurly/webhook/new_invoice_notification'
55
+ autoload :NewChargeInvoiceNotification, 'recurly/webhook/new_charge_invoice_notification'
56
+ autoload :ProcessingChargeInvoiceNotification, 'recurly/webhook/processing_charge_invoice_notification'
57
+ autoload :PastDueChargeInvoiceNotification, 'recurly/webhook/past_due_charge_invoice_notification'
58
+ autoload :PaidChargeInvoiceNotification, 'recurly/webhook/paid_charge_invoice_notification'
59
+ autoload :FailedChargeInvoiceNotification, 'recurly/webhook/failed_charge_invoice_notification'
60
+ autoload :ReopenedChargeInvoiceNotification, 'recurly/webhook/reopened_charge_invoice_notification'
61
+ autoload :NewSubscriptionNotification, 'recurly/webhook/new_subscription_notification'
62
+ autoload :PastDueInvoiceNotification, 'recurly/webhook/past_due_invoice_notification'
63
+ autoload :ReactivatedAccountNotification, 'recurly/webhook/reactivated_account_notification'
64
+ autoload :RenewedSubscriptionNotification, 'recurly/webhook/renewed_subscription_notification'
65
+ autoload :SuccessfulPaymentNotification, 'recurly/webhook/successful_payment_notification'
66
+ autoload :SuccessfulRefundNotification, 'recurly/webhook/successful_refund_notification'
67
+ autoload :UpdatedSubscriptionNotification, 'recurly/webhook/updated_subscription_notification'
68
+ autoload :VoidPaymentNotification, 'recurly/webhook/void_payment_notification'
69
+ autoload :ProcessingPaymentNotification, 'recurly/webhook/processing_payment_notification'
70
+ autoload :ProcessingInvoiceNotification, 'recurly/webhook/processing_invoice_notification'
71
+ autoload :ScheduledPaymentNotification, 'recurly/webhook/scheduled_payment_notification'
72
+ autoload :NewDunningEventNotification, 'recurly/webhook/new_dunning_event_notification'
73
+ autoload :GiftCardNotification, 'recurly/webhook/gift_card_notification'
74
+ autoload :PurchasedGiftCardNotification, 'recurly/webhook/purchased_gift_card_notification'
75
+ autoload :UpdatedGiftCardNotification, 'recurly/webhook/updated_gift_card_notification'
76
+ autoload :RegeneratedGiftCardNotification, 'recurly/webhook/regenerated_gift_card_notification'
77
+ autoload :CanceledGiftCardNotification, 'recurly/webhook/canceled_gift_card_notification'
78
+ autoload :RedeemedGiftCardNotification, 'recurly/webhook/redeemed_gift_card_notification'
79
+ autoload :UpdatedBalanceGiftCardNotification, 'recurly/webhook/updated_balance_gift_card_notification'
80
+ autoload :NewUsageNotification, 'recurly/webhook/new_usage_notification'
81
+ autoload :TransactionAuthorizedNotification, 'recurly/webhook/transaction_authorized_notification'
82
+ autoload :LowBalanceGiftCardNotification, 'recurly/webhook/low_balance_gift_card_notification'
83
+ autoload :TransactionStatusUpdatedNotification, 'recurly/webhook/transaction_status_updated_notification'
84
+ autoload :UpdatedInvoiceNotification, 'recurly/webhook/updated_invoice_notification'
85
+ autoload :NewShippingAddressNotification, 'recurly/webhook/new_shipping_address_notification'
86
+ autoload :UpdatedShippingAddressNotification, 'recurly/webhook/updated_shipping_address_notification'
87
+ autoload :DeletedShippingAddressNotification, 'recurly/webhook/deleted_shipping_address_notification'
88
+ autoload :FraudInfoUpdatedNotification, 'recurly/webhook/fraud_info_updated_notification'
89
+ autoload :NewItemNotification, 'recurly/webhook/new_item_notification'
90
+ autoload :UpdatedItemNotification, 'recurly/webhook/updated_item_notification'
91
+ autoload :DeactivatedItemNotification, 'recurly/webhook/deactivated_item_notification'
92
+ autoload :ReactivatedItemNotification, 'recurly/webhook/reactivated_item_notification'
93
+ autoload :PrerenewalNotification, 'recurly/webhook/prerenewal_notification'
92
94
 
93
95
  # This exception is raised if the Webhook Notification initialization fails
94
96
  class NotificationError < Error
@@ -0,0 +1,6 @@
1
+ module Recurly
2
+ module Webhook
3
+ class PrerenewalNotification < SubscriptionNotification
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module Recurly
2
+ module Webhook
3
+ class ScheduledSubscriptionUpdateNotification < SubscriptionNotification
4
+ end
5
+ end
6
+ end
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.19
4
+ version: 2.18.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-22 00:00:00.000000000 Z
11
+ date: 2021-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -209,6 +209,7 @@ files:
209
209
  - lib/recurly/webhook/past_due_charge_invoice_notification.rb
210
210
  - lib/recurly/webhook/past_due_invoice_notification.rb
211
211
  - lib/recurly/webhook/paused_subscription_renewal_notification.rb
212
+ - lib/recurly/webhook/prerenewal_notification.rb
212
213
  - lib/recurly/webhook/processing_charge_invoice_notification.rb
213
214
  - lib/recurly/webhook/processing_credit_invoice_notification.rb
214
215
  - lib/recurly/webhook/processing_invoice_notification.rb
@@ -223,6 +224,7 @@ files:
223
224
  - lib/recurly/webhook/reopened_credit_invoice_notification.rb
224
225
  - lib/recurly/webhook/scheduled_payment_notification.rb
225
226
  - lib/recurly/webhook/scheduled_subscription_pause_notification.rb
227
+ - lib/recurly/webhook/scheduled_subscription_update_notification.rb
226
228
  - lib/recurly/webhook/subscription_notification.rb
227
229
  - lib/recurly/webhook/subscription_pause_canceled_notification.rb
228
230
  - lib/recurly/webhook/subscription_pause_modified_notification.rb