vx-service_connector 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vx/service_connector/github/hooks.rb +6 -1
- data/lib/vx/service_connector/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e363152a10339d96b1fbb97046c697cf7f240a38
|
4
|
+
data.tar.gz: bfc8814407e1757f8674d93bcd0d00788944d09b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bd68f1bda2536c6e2404be76bdf9edf0c350a61669f9c4dbfbbc1850756b9b94e833e31a848021d02849482d1496c3824817e7929dd9a4a1f07dd88ce38f961
|
7
|
+
data.tar.gz: 434fc13c90d1497fa02f71b4beee3e58d9d614eb7004c5b45a1788eaa51e2fb35877ef8a7eca0f65ce989812f322a0fe421fcf528a855e38b225449a3bca0560
|
@@ -18,7 +18,12 @@ module Vx
|
|
18
18
|
content_type: "json"
|
19
19
|
}
|
20
20
|
options = { events: %w{ push pull_request } }
|
21
|
-
|
21
|
+
begin
|
22
|
+
session.create_hook(repo.full_name, "web", config, options)
|
23
|
+
true
|
24
|
+
rescue ::Octokit::NotFound
|
25
|
+
nil
|
26
|
+
end
|
22
27
|
end
|
23
28
|
|
24
29
|
def destroy(url_mask)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vx-service_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Galinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|