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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f13a6f08f1fbf7e71c49432c692154bc20075db
4
- data.tar.gz: 36fc26bcb172f80082d90eb232729e7e069fbfff
3
+ metadata.gz: e363152a10339d96b1fbb97046c697cf7f240a38
4
+ data.tar.gz: bfc8814407e1757f8674d93bcd0d00788944d09b
5
5
  SHA512:
6
- metadata.gz: aeed2179b97aa23afb6663a65c2cca27e3407981351618e8f78245c4840e67038da80fd49f2cb8078aa30c5472558f62697ac3c702843a6a9c953dbb3ea8364c
7
- data.tar.gz: 57c8ffa21d377f09bca5cd5cfe6daeba06c477495a0b710b13027a74aa644387417d40146ccc018883a425d12792dcc091ecd55eb4731e621871ed2783f36ca2
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
- session.create_hook(repo.full_name, "web", config, options)
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)
@@ -1,5 +1,5 @@
1
1
  module Vx
2
2
  module ServiceConnector
3
- VERSION = "0.2.6"
3
+ VERSION = "0.2.7"
4
4
  end
5
5
  end
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.6
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-18 00:00:00.000000000 Z
11
+ date: 2014-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit