serverspec 1.13.0 → 1.14.0

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: b4e5f89fc249eac0cdd6f17e5d89a1d0024bb536
4
- data.tar.gz: 7b0ead74ce6410cd62c20cc5fa6370ef39a0a3fb
3
+ metadata.gz: da3525e9160c788ed5777a236493ca7738080551
4
+ data.tar.gz: 0b2f699a4e38a269233f4f024629b509aab2fa4d
5
5
  SHA512:
6
- metadata.gz: 9ddce196467994b081526d5b82d90775aa89d2de31fc82db661c06464e786dcb7000a94a3dc065244119fab2aa3df04f5b5e9bba2175b905dc28d9b5ff5cf5c7
7
- data.tar.gz: e85ea0dbeaf85abb9bb0380049e2843090a256ac49f027960df2b88c757987a25df6e1a2403c27850d064decb12f1669f971f9f7cc84433685b55b6a7ee5fe57
6
+ metadata.gz: a6ef8f1ab5337dd03dfd4e5b5974bc92fe51804bcf9638ffc048cdbb8bcbbfe89c0b6d5aefcf1f4b391bbd31d1494d192dbb2d5a44bc5d692f428b7651e325c9
7
+ data.tar.gz: 939edb54183b55d98f2268883165c6ea468a94693f2a4ab25940639729643e42abaf075e5aa1329d00d8b7d8d73377f6201038867603d95b59217b27191482e8
@@ -1,7 +1,7 @@
1
1
  RSpec::Matchers.define :have_site_application do |app|
2
2
  match do |subject|
3
3
  if subject.class.name == 'Serverspec::Type::IisWebsite'
4
- subject.has_site_application?(app, @pool, @physicalPath)
4
+ subject.has_site_application?(app, @pool, @physical_path)
5
5
  else
6
6
  className = subject.class.name
7
7
  raise "not supported class #{className}"
@@ -12,7 +12,7 @@ RSpec::Matchers.define :have_site_application do |app|
12
12
  @pool = pool
13
13
  end
14
14
 
15
- chain :with_physicalPath do |physicalPath|
16
- @physicalPath = physicalPath
15
+ chain :with_physical_path do |physical_path|
16
+ @physical_path = physical_path
17
17
  end
18
18
  end
@@ -1,7 +1,7 @@
1
1
  RSpec::Matchers.define :have_site_bindings do |port|
2
2
  match do |subject|
3
3
  if subject.class.name == 'Serverspec::Type::IisWebsite'
4
- subject.has_site_bindings?(port, @protocol, @ipAddress, @hostHeader)
4
+ subject.has_site_bindings?(port, @protocol, @ipaddress, @host_header)
5
5
  else
6
6
  className = subject.class.name
7
7
  raise "not supported class #{className}"
@@ -12,11 +12,11 @@ RSpec::Matchers.define :have_site_bindings do |port|
12
12
  @protocol = protocol
13
13
  end
14
14
 
15
- chain :with_ipAddress do |ipAddress|
16
- @ipAddress = ipAddress
15
+ chain :with_ipaddress do |ipaddress|
16
+ @ipaddress = ipaddress
17
17
  end
18
18
 
19
- chain :with_hostHeader do |hostHeader|
20
- @hostHeader = hostHeader
19
+ chain :with_host_header do |host_header|
20
+ @host_header = host_header
21
21
  end
22
22
  end
@@ -22,16 +22,16 @@ module Serverspec
22
22
  backend.check_iis_website_path(@name, path)
23
23
  end
24
24
 
25
- def has_site_bindings?(port, protocol, ipAddress, hostHeader)
26
- backend.check_iis_website_binding(@name, port, protocol, ipAddress, hostHeader)
25
+ def has_site_bindings?(port, protocol, ipaddress, host_header)
26
+ backend.check_iis_website_binding(@name, port, protocol, ipaddress, host_header)
27
27
  end
28
28
 
29
29
  def has_virtual_dir?(vdir, path)
30
30
  backend.check_iis_website_virtual_dir(@name, vdir, path)
31
31
  end
32
32
 
33
- def has_site_application?(app, pool, physicalPath)
34
- backend.check_iis_website_application(@name, app, pool, physicalPath)
33
+ def has_site_application?(app, pool, physical_path)
34
+ backend.check_iis_website_application(@name, app, pool, physical_path)
35
35
  end
36
36
 
37
37
  def to_s
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "1.13.0"
2
+ VERSION = "1.14.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita