cap_password_filter 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +59 -0
  2. data/cap_password_filter.gemspec +2 -1
  3. metadata +5 -4
data/README.rdoc ADDED
@@ -0,0 +1,59 @@
1
+ == DESCRIPTION
2
+
3
+ Pretty simple gem that just replaces http authentication passwords (http://user:pass@host) with 'xxx.'
4
+ This is useful if you have a mercurial repo behind http authentication and you don't want your password spalyed all over your terminal every time you deploy.
5
+
6
+ == INSTALLATION
7
+
8
+ sudo gem install cap_password_filter
9
+
10
+ == USAGE
11
+
12
+ Just install it and then add
13
+
14
+ require 'cap_password_filter'
15
+
16
+ to your deploy.rb
17
+
18
+ That's it. This gem isn't that important though, and I'm not sure it's worth introducing a dependency on this gem into your deploy script, so I usually do something like this instead, just to be nice:
19
+
20
+ begin
21
+ require 'cap_password_filter'
22
+ rescue LoadError
23
+ puts "** You should run gem install cap_password_filter if having your password logged to the console bothers you.\n\n"
24
+ end
25
+
26
+ == CHANGES
27
+
28
+
29
+ v1.0.2
30
+
31
+ - added rdoc instead of plain text readme
32
+
33
+ == AUTHOR
34
+
35
+ Brian Samson (http://briansamson.com)
36
+
37
+ == LICENSE
38
+
39
+ MIT License
40
+ Copyright (c) 2007 - 2008
41
+
42
+ Permission is hereby granted, free of charge, to any person obtaining
43
+ a copy of this software and associated documentation files (the
44
+ 'Software'), to deal in the Software without restriction, including
45
+ without limitation the rights to use, copy, modify, merge, publish,
46
+ distribute, sub-license, and/or sell copies of the Software, and to
47
+ permit persons to whom the Software is furnished to do so, subject to
48
+ the following conditions:
49
+
50
+ The above copyright notice and this permission notice shall be
51
+ included in all copies or substantial portions of the Software.
52
+
53
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
54
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
55
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
56
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
57
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
58
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
59
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,12 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cap_password_filter"
3
- s.version = "1.0.1"
3
+ s.version = "1.0.2"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Brian Samson"]
7
7
  s.date = "2010-04-08"
8
8
  s.description = "Replace inline http passwords (http://user:password@host) with 'xxx' in cap log output"
9
9
  s.email = "brian@briansamson.com"
10
+ s.extra_rdoc_files = ['README.rdoc']
10
11
  s.files = ["lib/capistrano/logger.rb", "lib/cap_password_filter.rb", "cap_password_filter.gemspec"]
11
12
  s.homepage = "http://github.com/samsonasu/cap_password_filter"
12
13
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Capistrano_colors", "--main", "README.rdoc"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brian Samson
@@ -37,12 +37,13 @@ executables: []
37
37
 
38
38
  extensions: []
39
39
 
40
- extra_rdoc_files: []
41
-
40
+ extra_rdoc_files:
41
+ - README.rdoc
42
42
  files:
43
43
  - lib/capistrano/logger.rb
44
44
  - lib/cap_password_filter.rb
45
45
  - cap_password_filter.gemspec
46
+ - README.rdoc
46
47
  has_rdoc: true
47
48
  homepage: http://github.com/samsonasu/cap_password_filter
48
49
  licenses: []