capistrano-sanitizer 0.1.0 → 0.1.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.
- data/capistrano-sanitizer.gemspec +5 -5
- data/lib/capistrano/ext/sanitizer.rb +2 -1
- metadata +4 -4
@@ -3,15 +3,15 @@
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = %q{capistrano-sanitizer}
|
6
|
-
s.version = "0.1.
|
6
|
+
s.version = "0.1.1"
|
7
7
|
s.summary = %q{Filter out svn passwords from the logs for extra security.}
|
8
8
|
s.description = %q{This gem modifies capistrano logger to filter out svn passwords.}
|
9
|
-
s.homepage = %q{
|
9
|
+
s.homepage = %q{https://github.com/tgdice/capistrano-sanitizer}
|
10
10
|
s.email = %q{jaduarte@tgdice.com}
|
11
|
-
s.authors = ["Jose Duarte"]
|
11
|
+
s.authors = ["Jose A. Duarte"]
|
12
12
|
|
13
13
|
s.require_paths = ["lib"]
|
14
|
-
|
14
|
+
|
15
15
|
s.files = [
|
16
16
|
"capistrano-sanitizer.gemspec",
|
17
17
|
"lib/capistrano-sanitizer.rb",
|
@@ -20,4 +20,4 @@ Gem::Specification.new do |s|
|
|
20
20
|
|
21
21
|
s.add_runtime_dependency(%q<capistrano>, [">= 0"])
|
22
22
|
|
23
|
-
end
|
23
|
+
end
|
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# Extend Capistrano::Loger to filter svn passwords
|
2
2
|
class Capistrano::Logger
|
3
3
|
alias previous_log_method log
|
4
|
+
# Replace a svn password with <filtered> from the message string
|
4
5
|
def log(level, message, line_prefix=nil)
|
5
6
|
message = message.gsub(/(--password) (\S+)/, "\\1 <filtered>")
|
6
7
|
previous_log_method level, message, line_prefix
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-sanitizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
- Jose Duarte
|
8
|
+
- Jose A. Duarte
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -36,7 +36,7 @@ files:
|
|
36
36
|
- capistrano-sanitizer.gemspec
|
37
37
|
- lib/capistrano-sanitizer.rb
|
38
38
|
- lib/capistrano/ext/sanitizer.rb
|
39
|
-
homepage:
|
39
|
+
homepage: https://github.com/tgdice/capistrano-sanitizer
|
40
40
|
licenses: []
|
41
41
|
post_install_message:
|
42
42
|
rdoc_options: []
|