colt 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/README.md +18 -3
- data/colt.gemspec +2 -2
- data/lib/colt/credential.rb +2 -1
- data/lib/colt/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ccd36761db8fa25cefb1fe19181c6fdc96cc83c
|
4
|
+
data.tar.gz: 18c6da6242eda2b1995777d9045ea8f33db4d175
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0a1265527d2fb6c2275a127f5c11e6c4066a9f234e6a2e55cc2de1ee7959afec750005d684dd26831ebd35f9588c3b079b791f210baa8526d58952adec43d3a
|
7
|
+
data.tar.gz: 5f88f27a28445d95ae6dbfeac2989a2e02a3af84eb768c03fb1996da093ba840bf605d555d8cc8fc236402160074e306c42322c797b89105c0fe3a31521eef6e
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
1
|
+
2.2.3
|
data/README.md
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
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. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
4
|
|
5
|
+
## Version
|
6
|
+
|
7
|
+
Ruby : 2.2.3
|
8
|
+
Stripe Gem : 1.25
|
9
|
+
|
5
10
|
## Installation
|
6
11
|
|
7
12
|
Add this line to your application's Gemfile:
|
@@ -29,12 +34,22 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
29
34
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). To run the tests:
|
30
35
|
|
31
36
|
```ruby
|
32
|
-
|
37
|
+
$ruby -rminitest/pride test/credential_test.rb --verbose
|
38
|
+
$ruby -rminitest/pride test/colt_integration_test.rb --verbose
|
39
|
+
$ruby -rminitest/pride test/subscription_test.rb --verbose
|
40
|
+
```
|
41
|
+
|
42
|
+
or
|
43
|
+
|
44
|
+
```ruby
|
45
|
+
rake
|
33
46
|
```
|
34
|
-
|
47
|
+
|
48
|
+
to run all the tests.
|
49
|
+
|
35
50
|
## Contributing
|
36
51
|
|
37
|
-
Bug reports and pull requests are welcome on GitHub at https://
|
52
|
+
Bug reports and pull requests are welcome on GitHub at https://bitbucket.org/bparanj/colt.
|
38
53
|
|
39
54
|
## License
|
40
55
|
|
data/colt.gemspec
CHANGED
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_dependency 'stripe', "~> 1.
|
22
|
+
spec.add_dependency 'stripe', "~> 1.25"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.10"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
26
|
-
spec.add_development_dependency "minitest", "~> 5.
|
26
|
+
spec.add_development_dependency "minitest", "~> 5.8"
|
27
27
|
end
|
data/lib/colt/credential.rb
CHANGED
data/lib/colt/version.rb
CHANGED
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.2.
|
4
|
+
version: 0.2.1
|
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-
|
11
|
+
date: 2015-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: stripe
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.25'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.25'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '5.
|
61
|
+
version: '5.8'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '5.
|
68
|
+
version: '5.8'
|
69
69
|
description: This gem simplifies subscribing a user to a given recurring plan using
|
70
70
|
Stripe API.
|
71
71
|
email:
|