winrm-fs 0.4.1 → 0.4.2.dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/changelog.md +3 -0
- data/lib/winrm-fs/scripts/check_files.ps1.erb +6 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5bad6360da754aa689b183733b07f5c289b24de
|
4
|
+
data.tar.gz: a02a1a116545cc4ee7d527ad51b5453d06dedd70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef5b38670a2f6e76964b982367136294da593623d1b40e151bd65e3de61f01af51d269ea7ade9fac1f7214ea47b56d63ab8f87f1a5b3686674a7ccad3f956468
|
7
|
+
data.tar.gz: 0acc1a08659d02cc994b07e74dd3ba23f39c45f4f0f45d5ba6c043178cbbd5179480b40ea51c10cbdb88a66540076f8684214390c2304b86caa274d6ba483ab6
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.2.dev
|
data/changelog.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# WinRM-fs Gem Changelog
|
2
2
|
|
3
|
+
# 0.4.2.dev
|
4
|
+
- Improved Powershell error handling in metadata checking.
|
5
|
+
|
3
6
|
# 0.4.1
|
4
7
|
- Fixes a regression on Windows 2008 R2/Windows 7 and below where the WinRM service corrupts the check files metadata resulting in malformed destination paths.
|
5
8
|
|
@@ -47,7 +47,12 @@ Function Invoke-Input($in) {
|
|
47
47
|
Decode-Base64File $in ($decoded = "$($in).ps1")
|
48
48
|
$expr = Get-Content $decoded | Out-String
|
49
49
|
Remove-Item $in,$decoded -Force
|
50
|
-
|
50
|
+
try {
|
51
|
+
return Invoke-Expression "$expr"
|
52
|
+
}
|
53
|
+
catch {
|
54
|
+
throw "There was an error invoking '$expr': `n$($_ | Out-String)"
|
55
|
+
}
|
51
56
|
}
|
52
57
|
|
53
58
|
Function Unresolve-Path($p) { if ($p -eq $null) { return $null } else { return $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($p) } }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: winrm-fs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2.dev
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shawn Neal
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-04-
|
12
|
+
date: 2016-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: erubis
|
@@ -193,9 +193,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: 1.9.0
|
194
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
195
|
requirements:
|
196
|
-
- - "
|
196
|
+
- - ">"
|
197
197
|
- !ruby/object:Gem::Version
|
198
|
-
version:
|
198
|
+
version: 1.3.1
|
199
199
|
requirements: []
|
200
200
|
rubyforge_project:
|
201
201
|
rubygems_version: 2.5.2
|