mop 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/.gemspec CHANGED
@@ -2,38 +2,45 @@
2
2
  $:.unshift './lib'
3
3
  require 'mop/version'
4
4
 
5
- Gem::Specification.new do |gem|
6
- gem.name = "mop"
7
- gem.version = Mop::VERSION
8
- gem.authors = %w(☈king)
9
- gem.email = %w(mop-gem@sharpsaw.org)
10
- gem.summary = %q{Make OK for Public: Clean up sensitive info from a file before jisting}
11
- gem.description = <<-EOT
12
- == A simplistic pre-filter (not (yet) a substitute for manual examination).
5
+ # TODO:
6
+ # require 'working/gemspec'
7
+ # main_blurb = Working.readme 'README.rdoc', /^== Usage/, /^== Works/
8
+ main_blurb = %q{
9
+ == Usage
10
+
11
+ mop < /var/log/nginx/error_log > cleaned_file
12
+ vim cleaned_file
13
+ # ☝ check for anything it might've missed
14
+ jist -co cleaned_file
15
+ # ☝ upload, copy its URL to clipboard, open in browser
13
16
 
14
- Usage
15
- -----
17
+ == Note
16
18
 
17
- mop < /var/log/nginx/error_log > cleaned_file
18
- vim cleaned_file # check for anything it might've missed
19
- jist -co cleaned_file # upload, copy its URL to clipboard, open in browser
19
+ This thing is really in its beginning phases. It currently:
20
20
 
21
- Note
22
- ----
21
+ * Deletes too much
22
+ * Leaves too much
23
23
 
24
- This thing is really in its beginning phases. It currently deletes too much and
25
- also leaves too much.
24
+ However, all Issues will be addressed. Just file 'em at:
25
+ https://github.com/rking/mop/issues
26
+ }
26
27
 
27
- However, all Issues will be addressed. Just file 'em here: https://github.com/exad/mop/issues
28
- EOT
28
+ Gem::Specification.new do |gem|
29
+ gem.name = "mop"
30
+ gem.version = Mop::VERSION
31
+ gem.authors = %w(☈king)
32
+ gem.email = %w(mop-gem@sharpsaw.org)
33
+ # TODO: gem.summary = Working.readme_third_line
34
+ gem.summary = 'Make OK for Public. A simplistic pre-filter (not (yet|ever) a substitute for manual examination).'
35
+ # TODO:
36
+ gem.post_install_message = "= mop\n\n" + gem.summary + "\n" + main_blurb
37
+ gem.description = gem.summary + "\n" + main_blurb
29
38
  gem.homepage = 'https://github.com/exad/mop'
30
39
  gem.files = `git ls-files`.split($/)
31
40
  gem.executables = gem.files.grep(%r{^bin/}).map{|f| File.basename f}
32
41
  gem.test_files = gem.files.grep %r{^ test|spec|features/}
33
42
  gem.require_paths = ['lib']
34
43
 
35
- %w(
36
- jist
37
- ).each do |dep| gem.add_dependency dep end
44
+ gem.add_dependency 'jist'
38
45
  gem.add_development_dependency 'working'
39
46
  end
@@ -0,0 +1 @@
1
+ *.gem
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mop (0.0.4)
4
+ mop (0.0.6)
5
5
  jist
6
6
 
7
7
  GEM
data/Guardfile CHANGED
@@ -1,4 +1,4 @@
1
1
  require 'working/guard'
2
2
  guard :sporkminitest do
3
- watch 'test/cases.yml' do 'test/mop_test.rb' end
3
+ watch %r(test/cases.yml|README.rdoc.erb) do 'test/mop_test.rb' end
4
4
  end
@@ -0,0 +1,100 @@
1
+ = mop
2
+
3
+ Make OK for Public. A simplistic pre-filter (not (yet|ever) a substitute for
4
+ manual examination).
5
+
6
+ == Usage
7
+
8
+ mop < /var/log/nginx/error_log > cleaned_file
9
+ vim cleaned_file
10
+ # ☝ check for anything it might've missed
11
+ jist -co cleaned_file
12
+ # ☝ upload, copy its URL to clipboard, open in browser
13
+
14
+ == Note
15
+
16
+ This thing is really in its beginning phases. It currently:
17
+
18
+ * Deletes too much
19
+ * Leaves too much
20
+
21
+ However, all Issues will be addressed. Just file 'em at:
22
+ https://github.com/rking/mop/issues
23
+
24
+ == Currently Works With
25
+
26
+ - Passwords
27
+ - <tt>"password: secr3t"</tt> ⇒ <tt>"password: hiddenpass"</tt>
28
+ - <tt>"password: secr3t"</tt> ⇒ <tt>"password: hiddenpass"</tt>
29
+ - <tt>"password:\n\tsecr3t"</tt> ⇒ <tt>"password:\n\thiddenpass"</tt>
30
+ - <tt>"password: 'secr3t'"</tt> ⇒ <tt>"password: hiddenpass"</tt>
31
+ - <tt>"password:secr3t"</tt> ⇒ <tt>"password:hiddenpass"</tt>
32
+ - <tt>"passwd:secr3t"</tt> ⇒ <tt>"passwd:hiddenpass"</tt>
33
+ - <tt>"passwd: secr3t"</tt> ⇒ <tt>"passwd: hiddenpass"</tt>
34
+ - <tt>"password=secr3t"</tt> ⇒ <tt>"password=hiddenpass"</tt>
35
+ - <tt>"passwd=secr3t"</tt> ⇒ <tt>"passwd=hiddenpass"</tt>
36
+ - <tt>"password=\"secr3t\""</tt> ⇒ <tt>"password=hiddenpass"</tt>
37
+ - <tt>"buzbuz password: secr3t bizbiz"</tt> ⇒ <tt>"buzbuz password: hiddenpass bizbiz"</tt>
38
+ - <tt>"buzbuz password: secr3t bizbiz another password: secr4t bazbaz"</tt> ⇒ <tt>"buzbuz password: hiddenpass bizbiz another password: hiddenpass bazbaz"</tt>
39
+ - <tt>"USER: user55 PASS: secr3t"</tt> ⇒ <tt>"USER: hiddenuser PASS: hiddenpass"</tt>
40
+ - <tt>"U/N: user55 P/W: secr3t"</tt> ⇒ <tt>"U/N: hiddenuser P/W: hiddenpass"</tt>
41
+ - <tt>"U: user55 P: secr3t"</tt> ⇒ <tt>"U: hiddenuser P: hiddenpass"</tt>
42
+ - <tt>"U=user55 P=secr3t"</tt> ⇒ <tt>"U=hiddenuser P=hiddenpass"</tt>
43
+ - <tt>"u=user55 p=secr3t"</tt> ⇒ <tt>"u=hiddenuser p=hiddenpass"</tt>
44
+ - <tt>"u: user55 p: secr3t"</tt> ⇒ <tt>"u: hiddenuser p: hiddenpass"</tt>
45
+ - <tt>"L=user55 P=secr3t"</tt> ⇒ <tt>"L=hiddenuser P=hiddenpass"</tt>
46
+ - Users
47
+ - <tt>"user: user55"</tt> ⇒ <tt>"user: hiddenuser"</tt>
48
+ - <tt>"User=user55"</tt> ⇒ <tt>"User=hiddenuser"</tt>
49
+ - <tt>"/Users/user55"</tt> ⇒ <tt>"hiddenuser"</tt>
50
+ - <tt>"/home/user55"</tt> ⇒ <tt>"hiddenuser"</tt>
51
+ - IPv4 Addresses
52
+ - <tt>"1.2.3.4"</tt> ⇒ <tt>"XX.YY.ZZ.AA"</tt>
53
+ - <tt>"asdf 1.2.3.4 asdf"</tt> ⇒ <tt>"asdf XX.YY.ZZ.AA asdf"</tt>
54
+ - <tt>"1.2.3.4:22"</tt> ⇒ <tt>"XX.YY.ZZ.AA:22"</tt>
55
+ - <tt>"123.45.67.89"</tt> ⇒ <tt>"XX.YY.ZZ.AA"</tt>
56
+ - <tt>"0.0.0.0"</tt> _unchanged_
57
+ - <tt>"127.0.0.1"</tt> _unchanged_
58
+ - IPv6 Addresses (probably many patterns TODO on this one)
59
+ - <tt>"21:43:6f:1a:f6:f6"</tt> ⇒ <tt>"aa:bb:cc:dd:ee:ff"</tt>
60
+ - Capistrano's `deploy.rb`
61
+ - <tt>"host_name: 'shouldhide'"</tt> ⇒ <tt>"host_name: caphidden"</tt>
62
+ - <tt>"host_name: \"shouldhide\""</tt> ⇒ <tt>"host_name: caphidden"</tt>
63
+ - <tt>":host_name => 'shouldhide'"</tt> ⇒ <tt>":host_name => caphidden"</tt>
64
+ - <tt>":host_name, 'shouldhide'"</tt> ⇒ <tt>":host_name, caphidden"</tt>
65
+ - <tt>":port => 'shouldhide'"</tt> ⇒ <tt>":port => caphidden"</tt>
66
+ - <tt>"deploy_to, 'shouldhide'"</tt> ⇒ <tt>"deploy_to, caphidden"</tt>
67
+ - <tt>"server 'shouldhide', …"</tt> ⇒ <tt>"server capserver …"</tt>
68
+ - <tt>"set :application, \"shouldhide\""</tt> ⇒ <tt>"set :application, caphidden"</tt>
69
+ - <tt>"set :user, \"shouldhide\""</tt> ⇒ <tt>"set :user, hiddenuser"</tt>
70
+ - <tt>"server without comma"</tt> _unchanged_
71
+ - <tt>"portage"</tt> _unchanged_
72
+ - /etc/passwd having "fakeuser" and "fakeuser2"
73
+ - <tt>"foo bar fakeuser baz"</tt> ⇒ <tt>"foo bar hiddenuser baz"</tt>
74
+ - <tt>"~/fakeuser"</tt> ⇒ <tt>"~/hiddenuser"</tt>
75
+ - <tt>"/home/fakeuser/.foo"</tt> ⇒ <tt>"hiddenuser"</tt>
76
+ - <tt>"fakeuser2"</tt> ⇒ <tt>"hiddenuser"</tt>
77
+ - <tt>"cron"</tt> _unchanged_
78
+ - <tt>"root"</tt> _unchanged_
79
+ - hostname being 'gargantatron'
80
+ - <tt>"gargantatron"</tt> ⇒ <tt>"hiddenhost"</tt>
81
+ - Git repos
82
+ - <tt>"git@github.com/username/reponame.git"</tt> ⇒ <tt>"git@github.com/hiddenrepo"</tt>
83
+ - <tt>"git@github.com/username/reponame"</tt> ⇒ <tt>"git@github.com/hiddenrepo"</tt>
84
+ - <tt>"git@github.com:username/reponame"</tt> ⇒ <tt>"git@github.com:hiddenrepo"</tt>
85
+ - <tt>"https://github.com/username/reponame"</tt> ⇒ <tt>"https://github.com/hiddenrepo"</tt>
86
+ - <tt>"http://github.com/username/reponame"</tt> ⇒ <tt>"http://github.com/hiddenrepo"</tt>
87
+ - <tt>"git://github.com/username/reponame"</tt> ⇒ <tt>"git://github.com/hiddenrepo"</tt>
88
+ - <tt>"http://someotherhost.net/reponame.git"</tt> ⇒ <tt>"http://hiddenrepo"</tt>
89
+ - SSH
90
+ - <tt>"ssh://user55@secrethost/path/to/reponame.git/"</tt> ⇒ <tt>"ssh://hiddensshurl"</tt>
91
+
92
+
93
+ == TODO
94
+
95
+ - Add -j for ConradIrwin's <tt>jist</tt> gem (after an editor preview, of course)
96
+ - Make distinct (similar to an uglifier's symbol replacement)
97
+ - first.host.name ⇒ hiddenhostname1
98
+ - second.host.name ⇒ hiddenhostname2
99
+ - Learn more about IPv6 Addresses
100
+ - Dorky ISP-given hostnames that show IP addresses
@@ -0,0 +1,35 @@
1
+ = mop
2
+
3
+ Make OK for Public. A simplistic pre-filter (not (yet|ever) a substitute for
4
+ manual examination).
5
+
6
+ == Usage
7
+
8
+ mop < /var/log/nginx/error_log > cleaned_file
9
+ vim cleaned_file
10
+ # ☝ check for anything it might've missed
11
+ jist -co cleaned_file
12
+ # ☝ upload, copy its URL to clipboard, open in browser
13
+
14
+ == Note
15
+
16
+ This thing is really in its beginning phases. It currently:
17
+
18
+ * Deletes too much
19
+ * Leaves too much
20
+
21
+ However, all Issues will be addressed. Just file 'em at:
22
+ https://github.com/rking/mop/issues
23
+
24
+ == Currently Works With
25
+
26
+ <%= actual_results %>
27
+
28
+ == TODO
29
+
30
+ - Add -j for ConradIrwin's <tt>jist</tt> gem (after an editor preview, of course)
31
+ - Make distinct (similar to an uglifier's symbol replacement)
32
+ - first.host.name ⇒ hiddenhostname1
33
+ - second.host.name ⇒ hiddenhostname2
34
+ - Learn more about IPv6 Addresses
35
+ - Dorky ISP-given hostnames that show IP addresses
@@ -1,3 +1,3 @@
1
1
  class Mop
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
@@ -13,8 +13,8 @@ class MopTest < MiniTest::Unit::TestCase
13
13
  end
14
14
 
15
15
  def write_readme actual_results
16
- template = ERB.new File.read('README.md.erb')
17
- File.write 'README.md', template.result(binding)
16
+ template = ERB.new File.read('README.rdoc.erb')
17
+ File.write 'README.rdoc', template.result(binding)
18
18
  end
19
19
 
20
20
  def test_in_a_big_loop
@@ -25,7 +25,7 @@ class MopTest < MiniTest::Unit::TestCase
25
25
  if intention.has_key? 'passthru'
26
26
  intention['passthru'].each do |already_clean|
27
27
  assert_equal Mop.wipe(already_clean), already_clean
28
- doc.puts " - `#{already_clean.inspect}` _(unchanged)_"
28
+ doc.puts " - <tt>#{already_clean.inspect}</tt> _unchanged_"
29
29
  end
30
30
  elsif intention.has_key? 'filter' and intention.has_key? 'from'
31
31
  illicit = [intention['filter']].flatten
@@ -36,9 +36,8 @@ class MopTest < MiniTest::Unit::TestCase
36
36
  refute clean.include?(e),
37
37
  "#{name} — should wipe #{illicit} from #{dirty}"
38
38
  end
39
- doc.puts " - `#{dirty.inspect}``#{clean.inspect}`"
40
- end
41
- else
39
+ doc.puts " - <tt>#{dirty.inspect}</tt><tt>#{clean.inspect}</tt>"
40
+ end else
42
41
  fail "Unknown test case structure: #{intention.to_yaml}"
43
42
  end
44
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -43,12 +43,12 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
- description: ! "== A simplistic pre-filter (not (yet) a substitute for manual examination).\n\nUsage\n-----\n\n
47
- \ mop < /var/log/nginx/error_log > cleaned_file\n vim cleaned_file # check
48
- for anything it might've missed\n jist -co cleaned_file # upload, copy its URL
49
- to clipboard, open in browser\n\nNote\n----\n\nThis thing is really in its beginning
50
- phases. It currently deletes too much and\nalso leaves too much.\n\nHowever, all
51
- Issues will be addressed. Just file 'em here: https://github.com/exad/mop/issues\n"
46
+ description: ! "Make OK for Public. A simplistic pre-filter (not (yet|ever) a substitute
47
+ for manual examination).\n\n== Usage\n\n mop < /var/log/nginx/error_log > cleaned_file\n
48
+ vim cleaned_file\n # ☝ check for anything it might've missed\n jist -co cleaned_file\n
49
+ # ☝ upload, copy its URL to clipboard, open in browser\n\n== Note\n\nThis thing
50
+ is really in its beginning phases. It currently:\n\n* Deletes too much\n* Leaves
51
+ too much\n\nHowever, all Issues will be addressed. Just file 'em at:\nhttps://github.com/rking/mop/issues\n"
52
52
  email:
53
53
  - mop-gem@sharpsaw.org
54
54
  executables:
@@ -57,12 +57,13 @@ extensions: []
57
57
  extra_rdoc_files: []
58
58
  files:
59
59
  - .gemspec
60
+ - .gitignore
60
61
  - .rspec
61
62
  - Gemfile
62
63
  - Gemfile.lock
63
64
  - Guardfile
64
- - README.md
65
- - README.md.erb
65
+ - README.rdoc
66
+ - README.rdoc.erb
66
67
  - Rakefile
67
68
  - acceptance-test
68
69
  - bin/mop
@@ -73,12 +74,19 @@ files:
73
74
  - pkg/mop-0.0.2.gem
74
75
  - pkg/mop-0.0.3.gem
75
76
  - pkg/mop-0.0.4.gem
77
+ - pkg/mop-0.0.5.gem
76
78
  - test/cases.yml
77
79
  - test/mop_test.rb
78
80
  - test/test_helper.rb
79
81
  homepage: https://github.com/exad/mop
80
82
  licenses: []
81
- post_install_message:
83
+ post_install_message: ! "= mop\n\nMake OK for Public. A simplistic pre-filter (not
84
+ (yet|ever) a substitute for manual examination).\n\n== Usage\n\n mop < /var/log/nginx/error_log
85
+ > cleaned_file\n vim cleaned_file\n # ☝ check for anything it might've missed\n
86
+ jist -co cleaned_file\n # ☝ upload, copy its URL to clipboard, open in browser\n\n==
87
+ Note\n\nThis thing is really in its beginning phases. It currently:\n\n* Deletes
88
+ too much\n* Leaves too much\n\nHowever, all Issues will be addressed. Just file
89
+ 'em at:\nhttps://github.com/rking/mop/issues\n"
82
90
  rdoc_options: []
83
91
  require_paths:
84
92
  - lib
@@ -99,7 +107,8 @@ rubyforge_project:
99
107
  rubygems_version: 1.8.24
100
108
  signing_key:
101
109
  specification_version: 3
102
- summary: ! 'Make OK for Public: Clean up sensitive info from a file before jisting'
110
+ summary: Make OK for Public. A simplistic pre-filter (not (yet|ever) a substitute
111
+ for manual examination).
103
112
  test_files:
104
113
  - .gemspec
105
114
  - .rspec
data/README.md DELETED
@@ -1,103 +0,0 @@
1
- mop
2
- ===
3
-
4
- Make OK for Public. A simplistic pre-filter (not (yet) a substitute for manual
5
- examination).
6
-
7
- Usage
8
- -----
9
-
10
- mop < /var/log/nginx/error_log > cleaned_file
11
- vim cleaned_file # check for anything it might've missed
12
- jist -co cleaned_file # upload, copy its URL to clipboard, open in browser
13
-
14
- Note
15
- ----
16
-
17
- This thing is really in its beginning phases. It currently:
18
-
19
- * Deletes too much
20
- * Leaves too much
21
-
22
- However, all [Issues](https://github.com/rking/mop/issues) will be addressed.
23
- Just file 'em.'
24
-
25
- Currently Works With
26
- --------------------
27
-
28
- - Passwords
29
- - `"password: secr3t"` ⇒ `"password: hiddenpass"`
30
- - `"password: secr3t"` ⇒ `"password: hiddenpass"`
31
- - `"password:\n\tsecr3t"` ⇒ `"password:\n\thiddenpass"`
32
- - `"password: 'secr3t'"` ⇒ `"password: hiddenpass"`
33
- - `"password:secr3t"` ⇒ `"password:hiddenpass"`
34
- - `"passwd:secr3t"` ⇒ `"passwd:hiddenpass"`
35
- - `"passwd: secr3t"` ⇒ `"passwd: hiddenpass"`
36
- - `"password=secr3t"` ⇒ `"password=hiddenpass"`
37
- - `"passwd=secr3t"` ⇒ `"passwd=hiddenpass"`
38
- - `"password=\"secr3t\""` ⇒ `"password=hiddenpass"`
39
- - `"buzbuz password: secr3t bizbiz"` ⇒ `"buzbuz password: hiddenpass bizbiz"`
40
- - `"buzbuz password: secr3t bizbiz another password: secr4t bazbaz"` ⇒ `"buzbuz password: hiddenpass bizbiz another password: hiddenpass bazbaz"`
41
- - `"USER: user55 PASS: secr3t"` ⇒ `"USER: hiddenuser PASS: hiddenpass"`
42
- - `"U/N: user55 P/W: secr3t"` ⇒ `"U/N: hiddenuser P/W: hiddenpass"`
43
- - `"U: user55 P: secr3t"` ⇒ `"U: hiddenuser P: hiddenpass"`
44
- - `"U=user55 P=secr3t"` ⇒ `"U=hiddenuser P=hiddenpass"`
45
- - `"u=user55 p=secr3t"` ⇒ `"u=hiddenuser p=hiddenpass"`
46
- - `"u: user55 p: secr3t"` ⇒ `"u: hiddenuser p: hiddenpass"`
47
- - `"L=user55 P=secr3t"` ⇒ `"L=hiddenuser P=hiddenpass"`
48
- - Users
49
- - `"user: user55"` ⇒ `"user: hiddenuser"`
50
- - `"User=user55"` ⇒ `"User=hiddenuser"`
51
- - `"/Users/user55"` ⇒ `"hiddenuser"`
52
- - `"/home/user55"` ⇒ `"hiddenuser"`
53
- - IPv4 Addresses
54
- - `"1.2.3.4"` ⇒ `"XX.YY.ZZ.AA"`
55
- - `"asdf 1.2.3.4 asdf"` ⇒ `"asdf XX.YY.ZZ.AA asdf"`
56
- - `"1.2.3.4:22"` ⇒ `"XX.YY.ZZ.AA:22"`
57
- - `"123.45.67.89"` ⇒ `"XX.YY.ZZ.AA"`
58
- - `"0.0.0.0"` _(unchanged)_
59
- - `"127.0.0.1"` _(unchanged)_
60
- - IPv6 Addresses (probably many patterns TODO on this one)
61
- - `"21:43:6f:1a:f6:f6"` ⇒ `"aa:bb:cc:dd:ee:ff"`
62
- - Capistrano's `deploy.rb`
63
- - `"host_name: 'shouldhide'"` ⇒ `"host_name: caphidden"`
64
- - `"host_name: \"shouldhide\""` ⇒ `"host_name: caphidden"`
65
- - `":host_name => 'shouldhide'"` ⇒ `":host_name => caphidden"`
66
- - `":host_name, 'shouldhide'"` ⇒ `":host_name, caphidden"`
67
- - `":port => 'shouldhide'"` ⇒ `":port => caphidden"`
68
- - `"deploy_to, 'shouldhide'"` ⇒ `"deploy_to, caphidden"`
69
- - `"server 'shouldhide', …"` ⇒ `"server capserver …"`
70
- - `"set :application, \"shouldhide\""` ⇒ `"set :application, caphidden"`
71
- - `"set :user, \"shouldhide\""` ⇒ `"set :user, hiddenuser"`
72
- - `"server without comma"` _(unchanged)_
73
- - `"portage"` _(unchanged)_
74
- - /etc/passwd having "fakeuser" and "fakeuser2"
75
- - `"foo bar fakeuser baz"` ⇒ `"foo bar hiddenuser baz"`
76
- - `"~/fakeuser"` ⇒ `"~/hiddenuser"`
77
- - `"/home/fakeuser/.foo"` ⇒ `"hiddenuser"`
78
- - `"fakeuser2"` ⇒ `"hiddenuser"`
79
- - `"cron"` _(unchanged)_
80
- - `"root"` _(unchanged)_
81
- - hostname being 'gargantatron'
82
- - `"gargantatron"` ⇒ `"hiddenhost"`
83
- - Git repos
84
- - `"git@github.com/username/reponame.git"` ⇒ `"git@github.com/hiddenrepo"`
85
- - `"git@github.com/username/reponame"` ⇒ `"git@github.com/hiddenrepo"`
86
- - `"git@github.com:username/reponame"` ⇒ `"git@github.com:hiddenrepo"`
87
- - `"https://github.com/username/reponame"` ⇒ `"https://github.com/hiddenrepo"`
88
- - `"http://github.com/username/reponame"` ⇒ `"http://github.com/hiddenrepo"`
89
- - `"git://github.com/username/reponame"` ⇒ `"git://github.com/hiddenrepo"`
90
- - `"http://someotherhost.net/reponame.git"` ⇒ `"http://hiddenrepo"`
91
- - SSH
92
- - `"ssh://user55@secrethost/path/to/reponame.git/"` ⇒ `"ssh://hiddensshurl"`
93
-
94
-
95
- TODO
96
- ----
97
-
98
- - Add -j for ConradIrwin's `jist` gem
99
- - Make distinct (similar to an uglifier's symbol replacement)
100
- - first.host.name ⇒ hiddenhostname1
101
- - second.host.name ⇒ hiddenhostname2
102
- - Learn more about IPv6 Addresses
103
- - Dorky ISP-given hostnames that show IP addresses
@@ -1,38 +0,0 @@
1
- mop
2
- ===
3
-
4
- Make OK for Public. A simplistic pre-filter (not (yet) a substitute for manual
5
- examination).
6
-
7
- Usage
8
- -----
9
-
10
- mop < /var/log/nginx/error_log > cleaned_file
11
- vim cleaned_file # check for anything it might've missed
12
- jist -co cleaned_file # upload, copy its URL to clipboard, open in browser
13
-
14
- Note
15
- ----
16
-
17
- This thing is really in its beginning phases. It currently:
18
-
19
- * Deletes too much
20
- * Leaves too much
21
-
22
- However, all [Issues](https://github.com/rking/mop/issues) will be addressed.
23
- Just file 'em.'
24
-
25
- Currently Works With
26
- --------------------
27
-
28
- <%= actual_results %>
29
-
30
- TODO
31
- ----
32
-
33
- - Add -j for ConradIrwin's `jist` gem
34
- - Make distinct (similar to an uglifier's symbol replacement)
35
- - first.host.name ⇒ hiddenhostname1
36
- - second.host.name ⇒ hiddenhostname2
37
- - Learn more about IPv6 Addresses
38
- - Dorky ISP-given hostnames that show IP addresses