specinfra 1.27.2 → 1.27.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 355b5a2e8127dd8307a13dd3448aae847ccd7695
|
4
|
+
data.tar.gz: e1cb6ddf6b727a8c24487f7eae112184f37c3611
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23ebf9e8ff3712c0d2a497b70e44f6a68f7491f5dcaf798885524c58c004c78804a95fb722e980d5d174f81c0c3d071ede2a58293fdc2995039fc5bbd9dc8cf5
|
7
|
+
data.tar.gz: a390eeb4e2f959ea5fa4cb7e1c286ab12fd6d2905523b8a4cbf529e6cb3fcda6d8663adfc2ab0c9861a728e666c41906c0fa13691115d1632a6a1b335f09013f
|
@@ -17,8 +17,13 @@ function FindIISAppPool
|
|
17
17
|
param($name)
|
18
18
|
|
19
19
|
Import-Module WebAdministration
|
20
|
-
|
21
|
-
|
20
|
+
Try {
|
21
|
+
Get-Item "IIS:\AppPools\$name" -Erroraction silentlycontinue
|
22
|
+
}
|
23
|
+
Catch [System.IO.FileNotFoundException] {
|
24
|
+
Get-Item "IIS:\AppPools\$name" -Erroraction silentlycontinue
|
25
|
+
|
26
|
+
}
|
22
27
|
}
|
23
28
|
|
24
29
|
function FindSiteBindings
|
@@ -26,8 +31,12 @@ function FindSiteBindings
|
|
26
31
|
param($name, $protocol, $hostHeader, $port, $ipAddress)
|
27
32
|
|
28
33
|
Import-Module WebAdministration
|
29
|
-
|
30
|
-
|
34
|
+
Try {
|
35
|
+
Get-WebBinding -Name $name -Protocol $protocol -HostHeader $hostHeader -Port $port -IPAddress $ipAddress
|
36
|
+
}
|
37
|
+
Catch [System.IO.FileNotFoundException] {
|
38
|
+
Get-WebBinding -Name $name -Protocol $protocol -HostHeader $hostHeader -Port $port -IPAddress $ipAddress
|
39
|
+
}
|
31
40
|
}
|
32
41
|
|
33
42
|
function FindSiteVirtualDir
|
@@ -77,4 +86,4 @@ function FindSiteApplication
|
|
77
86
|
}
|
78
87
|
|
79
88
|
$result
|
80
|
-
}
|
89
|
+
}
|
data/lib/specinfra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.27.
|
4
|
+
version: 1.27.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|