vx-service_connector 0.4.9 → 0.4.10

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: 827cb7afc37272c9cd1a8f92e71a23aa0aa4a6e7
4
- data.tar.gz: 6ebc1709d5071701830e5a5214d2e32fe2696acb
3
+ metadata.gz: c54c927367740e7b6e2fa83acddb234a895e96c6
4
+ data.tar.gz: c77942c2ad15e0faf18f86929cb60b08ef0cfc64
5
5
  SHA512:
6
- metadata.gz: e61f86d2d524d32df4bd1f14129f4fba276125513ae02306da5c8ea1130679fd6442b070ca4c18a9c8090f707836ba98d5447c65c75e372de4d9240244d5858f
7
- data.tar.gz: bcbe56b9a6605ea514b5006f1172cf5e0d4ac8b322c506ceb1e4c589b3a8a6a24335a83fa5de3b495ebe2cfa982eed56055ec6d352df40f8d63573872502cb6b
6
+ metadata.gz: 0ffecde0456fa18f0b3f369dca8e888f49d748be1c2accc7985b874d393fcb7c23c7b057e6d9d952c6fb85d6fb60f970ffe5750514bdc9d5dff0e43c5b87217b
7
+ data.tar.gz: 8b3398d8e5a1ad41b8e3b4c3841b1aad1bd343e2e25fdccd282015a59bbbb347112cce10521541ea9e4840af8e2f7b23c31c5f11d852df5475fd2f6077267367
@@ -41,7 +41,7 @@ module Vx
41
41
  if restriction.nil?
42
42
  # skip internal pr or tag
43
43
  # allow all pushes and foreign pr
44
- return (!internal_pull_request? || !tag?)
44
+ return !(internal_pull_request? or tag?)
45
45
  end
46
46
 
47
47
  if restriction.is_a?(Hash)
@@ -1,5 +1,5 @@
1
1
  module Vx
2
2
  module ServiceConnector
3
- VERSION = "0.4.9"
3
+ VERSION = "0.4.10"
4
4
  end
5
5
  end
@@ -47,7 +47,7 @@ describe "(models)" do
47
47
  # deny, internal pr
48
48
  instance(
49
49
  params.merge(internal_pull_request?: true)
50
- ).to be_perform(nil)
50
+ ).not_to be_perform(nil)
51
51
  end
52
52
 
53
53
  it "restriction is hash" do
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.9
4
+ version: 0.4.10
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-04-16 00:00:00.000000000 Z
11
+ date: 2015-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit