stripe-cli 1.2.0 → 1.2.2
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 +4 -4
- data/README.md +81 -53
- data/example.conf +5 -5
- data/lib/stripe/cli/command.rb +5 -0
- data/lib/stripe/cli/commands/charges.rb +5 -2
- data/lib/stripe/cli/commands/coupons.rb +6 -3
- data/lib/stripe/cli/commands/customers.rb +5 -3
- data/lib/stripe/cli/commands/events.rb +6 -3
- data/lib/stripe/cli/commands/invoices.rb +7 -4
- data/lib/stripe/cli/commands/plans.rb +6 -3
- data/lib/stripe/cli/commands/recipients.rb +6 -3
- data/lib/stripe/cli/commands/transactions.rb +6 -4
- data/lib/stripe/cli/commands/transfers.rb +8 -5
- data/lib/stripe/cli/version.rb +1 -1
- data/stripe-cli.gemspec +16 -17
- metadata +64 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22c5543234a4d305f3c7600096659ac3960cd3e6
|
4
|
+
data.tar.gz: 9474daf90c016de00e5815fbda102f55880c5f98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9db555bb4e27250c79841b8c0a8f996af5f15e1c51e6c86eac8c32ba537a064a1c3346f0f72710d3854a4cd534f0a73b116753db91b4eb3ad7206ce44c2999c
|
7
|
+
data.tar.gz: 4978dff12d91913bb9ca1ed728938db8144439be987cdd1a623754b24f560d5d4f6394a3a10e239bd78b3bbf9f0b9b2b95aba5cb995c621541145d55dafe421c
|
data/README.md
CHANGED
@@ -1,13 +1,18 @@
|
|
1
1
|
<a href="http://badge.fury.io/rb/stripe-cli"><img style="float:right;" src="https://badge.fury.io/rb/stripe-cli.png" alt="Gem Version" height="18"></a>
|
2
2
|
<a href="https://codeclimate.com/repos/52773e8fc7f3a3121a004455/feed"><img style="float:right;margin-right:10px;" src="https://codeclimate.com/repos/52773e8fc7f3a3121a004455/badges/67e5d04281479d6f8cb3/gpa.png"></a>
|
3
3
|
# Stripe::CLI
|
4
|
-
stripe-cli is
|
4
|
+
stripe-cli is the command line interface to [Stripe](https://stripe.com).
|
5
|
+
|
6
|
+
Offering a friendly, intuitive interface to the entire API via a git-style command suite.
|
7
|
+
|
8
|
+
With an emphasis on convenience and productivity and a commitment to pretty, colorful, but most of all READABLE output.
|
9
|
+
|
5
10
|
|
6
11
|
Uses [AwesomePrint](https://github.com/michaeldv/awesome_print) to provide very readable output on your command line.
|
7
12
|
|
8
13
|

|
9
14
|
|
10
|
-
Note that
|
15
|
+
Note that Date/Time stamps are converted automatically. No more Epoch/Unix timestamp garbage!
|
11
16
|
|
12
17
|
## Installation
|
13
18
|
|
@@ -46,8 +51,6 @@ You may also overide the default environment setting in your config file by pass
|
|
46
51
|
|
47
52
|
## Usage
|
48
53
|
|
49
|
-
$ stripe
|
50
|
-
|
51
54
|
Commands:
|
52
55
|
stripe balance # show currently available and pending balance amounts
|
53
56
|
stripe charges # find, list, create, capture, & refund charges
|
@@ -64,7 +67,7 @@ You may also overide the default environment setting in your config file by pass
|
|
64
67
|
|
65
68
|
Any parameters accepted by the [stripe api](https://stripe.com/docs/api) are acceptable options to pass into commands, including metadata.
|
66
69
|
|
67
|
-
$ stripe charges create [--amount=AMOUNT][--description=DESC][--
|
70
|
+
$ stripe charges create [--amount=AMOUNT][--description=DESC][--card-number=NUM][--card-cvc=CVC][--card-exp-month=MM][--card-exp-year=YYYY]
|
68
71
|
|
69
72
|
or
|
70
73
|
|
@@ -74,21 +77,26 @@ or
|
|
74
77
|
|
75
78
|
$ stripe charges create [--amount=AMOUNT][--customer=CUST_ID]
|
76
79
|
|
77
|
-
|
80
|
+
### cursor-based pagination
|
81
|
+
|
82
|
+
for all ```list``` operations
|
78
83
|
|
79
|
-
|
84
|
+
Options:
|
85
|
+
[--starting-after=OBJECT_ID] # The ID of the last object in the previous paged result set.
|
86
|
+
[--ending-before=OBJECT_ID] # The ID of the first object in the previous paged result set, when paging backwards through the list.
|
87
|
+
[--limit=LIMIT] # a limit on the number of resources returned, between 1 and 100
|
80
88
|
|
81
|
-
#### list operations
|
82
89
|
|
83
|
-
|
90
|
+
Though Stripe advocates using cursor-based pagination, offset-based pagination is still supported.
|
84
91
|
|
85
|
-
|
92
|
+
e.g. fetching a second page
|
86
93
|
|
87
|
-
|
94
|
+
stripe events list --count=10 --offset=10
|
88
95
|
|
89
|
-
... list [--offset=OFFSET]
|
90
96
|
|
91
|
-
|
97
|
+
### Interactive Menus
|
98
|
+
|
99
|
+
Passing NO (or partial) arguments to any operation, will trigger an interactive menu
|
92
100
|
|
93
101
|
$ stripe charges create
|
94
102
|
Amount in dollars: __
|
@@ -98,74 +106,96 @@ or
|
|
98
106
|
$ stripe charges create [--amount=AMOUNT]
|
99
107
|
Name on Card: __
|
100
108
|
|
101
|
-
|
109
|
+
### Exception Recovery
|
110
|
+
|
111
|
+
Api errors are rescued and their messages displayed for you to read. No more ```barfing``` to ```stdout```
|
102
112
|
|
103
113
|

|
104
114
|
|
105
115
|
### Charges
|
106
116
|
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
117
|
+
Commands:
|
118
|
+
stripe charges capture ID # Capture a charge
|
119
|
+
stripe charges create # Create a charge
|
120
|
+
stripe charges find ID # Find a charge
|
121
|
+
stripe charges help [COMMAND] # Describe subcommands or one specific subcommand
|
122
|
+
stripe charges list # List charges
|
123
|
+
stripe charges refund ID # Refund a charge
|
112
124
|
|
113
125
|
### Tokens
|
114
126
|
|
115
|
-
|
116
|
-
|
127
|
+
Commands:
|
128
|
+
stripe tokens create TYPE # create a new token of type TYPE(card or account)
|
129
|
+
stripe tokens find ID # Find a Token
|
130
|
+
stripe tokens help [COMMAND] # Describe subcommands or one specific subcommand
|
117
131
|
|
118
132
|
### Customers
|
119
133
|
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
134
|
+
Commands:
|
135
|
+
stripe customers create # Create a new customer
|
136
|
+
stripe customers delete ID # Delete a customer
|
137
|
+
stripe customers find ID # Find a customer
|
138
|
+
stripe customers help [COMMAND] # Describe subcommands or one specific subcommand
|
139
|
+
stripe customers list # List customers
|
124
140
|
|
125
141
|
### Invoices
|
126
142
|
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
143
|
+
Commands:
|
144
|
+
stripe invoices close ID # close an unpaid invoice
|
145
|
+
stripe invoices find ID # Find an invoice
|
146
|
+
stripe invoices help [COMMAND] # Describe subcommands or one specific subcommand
|
147
|
+
stripe invoices list # List invoices (optionally by customer_id)
|
148
|
+
stripe invoices pay ID # trigger an open invoice to be paid immediately
|
149
|
+
stripe invoices upcoming CUSTOMER # find the upcoming invoice for CUSTOMER
|
132
150
|
|
133
151
|
### Plans
|
134
152
|
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
153
|
+
Commands:
|
154
|
+
stripe plans create # Create a new plan
|
155
|
+
stripe plans delete ID # Delete a plan
|
156
|
+
stripe plans find ID # Find a plan
|
157
|
+
stripe plans help [COMMAND] # Describe subcommands or one specific subcommand
|
158
|
+
stripe plans list # List plans
|
139
159
|
|
140
160
|
### Coupons
|
141
161
|
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
162
|
+
Commands:
|
163
|
+
stripe coupons create # Create a new Coupon
|
164
|
+
stripe coupons delete ID # Delete a coupon
|
165
|
+
stripe coupons find ID # Find a coupon
|
166
|
+
stripe coupons help [COMMAND] # Describe subcommands or one specific subcommand
|
167
|
+
stripe coupons list # List coupons
|
146
168
|
|
147
169
|
### Events
|
148
170
|
|
149
|
-
|
150
|
-
|
171
|
+
Commands:
|
172
|
+
stripe events find ID # Find a event
|
173
|
+
stripe events help [COMMAND] # Describe subcommands or one specific subcommand
|
174
|
+
stripe events list # List events
|
151
175
|
|
152
176
|
### BalanceTransactions
|
153
177
|
|
154
|
-
|
155
|
-
|
178
|
+
Commands:
|
179
|
+
stripe transactions find ID # Find a transaction
|
180
|
+
stripe transactions help [COMMAND] # Describe subcommands or one specific subcommand
|
181
|
+
stripe transactions list [TYPE] # List transactions, optionaly filter by type: ( charge refund adjustment application_fee application_fee_refund transfer transfer_failure )
|
156
182
|
|
157
183
|
### Recipients
|
158
184
|
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
185
|
+
Commands:
|
186
|
+
stripe recipients create # create a new recipient
|
187
|
+
stripe recipients delete ID # delete a recipient
|
188
|
+
stripe recipients find ID # Find a recipient
|
189
|
+
stripe recipients help [COMMAND] # Describe subcommands or one specific subcommand
|
190
|
+
stripe recipients list # List recipients
|
163
191
|
|
164
192
|
### Transfers
|
165
193
|
|
166
|
-
|
167
|
-
|
168
|
-
|
194
|
+
Commands:
|
195
|
+
stripe transfers create # create a new outgoing money transfer
|
196
|
+
stripe transfers find ID # Find a transfer
|
197
|
+
stripe transfers help [COMMAND] # Describe subcommands or one specific subcommand
|
198
|
+
stripe transfers list # List transfers, optionaly filter by recipient or transfer status: ( pending paid failed )
|
169
199
|
|
170
200
|
#### Easter Egg Alert!
|
171
201
|
|
@@ -179,8 +209,6 @@ example:
|
|
179
209
|
|
180
210
|
## Road Map
|
181
211
|
|
182
|
-
1. test coverage, test coverage, test coverage!
|
183
|
-
1. `--date` filters for all `list` operations
|
184
212
|
1. `update` command operations
|
185
213
|
1. support for `disputes` & dispute handling
|
186
214
|
1. support creating/updating config file through cli
|
@@ -188,6 +216,6 @@ example:
|
|
188
216
|
1. request a feature you would like via the issue tracker
|
189
217
|
|
190
218
|
|
191
|
-
|
219
|
+
Pull requests are always welcome and appriciated.
|
192
220
|
|
193
|
-
report issues in the issues tracker
|
221
|
+
Please report issues, offer suggestions, and voice concerns in the issues tracker.
|
data/example.conf
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
default = test
|
1
|
+
default = "test"
|
2
|
+
version = "2013-08-13"
|
2
3
|
|
3
4
|
[test]
|
4
|
-
|
5
|
-
version = "2013-08-13"
|
5
|
+
key = "test_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
|
6
6
|
|
7
7
|
[live]
|
8
|
-
|
9
|
-
|
8
|
+
key = "live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
|
9
|
+
version = "2013-02-13"
|
data/lib/stripe/cli/command.rb
CHANGED
@@ -41,6 +41,11 @@ module Stripe
|
|
41
41
|
@@config
|
42
42
|
end
|
43
43
|
|
44
|
+
method_option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
|
45
|
+
method_option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
|
46
|
+
method_option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
|
47
|
+
method_option :offset, :desc => "the starting index to be used, relative to the entire list"
|
48
|
+
method_option :count, :desc => "depricated: use limit"
|
44
49
|
def list klass, options
|
45
50
|
request klass, :all, options, api_key
|
46
51
|
end
|
@@ -5,9 +5,12 @@ module Stripe
|
|
5
5
|
include Stripe::Utils
|
6
6
|
|
7
7
|
desc "list", "List charges"
|
8
|
-
option :
|
8
|
+
option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
|
9
|
+
option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
|
10
|
+
option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
|
11
|
+
option :offset, :desc => "the starting index to be used, relative to the entire list"
|
12
|
+
option :count, :desc => "depricated: use limit"
|
9
13
|
option :customer
|
10
|
-
option :offset
|
11
14
|
def list
|
12
15
|
super Stripe::Charge, options
|
13
16
|
end
|
@@ -3,10 +3,13 @@ module Stripe
|
|
3
3
|
module CLI
|
4
4
|
module Commands
|
5
5
|
class Coupons < Command
|
6
|
-
desc "list", "List coupons"
|
7
|
-
option :count
|
8
|
-
option :offset
|
9
6
|
|
7
|
+
desc "list", "List coupons"
|
8
|
+
option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
|
9
|
+
option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
|
10
|
+
option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
|
11
|
+
option :offset, :desc => "the starting index to be used, relative to the entire list"
|
12
|
+
option :count, :desc => "depricated: use limit"
|
10
13
|
def list
|
11
14
|
super Stripe::Coupon, options
|
12
15
|
end
|
@@ -5,9 +5,11 @@ module Stripe
|
|
5
5
|
include Stripe::Utils
|
6
6
|
|
7
7
|
desc "list", "List customers"
|
8
|
-
option :
|
9
|
-
option :
|
10
|
-
|
8
|
+
option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
|
9
|
+
option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
|
10
|
+
option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
|
11
|
+
option :offset, :desc => "the starting index to be used, relative to the entire list"
|
12
|
+
option :count, :desc => "depricated: use limit"
|
11
13
|
def list
|
12
14
|
super Stripe::Customer, options
|
13
15
|
end
|
@@ -2,10 +2,13 @@ module Stripe
|
|
2
2
|
module CLI
|
3
3
|
module Commands
|
4
4
|
class Events < Command
|
5
|
-
desc "list", "List events"
|
6
|
-
option :count
|
7
|
-
option :offset
|
8
5
|
|
6
|
+
desc "list", "List events"
|
7
|
+
option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
|
8
|
+
option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
|
9
|
+
option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
|
10
|
+
option :offset, :desc => "the starting index to be used, relative to the entire list"
|
11
|
+
option :count, :desc => "depricated: use limit"
|
9
12
|
def list
|
10
13
|
super Stripe::Event, options
|
11
14
|
end
|
@@ -2,11 +2,14 @@ module Stripe
|
|
2
2
|
module CLI
|
3
3
|
module Commands
|
4
4
|
class Invoices < Command
|
5
|
-
desc "list", "List invoices"
|
6
|
-
option :count
|
7
|
-
option :customer
|
8
|
-
option :offset
|
9
5
|
|
6
|
+
desc "list", "List invoices (optionally by customer_id)"
|
7
|
+
option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
|
8
|
+
option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
|
9
|
+
option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
|
10
|
+
option :offset, :desc => "the starting index to be used, relative to the entire list"
|
11
|
+
option :count, :desc => "depricated: use limit"
|
12
|
+
option :customer
|
10
13
|
def list
|
11
14
|
super Stripe::Invoice, options
|
12
15
|
end
|
@@ -2,10 +2,13 @@ module Stripe
|
|
2
2
|
module CLI
|
3
3
|
module Commands
|
4
4
|
class Plans < Command
|
5
|
-
desc "list", "List plans"
|
6
|
-
option :count
|
7
|
-
option :offset
|
8
5
|
|
6
|
+
desc "list", "List plans"
|
7
|
+
option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
|
8
|
+
option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
|
9
|
+
option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
|
10
|
+
option :offset, :desc => "the starting index to be used, relative to the entire list"
|
11
|
+
option :count, :desc => "depricated: use limit"
|
9
12
|
def list
|
10
13
|
super Stripe::Plan, options
|
11
14
|
end
|
@@ -2,11 +2,14 @@ module Stripe
|
|
2
2
|
module CLI
|
3
3
|
module Commands
|
4
4
|
class Recipients < Command
|
5
|
+
|
5
6
|
desc "list", "List recipients"
|
6
|
-
option :
|
7
|
-
option :
|
7
|
+
option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
|
8
|
+
option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
|
9
|
+
option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
|
10
|
+
option :offset, :desc => "the starting index to be used, relative to the entire list"
|
11
|
+
option :count, :desc => "depricated: use limit"
|
8
12
|
option :verified => :boolean
|
9
|
-
|
10
13
|
def list
|
11
14
|
super Stripe::Recipient, options
|
12
15
|
end
|
@@ -2,13 +2,15 @@ module Stripe
|
|
2
2
|
module CLI
|
3
3
|
module Commands
|
4
4
|
class Transactions < Command
|
5
|
+
|
5
6
|
desc "list [TYPE]", "List transactions, optionaly filter by type: ( charges, refunds, adjustments, application_fees, application_fee_refunds, transfers, transfer_failures )"
|
6
|
-
|
7
|
-
option :
|
8
|
-
option :
|
7
|
+
option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
|
8
|
+
option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
|
9
|
+
option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
|
10
|
+
option :offset, :desc => "the starting index to be used, relative to the entire list"
|
11
|
+
option :count, :desc => "depricated: use limit"
|
9
12
|
option :type, :enum => %w( charge refund adjustment application_fee application_fee_refund transfer transfer_failure )
|
10
13
|
option :source
|
11
|
-
|
12
14
|
def list type = 'all'
|
13
15
|
options[:type] = type.sub(/s$/,'') unless type == 'all'
|
14
16
|
super Stripe::BalanceTransaction, options
|
@@ -2,12 +2,15 @@ module Stripe
|
|
2
2
|
module CLI
|
3
3
|
module Commands
|
4
4
|
class Transfers < Command
|
5
|
-
desc "list", "List transfers"
|
6
|
-
option :count
|
7
|
-
option :offset
|
8
|
-
option :recipient
|
9
|
-
option :status, :enum => %w( pending paid failed )
|
10
5
|
|
6
|
+
desc "list", "List transfers, optionaly filter by recipient or transfer status: ( pending paid failed )"
|
7
|
+
option :starting_after, :desc => "The ID of the last object in the previous paged result set. For cursor-based pagination."
|
8
|
+
option :ending_before, :desc => "The ID of the first object in the previous paged result set, when paging backwards through the list."
|
9
|
+
option :limit, :desc => "a limit on the number of resources returned, between 1 and 100"
|
10
|
+
option :offset, :desc => "the starting index to be used, relative to the entire list"
|
11
|
+
option :count, :desc => "depricated: use limit"
|
12
|
+
option :recipient, :desc => "limit result set to RECIPIENT's transfers"
|
13
|
+
option :status, :desc => "filter by transfer status: ( pending paid failed )", :enum => %w( pending paid failed )
|
11
14
|
def list
|
12
15
|
super Stripe::Transfer, options
|
13
16
|
end
|
data/lib/stripe/cli/version.rb
CHANGED
data/stripe-cli.gemspec
CHANGED
@@ -4,30 +4,29 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'stripe/cli/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'stripe-cli'
|
8
8
|
spec.version = Stripe::CLI::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['Alex MacCaw', 'Andy Cohen']
|
10
|
+
spec.email = ['alex@stripe.com', 'outlawandy@gmail.com']
|
11
11
|
spec.description = <<-DESC.gsub("\t","")
|
12
|
-
a git-style cli, offering
|
12
|
+
a git-style cli, offering a friendly, intuitive interface to all of the Stripe API right from the console.
|
13
13
|
With an emphasis on convenience and productivity and a commitment to pretty, colorful, but most of all READABLE output.
|
14
14
|
DESC
|
15
15
|
spec.summary = %q{Command line interface to Stripe}
|
16
|
-
spec.homepage =
|
17
|
-
spec.license =
|
16
|
+
spec.homepage = 'https://stripe.com'
|
17
|
+
spec.license = 'MIT'
|
18
18
|
|
19
|
-
spec.files = `git ls-files`.split($/).delete_if{ |f|
|
19
|
+
spec.files = `git ls-files`.split($/).delete_if{ |f| 'png' == f[/\.(.*)$/,1] }# don't include example images
|
20
20
|
spec.bindir = 'bin'
|
21
21
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
22
|
-
spec.require_paths = [
|
23
|
-
spec.executables = [
|
22
|
+
spec.require_paths = ['lib']
|
23
|
+
spec.executables = ['stripe']
|
24
24
|
|
25
|
-
spec.add_development_dependency
|
26
|
-
spec.add_development_dependency
|
27
|
-
spec.
|
28
|
-
spec.
|
29
|
-
spec.
|
30
|
-
spec.
|
31
|
-
spec.
|
32
|
-
spec.add_dependency "chronic"
|
25
|
+
spec.add_development_dependency 'bundler', '~> 1.3'
|
26
|
+
spec.add_development_dependency 'rspec', '~> 2.12', '>= 2.12.0'
|
27
|
+
spec.add_runtime_dependency 'thor', '~> 0.18', '>= 0.18.1'
|
28
|
+
spec.add_runtime_dependency 'stripe', '~> 1.11', '>= 1.11.0'
|
29
|
+
spec.add_runtime_dependency 'awesome_print', '~> 1.2', '>= 1.2.0'
|
30
|
+
spec.add_runtime_dependency 'parseconfig', '~> 1.0', '>= 1.0.4'
|
31
|
+
spec.add_runtime_dependency 'chronic', '~> 0.10', '>= 0.10.2'
|
33
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex MacCaw
|
@@ -9,122 +9,144 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-05-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.3'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.3'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: rake
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - '>='
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '0'
|
35
|
-
type: :development
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - '>='
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '0'
|
42
28
|
- !ruby/object:Gem::Dependency
|
43
29
|
name: rspec
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|
45
31
|
requirements:
|
46
|
-
- -
|
32
|
+
- - "~>"
|
47
33
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
34
|
+
version: '2.12'
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 2.12.0
|
49
38
|
type: :development
|
50
39
|
prerelease: false
|
51
40
|
version_requirements: !ruby/object:Gem::Requirement
|
52
41
|
requirements:
|
53
|
-
- -
|
42
|
+
- - "~>"
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '2.12'
|
45
|
+
- - ">="
|
54
46
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
47
|
+
version: 2.12.0
|
56
48
|
- !ruby/object:Gem::Dependency
|
57
49
|
name: thor
|
58
50
|
requirement: !ruby/object:Gem::Requirement
|
59
51
|
requirements:
|
60
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.18'
|
55
|
+
- - ">="
|
61
56
|
- !ruby/object:Gem::Version
|
62
57
|
version: 0.18.1
|
63
58
|
type: :runtime
|
64
59
|
prerelease: false
|
65
60
|
version_requirements: !ruby/object:Gem::Requirement
|
66
61
|
requirements:
|
67
|
-
- - ~>
|
62
|
+
- - "~>"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '0.18'
|
65
|
+
- - ">="
|
68
66
|
- !ruby/object:Gem::Version
|
69
67
|
version: 0.18.1
|
70
68
|
- !ruby/object:Gem::Dependency
|
71
69
|
name: stripe
|
72
70
|
requirement: !ruby/object:Gem::Requirement
|
73
71
|
requirements:
|
74
|
-
- - ~>
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.11'
|
75
|
+
- - ">="
|
75
76
|
- !ruby/object:Gem::Version
|
76
77
|
version: 1.11.0
|
77
78
|
type: :runtime
|
78
79
|
prerelease: false
|
79
80
|
version_requirements: !ruby/object:Gem::Requirement
|
80
81
|
requirements:
|
81
|
-
- - ~>
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '1.11'
|
85
|
+
- - ">="
|
82
86
|
- !ruby/object:Gem::Version
|
83
87
|
version: 1.11.0
|
84
88
|
- !ruby/object:Gem::Dependency
|
85
89
|
name: awesome_print
|
86
90
|
requirement: !ruby/object:Gem::Requirement
|
87
91
|
requirements:
|
88
|
-
- -
|
92
|
+
- - "~>"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '1.2'
|
95
|
+
- - ">="
|
89
96
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
97
|
+
version: 1.2.0
|
91
98
|
type: :runtime
|
92
99
|
prerelease: false
|
93
100
|
version_requirements: !ruby/object:Gem::Requirement
|
94
101
|
requirements:
|
95
|
-
- -
|
102
|
+
- - "~>"
|
96
103
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
104
|
+
version: '1.2'
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 1.2.0
|
98
108
|
- !ruby/object:Gem::Dependency
|
99
109
|
name: parseconfig
|
100
110
|
requirement: !ruby/object:Gem::Requirement
|
101
111
|
requirements:
|
102
|
-
- -
|
112
|
+
- - "~>"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '1.0'
|
115
|
+
- - ">="
|
103
116
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
117
|
+
version: 1.0.4
|
105
118
|
type: :runtime
|
106
119
|
prerelease: false
|
107
120
|
version_requirements: !ruby/object:Gem::Requirement
|
108
121
|
requirements:
|
109
|
-
- -
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.0'
|
125
|
+
- - ">="
|
110
126
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
127
|
+
version: 1.0.4
|
112
128
|
- !ruby/object:Gem::Dependency
|
113
129
|
name: chronic
|
114
130
|
requirement: !ruby/object:Gem::Requirement
|
115
131
|
requirements:
|
116
|
-
- -
|
132
|
+
- - "~>"
|
117
133
|
- !ruby/object:Gem::Version
|
118
|
-
version: '0'
|
134
|
+
version: '0.10'
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 0.10.2
|
119
138
|
type: :runtime
|
120
139
|
prerelease: false
|
121
140
|
version_requirements: !ruby/object:Gem::Requirement
|
122
141
|
requirements:
|
123
|
-
- -
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0.10'
|
145
|
+
- - ">="
|
124
146
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
147
|
+
version: 0.10.2
|
126
148
|
description: |2
|
127
|
-
a git-style cli, offering
|
149
|
+
a git-style cli, offering a friendly, intuitive interface to all of the Stripe API right from the console.
|
128
150
|
With an emphasis on convenience and productivity and a commitment to pretty, colorful, but most of all READABLE output.
|
129
151
|
email:
|
130
152
|
- alex@stripe.com
|
@@ -134,7 +156,7 @@ executables:
|
|
134
156
|
extensions: []
|
135
157
|
extra_rdoc_files: []
|
136
158
|
files:
|
137
|
-
- .gitignore
|
159
|
+
- ".gitignore"
|
138
160
|
- Gemfile
|
139
161
|
- LICENSE.txt
|
140
162
|
- README.md
|
@@ -172,12 +194,12 @@ require_paths:
|
|
172
194
|
- lib
|
173
195
|
required_ruby_version: !ruby/object:Gem::Requirement
|
174
196
|
requirements:
|
175
|
-
- -
|
197
|
+
- - ">="
|
176
198
|
- !ruby/object:Gem::Version
|
177
199
|
version: '0'
|
178
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
201
|
requirements:
|
180
|
-
- -
|
202
|
+
- - ">="
|
181
203
|
- !ruby/object:Gem::Version
|
182
204
|
version: '0'
|
183
205
|
requirements: []
|