sensu 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.10.2 - 2013-07-18
2
+
3
+ ### Other
4
+
5
+ Fixed redacting passwords in client data, correct value is now provided
6
+ to check command token substitution.
7
+
1
8
  ## 0.10.1 - 2013-07-17
2
9
 
3
10
  ### Features
@@ -1,6 +1,6 @@
1
1
  module Sensu
2
2
  unless defined?(Sensu::VERSION)
3
- VERSION = '0.10.1'
3
+ VERSION = '0.10.2'
4
4
 
5
5
  LOG_LEVELS = [:debug, :info, :warn, :error, :fatal]
6
6
 
@@ -59,6 +59,7 @@ module Sensu
59
59
  end
60
60
 
61
61
  def redact_passwords(hash)
62
+ hash = hash.dup
62
63
  hash.each do |key, value|
63
64
  if %w[password passwd pass].include?(key.to_s)
64
65
  hash[key] = "REDACTED"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 51
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 1
10
- version: 0.10.1
9
+ - 2
10
+ version: 0.10.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sean Porter
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2013-07-17 00:00:00 -07:00
19
+ date: 2013-07-18 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency