clog 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/.gitignore CHANGED
@@ -19,3 +19,5 @@ rdoc
19
19
  pkg
20
20
 
21
21
  ## PROJECT::SPECIFIC
22
+ *.log
23
+ *.sqlite3
@@ -0,0 +1,119 @@
1
+
2
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
+ <html>
4
+ <head>
5
+ <title>RDoc Documentation</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7
+ </head>
8
+ <body>
9
+ <h2>File: README.rdoc</h2>
10
+ <table>
11
+ <tr><td>Path:</td><td>README.rdoc</td></tr>
12
+ <tr><td>Modified:</td><td>Mon Aug 23 20:53:13 -0400 2010</td></tr>
13
+ </table>
14
+
15
+ <h1>clog (&quot;color log&quot;)</h1>
16
+ <p>
17
+ Little Ruby On Rails debugging gem for writing colorized output to log
18
+ file.
19
+ </p>
20
+ <p>
21
+ Because clog is all about color <a href="http://kswope.com">here's a blog
22
+ posting with color pictures</a>
23
+ </p>
24
+ <h2>Usage</h2>
25
+ <pre>
26
+ &gt; gem install clog
27
+ </pre>
28
+ <p>
29
+ Rails 2x, in environment.rb
30
+ </p>
31
+ <pre>
32
+ Rails::Initializer.run do |config|
33
+ config.gem 'clog'
34
+ end
35
+ </pre>
36
+ <p>
37
+ If you want to change the defaults you might have to require the gem also
38
+ </p>
39
+ <pre>
40
+ Rails::Initializer.run do |config|
41
+ config.gem 'clog'
42
+ require 'clog'
43
+ Clog.colors(:black, yellow)
44
+ end
45
+ </pre>
46
+ <p>
47
+ Rails 3x, in Gemfile
48
+ </p>
49
+ <pre>
50
+ gem &quot;clog&quot;
51
+ </pre>
52
+ <p>
53
+ You change the defaults in environment.rb just like rails 2x
54
+ </p>
55
+ <h3>Single argument</h3>
56
+ <pre>
57
+ clog var
58
+ </pre>
59
+ <h3>Tagged argument</h3>
60
+ <p>
61
+ First argument must be a symbol, which it outputs before second argument.
62
+ </p>
63
+ <pre>
64
+ clog :var, var
65
+
66
+ {:one=&gt;1, :two=&gt;2, :three=&gt;3}.each do |k,v|
67
+ clog k, v
68
+ end
69
+ </pre>
70
+ <h3>Multiple arguments</h3>
71
+ <p>
72
+ Will output each on its own line.
73
+ </p>
74
+ <pre>
75
+ clog Object.new, Kernel, RUBY_VERSION, :a_symbol
76
+ </pre>
77
+ <h3>Changing color</h3>
78
+ <p>
79
+ Clog.colors(background, forground=white)
80
+ </p>
81
+ <p>
82
+ Choices- :black, :red, :green, :yellow, :blue, :magenta, :cyan, :white
83
+ </p>
84
+ <pre>
85
+ Clog.colors(:blue)
86
+ Clog.colors(:black, yellow)
87
+ </pre>
88
+ <p>
89
+ Default is red background, white foreground.
90
+ </p>
91
+ <h3>Max width</h3>
92
+ <p>
93
+ clog figures out when its appropriate to place additional information (line
94
+ number, etc) on the right of the output or below it on the next line. Think
95
+ of maxwidth as representing the width of your terminal window. The default
96
+ is 150
97
+ </p>
98
+ <pre>
99
+ Clog.maxwidth(20)
100
+ </pre>
101
+ <h2>Copyright</h2>
102
+ <p>
103
+ Copyright (c) 2010 Kevin Swope. See LICENSE for details.
104
+ </p>
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <h2>Classes</h2>
113
+ </body>
114
+ </html>
115
+ Files: 1
116
+ Classes: 0
117
+ Modules: 0
118
+ Methods: 0
119
+ Elapsed: 0.098s
@@ -1,16 +1,69 @@
1
- = clog
2
-
3
- Description goes here.
4
-
5
- == Note on Patches/Pull Requests
6
-
7
- * Fork the project.
8
- * Make your feature addition or bug fix.
9
- * Add tests for it. This is important so I don't break it in a
10
- future version unintentionally.
11
- * Commit, do not mess with rakefile, version, or history.
12
- (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
13
- * Send me a pull request. Bonus points for topic branches.
1
+ = clog ("color log")
2
+
3
+ Little Ruby On Rails debugging gem for writing colorized output to log file.
4
+
5
+ Because clog is all about color
6
+ {here's a blog posting with color pictures}[http://kswope.com]
7
+
8
+ == Usage
9
+
10
+ > gem install clog
11
+
12
+ Rails 2x, in environment.rb
13
+
14
+ Rails::Initializer.run do |config|
15
+ config.gem 'clog'
16
+ end
17
+
18
+ If you want to change the defaults you might have to require the gem also
19
+
20
+ Rails::Initializer.run do |config|
21
+ config.gem 'clog'
22
+ require 'clog'
23
+ Clog.colors(:black, yellow)
24
+ end
25
+
26
+ Rails 3x, in Gemfile
27
+
28
+ gem "clog"
29
+
30
+ You change the defaults in environment.rb just like rails 2x
31
+
32
+ === Single argument
33
+
34
+ clog var
35
+
36
+ === Tagged argument
37
+ First argument must be a symbol, which it outputs before second argument.
38
+
39
+ clog :var, var
40
+
41
+ {:one=>1, :two=>2, :three=>3}.each do |k,v|
42
+ clog k, v
43
+ end
44
+
45
+ === Multiple arguments
46
+
47
+ Will output each on its own line.
48
+
49
+
50
+ clog Object.new, Kernel, RUBY_VERSION, :a_symbol
51
+
52
+ === Changing color
53
+ Clog.colors(background, forground=white)
54
+
55
+ Choices- :black, :red, :green, :yellow, :blue, :magenta, :cyan, :white
56
+
57
+ Clog.colors(:blue)
58
+ Clog.colors(:black, yellow)
59
+
60
+ Default is red background, white foreground.
61
+
62
+ === Max width
63
+ clog figures out when its appropriate to place additional information (line number, etc) on the right of the output or below it on the next line. Think of maxwidth
64
+ as representing the width of your terminal window. The default is 150
65
+
66
+ Clog.maxwidth(20)
14
67
 
15
68
  == Copyright
16
69
 
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rake'
4
4
  begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
- summary = "Little rails debugging gem for writing colorized output to log file"
7
+ summary = "Little rails debugging gem for writing colorized output to log file."
8
8
  gem.name = "clog"
9
9
  gem.summary = summary
10
10
  gem.description = summary
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -0,0 +1,208 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{clog}
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Kevin Swope"]
12
+ s.date = %q{2010-08-23}
13
+ s.description = %q{Little rails debugging gem for writing colorized output to log file.}
14
+ s.email = %q{gems-kevdev@snkmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.html",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ ".gitignore",
23
+ "LICENSE",
24
+ "README.html",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "clog.gemspec",
29
+ "created.rid",
30
+ "init.rb",
31
+ "lib/clog.rb",
32
+ "test/common/functional/public_controller_test.rb",
33
+ "test/common/migrate/20100821014956_create_users.rb",
34
+ "test/common/public_controller.rb",
35
+ "test/common/unit/helpers/public_helper_test.rb",
36
+ "test/common/unit/user_test.rb",
37
+ "test/common/user.rb",
38
+ "test/helper.rb",
39
+ "test/rails2x_root.tar.gz",
40
+ "test/rails2x_root/README",
41
+ "test/rails2x_root/Rakefile",
42
+ "test/rails2x_root/app/controllers/application_controller.rb",
43
+ "test/rails2x_root/app/controllers/public_controller.rb",
44
+ "test/rails2x_root/app/helpers/application_helper.rb",
45
+ "test/rails2x_root/app/helpers/public_helper.rb",
46
+ "test/rails2x_root/app/models/user.rb",
47
+ "test/rails2x_root/config/boot.rb",
48
+ "test/rails2x_root/config/database.yml",
49
+ "test/rails2x_root/config/environment.rb",
50
+ "test/rails2x_root/config/environments/development.rb",
51
+ "test/rails2x_root/config/environments/production.rb",
52
+ "test/rails2x_root/config/environments/test.rb",
53
+ "test/rails2x_root/config/initializers/backtrace_silencers.rb",
54
+ "test/rails2x_root/config/initializers/cookie_verification_secret.rb",
55
+ "test/rails2x_root/config/initializers/inflections.rb",
56
+ "test/rails2x_root/config/initializers/mime_types.rb",
57
+ "test/rails2x_root/config/initializers/new_rails_defaults.rb",
58
+ "test/rails2x_root/config/initializers/session_store.rb",
59
+ "test/rails2x_root/config/locales/en.yml",
60
+ "test/rails2x_root/config/routes.rb",
61
+ "test/rails2x_root/db/schema.rb",
62
+ "test/rails2x_root/db/seeds.rb",
63
+ "test/rails2x_root/public/404.html",
64
+ "test/rails2x_root/public/422.html",
65
+ "test/rails2x_root/public/500.html",
66
+ "test/rails2x_root/public/favicon.ico",
67
+ "test/rails2x_root/public/images/rails.png",
68
+ "test/rails2x_root/public/javascripts/application.js",
69
+ "test/rails2x_root/public/javascripts/controls.js",
70
+ "test/rails2x_root/public/javascripts/dragdrop.js",
71
+ "test/rails2x_root/public/javascripts/effects.js",
72
+ "test/rails2x_root/public/javascripts/prototype.js",
73
+ "test/rails2x_root/public/robots.txt",
74
+ "test/rails2x_root/script/about",
75
+ "test/rails2x_root/script/console",
76
+ "test/rails2x_root/script/dbconsole",
77
+ "test/rails2x_root/script/destroy",
78
+ "test/rails2x_root/script/generate",
79
+ "test/rails2x_root/script/performance/benchmarker",
80
+ "test/rails2x_root/script/performance/profiler",
81
+ "test/rails2x_root/script/plugin",
82
+ "test/rails2x_root/script/runner",
83
+ "test/rails2x_root/script/server",
84
+ "test/rails2x_root/test/fixtures/users.yml",
85
+ "test/rails2x_root/test/performance/browsing_test.rb",
86
+ "test/rails2x_root/test/test_helper.rb",
87
+ "test/rails3x_root/.gitignore",
88
+ "test/rails3x_root/Gemfile",
89
+ "test/rails3x_root/Gemfile.lock",
90
+ "test/rails3x_root/README",
91
+ "test/rails3x_root/Rakefile",
92
+ "test/rails3x_root/app/controllers/application_controller.rb",
93
+ "test/rails3x_root/app/controllers/public_controller.rb",
94
+ "test/rails3x_root/app/helpers/application_helper.rb",
95
+ "test/rails3x_root/app/helpers/public_helper.rb",
96
+ "test/rails3x_root/app/models/user.rb",
97
+ "test/rails3x_root/app/views/layouts/application.html.erb",
98
+ "test/rails3x_root/config.ru",
99
+ "test/rails3x_root/config/application.rb",
100
+ "test/rails3x_root/config/boot.rb",
101
+ "test/rails3x_root/config/database.yml",
102
+ "test/rails3x_root/config/environment.rb",
103
+ "test/rails3x_root/config/environments/development.rb",
104
+ "test/rails3x_root/config/environments/production.rb",
105
+ "test/rails3x_root/config/environments/test.rb",
106
+ "test/rails3x_root/config/initializers/backtrace_silencers.rb",
107
+ "test/rails3x_root/config/initializers/inflections.rb",
108
+ "test/rails3x_root/config/initializers/mime_types.rb",
109
+ "test/rails3x_root/config/initializers/secret_token.rb",
110
+ "test/rails3x_root/config/initializers/session_store.rb",
111
+ "test/rails3x_root/config/locales/en.yml",
112
+ "test/rails3x_root/config/routes.rb",
113
+ "test/rails3x_root/db/schema.rb",
114
+ "test/rails3x_root/db/seeds.rb",
115
+ "test/rails3x_root/lib/tasks/.gitkeep",
116
+ "test/rails3x_root/public/404.html",
117
+ "test/rails3x_root/public/422.html",
118
+ "test/rails3x_root/public/500.html",
119
+ "test/rails3x_root/public/favicon.ico",
120
+ "test/rails3x_root/public/images/rails.png",
121
+ "test/rails3x_root/public/javascripts/application.js",
122
+ "test/rails3x_root/public/javascripts/controls.js",
123
+ "test/rails3x_root/public/javascripts/dragdrop.js",
124
+ "test/rails3x_root/public/javascripts/effects.js",
125
+ "test/rails3x_root/public/javascripts/prototype.js",
126
+ "test/rails3x_root/public/javascripts/rails.js",
127
+ "test/rails3x_root/public/robots.txt",
128
+ "test/rails3x_root/public/stylesheets/.gitkeep",
129
+ "test/rails3x_root/script/rails",
130
+ "test/rails3x_root/test/fixtures/users.yml",
131
+ "test/rails3x_root/test/functional.tar.gz",
132
+ "test/rails3x_root/test/performance/browsing_test.rb",
133
+ "test/rails3x_root/test/test_helper.rb",
134
+ "test/rails3x_root/test/unit.tar.gz",
135
+ "test/test_clog.rb"
136
+ ]
137
+ s.homepage = %q{http://github.com/kswope/clog}
138
+ s.rdoc_options = ["--charset=UTF-8"]
139
+ s.require_paths = ["lib"]
140
+ s.rubygems_version = %q{1.3.7}
141
+ s.summary = %q{Little rails debugging gem for writing colorized output to log file.}
142
+ s.test_files = [
143
+ "test/common/functional/public_controller_test.rb",
144
+ "test/common/migrate/20100821014956_create_users.rb",
145
+ "test/common/public_controller.rb",
146
+ "test/common/unit/helpers/public_helper_test.rb",
147
+ "test/common/unit/user_test.rb",
148
+ "test/common/user.rb",
149
+ "test/helper.rb",
150
+ "test/rails2x_root/app/controllers/application_controller.rb",
151
+ "test/rails2x_root/app/controllers/public_controller.rb",
152
+ "test/rails2x_root/app/helpers/application_helper.rb",
153
+ "test/rails2x_root/app/helpers/public_helper.rb",
154
+ "test/rails2x_root/app/models/user.rb",
155
+ "test/rails2x_root/config/boot.rb",
156
+ "test/rails2x_root/config/environment.rb",
157
+ "test/rails2x_root/config/environments/development.rb",
158
+ "test/rails2x_root/config/environments/production.rb",
159
+ "test/rails2x_root/config/environments/test.rb",
160
+ "test/rails2x_root/config/initializers/backtrace_silencers.rb",
161
+ "test/rails2x_root/config/initializers/cookie_verification_secret.rb",
162
+ "test/rails2x_root/config/initializers/inflections.rb",
163
+ "test/rails2x_root/config/initializers/mime_types.rb",
164
+ "test/rails2x_root/config/initializers/new_rails_defaults.rb",
165
+ "test/rails2x_root/config/initializers/session_store.rb",
166
+ "test/rails2x_root/config/routes.rb",
167
+ "test/rails2x_root/db/schema.rb",
168
+ "test/rails2x_root/db/seeds.rb",
169
+ "test/rails2x_root/test/performance/browsing_test.rb",
170
+ "test/rails2x_root/test/test_helper.rb",
171
+ "test/rails3x_root/app/controllers/application_controller.rb",
172
+ "test/rails3x_root/app/controllers/public_controller.rb",
173
+ "test/rails3x_root/app/helpers/application_helper.rb",
174
+ "test/rails3x_root/app/helpers/public_helper.rb",
175
+ "test/rails3x_root/app/models/user.rb",
176
+ "test/rails3x_root/config/application.rb",
177
+ "test/rails3x_root/config/boot.rb",
178
+ "test/rails3x_root/config/environment.rb",
179
+ "test/rails3x_root/config/environments/development.rb",
180
+ "test/rails3x_root/config/environments/production.rb",
181
+ "test/rails3x_root/config/environments/test.rb",
182
+ "test/rails3x_root/config/initializers/backtrace_silencers.rb",
183
+ "test/rails3x_root/config/initializers/inflections.rb",
184
+ "test/rails3x_root/config/initializers/mime_types.rb",
185
+ "test/rails3x_root/config/initializers/secret_token.rb",
186
+ "test/rails3x_root/config/initializers/session_store.rb",
187
+ "test/rails3x_root/config/routes.rb",
188
+ "test/rails3x_root/db/schema.rb",
189
+ "test/rails3x_root/db/seeds.rb",
190
+ "test/rails3x_root/test/performance/browsing_test.rb",
191
+ "test/rails3x_root/test/test_helper.rb",
192
+ "test/test_clog.rb"
193
+ ]
194
+
195
+ if s.respond_to? :specification_version then
196
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
197
+ s.specification_version = 3
198
+
199
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
200
+ s.add_runtime_dependency(%q<term-ansicolor>, [">= 0"])
201
+ else
202
+ s.add_dependency(%q<term-ansicolor>, [">= 0"])
203
+ end
204
+ else
205
+ s.add_dependency(%q<term-ansicolor>, [">= 0"])
206
+ end
207
+ end
208
+
@@ -0,0 +1 @@
1
+ Mon, 23 Aug 2010 20:53:15 -0400
@@ -4,12 +4,12 @@ class Clog
4
4
 
5
5
  @@foreground = :white
6
6
  @@background = :red
7
- @@maxwidth = 100 # max length before putting caller location on next line
7
+ @@maxwidth = 150 # max length before putting caller location on next line
8
8
 
9
- #### change default color
10
- def self.colors(bg, fg=nil)
9
+ #### change colors, default foreground is set here
10
+ def self.colors(bg, fg=:white)
11
11
  @@background = bg
12
- @@foreground = fg if fg
12
+ @@foreground = fg
13
13
  end
14
14
 
15
15
  #### change default maxwidth
@@ -33,10 +33,16 @@ class Testclog < Test::Unit::TestCase
33
33
  end
34
34
 
35
35
  def test_colors
36
-
36
+
37
37
  def runner(bg, fg=nil)
38
- Clog.colors(bg, fg)
39
- clog "visual inspection color test"
38
+
39
+ if fg
40
+ Clog.colors(bg, fg)
41
+ else
42
+ Clog.colors(bg)
43
+ end
44
+
45
+ clog "#{fg} on #{bg}"
40
46
  end
41
47
 
42
48
  runner :black
@@ -55,6 +61,15 @@ class Testclog < Test::Unit::TestCase
55
61
  runner :white, :blue
56
62
  runner :blue, :yellow
57
63
 
64
+ Clog.colors(:blue)
65
+ clog "white on blue"
66
+
67
+ Clog.colors(:blue, :red)
68
+ clog "red on blue"
69
+
70
+ Clog.colors(:yellow, :red)
71
+ clog "red on yellow"
72
+
58
73
  end
59
74
 
60
75
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clog
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kevin Swope
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-22 00:00:00 -04:00
18
+ date: 2010-08-23 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: "0"
33
33
  type: :runtime
34
34
  version_requirements: *id001
35
- description: Little rails debugging gem for writing colorized output to log file
35
+ description: Little rails debugging gem for writing colorized output to log file.
36
36
  email: gems-kevdev@snkmail.com
37
37
  executables: []
38
38
 
@@ -40,17 +40,20 @@ extensions: []
40
40
 
41
41
  extra_rdoc_files:
42
42
  - LICENSE
43
+ - README.html
43
44
  - README.rdoc
44
45
  files:
45
46
  - .document
46
47
  - .gitignore
47
48
  - LICENSE
49
+ - README.html
48
50
  - README.rdoc
49
51
  - Rakefile
50
52
  - VERSION
53
+ - clog.gemspec
54
+ - created.rid
51
55
  - init.rb
52
56
  - lib/clog.rb
53
- - self.gemspec
54
57
  - test/common/functional/public_controller_test.rb
55
58
  - test/common/migrate/20100821014956_create_users.rb
56
59
  - test/common/public_controller.rb
@@ -80,10 +83,8 @@ files:
80
83
  - test/rails2x_root/config/initializers/session_store.rb
81
84
  - test/rails2x_root/config/locales/en.yml
82
85
  - test/rails2x_root/config/routes.rb
83
- - test/rails2x_root/db/development.sqlite3
84
86
  - test/rails2x_root/db/schema.rb
85
87
  - test/rails2x_root/db/seeds.rb
86
- - test/rails2x_root/db/test.sqlite3
87
88
  - test/rails2x_root/public/404.html
88
89
  - test/rails2x_root/public/422.html
89
90
  - test/rails2x_root/public/500.html
@@ -190,7 +191,7 @@ rubyforge_project:
190
191
  rubygems_version: 1.3.7
191
192
  signing_key:
192
193
  specification_version: 3
193
- summary: Little rails debugging gem for writing colorized output to log file
194
+ summary: Little rails debugging gem for writing colorized output to log file.
194
195
  test_files:
195
196
  - test/common/functional/public_controller_test.rb
196
197
  - test/common/migrate/20100821014956_create_users.rb
@@ -1,101 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{clog}
8
- s.version = "0.1.0"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Kevin Swope"]
12
- s.date = %q{2010-08-22}
13
- s.description = %q{Little rails debugging gem for writing colorized output to log file}
14
- s.email = %q{gems-kevdev@snkmail.com}
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "lib/clog.rb",
27
- "test/helper.rb",
28
- "test/test_clog.rb"
29
- ]
30
- s.homepage = %q{http://github.com/kswope/clog}
31
- s.rdoc_options = ["--charset=UTF-8"]
32
- s.require_paths = ["lib"]
33
- s.rubygems_version = %q{1.3.7}
34
- s.summary = %q{Little rails debugging gem for writing colorized output to log file}
35
- s.test_files = [
36
- "test/common/functional/public_controller_test.rb",
37
- "test/common/migrate/20100821014956_create_users.rb",
38
- "test/common/public_controller.rb",
39
- "test/common/unit/helpers/public_helper_test.rb",
40
- "test/common/unit/user_test.rb",
41
- "test/common/user.rb",
42
- "test/helper.rb",
43
- "test/rails2x_root/app/controllers/application_controller.rb",
44
- "test/rails2x_root/app/controllers/public_controller.rb",
45
- "test/rails2x_root/app/helpers/application_helper.rb",
46
- "test/rails2x_root/app/helpers/public_helper.rb",
47
- "test/rails2x_root/app/models/user.rb",
48
- "test/rails2x_root/config/boot.rb",
49
- "test/rails2x_root/config/environment.rb",
50
- "test/rails2x_root/config/environments/development.rb",
51
- "test/rails2x_root/config/environments/production.rb",
52
- "test/rails2x_root/config/environments/test.rb",
53
- "test/rails2x_root/config/initializers/backtrace_silencers.rb",
54
- "test/rails2x_root/config/initializers/cookie_verification_secret.rb",
55
- "test/rails2x_root/config/initializers/inflections.rb",
56
- "test/rails2x_root/config/initializers/mime_types.rb",
57
- "test/rails2x_root/config/initializers/new_rails_defaults.rb",
58
- "test/rails2x_root/config/initializers/session_store.rb",
59
- "test/rails2x_root/config/routes.rb",
60
- "test/rails2x_root/db/schema.rb",
61
- "test/rails2x_root/db/seeds.rb",
62
- "test/rails2x_root/test/performance/browsing_test.rb",
63
- "test/rails2x_root/test/test_helper.rb",
64
- "test/rails3x_root/app/controllers/application_controller.rb",
65
- "test/rails3x_root/app/controllers/public_controller.rb",
66
- "test/rails3x_root/app/helpers/application_helper.rb",
67
- "test/rails3x_root/app/helpers/public_helper.rb",
68
- "test/rails3x_root/app/models/user.rb",
69
- "test/rails3x_root/config/application.rb",
70
- "test/rails3x_root/config/boot.rb",
71
- "test/rails3x_root/config/environment.rb",
72
- "test/rails3x_root/config/environments/development.rb",
73
- "test/rails3x_root/config/environments/production.rb",
74
- "test/rails3x_root/config/environments/test.rb",
75
- "test/rails3x_root/config/initializers/backtrace_silencers.rb",
76
- "test/rails3x_root/config/initializers/inflections.rb",
77
- "test/rails3x_root/config/initializers/mime_types.rb",
78
- "test/rails3x_root/config/initializers/secret_token.rb",
79
- "test/rails3x_root/config/initializers/session_store.rb",
80
- "test/rails3x_root/config/routes.rb",
81
- "test/rails3x_root/db/schema.rb",
82
- "test/rails3x_root/db/seeds.rb",
83
- "test/rails3x_root/test/performance/browsing_test.rb",
84
- "test/rails3x_root/test/test_helper.rb",
85
- "test/test_clog.rb"
86
- ]
87
-
88
- if s.respond_to? :specification_version then
89
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
90
- s.specification_version = 3
91
-
92
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
93
- s.add_runtime_dependency(%q<term-ansicolor>, [">= 0"])
94
- else
95
- s.add_dependency(%q<term-ansicolor>, [">= 0"])
96
- end
97
- else
98
- s.add_dependency(%q<term-ansicolor>, [">= 0"])
99
- end
100
- end
101
-