stripe 3.14.0 → 3.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +3 -0
  3. data/CHANGELOG.md +3 -0
  4. data/Gemfile +2 -0
  5. data/Rakefile +2 -0
  6. data/VERSION +1 -1
  7. data/bin/stripe-console +2 -0
  8. data/lib/stripe.rb +2 -0
  9. data/lib/stripe/account.rb +2 -0
  10. data/lib/stripe/alipay_account.rb +2 -0
  11. data/lib/stripe/api_operations/create.rb +2 -0
  12. data/lib/stripe/api_operations/delete.rb +2 -0
  13. data/lib/stripe/api_operations/list.rb +2 -0
  14. data/lib/stripe/api_operations/nested_resource.rb +2 -0
  15. data/lib/stripe/api_operations/request.rb +2 -0
  16. data/lib/stripe/api_operations/save.rb +2 -0
  17. data/lib/stripe/api_resource.rb +2 -0
  18. data/lib/stripe/apple_pay_domain.rb +2 -0
  19. data/lib/stripe/application_fee.rb +2 -0
  20. data/lib/stripe/application_fee_refund.rb +2 -0
  21. data/lib/stripe/balance.rb +2 -0
  22. data/lib/stripe/balance_transaction.rb +2 -0
  23. data/lib/stripe/bank_account.rb +2 -0
  24. data/lib/stripe/bitcoin_receiver.rb +2 -0
  25. data/lib/stripe/bitcoin_transaction.rb +2 -0
  26. data/lib/stripe/card.rb +2 -0
  27. data/lib/stripe/charge.rb +2 -0
  28. data/lib/stripe/country_spec.rb +2 -0
  29. data/lib/stripe/coupon.rb +2 -0
  30. data/lib/stripe/customer.rb +2 -0
  31. data/lib/stripe/dispute.rb +2 -0
  32. data/lib/stripe/ephemeral_key.rb +2 -0
  33. data/lib/stripe/errors.rb +2 -0
  34. data/lib/stripe/event.rb +2 -0
  35. data/lib/stripe/exchange_rate.rb +2 -0
  36. data/lib/stripe/file_upload.rb +2 -0
  37. data/lib/stripe/invoice.rb +2 -0
  38. data/lib/stripe/invoice_item.rb +2 -0
  39. data/lib/stripe/invoice_line_item.rb +2 -0
  40. data/lib/stripe/issuer_fraud_record.rb +2 -0
  41. data/lib/stripe/list_object.rb +2 -0
  42. data/lib/stripe/login_link.rb +2 -0
  43. data/lib/stripe/oauth.rb +2 -0
  44. data/lib/stripe/order.rb +2 -0
  45. data/lib/stripe/order_return.rb +2 -0
  46. data/lib/stripe/payout.rb +2 -0
  47. data/lib/stripe/plan.rb +2 -0
  48. data/lib/stripe/product.rb +2 -0
  49. data/lib/stripe/recipient.rb +2 -0
  50. data/lib/stripe/recipient_transfer.rb +2 -0
  51. data/lib/stripe/refund.rb +2 -0
  52. data/lib/stripe/reversal.rb +2 -0
  53. data/lib/stripe/singleton_api_resource.rb +2 -0
  54. data/lib/stripe/sku.rb +2 -0
  55. data/lib/stripe/source.rb +2 -0
  56. data/lib/stripe/source_transaction.rb +2 -0
  57. data/lib/stripe/stripe_client.rb +2 -0
  58. data/lib/stripe/stripe_object.rb +2 -0
  59. data/lib/stripe/stripe_response.rb +2 -0
  60. data/lib/stripe/subscription.rb +2 -0
  61. data/lib/stripe/subscription_item.rb +2 -0
  62. data/lib/stripe/three_d_secure.rb +2 -0
  63. data/lib/stripe/token.rb +2 -0
  64. data/lib/stripe/topup.rb +2 -0
  65. data/lib/stripe/transfer.rb +2 -0
  66. data/lib/stripe/usage_record.rb +2 -0
  67. data/lib/stripe/util.rb +2 -0
  68. data/lib/stripe/version.rb +1 -1
  69. data/lib/stripe/webhook.rb +2 -0
  70. data/stripe.gemspec +2 -0
  71. data/test/api_stub_helpers.rb +1 -0
  72. data/test/stripe/account_external_accounts_operations_test.rb +2 -0
  73. data/test/stripe/account_login_links_operations_test.rb +2 -0
  74. data/test/stripe/account_test.rb +2 -0
  75. data/test/stripe/alipay_account_test.rb +2 -0
  76. data/test/stripe/api_operations_test.rb +2 -0
  77. data/test/stripe/api_resource_test.rb +2 -0
  78. data/test/stripe/apple_pay_domain_test.rb +2 -0
  79. data/test/stripe/application_fee_refund_test.rb +2 -0
  80. data/test/stripe/application_fee_refunds_operations_test.rb +2 -0
  81. data/test/stripe/application_fee_test.rb +2 -0
  82. data/test/stripe/balance_test.rb +2 -0
  83. data/test/stripe/bank_account_test.rb +2 -0
  84. data/test/stripe/charge_test.rb +2 -0
  85. data/test/stripe/country_spec_test.rb +2 -0
  86. data/test/stripe/coupon_test.rb +2 -0
  87. data/test/stripe/customer_card_test.rb +2 -0
  88. data/test/stripe/customer_sources_operations_test.rb +2 -0
  89. data/test/stripe/customer_test.rb +2 -0
  90. data/test/stripe/dispute_test.rb +2 -0
  91. data/test/stripe/ephemeral_key_test.rb +2 -0
  92. data/test/stripe/errors_test.rb +2 -0
  93. data/test/stripe/exchange_rate_test.rb +2 -0
  94. data/test/stripe/file_upload_test.rb +2 -0
  95. data/test/stripe/invoice_item_test.rb +2 -0
  96. data/test/stripe/invoice_line_item_test.rb +2 -0
  97. data/test/stripe/invoice_test.rb +2 -0
  98. data/test/stripe/issuer_fraud_record_test.rb +2 -0
  99. data/test/stripe/list_object_test.rb +2 -0
  100. data/test/stripe/login_link_test.rb +2 -0
  101. data/test/stripe/oauth_test.rb +2 -0
  102. data/test/stripe/order_return_test.rb +2 -0
  103. data/test/stripe/order_test.rb +2 -0
  104. data/test/stripe/payout_test.rb +2 -0
  105. data/test/stripe/plan_test.rb +2 -0
  106. data/test/stripe/product_test.rb +2 -0
  107. data/test/stripe/recipient_test.rb +2 -0
  108. data/test/stripe/refund_test.rb +2 -0
  109. data/test/stripe/reversal_test.rb +2 -0
  110. data/test/stripe/sku_test.rb +2 -0
  111. data/test/stripe/source_test.rb +2 -0
  112. data/test/stripe/source_transaction_test.rb +2 -0
  113. data/test/stripe/stripe_client_test.rb +2 -0
  114. data/test/stripe/stripe_object_test.rb +2 -0
  115. data/test/stripe/stripe_response_test.rb +2 -0
  116. data/test/stripe/subscription_item_test.rb +2 -0
  117. data/test/stripe/subscription_test.rb +2 -0
  118. data/test/stripe/three_d_secure_test.rb +2 -0
  119. data/test/stripe/topup_test.rb +2 -0
  120. data/test/stripe/transfer_reversals_operations_test.rb +2 -0
  121. data/test/stripe/transfer_test.rb +2 -0
  122. data/test/stripe/usage_record_test.rb +2 -0
  123. data/test/stripe/util_test.rb +2 -0
  124. data/test/stripe/webhook_test.rb +2 -0
  125. data/test/stripe_test.rb +2 -0
  126. data/test/test_data.rb +2 -0
  127. data/test/test_helper.rb +2 -0
  128. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 952fb42842e3fb593946642336b01441c60f46bc
4
- data.tar.gz: d8a51dbd6360334217b838da9165bfeef598ddd8
3
+ metadata.gz: 3b9415299005f81ae9a9e04797795f89aef90e76
4
+ data.tar.gz: d6108d66d67c858c8a97a35ca4a4279a40f7fcc6
5
5
  SHA512:
6
- metadata.gz: 42c1ec4c359ee3b3e78399dbfff994cedd4e2113498a3e0bac18633c980e1131cdf0edb54145c2fba31a6b927330a8ae089c058ae58cac9d4e315b0889372587
7
- data.tar.gz: 262f8aa4e928e99141f2b358043ee42e717384ac1542770fbe1b928da7d9a932f08d18ff6c5ace82fd8c61b3ee9ae2ff33231d1aa5831f86ba2e2e224922c5ab
6
+ metadata.gz: 922b12ee5520a755d9c108dbdc146436e0faf00fbdb5fee5a80fd62f0cd877527d7b1eecb7768c057ba39f29f3a951cfa9151b09e6f859a541065f4dc2e21cf9
7
+ data.tar.gz: a1bdc5024e7bfc4f601df3162c497a468464e80a8501c69500fb527ace1cb48322d83984470e2cbc6fbe7bfb57fd579b17f14593acac2f7bafa6ed197753089d
@@ -13,6 +13,9 @@ Layout/IndentArray:
13
13
  Layout/IndentHash:
14
14
  EnforcedStyle: consistent
15
15
 
16
+ Style/FrozenStringLiteralComment:
17
+ EnforcedStyle: always
18
+
16
19
  Style/StringLiterals:
17
20
  EnforcedStyle: double_quotes
18
21
 
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.15.0 - 2018-05-10
4
+ * [#649](https://github.com/stripe/stripe-ruby/pull/649) Freeze all string literals
5
+
3
6
  ## 3.14.0 - 2018-05-09
4
7
  * [#645](https://github.com/stripe/stripe-ruby/pull/645) Add support for issuer fraud records
5
8
 
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source "https://rubygems.org"
2
4
 
3
5
  gemspec
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rake/testtask"
2
4
  require "rubocop/rake_task"
3
5
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.14.0
1
+ 3.15.0
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ # frozen_string_literal: true
4
+
3
5
  require "irb"
4
6
  require "irb/completion"
5
7
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Stripe Ruby bindings
2
4
  # API spec at https://stripe.com/docs/api
3
5
  require "cgi"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Account < APIResource
3
5
  extend Gem::Deprecate
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class AlipayAccount < APIResource
3
5
  include Stripe::APIOperations::Save
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  module APIOperations
3
5
  module Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  module APIOperations
3
5
  module Delete
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  module APIOperations
3
5
  module List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  module APIOperations
3
5
  # Adds methods to help manipulate a subresource from its parent resource so
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  module APIOperations
3
5
  module Request
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  module APIOperations
3
5
  module Save
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class APIResource < StripeObject
3
5
  include Stripe::APIOperations::Request
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  # Domains registered for Apple Pay on the Web
3
5
  class ApplePayDomain < APIResource
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class ApplicationFee < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class ApplicationFeeRefund < APIResource
3
5
  include Stripe::APIOperations::Save
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Balance < SingletonAPIResource
3
5
  OBJECT_NAME = "balance".freeze
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class BalanceTransaction < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class BankAccount < APIResource
3
5
  include Stripe::APIOperations::Save
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class BitcoinReceiver < APIResource
3
5
  # Directly creating or retrieving BitcoinReceivers is deprecated. Please use
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class BitcoinTransaction < APIResource
3
5
  # Directly retrieving BitcoinTransactions is deprecated. Please use the
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Card < APIResource
3
5
  include Stripe::APIOperations::Save
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Charge < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class CountrySpec < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Coupon < APIResource
3
5
  extend Stripe::APIOperations::Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Customer < APIResource
3
5
  extend Stripe::APIOperations::Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Dispute < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class EphemeralKey < APIResource
3
5
  extend Stripe::APIOperations::Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  # StripeError is the base error from which all other more specific Stripe
3
5
  # errors derive.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Event < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class ExchangeRate < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class FileUpload < APIResource
3
5
  extend Stripe::APIOperations::Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Invoice < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class InvoiceItem < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class InvoiceLineItem < StripeObject
3
5
  OBJECT_NAME = "line_item".freeze
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class IssuerFraudRecord < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class ListObject < StripeObject
3
5
  include Enumerable
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class LoginLink < APIResource
3
5
  OBJECT_NAME = "login_link".freeze
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  module OAuth
3
5
  module OAuthOperations
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Order < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class OrderReturn < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Payout < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Plan < APIResource
3
5
  extend Stripe::APIOperations::Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Product < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  # Recipients objects are deprecated. Please use Stripe Connect instead.
3
5
  class Recipient < APIResource
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class RecipientTransfer < StripeObject
3
5
  OBJECT_NAME = "recipient_transfer".freeze
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Refund < APIResource
3
5
  extend Stripe::APIOperations::Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Reversal < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class SingletonAPIResource < APIResource
3
5
  def self.resource_url
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class SKU < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Source < APIResource
3
5
  extend Stripe::APIOperations::Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class SourceTransaction < StripeObject
3
5
  OBJECT_NAME = "source_transaction".freeze
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  # StripeClient executes requests against the Stripe API and allows a user to
3
5
  # recover both a resource a call returns as well as a response object that
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class StripeObject
3
5
  include Enumerable
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  # StripeResponse encapsulates some vitals of a response that came back from
3
5
  # the Stripe API.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Subscription < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class SubscriptionItem < APIResource
3
5
  extend Stripe::APIOperations::Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class ThreeDSecure < APIResource
3
5
  extend Stripe::APIOperations::Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Token < APIResource
3
5
  extend Stripe::APIOperations::Create
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Topup < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class Transfer < APIResource
3
5
  extend Stripe::APIOperations::List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  class UsageRecord < APIResource
3
5
  def self.create(params = {}, opts = {})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "cgi"
2
4
 
3
5
  module Stripe
@@ -1,3 +1,3 @@
1
1
  module Stripe
2
- VERSION = "3.14.0".freeze
2
+ VERSION = "3.15.0".freeze
3
3
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  module Webhook
3
5
  DEFAULT_TOLERANCE = 300
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "lib"))
2
4
 
3
5
  require "stripe/version"
@@ -0,0 +1 @@
1
+ # frozen_string_literal: true
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,4 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
+ # frozen_string_literal: true
3
+
2
4
  require File.expand_path("../../test_helper", __FILE__)
3
5
 
4
6
  module Stripe
@@ -1,4 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
+ # frozen_string_literal: true
3
+
2
4
  require File.expand_path("../../test_helper", __FILE__)
3
5
 
4
6
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../../test_helper", __FILE__)
2
4
 
3
5
  module Stripe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path("../test_helper", __FILE__)
2
4
 
3
5
  class StripeTest < Test::Unit::TestCase
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Stripe
2
4
  module TestData
3
5
  def make_error(type, message)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "coveralls"
2
4
  Coveralls.wear!("test_frameworks")
3
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.14.0
4
+ version: 3.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-09 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday