winrm-transport 1.0.2 → 1.0.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: 66b0b892802274668ed50e030ce87b881beb8ed5
4
- data.tar.gz: 8d8706354672deab32c49a2df17d9e8f3b9b2d79
3
+ metadata.gz: aa1f2fdc3f82de0bb032b2596593bfa9da97ec6b
4
+ data.tar.gz: 4eba1f0bd3c1c43120cec91a3808965074707b09
5
5
  SHA512:
6
- metadata.gz: b5bf53cacd7076b98987a99521a8882a57cade93b7433bb429ddecf5f49143cff19f559d90d10698a430a4e5e131c3e007eb233e73f168f38727dc52dfc5ab8d
7
- data.tar.gz: 4d31347e809699128cc47348c59c901fcd07b4b1f7def0150bf46fff499030e4e97048ef3955b9bd2fd9ad5e0cf509840327f10c7cef0eb5436007220e709ba7
6
+ metadata.gz: ad0da920c78b1437d40405341d92daa43dfb932a0bd92a796105aad4acdca540a53e01e37e9cc546c3f08b164f16a116e2231738ee3cc492fd5ab10897b2e8fd
7
+ data.tar.gz: c94c56a6e8574af20e253a1c8058e25cc05b952e98b27373b09a1d1afba8dbf6ed65e0e8daa5ac613434e68011b1156f9401097e6a484262fdb3c5ab40d5ab6d
data/.cane CHANGED
@@ -1,2 +1,2 @@
1
- --abc-max 20
2
- --style-measure 100
1
+ --abc-max 20
2
+ --style-measure 100
data/.gitignore CHANGED
@@ -1,15 +1,15 @@
1
- *.gem
2
- /.bundle/
3
- /.yardoc
4
- /Gemfile.lock
5
- /_yardoc/
6
- /coverage/
7
- /doc/
8
- /pkg/
9
- /spec/reports/
10
- /tmp/
11
- /.rvmrc
12
- /.rbenv-version
13
- /.ruby-version
14
- /.project
15
- /.DS_Store
1
+ *.gem
2
+ /.bundle/
3
+ /.yardoc
4
+ /Gemfile.lock
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
11
+ /.rvmrc
12
+ /.rbenv-version
13
+ /.ruby-version
14
+ /.project
15
+ /.DS_Store
data/.travis.yml CHANGED
@@ -1,26 +1,26 @@
1
- language: ruby
2
-
3
- rvm:
4
- - 2.2
5
- - 2.1
6
- - 2.0.0
7
- - 1.9.3
8
- - ruby-head
9
-
10
- before_install:
11
- - echo "Updating Bundler to ~> 1.9 until TravisCI has upgraded."
12
- - gem install bundler -v "~> 1.9"
13
- - bundle --version
14
-
15
- bundler_args: --without guard
16
-
17
- sudo: false
18
-
19
- matrix:
20
- allow_failures:
21
- - rvm: ruby-head
22
-
23
- addons:
24
- code_climate:
25
- repo_token:
26
- secure: "WSrIaJVtAh88T7cd3DQY38yxiDz44Oms4Z5Dm+mVUv8gpKWixMR3t5ShmDW8+XXWWj3s3WUa2t5yZugrfz0gkrKCxSII6VURakBKy2jEKnEnJWoh8LKYjXHYW2fOU/PpclSFl0Ynxvt8Nn/F9dpbaGAqj2DwycAV4EtByuy06X0="
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 2.2
5
+ - 2.1
6
+ - 2.0.0
7
+ - 1.9.3
8
+ - ruby-head
9
+
10
+ before_install:
11
+ - echo "Updating Bundler to ~> 1.9 until TravisCI has upgraded."
12
+ - gem install bundler -v "~> 1.9"
13
+ - bundle --version
14
+
15
+ bundler_args: --without guard
16
+
17
+ sudo: false
18
+
19
+ matrix:
20
+ allow_failures:
21
+ - rvm: ruby-head
22
+
23
+ addons:
24
+ code_climate:
25
+ repo_token:
26
+ secure: "WSrIaJVtAh88T7cd3DQY38yxiDz44Oms4Z5Dm+mVUv8gpKWixMR3t5ShmDW8+XXWWj3s3WUa2t5yZugrfz0gkrKCxSII6VURakBKy2jEKnEnJWoh8LKYjXHYW2fOU/PpclSFl0Ynxvt8Nn/F9dpbaGAqj2DwycAV4EtByuy06X0="
data/CHANGELOG.md CHANGED
@@ -1,38 +1,44 @@
1
- ## 1.0.2 / 2015-06-24
2
-
3
- ### Bug fixes
4
-
5
- * Pull request [#8][]: Fix unzipping from COM, fix failed single file copies (when parent directory was not present), adding more tests around decode_files.ps1, cleaner error output. ([@smurawski][], [@xmik][])
6
-
7
- ### Improvements
8
-
9
- * Pull request [#10][]: Fix winrm-transport/issues link in README.md. ([@hh][])
10
-
11
-
12
- ## 1.0.1 / 2015-05-20
13
-
14
- ### Bug fixes
15
-
16
- * Pull request [#4][]: Fix unpacking process for the compressed folders. ([@smurawski][])
17
-
18
- ### Improvements
19
-
20
- * Pull request [#6][]: Minor grammatical update to the README. ([@jmccann][])
21
- * Pull request [#5][]: Remove fakefs as a development dependency. ([@fnichol][])
22
-
23
-
24
- ## 1.0.0 / 2015-03-29
25
-
26
- The initial release.
27
-
28
- <!--- The following link definition list is generated by PimpMyChangelog --->
29
- [#4]: https://github.com/test-kitchen/winrm-transport/issues/4
30
- [#5]: https://github.com/test-kitchen/winrm-transport/issues/5
31
- [#6]: https://github.com/test-kitchen/winrm-transport/issues/6
32
- [#8]: https://github.com/test-kitchen/winrm-transport/issues/8
33
- [#10]: https://github.com/test-kitchen/winrm-transport/issues/10
34
- [@fnichol]: https://github.com/fnichol
35
- [@hh]: https://github.com/hh
36
- [@jmccann]: https://github.com/jmccann
37
- [@smurawski]: https://github.com/smurawski
38
- [@xmik]: https://github.com/xmik
1
+ ## 1.0.2 / 2015-11-10
2
+
3
+ ### Bug fixes
4
+
5
+ * Pull request [#15][]: Fixes file transfer to windows instances running WMF 5. ([@smurawski][])
6
+
7
+ ## 1.0.2 / 2015-06-24
8
+
9
+ ### Bug fixes
10
+
11
+ * Pull request [#8][]: Fix unzipping from COM, fix failed single file copies (when parent directory was not present), adding more tests around decode_files.ps1, cleaner error output. ([@smurawski][], [@xmik][])
12
+
13
+ ### Improvements
14
+
15
+ * Pull request [#10][]: Fix winrm-transport/issues link in README.md. ([@hh][])
16
+
17
+
18
+ ## 1.0.1 / 2015-05-20
19
+
20
+ ### Bug fixes
21
+
22
+ * Pull request [#4][]: Fix unpacking process for the compressed folders. ([@smurawski][])
23
+
24
+ ### Improvements
25
+
26
+ * Pull request [#6][]: Minor grammatical update to the README. ([@jmccann][])
27
+ * Pull request [#5][]: Remove fakefs as a development dependency. ([@fnichol][])
28
+
29
+
30
+ ## 1.0.0 / 2015-03-29
31
+
32
+ The initial release.
33
+
34
+ <!--- The following link definition list is generated by PimpMyChangelog --->
35
+ [#4]: https://github.com/test-kitchen/winrm-transport/issues/4
36
+ [#5]: https://github.com/test-kitchen/winrm-transport/issues/5
37
+ [#6]: https://github.com/test-kitchen/winrm-transport/issues/6
38
+ [#8]: https://github.com/test-kitchen/winrm-transport/issues/8
39
+ [#10]: https://github.com/test-kitchen/winrm-transport/issues/10
40
+ [@fnichol]: https://github.com/fnichol
41
+ [@hh]: https://github.com/hh
42
+ [@jmccann]: https://github.com/jmccann
43
+ [@smurawski]: https://github.com/smurawski
44
+ [@xmik]: https://github.com/xmik
data/Gemfile CHANGED
@@ -1,13 +1,13 @@
1
- # -*- encoding: utf-8 -*-
2
- source "https://rubygems.org"
3
- gemspec
4
-
5
- group :guard do
6
- gem "guard-minitest"
7
- gem "guard-rubocop"
8
- gem "guard-yard"
9
- end
10
-
11
- group :test do
12
- gem "codeclimate-test-reporter", :require => nil
13
- end
1
+ # -*- encoding: utf-8 -*-
2
+ source "https://rubygems.org"
3
+ gemspec
4
+
5
+ group :guard do
6
+ gem "guard-minitest"
7
+ gem "guard-rubocop"
8
+ gem "guard-yard"
9
+ end
10
+
11
+ group :test do
12
+ gem "codeclimate-test-reporter", :require => nil
13
+ end
data/Guardfile CHANGED
@@ -1,27 +1,27 @@
1
- # -*- encoding: utf-8 -*-
2
- ignore %r{^\.gem/}
3
-
4
- def rubocop_opts
5
- { :all_on_start => false, :keep_failed => false, :cli => "-r finstyle" }
6
- end
7
-
8
- def yard_opts
9
- { :port => "8808" }
10
- end
11
-
12
- group :red_green_refactor, :halt_on_fail => true do
13
- guard :minitest do
14
- watch(%r{^spec/(.*)_spec\.rb})
15
- watch(%r{^lib/(.*)([^/]+)\.rb}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
16
- watch(%r{^spec/spec_helper\.rb}) { "spec" }
17
- end
18
-
19
- guard :rubocop, rubocop_opts do
20
- watch(%r{.+\.rb$})
21
- watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
22
- end
23
- end
24
-
25
- guard :yard, yard_opts do
26
- watch(%r{lib/.+\.rb})
27
- end
1
+ # -*- encoding: utf-8 -*-
2
+ ignore %r{^\.gem/}
3
+
4
+ def rubocop_opts
5
+ { :all_on_start => false, :keep_failed => false, :cli => "-r finstyle" }
6
+ end
7
+
8
+ def yard_opts
9
+ { :port => "8808" }
10
+ end
11
+
12
+ group :red_green_refactor, :halt_on_fail => true do
13
+ guard :minitest do
14
+ watch(%r{^spec/(.*)_spec\.rb})
15
+ watch(%r{^lib/(.*)([^/]+)\.rb}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
16
+ watch(%r{^spec/spec_helper\.rb}) { "spec" }
17
+ end
18
+
19
+ guard :rubocop, rubocop_opts do
20
+ watch(%r{.+\.rb$})
21
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
22
+ end
23
+ end
24
+
25
+ guard :yard, yard_opts do
26
+ watch(%r{lib/.+\.rb})
27
+ end
data/LICENSE.txt CHANGED
@@ -1,15 +1,15 @@
1
- Author:: Fletcher Nichol (<fnichol@nichol.ca>)
2
-
3
- Copyright 2015 Fletcher Nichol
4
-
5
- Licensed under the Apache License, Version 2.0 (the "License");
6
- you may not use this file except in compliance with the License.
7
- You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software
12
- distributed under the License is distributed on an "AS IS" BASIS,
13
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- See the License for the specific language governing permissions and
15
- limitations under the License.
1
+ Author:: Fletcher Nichol (<fnichol@nichol.ca>)
2
+
3
+ Copyright 2015 Fletcher Nichol
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
data/README.md CHANGED
@@ -1,80 +1,80 @@
1
- # WinRM::Transport
2
-
3
- [![Gem Version](https://badge.fury.io/rb/winrm-transport.svg)](http://badge.fury.io/rb/winrm-transport)
4
- [![Build Status](https://secure.travis-ci.org/test-kitchen/winrm-transport.svg?branch=master)](https://travis-ci.org/test-kitchen/winrm-transport)
5
- [![Code Climate](https://codeclimate.com/github/test-kitchen/winrm-transport.svg)](https://codeclimate.com/github/test-kitchen/winrm-transport)
6
- [![Test Coverage](https://codeclimate.com/github/test-kitchen/winrm-transport/badges/coverage.svg)](https://codeclimate.com/github/test-kitchen/winrm-transport)
7
- [![Inline docs](http://inch-ci.org/github/test-kitchen/winrm-transport.svg?branch=master)](http://inch-ci.org/github/test-kitchen/winrm-transport)
8
- [![Dependency Status](https://gemnasium.com/test-kitchen/winrm-transport.svg)](https://gemnasium.com/test-kitchen/winrm-transport)
9
-
10
- WinRM transport logic for re-using remote shells and uploading files. The original code was extracted from the [Test Kitchen][test_kitchen] project and remains the primary reference use case.
11
-
12
- ## Installation
13
-
14
- Add this line to your application's Gemfile:
15
-
16
- ```ruby
17
- gem 'winrm-transport'
18
- ```
19
-
20
- And then execute:
21
-
22
- $ bundle
23
-
24
- Or install it yourself as:
25
-
26
- $ gem install winrm-transport
27
-
28
- ## Usage
29
-
30
- This is a library gem and doesn't have any CLI commands. There are 2 primary object classes:
31
-
32
- * [WinRM::Transport::CommandExecutor][command_executor]: an object which can
33
- execute multiple commands and PowerShell script in one shared remote shell
34
- session.
35
- * [WinRM::Transport::FileTransporter][file_transporter]: an object which can
36
- upload one or more files or directories to a remote host over WinRM only
37
- using PowerShell scripts and CMD commands.
38
-
39
- ## Versioning
40
-
41
- WinRM::Transport aims to adhere to [Semantic Versioning 2.0.0][semver].
42
-
43
- ## Development
44
-
45
- * Source hosted at [GitHub][repo]
46
- * Report issues/questions/feature requests on [GitHub Issues][issues]
47
-
48
- After checking out the repo, run `bin/setup` to install dependencies. Then, run
49
- `bin/console` for an interactive prompt that will allow you to experiment.
50
-
51
- ## Contributing
52
-
53
- Pull requests are very welcome! Make sure your patches are well tested.
54
- Ideally create a topic branch for every separate change you make. For
55
- example:
56
-
57
- 1. Fork it ( https://github.com/test-kitchen/winrm-transport/fork )
58
- 2. Create your feature branch (`git checkout -b my-new-feature`)
59
- 3. Commit your changes (`git commit -am 'Add some feature'`)
60
- 4. Push to the branch (`git push origin my-new-feature`)
61
- 5. Create a new Pull Request
62
-
63
- ## Authors
64
-
65
- Created and maintained by [Fletcher Nichol][fnichol] (<fnichol@nichol.ca>) and
66
- a growing community of [contributors][contributors].
67
-
68
- ## License
69
-
70
- Apache License, Version 2.0 (see [LICENSE.txt][license])
71
-
72
- [command_executor]: https://github.com/test-kitchen/winrm-transport/blob/master/lib/winrm/transport/command_executor.rb
73
- [contributors]: https://github.com/test-kitchen/winrm-transport/graphs/contributors
74
- [file_transporter]: https://github.com/test-kitchen/winrm-transport/blob/master/lib/winrm/transport/file_transporter.rb
75
- [fnichol]: https://github.com/fnichol
76
- [issues]: https://github.com/test-kitchen/winrm-transport/issues
77
- [license]: https://github.com/test-kitchen/winrm-transport/blob/master/LICENSE.txt
78
- [repo]: https://github.com/test-kitchen/winrm-transport
79
- [semver]: http://semver.org/
80
- [test_kitchen]: http://kitchen.ci
1
+ # WinRM::Transport
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/winrm-transport.svg)](http://badge.fury.io/rb/winrm-transport)
4
+ [![Build Status](https://secure.travis-ci.org/test-kitchen/winrm-transport.svg?branch=master)](https://travis-ci.org/test-kitchen/winrm-transport)
5
+ [![Code Climate](https://codeclimate.com/github/test-kitchen/winrm-transport.svg)](https://codeclimate.com/github/test-kitchen/winrm-transport)
6
+ [![Test Coverage](https://codeclimate.com/github/test-kitchen/winrm-transport/badges/coverage.svg)](https://codeclimate.com/github/test-kitchen/winrm-transport)
7
+ [![Inline docs](http://inch-ci.org/github/test-kitchen/winrm-transport.svg?branch=master)](http://inch-ci.org/github/test-kitchen/winrm-transport)
8
+ [![Dependency Status](https://gemnasium.com/test-kitchen/winrm-transport.svg)](https://gemnasium.com/test-kitchen/winrm-transport)
9
+
10
+ WinRM transport logic for re-using remote shells and uploading files. The original code was extracted from the [Test Kitchen][test_kitchen] project and remains the primary reference use case.
11
+
12
+ ## Installation
13
+
14
+ Add this line to your application's Gemfile:
15
+
16
+ ```ruby
17
+ gem 'winrm-transport'
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install winrm-transport
27
+
28
+ ## Usage
29
+
30
+ This is a library gem and doesn't have any CLI commands. There are 2 primary object classes:
31
+
32
+ * [WinRM::Transport::CommandExecutor][command_executor]: an object which can
33
+ execute multiple commands and PowerShell script in one shared remote shell
34
+ session.
35
+ * [WinRM::Transport::FileTransporter][file_transporter]: an object which can
36
+ upload one or more files or directories to a remote host over WinRM only
37
+ using PowerShell scripts and CMD commands.
38
+
39
+ ## Versioning
40
+
41
+ WinRM::Transport aims to adhere to [Semantic Versioning 2.0.0][semver].
42
+
43
+ ## Development
44
+
45
+ * Source hosted at [GitHub][repo]
46
+ * Report issues/questions/feature requests on [GitHub Issues][issues]
47
+
48
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
49
+ `bin/console` for an interactive prompt that will allow you to experiment.
50
+
51
+ ## Contributing
52
+
53
+ Pull requests are very welcome! Make sure your patches are well tested.
54
+ Ideally create a topic branch for every separate change you make. For
55
+ example:
56
+
57
+ 1. Fork it ( https://github.com/test-kitchen/winrm-transport/fork )
58
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
59
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
60
+ 4. Push to the branch (`git push origin my-new-feature`)
61
+ 5. Create a new Pull Request
62
+
63
+ ## Authors
64
+
65
+ Created and maintained by [Fletcher Nichol][fnichol] (<fnichol@nichol.ca>) and
66
+ a growing community of [contributors][contributors].
67
+
68
+ ## License
69
+
70
+ Apache License, Version 2.0 (see [LICENSE.txt][license])
71
+
72
+ [command_executor]: https://github.com/test-kitchen/winrm-transport/blob/master/lib/winrm/transport/command_executor.rb
73
+ [contributors]: https://github.com/test-kitchen/winrm-transport/graphs/contributors
74
+ [file_transporter]: https://github.com/test-kitchen/winrm-transport/blob/master/lib/winrm/transport/file_transporter.rb
75
+ [fnichol]: https://github.com/fnichol
76
+ [issues]: https://github.com/test-kitchen/winrm-transport/issues
77
+ [license]: https://github.com/test-kitchen/winrm-transport/blob/master/LICENSE.txt
78
+ [repo]: https://github.com/test-kitchen/winrm-transport
79
+ [semver]: http://semver.org/
80
+ [test_kitchen]: http://kitchen.ci