sensu-plugins-sftp 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/bin/check-sftp.rb +4 -1
- data/lib/sensu-plugins-sftp/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86d28e3373b6112aa1d57de8dffec5c07949a395
|
4
|
+
data.tar.gz: 8c6acb1f66a8886f9a522372c76ce8a4aabdbc9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 273c061ac248c9a5621b18d18c0629447d62881368ca72effb850de4b59495b3f212b0d73c500198f79444cd31c30e68002dd797f4a488776283f7a6183226b3
|
7
|
+
data.tar.gz: f81d192109c8a9830b29dc849dd2951c470fe5dc70e9fefbd8665d6f33dd84128187c2bb5aef3c4dcb9b6022374674d549e9fbaa68be02d1782e95f7b0291058
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,13 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [1.0.1] - 2017-09-20
|
9
|
+
### Fixed
|
10
|
+
- Corrected Auth Method in Net::SFTP.start (@makaveli0129)
|
11
|
+
|
12
|
+
### Added
|
13
|
+
- Ruby 2.4.1 testing
|
14
|
+
|
8
15
|
## [1.0.0] - 2016-09-25
|
9
16
|
### Removed
|
10
17
|
- Ruby 1.9.3 support
|
@@ -27,5 +34,6 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
27
34
|
- initial release
|
28
35
|
|
29
36
|
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-sftp/compare/1.0.0...HEAD
|
37
|
+
[1.0.1]: https://github.com/sensu-plugins/sensu-plugins-sftp/compare/1.0.0...1.0.1
|
30
38
|
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-sftp/compare/0.0.2...1.0.0
|
31
39
|
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-sftp/compare/0.0.1...0.0.2
|
data/bin/check-sftp.rb
CHANGED
@@ -146,6 +146,9 @@ class CheckSftp < Sensu::Plugin::Check::CLI
|
|
146
146
|
end
|
147
147
|
|
148
148
|
def sftp
|
149
|
-
@sftp ||= Net::SFTP.start(config[:host], config[:username], password: config[:password],
|
149
|
+
@sftp ||= Net::SFTP.start(config[:host], config[:username], password: config[:password],
|
150
|
+
timeout: config[:timeout],
|
151
|
+
port: config[:port],
|
152
|
+
auth_methods: %w(publickey password))
|
150
153
|
end
|
151
154
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-sftp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
206
|
version: '0'
|
207
207
|
requirements: []
|
208
208
|
rubyforge_project:
|
209
|
-
rubygems_version: 2.
|
209
|
+
rubygems_version: 2.6.13
|
210
210
|
signing_key:
|
211
211
|
specification_version: 4
|
212
212
|
summary: Sensu plugins for sftp
|