sensu-plugins-sftp 1.0.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b78f86b2437d63fcb92d21660f0e463e078a100
4
- data.tar.gz: 7ee29dc15d8fde6ea29a7b9f504e109b1c92662f
3
+ metadata.gz: 86d28e3373b6112aa1d57de8dffec5c07949a395
4
+ data.tar.gz: 8c6acb1f66a8886f9a522372c76ce8a4aabdbc9b
5
5
  SHA512:
6
- metadata.gz: 1b23d24493d8ada26d7e8b8ac75c37d9de6ed6a2e46874a49cb4fe9beeea7319adab5876e09ac3b00a123eaa50ff672f9761f30e972bc8c200592bc2d1e22f7f
7
- data.tar.gz: 1e366df4dd225ea495f786cba56881672369ad663c60fd197cedf3e9e545b7b66e6d2f09d9518a22b76c3a16f3108845f3cb5786d320f058d5b6cf35559f461f
6
+ metadata.gz: 273c061ac248c9a5621b18d18c0629447d62881368ca72effb850de4b59495b3f212b0d73c500198f79444cd31c30e68002dd797f4a488776283f7a6183226b3
7
+ data.tar.gz: f81d192109c8a9830b29dc849dd2951c470fe5dc70e9fefbd8665d6f33dd84128187c2bb5aef3c4dcb9b6022374674d549e9fbaa68be02d1782e95f7b0291058
@@ -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
@@ -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], timeout: config[:timeout], port: config[:port])
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
@@ -3,7 +3,7 @@ module SensuPluginsSftp
3
3
  module Version
4
4
  MAJOR = 1
5
5
  MINOR = 0
6
- PATCH = 0
6
+ PATCH = 1
7
7
 
8
8
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
9
9
  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.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: 2016-09-26 00:00:00.000000000 Z
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.5.1
209
+ rubygems_version: 2.6.13
210
210
  signing_key:
211
211
  specification_version: 4
212
212
  summary: Sensu plugins for sftp