winrm-fs 0.2.0 → 0.2.1
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/README.md +16 -0
- data/VERSION +1 -1
- data/changelog.md +3 -0
- data/lib/winrm-fs/core/temp_zip_file.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8896e3aecd6eab204ea95d7de3e83cf312152576
|
|
4
|
+
data.tar.gz: 0d35264293d11150de5dbcf450fdc5e524d4d3b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
1
|
+
0.2.1
|
data/changelog.md
CHANGED
|
@@ -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.
|
|
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-
|
|
12
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: erubis
|