github_webhook 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/.travis.yml +5 -0
- data/Gemfile.lock +10 -1
- data/README.md +1 -0
- data/github_webhook.gemspec +1 -0
- data/lib/github_webhook/processor.rb +1 -1
- data/lib/github_webhook/version.rb +1 -1
- data/spec/spec_helper.rb +3 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6078831253aa84e9a6c92ccbdeb227d5d424a0e0
|
4
|
+
data.tar.gz: 18b5218813aeda4d57d3a57121a084ed2ffc66dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c77b98e276ca5aafa57e915a4c2cf25e13dc1ca496f32bf81753ecbdfa2b04ed5cf4d44d64254d17d361d15c2a5e3a509b26b16876023c3294553d0b64b8a1b3
|
7
|
+
data.tar.gz: 38eb962513e6fc0fdabc308f888e79b15378d49d1bd94aae2616b1b402d0f84a6e11ceb48406ba2a371cdd75d9544980c472d4e3fa91625f18dacb844bc7322f
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
github_webhook (0.
|
4
|
+
github_webhook (0.3.1)
|
5
5
|
activesupport (~> 4)
|
6
6
|
|
7
7
|
GEM
|
@@ -13,7 +13,10 @@ GEM
|
|
13
13
|
minitest (~> 5.1)
|
14
14
|
thread_safe (~> 0.1)
|
15
15
|
tzinfo (~> 1.1)
|
16
|
+
codeclimate-test-reporter (0.4.8)
|
17
|
+
simplecov (>= 0.7.1, < 1.0.0)
|
16
18
|
diff-lcs (1.2.5)
|
19
|
+
docile (1.1.5)
|
17
20
|
i18n (0.6.9)
|
18
21
|
json (1.8.3)
|
19
22
|
minitest (5.3.5)
|
@@ -26,6 +29,11 @@ GEM
|
|
26
29
|
rspec-expectations (2.14.5)
|
27
30
|
diff-lcs (>= 1.1.3, < 2.0)
|
28
31
|
rspec-mocks (2.14.6)
|
32
|
+
simplecov (0.11.2)
|
33
|
+
docile (~> 1.1.0)
|
34
|
+
json (~> 1.8)
|
35
|
+
simplecov-html (~> 0.10.0)
|
36
|
+
simplecov-html (0.10.0)
|
29
37
|
thread_safe (0.3.4)
|
30
38
|
tzinfo (1.2.1)
|
31
39
|
thread_safe (~> 0.1)
|
@@ -35,6 +43,7 @@ PLATFORMS
|
|
35
43
|
|
36
44
|
DEPENDENCIES
|
37
45
|
bundler (~> 1.5)
|
46
|
+
codeclimate-test-reporter
|
38
47
|
github_webhook!
|
39
48
|
rake (~> 10.1)
|
40
49
|
rspec (~> 2.14)
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
[![Build Status](https://travis-ci.org/ssaunier/github_webhook.svg?branch=master)](https://travis-ci.org/ssaunier/github_webhook)
|
2
|
+
[![Code Climate](https://codeclimate.com/github/ssaunier/github_webhook/badges/gpa.svg)](https://codeclimate.com/github/ssaunier/github_webhook)
|
2
3
|
[![Gem Version](https://badge.fury.io/rb/github_webhook.svg)](http://badge.fury.io/rb/github_webhook)
|
3
4
|
|
4
5
|
|
data/github_webhook.gemspec
CHANGED
@@ -10,7 +10,7 @@ module GithubWebhook::Processor
|
|
10
10
|
class UnspecifiedWebhookSecretError < StandardError; end
|
11
11
|
class UnsupportedGithubEventError < StandardError; end
|
12
12
|
|
13
|
-
GITHUB_EVENTS_WHITELIST = %w(commit_comment create delete deployment deployment_status download follow fork fork_apply gist gollum issue_comment issues member membership page_build public pull_request pull_request_review_comment push release repository status team_add watch)
|
13
|
+
GITHUB_EVENTS_WHITELIST = %w(ping commit_comment create delete deployment deployment_status download follow fork fork_apply gist gollum issue_comment issues member membership page_build public pull_request pull_request_review_comment push release repository status team_add watch)
|
14
14
|
|
15
15
|
def create
|
16
16
|
if self.respond_to? event_method
|
data/spec/spec_helper.rb
CHANGED
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: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastien Saunier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.14'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: codeclimate-test-reporter
|
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: Process GitHub Webhooks in your Rails app (Controller mixin)
|
70
84
|
email:
|
71
85
|
- seb@saunier.me
|