winrm-fs 0.4.1 → 0.4.2.dev

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: 25523f58a1507ead05b61f90d98320452a2f3df1
4
- data.tar.gz: 6105e8ff011fbce698bdfe528c258d9a28ee1536
3
+ metadata.gz: f5bad6360da754aa689b183733b07f5c289b24de
4
+ data.tar.gz: a02a1a116545cc4ee7d527ad51b5453d06dedd70
5
5
  SHA512:
6
- metadata.gz: 257bde0c5fca5583f87fa47b7de424842b38fb15ecc02d2779ceca8f74fe5e0011141f821cf0dc9b594d72b37076d05e43e4c29f7d4b4e067ac0b9020e4a8b8c
7
- data.tar.gz: e4b411c83c16bac8918a420dcd9af67e886b6464ca51d370f4cf5477c2a58d5cd24ba2fc9f57b909cf8d2cd7c4764466fae333bf9e977ff6d2f4ae58dc65ac8d
6
+ metadata.gz: ef5b38670a2f6e76964b982367136294da593623d1b40e151bd65e3de61f01af51d269ea7ade9fac1f7214ea47b56d63ab8f87f1a5b3686674a7ccad3f956468
7
+ data.tar.gz: 0acc1a08659d02cc994b07e74dd3ba23f39c45f4f0f45d5ba6c043178cbbd5179480b40ea51c10cbdb88a66540076f8684214390c2304b86caa274d6ba483ab6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2.dev
@@ -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
- return Invoke-Expression "$expr"
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.1
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-06 00:00:00.000000000 Z
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: '0'
198
+ version: 1.3.1
199
199
  requirements: []
200
200
  rubyforge_project:
201
201
  rubygems_version: 2.5.2