jackal-github 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/jackal-github.gemspec +1 -1
- data/lib/jackal-github/version.rb +1 -1
- data/lib/jackal-github.rb +20 -0
- metadata +10 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3d0d9a876b572057367b30a36423ebf629444f2
|
|
4
|
+
data.tar.gz: c4b94d087552b03bbf2daa5d97769738a2340411
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 580144f8eb573d1788b1ec456c2b38ebe51213cab729c5a3416a07775205dcd68f9b5ec9ce7ed3ca441c8013180202f0419f28f701fef2fbf06a27bc1326ddfe
|
|
7
|
+
data.tar.gz: 93e3b8c743f48b96efce03d30e9287f626590685e4eef16e396ef87cc283c3706628b11e67d7b630bad38b1b300ed0983ef9218f59f6880eefc7803d96e4770b
|
data/CHANGELOG.md
CHANGED
data/jackal-github.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
|
10
10
|
s.description = 'GitHub payload event helper'
|
|
11
11
|
s.require_path = 'lib'
|
|
12
12
|
s.license = 'Apache 2.0'
|
|
13
|
-
s.add_runtime_dependency 'jackal'
|
|
13
|
+
s.add_runtime_dependency 'jackal', '>= 0.3.10', '< 1.0.0'
|
|
14
14
|
s.add_development_dependency 'carnivore-http'
|
|
15
15
|
s.files = Dir['lib/**/*'] + %w(jackal-github.gemspec README.md CHANGELOG.md CONTRIBUTING.md LICENSE)
|
|
16
16
|
end
|
data/lib/jackal-github.rb
CHANGED
|
@@ -8,3 +8,23 @@ end
|
|
|
8
8
|
|
|
9
9
|
require 'jackal-github/formatter'
|
|
10
10
|
require 'jackal-github/version'
|
|
11
|
+
|
|
12
|
+
Jackal.service(
|
|
13
|
+
:github,
|
|
14
|
+
:description => 'Accept GitHub event payloads',
|
|
15
|
+
:category => :modifier,
|
|
16
|
+
:configuration => {
|
|
17
|
+
:names => {
|
|
18
|
+
:type => :hash,
|
|
19
|
+
:description => 'Set payload name based on event type'
|
|
20
|
+
},
|
|
21
|
+
:events__allowed => {
|
|
22
|
+
:type => :array,
|
|
23
|
+
:description => 'List of allowed event types'
|
|
24
|
+
},
|
|
25
|
+
:events__restricted => {
|
|
26
|
+
:type => :array,
|
|
27
|
+
:description => 'List of restricted event types'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jackal-github
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Roberts
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-06-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jackal
|
|
@@ -16,14 +16,20 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 0.3.10
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 1.0.0
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
27
|
- - ">="
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
29
|
+
version: 0.3.10
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 1.0.0
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
name: carnivore-http
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -79,4 +85,3 @@ signing_key:
|
|
|
79
85
|
specification_version: 4
|
|
80
86
|
summary: Message processing helper
|
|
81
87
|
test_files: []
|
|
82
|
-
has_rdoc:
|