stripe 2.6.0 → 2.7.0

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
  SHA1:
3
- metadata.gz: b5b655483032b5281ff2bccf369e08c66731996e
4
- data.tar.gz: 63a2e6852445f94454662b40aebf3006088fd95c
3
+ metadata.gz: 2f1ca52eecc695b6655a4317d0b5c8c893431aab
4
+ data.tar.gz: 1a5e5f17ba9e3e73574fb3af3f2014b3b39b06ed
5
5
  SHA512:
6
- metadata.gz: 7cebea1dfb72b5a059f39ef0385cfeb60bcfe7fb813e443fefbf8489eb7eb4028ffd4089aa3720cc8641f4fdb7cf4af1382e446578b5698014440116ce4199f1
7
- data.tar.gz: 96800765a11c5f8ec5b8e1417861ceb4fe296a784a28f25cc4fadbc7541577ee0a0ca1ae26c2ebd2cadf9b1b56914053eab51d6511282f9018e51024314d3699
6
+ metadata.gz: 9bf4f072ef017d7247c014606532275d976a46aa451fbb9be12d25eaa792b4ae843795d329cf94359d41c83a1a3bf836b090ba7beb20ebcad6b4151497469cff
7
+ data.tar.gz: 58db5a2043f13901d93e9024a1dcfffde774cbcfc4f614cce4b43354069efbc115252b78981f33baddc599a090b2775dd6ee23b9bc2aa4d5c43007d9f062c57d
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 2.7.0 2017-04-26
2
+
3
+ * Add model `InvoiceLineItem`
4
+
1
5
  === 2.6.0 2017-04-26
2
6
 
3
7
  * Add `OBJECT_NAME` constants to all API resources
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.6.0
1
+ 2.7.0
data/lib/stripe.rb CHANGED
@@ -50,6 +50,7 @@ require 'stripe/event'
50
50
  require 'stripe/file_upload'
51
51
  require 'stripe/invoice'
52
52
  require 'stripe/invoice_item'
53
+ require 'stripe/invoice_line_item'
53
54
  require 'stripe/order'
54
55
  require 'stripe/order_return'
55
56
  require 'stripe/payout'
@@ -0,0 +1,5 @@
1
+ module Stripe
2
+ class InvoiceLineItem < StripeObject
3
+ OBJECT_NAME = 'line_item'
4
+ end
5
+ end
data/lib/stripe/util.rb CHANGED
@@ -43,6 +43,7 @@ module Stripe
43
43
  FileUpload::OBJECT_NAME => FileUpload,
44
44
  Invoice::OBJECT_NAME => Invoice,
45
45
  InvoiceItem::OBJECT_NAME => InvoiceItem,
46
+ InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
46
47
  Order::OBJECT_NAME => Order,
47
48
  OrderReturn::OBJECT_NAME => OrderReturn,
48
49
  Payout::OBJECT_NAME => Payout,
@@ -1,3 +1,3 @@
1
1
  module Stripe
2
- VERSION = '2.6.0'
2
+ VERSION = '2.7.0'
3
3
  end
@@ -0,0 +1,7 @@
1
+ require File.expand_path('../../test_helper', __FILE__)
2
+
3
+ module Stripe
4
+ class InvoiceLineItemTest < Test::Unit::TestCase
5
+ FIXTURE = API_FIXTURES.fetch(:invoice_line_item)
6
+ end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
@@ -73,6 +73,7 @@ files:
73
73
  - lib/stripe/file_upload.rb
74
74
  - lib/stripe/invoice.rb
75
75
  - lib/stripe/invoice_item.rb
76
+ - lib/stripe/invoice_line_item.rb
76
77
  - lib/stripe/list_object.rb
77
78
  - lib/stripe/order.rb
78
79
  - lib/stripe/order_return.rb
@@ -123,6 +124,7 @@ files:
123
124
  - test/stripe/errors_test.rb
124
125
  - test/stripe/file_upload_test.rb
125
126
  - test/stripe/invoice_item_test.rb
127
+ - test/stripe/invoice_line_item_test.rb
126
128
  - test/stripe/invoice_test.rb
127
129
  - test/stripe/list_object_test.rb
128
130
  - test/stripe/order_return_test.rb
@@ -194,6 +196,7 @@ test_files:
194
196
  - test/stripe/errors_test.rb
195
197
  - test/stripe/file_upload_test.rb
196
198
  - test/stripe/invoice_item_test.rb
199
+ - test/stripe/invoice_line_item_test.rb
197
200
  - test/stripe/invoice_test.rb
198
201
  - test/stripe/list_object_test.rb
199
202
  - test/stripe/order_return_test.rb