vx-service_connector 0.4.4 → 0.4.5

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: a2bf499ba3d012a8c9425d284de0a54fff166d80
4
- data.tar.gz: ec98be397359a196c62cefe6e9dc9c60081c3184
3
+ metadata.gz: b8888a76f62f8691a924da625ee04326e2583c52
4
+ data.tar.gz: 9b7a1c3a56ded142c1cca8415cd4a888bc5fbb69
5
5
  SHA512:
6
- metadata.gz: a5c486b6a8dcefad25a97fdc9574ce2d4a8fdd7a70d59b9d0e9384c97016913329903f830b5eb2064fd03fa8906ded904824c56eb5c475cf8466f1a35f38d9bd
7
- data.tar.gz: e607d30bbe0196f1331b9234576454755f9d39954ac8a47d3bcc08d7d6ac24c4998df078d72ec2b60a3538785dae88783cb9618398d737c8ee8f5e8cfb20c689
6
+ metadata.gz: 2c3a8a16e595646f98d1abcc0de1bd0a0a9178216648bd3099a5bd4c9eda2cc0a41c9e5f98409279cc8548775e6fbbc19aa2ae0d6ce90a25fde407a37c83d0f5
7
+ data.tar.gz: 039cc222c04922438fcf6e6030896da59deccbceece02dff4a8ddf2f4f7a9fc7687bb5443acefc98fe1cd397238a961054229c0d8ee3a5e01504790c4538f15e
@@ -26,13 +26,12 @@ module Vx
26
26
  'pending'
27
27
  when :passed
28
28
  'success'
29
- when :failed
29
+ when :failed, :cancelled
30
30
  'failure'
31
31
  when :errored
32
32
  'error'
33
33
  end
34
34
  end
35
-
36
35
  end
37
36
  end
38
37
  end
@@ -1,5 +1,5 @@
1
1
  module Vx
2
2
  module ServiceConnector
3
- VERSION = "0.4.4"
3
+ VERSION = "0.4.5"
4
4
  end
5
5
  end
@@ -41,7 +41,7 @@ describe Vx::ServiceConnector::Github do
41
41
  let(:url) { 'url' }
42
42
  let(:desc) { 'description' }
43
43
 
44
- { started: "pending", passed: "success", failed: "failure", errored: "error"}.each do |k,v|
44
+ { started: "pending", passed: "success", failed: "failure", errored: "error", cancelled: "failure" }.each do |k,v|
45
45
  context "#{k}" do
46
46
  subject { notices.create sha, k, url, desc }
47
47
  before { mock_create_notice(v) }
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.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Galinsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-25 00:00:00.000000000 Z
11
+ date: 2015-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit