silence_log_tailer 0.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.
data/Gemfile ADDED
@@ -0,0 +1 @@
1
+ gem 'railties', '>=3.0.0.beta4'
data/README ADDED
@@ -0,0 +1,16 @@
1
+ Silences Rails::Rack::LogTailer from tailing everything to the console.
2
+
3
+ # Gemfile
4
+ gem 'silence_log_tailer'
5
+
6
+ Enable by setting anything to the SILENCE_LOG_TAILER environment variable:
7
+
8
+ $ echo "export SILENCE_LOG_TAILER=stfu" >> ~/.zprofile
9
+ $ source ~/.zprofile
10
+ $ rails server
11
+
12
+ or
13
+
14
+ $ SILENCE_LOG_TAILER=foo rails server
15
+
16
+
@@ -0,0 +1,7 @@
1
+ require 'rails/rack/log_tailer'
2
+
3
+ Rails::Rack::LogTailer.class_eval do
4
+ def tail!
5
+ # stfu
6
+ end
7
+ end if ENV['SILENCE_LOG_TAILER']
@@ -0,0 +1,3 @@
1
+ module SilenceLogTailer
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: silence_log_tailer
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Sven Fuchs
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-07-05 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Silence rails/server log tailing to console.
23
+ email: svenfuchs@artweb-design.de
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files: []
29
+
30
+ files:
31
+ - lib/silence_log_tailer/version.rb
32
+ - lib/silence_log_tailer.rb
33
+ - Gemfile
34
+ - README
35
+ has_rdoc: true
36
+ homepage: http://github.com/svenfuchs/silence_log_tailer
37
+ licenses: []
38
+
39
+ post_install_message:
40
+ rdoc_options: []
41
+
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ hash: 3
50
+ segments:
51
+ - 0
52
+ version: "0"
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 23
59
+ segments:
60
+ - 1
61
+ - 3
62
+ - 6
63
+ version: 1.3.6
64
+ requirements: []
65
+
66
+ rubyforge_project: "[none]"
67
+ rubygems_version: 1.3.7
68
+ signing_key:
69
+ specification_version: 3
70
+ summary: Silence rails/server log tailing to console
71
+ test_files: []
72
+