octopus-serverspec-extensions 0.17.0 → 0.17.1

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
  SHA256:
3
- metadata.gz: 282b996f710e8c9a9feef460d983835143603931ad3a8864955082f967487086
4
- data.tar.gz: 992f37a34e67a35376d65800ba12887e90923ce3cc71f8723daed742b711c67d
3
+ metadata.gz: 5633418a1e8ae85805eeabef99aac9421b8fac79aa712af8561b269a2255dc8b
4
+ data.tar.gz: e03edfa9c91ca5e619942596655ce0c59b23b9f9175e7bd00b936458374982ed
5
5
  SHA512:
6
- metadata.gz: ea1e0139abeabbc3bb370316647cd92a057679842027f00630e678e7ca9fd4d1417b0596249ddfab79be8ec58b84272a08591d9e5283a1338772a65c1f5e2f22
7
- data.tar.gz: 7bb2a95785aa6c6a8f1498dabe731794196b1a334fe30dd6ca92dec1203017ae6242719ca72eb5f4ca5cde509135de982750ac37a99fc0e926e1c638cf373d88
6
+ metadata.gz: 8cb9a7fa6a56d69103d8c458f1b890410754a72b558f665cdca0edf57c889b85ed4caa72f84ed6216dc81a8416aa577d2fb1c99d11dc075103e9ed676614c8dc
7
+ data.tar.gz: 81a37c15a7386cdf2cb43b40ab1ec3920b210be2b72a9d41b33322c308ea84028cef64f5b0821edd22944cbe075ca0bf0461f012639491c8bb3109320eac74a7
@@ -129,13 +129,13 @@ module Serverspec::Type
129
129
  @machine["TenantedDeploymentParticipation"] == mode
130
130
  end
131
131
 
132
- def listening?
132
+ def listening_tentacle?
133
133
  return false if @machine.nil?
134
134
  puts "Expected CommunicationStyle 'TentaclePassive' for Tentacle #{@name}, but got '#{@machine["Endpoint"]["CommunicationStyle"]}'" if (@machine["Endpoint"]["CommunicationStyle"] != "TentaclePassive")
135
135
  @machine["Endpoint"]["CommunicationStyle"] == "TentaclePassive"
136
136
  end
137
137
 
138
- def polling?
138
+ def polling_tentacle?
139
139
  return false if @machine.nil?
140
140
  puts "Expected CommunicationStyle 'TentacleActive' for Tentacle #{@name}, but got '#{@machine["Endpoint"]["CommunicationStyle"]}'" if (@machine["Endpoint"]["CommunicationStyle"] != "TentacleActive")
141
141
  @machine["Endpoint"]["CommunicationStyle"] == "TentacleActive"
@@ -94,13 +94,13 @@ module Serverspec::Type
94
94
  @worker["Uri"].casecmp(uri) == 0
95
95
  end
96
96
 
97
- def listening?
97
+ def listening_worker?
98
98
  return false if @worker.nil?
99
99
  puts "Expected CommunicationStyle 'TentaclePassive' for Tentacle #{@name}, but got '#{@worker["Endpoint"]["CommunicationStyle"]}'" if (@worker["Endpoint"]["CommunicationStyle"] != "TentaclePassive")
100
100
  @worker["Endpoint"]["CommunicationStyle"] == "TentaclePassive"
101
101
  end
102
102
 
103
- def polling?
103
+ def polling_worker?
104
104
  return false if @worker.nil?
105
105
  puts "Expected CommunicationStyle 'TentacleActive' for Tentacle #{@name}, but got '#{@worker["Endpoint"]["CommunicationStyle"]}'" if (@worker["Endpoint"]["CommunicationStyle"] != "TentacleActive")
106
106
  @worker["Endpoint"]["CommunicationStyle"] == "TentacleActive"
@@ -1,3 +1,3 @@
1
1
  module OctopusServerSpecExtensions
2
- VERSION = "0.17.0"
2
+ VERSION = "0.17.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopus-serverspec-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Richardson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-02 00:00:00.000000000 Z
11
+ date: 2019-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: serverspec