colt 0.4.2 → 0.4.3

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: 5538b127725452e8dcfeff0fdf7d11c59eefa988
4
- data.tar.gz: 14e73505495494a5a5b51a42acf3532736095a1c
3
+ metadata.gz: 358052b6cbdb6930c17f1beba72d6539b3b5d024
4
+ data.tar.gz: 51f8911325af53efdf7f45a84a192ddf3600a400
5
5
  SHA512:
6
- metadata.gz: 4bcd17dc2be6b15b69c13c1ccad2ff67ffb5d76128c4dde92abfadc629606c7a3291096958e3806362fe27742308b113eb37de780704b7caaffd7657e1548eaf
7
- data.tar.gz: e302370cc23002fb92a9ec7b63eb5e7789b013a49bcadfd114d3d6baddf418ab5c9038478788818287a6af56280cbfa1810443fc842b0385911d636779bf648d
6
+ metadata.gz: e6c752768d7a60e541220f8f3c23fd95e385a3a81ec816d0c49edbcf98742c0621ced7b29b38769a597f860a7a6601aed865b437d744568a8bb3c2cd34a4345e
7
+ data.tar.gz: 332cd7e3264db657c1565df2a23238b77d3cb2c30b1079a99bd179c82b4a5cb2076de4c1bfa69d998b4060584c840f7804b9a4b72639d8e299955ca0e45052a9
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Colt
2
2
 
3
- Colt is a micro gem used to subscribe to a given plan using the Stripe API. The plans must already exist in your account. It provides methods to add, update and save credit cards on Stripe servers. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ Colt is a micro gem used to subscribe to a given plan using the Stripe API. The plans must already exist in your account. It provides methods to add, update and save credit cards on Stripe servers. To experiment with the code, run `bin/console` for an interactive prompt.
4
4
 
5
5
  ## Our Sponsor
6
6
 
@@ -29,7 +29,7 @@ Or install it yourself as:
29
29
 
30
30
  ## Usage
31
31
 
32
- Please read the tests written with readability in mind. They are executable and human comprehensible documentation.
32
+ Please read the tests written with readability in mind. They are executable and human comprehensible documentation. Here is a sample Rails app that uses this gem to implement subscription feature: https://bitbucket.org/bparanj/striped
33
33
 
34
34
  ## Development
35
35
 
@@ -24,4 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "bundler", "~> 1.10"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
26
26
  spec.add_development_dependency "minitest", "~> 5.8"
27
+ spec.add_development_dependency "rubycritic"
27
28
  end
@@ -7,5 +7,5 @@ require "colt/subscription_payment"
7
7
  require "colt/credit_card"
8
8
 
9
9
  module Colt
10
- STRIPE_API_VERSION = '2015-06-15 (latest)'
10
+ STRIPE_API_VERSION = '2015-09-03 (latest)'
11
11
  end
@@ -14,8 +14,8 @@ module Colt
14
14
  ERROR
15
15
  begin
16
16
  ::Stripe::Account.retrieve
17
- rescue ::Stripe::AuthenticationError => e
18
- raise e
17
+ rescue ::Stripe::AuthenticationError => exception
18
+ raise exception
19
19
  end
20
20
  end
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Colt
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bala Paranj
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-01 00:00:00.000000000 Z
11
+ date: 2015-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: stripe
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '5.8'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubycritic
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description: This gem simplifies subscribing a user to a given recurring plan using
70
84
  Stripe API.
71
85
  email: