github_webhook 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/Gemfile.lock +8 -8
- data/README.md +1 -1
- data/lib/github_webhook/processor.rb +42 -1
- data/lib/github_webhook/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 884527952c3de87ab10113b15faa48a4a3943557
|
4
|
+
data.tar.gz: e9d7222f4ea4724f6426ccf6643f5270063502c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55a2b86574e657e4c2d50149d0c2fbf928a7ba7acbfd0f89032615142c4f03541728a0aee4c666ed5c33ec748d3963ebc4911877be33b0cfcc5ee9a724cd710b
|
7
|
+
data.tar.gz: 507a45eb2713452ad0513e4bf6396a50aae2e639fde460b91a43b03358753faef905102cb1ec2b7db837c584a115f5c881e8da60cecdbf422406ff4c49379e5c
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
github_webhook (1.0.
|
4
|
+
github_webhook (1.0.5)
|
5
5
|
activesupport (>= 4)
|
6
6
|
rack (>= 1.3)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (5.
|
11
|
+
activesupport (5.1.2)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
13
|
i18n (~> 0.7)
|
14
14
|
minitest (~> 5.1)
|
@@ -18,10 +18,10 @@ GEM
|
|
18
18
|
concurrent-ruby (1.0.5)
|
19
19
|
diff-lcs (1.2.5)
|
20
20
|
docile (1.1.5)
|
21
|
-
i18n (0.8.
|
22
|
-
json (1.8.
|
23
|
-
minitest (5.10.
|
24
|
-
rack (2.0.
|
21
|
+
i18n (0.8.6)
|
22
|
+
json (1.8.6)
|
23
|
+
minitest (5.10.3)
|
24
|
+
rack (2.0.3)
|
25
25
|
rake (10.3.1)
|
26
26
|
rspec (2.14.1)
|
27
27
|
rspec-core (~> 2.14.0)
|
@@ -37,7 +37,7 @@ GEM
|
|
37
37
|
simplecov-html (~> 0.10.0)
|
38
38
|
simplecov-html (0.10.0)
|
39
39
|
thread_safe (0.3.6)
|
40
|
-
tzinfo (1.2.
|
40
|
+
tzinfo (1.2.3)
|
41
41
|
thread_safe (~> 0.1)
|
42
42
|
|
43
43
|
PLATFORMS
|
@@ -51,4 +51,4 @@ DEPENDENCIES
|
|
51
51
|
rspec (~> 2.14)
|
52
52
|
|
53
53
|
BUNDLED WITH
|
54
|
-
1.
|
54
|
+
1.15.3
|
data/README.md
CHANGED
@@ -20,7 +20,48 @@ module GithubWebhook::Processor
|
|
20
20
|
# }
|
21
21
|
# });
|
22
22
|
# console.log(events);
|
23
|
-
GITHUB_EVENTS_WHITELIST = %w(
|
23
|
+
GITHUB_EVENTS_WHITELIST = %w(
|
24
|
+
commit_comment
|
25
|
+
create
|
26
|
+
delete
|
27
|
+
deployment
|
28
|
+
deployment_status
|
29
|
+
download
|
30
|
+
follow
|
31
|
+
fork
|
32
|
+
fork_apply
|
33
|
+
gist
|
34
|
+
gollum
|
35
|
+
installation
|
36
|
+
installation_repositories
|
37
|
+
integration_installation
|
38
|
+
integration_installation_repositories
|
39
|
+
issues
|
40
|
+
issue_comment
|
41
|
+
label
|
42
|
+
marketplace_purchase
|
43
|
+
member
|
44
|
+
membership
|
45
|
+
milestone
|
46
|
+
organization
|
47
|
+
org_block
|
48
|
+
page_build
|
49
|
+
ping
|
50
|
+
project
|
51
|
+
project_card
|
52
|
+
project_column
|
53
|
+
public
|
54
|
+
pull_request
|
55
|
+
pull_request_review
|
56
|
+
pull_request_review_comment
|
57
|
+
push
|
58
|
+
release
|
59
|
+
repository
|
60
|
+
status
|
61
|
+
team
|
62
|
+
team_add
|
63
|
+
watch
|
64
|
+
)
|
24
65
|
|
25
66
|
def create
|
26
67
|
if self.respond_to? event_method
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_webhook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastien Saunier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.6.12
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Process GitHub Webhooks in your Rails app (Controller mixin)
|