winrm-fs 0.2.0 → 0.2.1

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: 73ccc66738cd3d2154cdebcaf723ce05f8856cc9
4
- data.tar.gz: b1495a0c00c6dd45dd1d590a6af8cef13217fe0a
3
+ metadata.gz: 8896e3aecd6eab204ea95d7de3e83cf312152576
4
+ data.tar.gz: 0d35264293d11150de5dbcf450fdc5e524d4d3b8
5
5
  SHA512:
6
- metadata.gz: 5bb6b796cc8b459f5f8c42b72df1e05c65978289d237d0aaa4d4b871473caac73324d91da73ac3fa13a0568b740e048195b72e29298e6241b96c26c621e73e59
7
- data.tar.gz: 186861cd7b45f773f350b781e2f2563f820e7db3ae01696fa011e8856ec2b1caabe1e5d36729c0bf93d0ed5dff6eda1480e63b876aacb4b913481fd3422e54f3
6
+ metadata.gz: 6667664cf7b7f8737a542e841b0dfb573249e03fb4280b03c3f3cf991a268e72cc26b31b94679faeff8b30227681c24a6f0b865b0e6d9bcd132862ab1c0885f3
7
+ data.tar.gz: e71e223e64a484e3e1bcc3a2c33bfcb5d2276ce38d62362ca948aaad604ed2b8920095271dac84ab9118b6b18db83b4781db7d11f2a73ba5a43099241c5087a9
data/README.md CHANGED
@@ -30,6 +30,22 @@ file_manager.upload('c:/dev/my_dir', '$env:AppData') do |bytes_copied, total_byt
30
30
  end
31
31
  ```
32
32
 
33
+ ## Troubleshooting
34
+
35
+ If you're having trouble, first of all its most likely a network or WinRM configuration
36
+ issue. Take a look at the [WinRM gem troubleshooting](https://github.com/WinRb/WinRM#troubleshooting)
37
+ first.
38
+
39
+ The most [common error](https://github.com/WinRb/winrm-fs/issues/1) with this gem is getting a 500 error because your maxConcurrentOperationsPerUser limit has been reached.
40
+
41
+ ```
42
+ The WS-Management service cannot process the request. This user is allowed a
43
+ maximum number of 1500 concurrent operations, which has been exceeded. Close
44
+ existing operations for this user, or raise the quota for this user.
45
+ ```
46
+
47
+ You can workaround this by increasing your operations per user quota.
48
+
33
49
  ## Contributing
34
50
 
35
51
  1. Fork it.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -1,5 +1,8 @@
1
1
  # WinRM-fs Gem Changelog
2
2
 
3
+ # 0.2.1
4
+ - Fixed issue 16 creating zip file on Windows
5
+
3
6
  # 0.2.0
4
7
  - Redesigned temp zip file creation system
5
8
  - Fixed lots of small edge case issues especially with directory uploads
@@ -33,6 +33,7 @@ module WinRM
33
33
  @basedir = Pathname.new(basedir)
34
34
  @options = options
35
35
  @zip_file = options[:zip_file] || Tempfile.new(['winrm_upload', '.zip'])
36
+ @zip_file.close unless @zip_file.respond_to?('closed?') && @zip_file.closed?
36
37
  @path = Pathname.new(@zip_file)
37
38
  end
38
39
 
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.2.0
4
+ version: 0.2.1
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: 2015-05-19 00:00:00.000000000 Z
12
+ date: 2015-07-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erubis