stripe_event 1.5.1 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -5
- data/README.md +1 -1
- data/lib/stripe_event/version.rb +1 -1
- data/stripe_event.gemspec +3 -2
- metadata +25 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f7af0f8ff8cc826542e724eae649ae0c74e8e51
|
4
|
+
data.tar.gz: c5bf4896d9af01cb923110e24c4fc87b4a5f977b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88484fa82bf57e2a8e62d40e5e8eddf767725b054af8a421e6b99ba50dfd93bbd1aa2e2e08e044c000eb4b303d5396784e177900ead70c41b06bee139e07704f
|
7
|
+
data.tar.gz: 9a793328c655da733516acacc793fc075bbef63582930e625ab3f49bad9b60a9df4f5f045a68e5f4d38b317750528b207d7d1ab1bebf9fdefd10ac2cd6b16a3d
|
data/.travis.yml
CHANGED
@@ -3,8 +3,8 @@ cache: bundler
|
|
3
3
|
sudo: false
|
4
4
|
|
5
5
|
rvm:
|
6
|
-
- 2.2
|
7
|
-
- 2.3.
|
6
|
+
- 2.2.6
|
7
|
+
- 2.3.3
|
8
8
|
|
9
9
|
gemfile:
|
10
10
|
- gemfiles/rails4.1.gemfile
|
@@ -12,9 +12,7 @@ gemfile:
|
|
12
12
|
|
13
13
|
matrix:
|
14
14
|
include:
|
15
|
-
- rvm: 2.1
|
16
|
-
gemfile: gemfiles/rails3.2.gemfile
|
17
|
-
- rvm: jruby-19mode
|
15
|
+
- rvm: 2.1.9
|
18
16
|
gemfile: gemfiles/rails3.2.gemfile
|
19
17
|
fast_finish: true
|
20
18
|
|
data/README.md
CHANGED
@@ -101,7 +101,7 @@ This is only truly secure if your webhook endpoint is accessed over SSL, which S
|
|
101
101
|
|
102
102
|
## Configuration
|
103
103
|
|
104
|
-
If you have built an application that has multiple Stripe accounts--say, each of your customers has their own--you may want to define your own way of retrieving events from Stripe (e.g. perhaps you want to use the [user_id parameter](https://stripe.com/docs/
|
104
|
+
If you have built an application that has multiple Stripe accounts--say, each of your customers has their own--you may want to define your own way of retrieving events from Stripe (e.g. perhaps you want to use the [user_id parameter](https://stripe.com/docs/connect/authentication#webhooks) from the top level to detect the customer for the event, then grab their specific API key). You can do this:
|
105
105
|
|
106
106
|
```ruby
|
107
107
|
StripeEvent.event_retriever = lambda do |params|
|
data/lib/stripe_event/version.rb
CHANGED
data/stripe_event.gemspec
CHANGED
@@ -18,9 +18,10 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.test_files = `git ls-files -- Appraisals {spec,gemfiles}/*`.split("\n")
|
19
19
|
|
20
20
|
s.add_dependency "activesupport", ">= 3.1"
|
21
|
-
s.add_dependency "stripe", "
|
21
|
+
s.add_dependency "stripe", [">= 1.6", "< 3.0"]
|
22
22
|
|
23
|
-
s.add_development_dependency "rails", ">= 3.1"
|
23
|
+
s.add_development_dependency "rails", [">= 3.1"]
|
24
|
+
s.add_development_dependency "rake", "< 11.0"
|
24
25
|
s.add_development_dependency "rspec-rails", "~> 2.12"
|
25
26
|
s.add_development_dependency "webmock", "~> 1.9"
|
26
27
|
s.add_development_dependency "appraisal"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe_event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Whalen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -28,16 +28,22 @@ dependencies:
|
|
28
28
|
name: stripe
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.6'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '3.0'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
43
|
version: '1.6'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '3.0'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: rails
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +58,20 @@ dependencies:
|
|
52
58
|
- - ">="
|
53
59
|
- !ruby/object:Gem::Version
|
54
60
|
version: '3.1'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rake
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "<"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '11.0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "<"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '11.0'
|
55
75
|
- !ruby/object:Gem::Dependency
|
56
76
|
name: rspec-rails
|
57
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
210
|
version: '0'
|
191
211
|
requirements: []
|
192
212
|
rubyforge_project:
|
193
|
-
rubygems_version: 2.6.
|
213
|
+
rubygems_version: 2.6.8
|
194
214
|
signing_key:
|
195
215
|
specification_version: 4
|
196
216
|
summary: Stripe webhook integration for Rails applications.
|