octopus-serverspec-extensions 0.10.1 → 0.10.2

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: d5796f74b761993f8f2f1148e07a0e48847aab4e
4
- data.tar.gz: acb631af8e820e9a8df06879232d3b925d053533
3
+ metadata.gz: e9f73c302cabe2604c16a08d0f11d71aa0a64042
4
+ data.tar.gz: 79d52ac9c326170ac7aba357392f248ea46007df
5
5
  SHA512:
6
- metadata.gz: e70ec588f443ef4b7bcbb170396ec20b9e3092a051fded20fedcf596535641e70c8f2a73d1f8bca06d734eb302f133cb4b2b7bba829bb827cf2adc99616c8c1c
7
- data.tar.gz: 32f7618a3a4bb4df7771a6214e205f160e14f5d7c03e990b7ea94606d0e7eedbd0f1ce3caf8fbf5d8fddd221a841766307b2d6bc1528321962c72df2a0d53c5c
6
+ metadata.gz: 0a376ffafd3ef10e7177d99f159b7250cc50ed041dc8f1ebff31655cc9cb585ac9f1bd9d9d4be619fe7d3a97a9796a2b0d20dad9687d9831ba0dcccdc00ccfa8
7
+ data.tar.gz: c1216c8d1ff8fe2b03f3ca9466722e099c73f8a24a2d4018d91831d598dd4604b2fde36ac7831123c30862dc217f93e80ee676f3bb6f86dd5b1a2514b326e5c5
@@ -84,14 +84,14 @@ module Serverspec::Type
84
84
 
85
85
  def listening_tentacle?
86
86
  return false if @machine.nil?
87
- puts "Expected CommunicationStyle 'TentaclePassive' for Tentacle #{@name}, but got '#{@machine["EndPoint"]["CommunicationStyle"]}'" if (@machine["EndPoint"]["CommunicationStyle"] != "TentaclePassive")
88
- @machine["EndPoint"]["CommunicationStyle"] == "TentaclePassive"
87
+ puts "Expected CommunicationStyle 'TentaclePassive' for Tentacle #{@name}, but got '#{@machine["Endpoint"]["CommunicationStyle"]}'" if (@machine["Endpoint"]["CommunicationStyle"] != "TentaclePassive")
88
+ @machine["Endpoint"]["CommunicationStyle"] == "TentaclePassive"
89
89
  end
90
90
 
91
91
  def polling_tentacle?
92
92
  return false if @machine.nil?
93
- puts "Expected CommunicationStyle 'TentacleActive' for Tentacle #{@name}, but got '#{@machine["EndPoint"]["CommunicationStyle"]}'" if (@machine["EndPoint"]["CommunicationStyle"] != "TentacleActive")
94
- @machine["EndPoint"]["CommunicationStyle"] == "TentacleActive"
93
+ puts "Expected CommunicationStyle 'TentacleActive' for Tentacle #{@name}, but got '#{@machine["Endpoint"]["CommunicationStyle"]}'" if (@machine["Endpoint"]["CommunicationStyle"] != "TentacleActive")
94
+ @machine["Endpoint"]["CommunicationStyle"] == "TentacleActive"
95
95
  end
96
96
 
97
97
  def exists?
@@ -1,3 +1,3 @@
1
1
  module OctopusServerSpecExtensions
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopus-serverspec-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Richardson