stripe 1.5.11 → 1.5.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/stripe.rb +6 -1
  2. data/lib/stripe/version.rb +1 -1
  3. metadata +4 -17
@@ -44,7 +44,8 @@ module Stripe
44
44
  'charge' => Charge,
45
45
  'customer' => Customer,
46
46
  'invoiceitem' => InvoiceItem,
47
- 'invoice' => Invoice
47
+ 'invoice' => Invoice,
48
+ 'plan' => Plan
48
49
  }
49
50
  case resp
50
51
  when Array
@@ -395,6 +396,10 @@ module Stripe
395
396
  url + '/capture'
396
397
  end
397
398
  end
399
+
400
+ class Plan < APIResource
401
+ include Stripe::APIOperations::Create
402
+ end
398
403
 
399
404
  class StripeError < StandardError; end
400
405
  class APIError < StripeError; end
@@ -1,3 +1,3 @@
1
1
  module Stripe
2
- VERSION = '1.5.11'
2
+ VERSION = '1.5.12'
3
3
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
4
  prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 5
9
- - 11
10
- version: 1.5.11
8
+ - 12
9
+ version: 1.5.12
11
10
  platform: ruby
12
11
  authors:
13
12
  - Ross Boucher
@@ -16,18 +15,16 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2011-07-12 00:00:00 -07:00
18
+ date: 2011-07-27 00:00:00 -07:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
22
  name: rest-client
24
23
  prerelease: false
25
24
  requirement: &id001 !ruby/object:Gem::Requirement
26
- none: false
27
25
  requirements:
28
26
  - - ">="
29
27
  - !ruby/object:Gem::Version
30
- hash: 3
31
28
  segments:
32
29
  - 0
33
30
  version: "0"
@@ -37,11 +34,9 @@ dependencies:
37
34
  name: mocha
38
35
  prerelease: false
39
36
  requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
37
  requirements:
42
38
  - - ">="
43
39
  - !ruby/object:Gem::Version
44
- hash: 3
45
40
  segments:
46
41
  - 0
47
42
  version: "0"
@@ -51,11 +46,9 @@ dependencies:
51
46
  name: shoulda
52
47
  prerelease: false
53
48
  requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
49
  requirements:
56
50
  - - ">="
57
51
  - !ruby/object:Gem::Version
58
- hash: 3
59
52
  segments:
60
53
  - 0
61
54
  version: "0"
@@ -65,11 +58,9 @@ dependencies:
65
58
  name: test-unit
66
59
  prerelease: false
67
60
  requirement: &id004 !ruby/object:Gem::Requirement
68
- none: false
69
61
  requirements:
70
62
  - - ">="
71
63
  - !ruby/object:Gem::Version
72
- hash: 3
73
64
  segments:
74
65
  - 0
75
66
  version: "0"
@@ -100,27 +91,23 @@ rdoc_options: []
100
91
  require_paths:
101
92
  - lib
102
93
  required_ruby_version: !ruby/object:Gem::Requirement
103
- none: false
104
94
  requirements:
105
95
  - - ">="
106
96
  - !ruby/object:Gem::Version
107
- hash: 3
108
97
  segments:
109
98
  - 0
110
99
  version: "0"
111
100
  required_rubygems_version: !ruby/object:Gem::Requirement
112
- none: false
113
101
  requirements:
114
102
  - - ">="
115
103
  - !ruby/object:Gem::Version
116
- hash: 3
117
104
  segments:
118
105
  - 0
119
106
  version: "0"
120
107
  requirements: []
121
108
 
122
109
  rubyforge_project:
123
- rubygems_version: 1.3.7
110
+ rubygems_version: 1.3.6
124
111
  signing_key:
125
112
  specification_version: 3
126
113
  summary: Ruby bindings for the Stripe API