clog 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +48 -0
- data/VERSION +1 -0
- data/init.rb +5 -0
- data/lib/clog.rb +145 -0
- data/self.gemspec +101 -0
- data/test/common/functional/public_controller_test.rb +11 -0
- data/test/common/migrate/20100821014956_create_users.rb +13 -0
- data/test/common/public_controller.rb +11 -0
- data/test/common/unit/helpers/public_helper_test.rb +4 -0
- data/test/common/unit/user_test.rb +17 -0
- data/test/common/user.rb +2 -0
- data/test/helper.rb +9 -0
- data/test/rails2x_root.tar.gz +0 -0
- data/test/rails2x_root/README +243 -0
- data/test/rails2x_root/Rakefile +10 -0
- data/test/rails2x_root/app/controllers/application_controller.rb +10 -0
- data/test/rails2x_root/app/controllers/public_controller.rb +11 -0
- data/test/rails2x_root/app/helpers/application_helper.rb +3 -0
- data/test/rails2x_root/app/helpers/public_helper.rb +2 -0
- data/test/rails2x_root/app/models/user.rb +2 -0
- data/test/rails2x_root/config/boot.rb +110 -0
- data/test/rails2x_root/config/database.yml +22 -0
- data/test/rails2x_root/config/environment.rb +23 -0
- data/test/rails2x_root/config/environments/development.rb +17 -0
- data/test/rails2x_root/config/environments/production.rb +28 -0
- data/test/rails2x_root/config/environments/test.rb +28 -0
- data/test/rails2x_root/config/initializers/backtrace_silencers.rb +7 -0
- data/test/rails2x_root/config/initializers/cookie_verification_secret.rb +7 -0
- data/test/rails2x_root/config/initializers/inflections.rb +10 -0
- data/test/rails2x_root/config/initializers/mime_types.rb +5 -0
- data/test/rails2x_root/config/initializers/new_rails_defaults.rb +21 -0
- data/test/rails2x_root/config/initializers/session_store.rb +15 -0
- data/test/rails2x_root/config/locales/en.yml +5 -0
- data/test/rails2x_root/config/routes.rb +43 -0
- data/test/rails2x_root/db/development.sqlite3 +0 -0
- data/test/rails2x_root/db/schema.rb +21 -0
- data/test/rails2x_root/db/seeds.rb +7 -0
- data/test/rails2x_root/db/test.sqlite3 +0 -0
- data/test/rails2x_root/public/404.html +30 -0
- data/test/rails2x_root/public/422.html +30 -0
- data/test/rails2x_root/public/500.html +30 -0
- data/test/rails2x_root/public/favicon.ico +0 -0
- data/test/rails2x_root/public/images/rails.png +0 -0
- data/test/rails2x_root/public/javascripts/application.js +2 -0
- data/test/rails2x_root/public/javascripts/controls.js +963 -0
- data/test/rails2x_root/public/javascripts/dragdrop.js +973 -0
- data/test/rails2x_root/public/javascripts/effects.js +1128 -0
- data/test/rails2x_root/public/javascripts/prototype.js +4320 -0
- data/test/rails2x_root/public/robots.txt +5 -0
- data/test/rails2x_root/script/about +4 -0
- data/test/rails2x_root/script/console +3 -0
- data/test/rails2x_root/script/dbconsole +3 -0
- data/test/rails2x_root/script/destroy +3 -0
- data/test/rails2x_root/script/generate +3 -0
- data/test/rails2x_root/script/performance/benchmarker +3 -0
- data/test/rails2x_root/script/performance/profiler +3 -0
- data/test/rails2x_root/script/plugin +3 -0
- data/test/rails2x_root/script/runner +3 -0
- data/test/rails2x_root/script/server +3 -0
- data/test/rails2x_root/test/fixtures/users.yml +11 -0
- data/test/rails2x_root/test/performance/browsing_test.rb +9 -0
- data/test/rails2x_root/test/test_helper.rb +39 -0
- data/test/rails3x_root/.gitignore +4 -0
- data/test/rails3x_root/Gemfile +32 -0
- data/test/rails3x_root/Gemfile.lock +81 -0
- data/test/rails3x_root/README +256 -0
- data/test/rails3x_root/Rakefile +7 -0
- data/test/rails3x_root/app/controllers/application_controller.rb +3 -0
- data/test/rails3x_root/app/controllers/public_controller.rb +11 -0
- data/test/rails3x_root/app/helpers/application_helper.rb +2 -0
- data/test/rails3x_root/app/helpers/public_helper.rb +2 -0
- data/test/rails3x_root/app/models/user.rb +2 -0
- data/test/rails3x_root/app/views/layouts/application.html.erb +14 -0
- data/test/rails3x_root/config.ru +4 -0
- data/test/rails3x_root/config/application.rb +42 -0
- data/test/rails3x_root/config/boot.rb +13 -0
- data/test/rails3x_root/config/database.yml +22 -0
- data/test/rails3x_root/config/environment.rb +5 -0
- data/test/rails3x_root/config/environments/development.rb +22 -0
- data/test/rails3x_root/config/environments/production.rb +49 -0
- data/test/rails3x_root/config/environments/test.rb +35 -0
- data/test/rails3x_root/config/initializers/backtrace_silencers.rb +7 -0
- data/test/rails3x_root/config/initializers/inflections.rb +10 -0
- data/test/rails3x_root/config/initializers/mime_types.rb +5 -0
- data/test/rails3x_root/config/initializers/secret_token.rb +7 -0
- data/test/rails3x_root/config/initializers/session_store.rb +8 -0
- data/test/rails3x_root/config/locales/en.yml +5 -0
- data/test/rails3x_root/config/routes.rb +58 -0
- data/test/rails3x_root/db/schema.rb +22 -0
- data/test/rails3x_root/db/seeds.rb +7 -0
- data/test/rails3x_root/lib/tasks/.gitkeep +0 -0
- data/test/rails3x_root/public/404.html +26 -0
- data/test/rails3x_root/public/422.html +26 -0
- data/test/rails3x_root/public/500.html +26 -0
- data/test/rails3x_root/public/favicon.ico +0 -0
- data/test/rails3x_root/public/images/rails.png +0 -0
- data/test/rails3x_root/public/javascripts/application.js +2 -0
- data/test/rails3x_root/public/javascripts/controls.js +965 -0
- data/test/rails3x_root/public/javascripts/dragdrop.js +974 -0
- data/test/rails3x_root/public/javascripts/effects.js +1123 -0
- data/test/rails3x_root/public/javascripts/prototype.js +6001 -0
- data/test/rails3x_root/public/javascripts/rails.js +175 -0
- data/test/rails3x_root/public/robots.txt +5 -0
- data/test/rails3x_root/public/stylesheets/.gitkeep +0 -0
- data/test/rails3x_root/script/rails +6 -0
- data/test/rails3x_root/test/fixtures/users.yml +11 -0
- data/test/rails3x_root/test/functional.tar.gz +0 -0
- data/test/rails3x_root/test/performance/browsing_test.rb +9 -0
- data/test/rails3x_root/test/test_helper.rb +13 -0
- data/test/rails3x_root/test/unit.tar.gz +0 -0
- data/test/test_clog.rb +60 -0
- metadata +244 -0
@@ -0,0 +1,175 @@
|
|
1
|
+
(function() {
|
2
|
+
// Technique from Juriy Zaytsev
|
3
|
+
// http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
|
4
|
+
function isEventSupported(eventName) {
|
5
|
+
var el = document.createElement('div');
|
6
|
+
eventName = 'on' + eventName;
|
7
|
+
var isSupported = (eventName in el);
|
8
|
+
if (!isSupported) {
|
9
|
+
el.setAttribute(eventName, 'return;');
|
10
|
+
isSupported = typeof el[eventName] == 'function';
|
11
|
+
}
|
12
|
+
el = null;
|
13
|
+
return isSupported;
|
14
|
+
}
|
15
|
+
|
16
|
+
function isForm(element) {
|
17
|
+
return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM'
|
18
|
+
}
|
19
|
+
|
20
|
+
function isInput(element) {
|
21
|
+
if (Object.isElement(element)) {
|
22
|
+
var name = element.nodeName.toUpperCase()
|
23
|
+
return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA'
|
24
|
+
}
|
25
|
+
else return false
|
26
|
+
}
|
27
|
+
|
28
|
+
var submitBubbles = isEventSupported('submit'),
|
29
|
+
changeBubbles = isEventSupported('change')
|
30
|
+
|
31
|
+
if (!submitBubbles || !changeBubbles) {
|
32
|
+
// augment the Event.Handler class to observe custom events when needed
|
33
|
+
Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
|
34
|
+
function(init, element, eventName, selector, callback) {
|
35
|
+
init(element, eventName, selector, callback)
|
36
|
+
// is the handler being attached to an element that doesn't support this event?
|
37
|
+
if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
|
38
|
+
(!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
|
39
|
+
// "submit" => "emulated:submit"
|
40
|
+
this.eventName = 'emulated:' + this.eventName
|
41
|
+
}
|
42
|
+
}
|
43
|
+
)
|
44
|
+
}
|
45
|
+
|
46
|
+
if (!submitBubbles) {
|
47
|
+
// discover forms on the page by observing focus events which always bubble
|
48
|
+
document.on('focusin', 'form', function(focusEvent, form) {
|
49
|
+
// special handler for the real "submit" event (one-time operation)
|
50
|
+
if (!form.retrieve('emulated:submit')) {
|
51
|
+
form.on('submit', function(submitEvent) {
|
52
|
+
var emulated = form.fire('emulated:submit', submitEvent, true)
|
53
|
+
// if custom event received preventDefault, cancel the real one too
|
54
|
+
if (emulated.returnValue === false) submitEvent.preventDefault()
|
55
|
+
})
|
56
|
+
form.store('emulated:submit', true)
|
57
|
+
}
|
58
|
+
})
|
59
|
+
}
|
60
|
+
|
61
|
+
if (!changeBubbles) {
|
62
|
+
// discover form inputs on the page
|
63
|
+
document.on('focusin', 'input, select, texarea', function(focusEvent, input) {
|
64
|
+
// special handler for real "change" events
|
65
|
+
if (!input.retrieve('emulated:change')) {
|
66
|
+
input.on('change', function(changeEvent) {
|
67
|
+
input.fire('emulated:change', changeEvent, true)
|
68
|
+
})
|
69
|
+
input.store('emulated:change', true)
|
70
|
+
}
|
71
|
+
})
|
72
|
+
}
|
73
|
+
|
74
|
+
function handleRemote(element) {
|
75
|
+
var method, url, params;
|
76
|
+
|
77
|
+
var event = element.fire("ajax:before");
|
78
|
+
if (event.stopped) return false;
|
79
|
+
|
80
|
+
if (element.tagName.toLowerCase() === 'form') {
|
81
|
+
method = element.readAttribute('method') || 'post';
|
82
|
+
url = element.readAttribute('action');
|
83
|
+
params = element.serialize();
|
84
|
+
} else {
|
85
|
+
method = element.readAttribute('data-method') || 'get';
|
86
|
+
url = element.readAttribute('href');
|
87
|
+
params = {};
|
88
|
+
}
|
89
|
+
|
90
|
+
new Ajax.Request(url, {
|
91
|
+
method: method,
|
92
|
+
parameters: params,
|
93
|
+
evalScripts: true,
|
94
|
+
|
95
|
+
onComplete: function(request) { element.fire("ajax:complete", request); },
|
96
|
+
onSuccess: function(request) { element.fire("ajax:success", request); },
|
97
|
+
onFailure: function(request) { element.fire("ajax:failure", request); }
|
98
|
+
});
|
99
|
+
|
100
|
+
element.fire("ajax:after");
|
101
|
+
}
|
102
|
+
|
103
|
+
function handleMethod(element) {
|
104
|
+
var method = element.readAttribute('data-method'),
|
105
|
+
url = element.readAttribute('href'),
|
106
|
+
csrf_param = $$('meta[name=csrf-param]')[0],
|
107
|
+
csrf_token = $$('meta[name=csrf-token]')[0];
|
108
|
+
|
109
|
+
var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
|
110
|
+
element.parentNode.insert(form);
|
111
|
+
|
112
|
+
if (method !== 'post') {
|
113
|
+
var field = new Element('input', { type: 'hidden', name: '_method', value: method });
|
114
|
+
form.insert(field);
|
115
|
+
}
|
116
|
+
|
117
|
+
if (csrf_param) {
|
118
|
+
var param = csrf_param.readAttribute('content'),
|
119
|
+
token = csrf_token.readAttribute('content'),
|
120
|
+
field = new Element('input', { type: 'hidden', name: param, value: token });
|
121
|
+
form.insert(field);
|
122
|
+
}
|
123
|
+
|
124
|
+
form.submit();
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
document.on("click", "*[data-confirm]", function(event, element) {
|
129
|
+
var message = element.readAttribute('data-confirm');
|
130
|
+
if (!confirm(message)) event.stop();
|
131
|
+
});
|
132
|
+
|
133
|
+
document.on("click", "a[data-remote]", function(event, element) {
|
134
|
+
if (event.stopped) return;
|
135
|
+
handleRemote(element);
|
136
|
+
event.stop();
|
137
|
+
});
|
138
|
+
|
139
|
+
document.on("click", "a[data-method]", function(event, element) {
|
140
|
+
if (event.stopped) return;
|
141
|
+
handleMethod(element);
|
142
|
+
event.stop();
|
143
|
+
});
|
144
|
+
|
145
|
+
document.on("submit", function(event) {
|
146
|
+
var element = event.findElement(),
|
147
|
+
message = element.readAttribute('data-confirm');
|
148
|
+
if (message && !confirm(message)) {
|
149
|
+
event.stop();
|
150
|
+
return false;
|
151
|
+
}
|
152
|
+
|
153
|
+
var inputs = element.select("input[type=submit][data-disable-with]");
|
154
|
+
inputs.each(function(input) {
|
155
|
+
input.disabled = true;
|
156
|
+
input.writeAttribute('data-original-value', input.value);
|
157
|
+
input.value = input.readAttribute('data-disable-with');
|
158
|
+
});
|
159
|
+
|
160
|
+
var element = event.findElement("form[data-remote]");
|
161
|
+
if (element) {
|
162
|
+
handleRemote(element);
|
163
|
+
event.stop();
|
164
|
+
}
|
165
|
+
});
|
166
|
+
|
167
|
+
document.on("ajax:after", "form", function(event, element) {
|
168
|
+
var inputs = element.select("input[type=submit][disabled=true][data-disable-with]");
|
169
|
+
inputs.each(function(input) {
|
170
|
+
input.value = input.readAttribute('data-original-value');
|
171
|
+
input.removeAttribute('data-original-value');
|
172
|
+
input.disabled = false;
|
173
|
+
});
|
174
|
+
});
|
175
|
+
})();
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
7
|
+
#
|
8
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
9
|
+
# -- they do not yet inherit this setting
|
10
|
+
fixtures :all
|
11
|
+
|
12
|
+
# Add more helper methods to be used by all tests here...
|
13
|
+
end
|
Binary file
|
data/test/test_clog.rb
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
require 'helper'
|
2
|
+
require 'redgreen'
|
3
|
+
|
4
|
+
class Testclog < Test::Unit::TestCase
|
5
|
+
|
6
|
+
def test_format
|
7
|
+
|
8
|
+
# These colors will probably be default
|
9
|
+
Clog.colors(:red, :white)
|
10
|
+
|
11
|
+
clog # should show flag
|
12
|
+
|
13
|
+
clog nil
|
14
|
+
|
15
|
+
clog "Single short string argument"
|
16
|
+
clog "Single long string - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
17
|
+
|
18
|
+
clog :myvar, "Symbol with short value"
|
19
|
+
clog :myvar, "Symbol with long string, Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
20
|
+
|
21
|
+
clog "Multiple", "String", "Arguments", "Here"
|
22
|
+
clog 1, Object.new, Kernel, RUBY_VERSION, :a_symbol
|
23
|
+
|
24
|
+
# hash dump
|
25
|
+
{:one=>1, :two=>2, :three=>3, :four=>4, :five=>5}.each do |key, value|
|
26
|
+
clog key, value
|
27
|
+
end
|
28
|
+
|
29
|
+
clog "Testing maxwidth - location should be on the right"
|
30
|
+
Clog.maxwidth(10)
|
31
|
+
clog "Location should now be below"
|
32
|
+
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_colors
|
36
|
+
|
37
|
+
def runner(bg, fg=nil)
|
38
|
+
Clog.colors(bg, fg)
|
39
|
+
clog "visual inspection color test"
|
40
|
+
end
|
41
|
+
|
42
|
+
runner :black
|
43
|
+
runner :red
|
44
|
+
runner :green
|
45
|
+
runner :yellow
|
46
|
+
runner :blue
|
47
|
+
runner :magenta
|
48
|
+
runner :cyan
|
49
|
+
runner :white
|
50
|
+
|
51
|
+
runner :black, :white
|
52
|
+
runner :black, :yellow
|
53
|
+
runner :black, :blue
|
54
|
+
runner :white, :black
|
55
|
+
runner :white, :blue
|
56
|
+
runner :blue, :yellow
|
57
|
+
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
metadata
ADDED
@@ -0,0 +1,244 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: clog
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Kevin Swope
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-08-22 00:00:00 -04:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: term-ansicolor
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
description: Little rails debugging gem for writing colorized output to log file
|
36
|
+
email: gems-kevdev@snkmail.com
|
37
|
+
executables: []
|
38
|
+
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- LICENSE
|
43
|
+
- README.rdoc
|
44
|
+
files:
|
45
|
+
- .document
|
46
|
+
- .gitignore
|
47
|
+
- LICENSE
|
48
|
+
- README.rdoc
|
49
|
+
- Rakefile
|
50
|
+
- VERSION
|
51
|
+
- init.rb
|
52
|
+
- lib/clog.rb
|
53
|
+
- self.gemspec
|
54
|
+
- test/common/functional/public_controller_test.rb
|
55
|
+
- test/common/migrate/20100821014956_create_users.rb
|
56
|
+
- test/common/public_controller.rb
|
57
|
+
- test/common/unit/helpers/public_helper_test.rb
|
58
|
+
- test/common/unit/user_test.rb
|
59
|
+
- test/common/user.rb
|
60
|
+
- test/helper.rb
|
61
|
+
- test/rails2x_root.tar.gz
|
62
|
+
- test/rails2x_root/README
|
63
|
+
- test/rails2x_root/Rakefile
|
64
|
+
- test/rails2x_root/app/controllers/application_controller.rb
|
65
|
+
- test/rails2x_root/app/controllers/public_controller.rb
|
66
|
+
- test/rails2x_root/app/helpers/application_helper.rb
|
67
|
+
- test/rails2x_root/app/helpers/public_helper.rb
|
68
|
+
- test/rails2x_root/app/models/user.rb
|
69
|
+
- test/rails2x_root/config/boot.rb
|
70
|
+
- test/rails2x_root/config/database.yml
|
71
|
+
- test/rails2x_root/config/environment.rb
|
72
|
+
- test/rails2x_root/config/environments/development.rb
|
73
|
+
- test/rails2x_root/config/environments/production.rb
|
74
|
+
- test/rails2x_root/config/environments/test.rb
|
75
|
+
- test/rails2x_root/config/initializers/backtrace_silencers.rb
|
76
|
+
- test/rails2x_root/config/initializers/cookie_verification_secret.rb
|
77
|
+
- test/rails2x_root/config/initializers/inflections.rb
|
78
|
+
- test/rails2x_root/config/initializers/mime_types.rb
|
79
|
+
- test/rails2x_root/config/initializers/new_rails_defaults.rb
|
80
|
+
- test/rails2x_root/config/initializers/session_store.rb
|
81
|
+
- test/rails2x_root/config/locales/en.yml
|
82
|
+
- test/rails2x_root/config/routes.rb
|
83
|
+
- test/rails2x_root/db/development.sqlite3
|
84
|
+
- test/rails2x_root/db/schema.rb
|
85
|
+
- test/rails2x_root/db/seeds.rb
|
86
|
+
- test/rails2x_root/db/test.sqlite3
|
87
|
+
- test/rails2x_root/public/404.html
|
88
|
+
- test/rails2x_root/public/422.html
|
89
|
+
- test/rails2x_root/public/500.html
|
90
|
+
- test/rails2x_root/public/favicon.ico
|
91
|
+
- test/rails2x_root/public/images/rails.png
|
92
|
+
- test/rails2x_root/public/javascripts/application.js
|
93
|
+
- test/rails2x_root/public/javascripts/controls.js
|
94
|
+
- test/rails2x_root/public/javascripts/dragdrop.js
|
95
|
+
- test/rails2x_root/public/javascripts/effects.js
|
96
|
+
- test/rails2x_root/public/javascripts/prototype.js
|
97
|
+
- test/rails2x_root/public/robots.txt
|
98
|
+
- test/rails2x_root/script/about
|
99
|
+
- test/rails2x_root/script/console
|
100
|
+
- test/rails2x_root/script/dbconsole
|
101
|
+
- test/rails2x_root/script/destroy
|
102
|
+
- test/rails2x_root/script/generate
|
103
|
+
- test/rails2x_root/script/performance/benchmarker
|
104
|
+
- test/rails2x_root/script/performance/profiler
|
105
|
+
- test/rails2x_root/script/plugin
|
106
|
+
- test/rails2x_root/script/runner
|
107
|
+
- test/rails2x_root/script/server
|
108
|
+
- test/rails2x_root/test/fixtures/users.yml
|
109
|
+
- test/rails2x_root/test/performance/browsing_test.rb
|
110
|
+
- test/rails2x_root/test/test_helper.rb
|
111
|
+
- test/rails3x_root/.gitignore
|
112
|
+
- test/rails3x_root/Gemfile
|
113
|
+
- test/rails3x_root/Gemfile.lock
|
114
|
+
- test/rails3x_root/README
|
115
|
+
- test/rails3x_root/Rakefile
|
116
|
+
- test/rails3x_root/app/controllers/application_controller.rb
|
117
|
+
- test/rails3x_root/app/controllers/public_controller.rb
|
118
|
+
- test/rails3x_root/app/helpers/application_helper.rb
|
119
|
+
- test/rails3x_root/app/helpers/public_helper.rb
|
120
|
+
- test/rails3x_root/app/models/user.rb
|
121
|
+
- test/rails3x_root/app/views/layouts/application.html.erb
|
122
|
+
- test/rails3x_root/config.ru
|
123
|
+
- test/rails3x_root/config/application.rb
|
124
|
+
- test/rails3x_root/config/boot.rb
|
125
|
+
- test/rails3x_root/config/database.yml
|
126
|
+
- test/rails3x_root/config/environment.rb
|
127
|
+
- test/rails3x_root/config/environments/development.rb
|
128
|
+
- test/rails3x_root/config/environments/production.rb
|
129
|
+
- test/rails3x_root/config/environments/test.rb
|
130
|
+
- test/rails3x_root/config/initializers/backtrace_silencers.rb
|
131
|
+
- test/rails3x_root/config/initializers/inflections.rb
|
132
|
+
- test/rails3x_root/config/initializers/mime_types.rb
|
133
|
+
- test/rails3x_root/config/initializers/secret_token.rb
|
134
|
+
- test/rails3x_root/config/initializers/session_store.rb
|
135
|
+
- test/rails3x_root/config/locales/en.yml
|
136
|
+
- test/rails3x_root/config/routes.rb
|
137
|
+
- test/rails3x_root/db/schema.rb
|
138
|
+
- test/rails3x_root/db/seeds.rb
|
139
|
+
- test/rails3x_root/lib/tasks/.gitkeep
|
140
|
+
- test/rails3x_root/public/404.html
|
141
|
+
- test/rails3x_root/public/422.html
|
142
|
+
- test/rails3x_root/public/500.html
|
143
|
+
- test/rails3x_root/public/favicon.ico
|
144
|
+
- test/rails3x_root/public/images/rails.png
|
145
|
+
- test/rails3x_root/public/javascripts/application.js
|
146
|
+
- test/rails3x_root/public/javascripts/controls.js
|
147
|
+
- test/rails3x_root/public/javascripts/dragdrop.js
|
148
|
+
- test/rails3x_root/public/javascripts/effects.js
|
149
|
+
- test/rails3x_root/public/javascripts/prototype.js
|
150
|
+
- test/rails3x_root/public/javascripts/rails.js
|
151
|
+
- test/rails3x_root/public/robots.txt
|
152
|
+
- test/rails3x_root/public/stylesheets/.gitkeep
|
153
|
+
- test/rails3x_root/script/rails
|
154
|
+
- test/rails3x_root/test/fixtures/users.yml
|
155
|
+
- test/rails3x_root/test/functional.tar.gz
|
156
|
+
- test/rails3x_root/test/performance/browsing_test.rb
|
157
|
+
- test/rails3x_root/test/test_helper.rb
|
158
|
+
- test/rails3x_root/test/unit.tar.gz
|
159
|
+
- test/test_clog.rb
|
160
|
+
has_rdoc: true
|
161
|
+
homepage: http://github.com/kswope/clog
|
162
|
+
licenses: []
|
163
|
+
|
164
|
+
post_install_message:
|
165
|
+
rdoc_options:
|
166
|
+
- --charset=UTF-8
|
167
|
+
require_paths:
|
168
|
+
- lib
|
169
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
hash: 3
|
175
|
+
segments:
|
176
|
+
- 0
|
177
|
+
version: "0"
|
178
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
|
+
none: false
|
180
|
+
requirements:
|
181
|
+
- - ">="
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
hash: 3
|
184
|
+
segments:
|
185
|
+
- 0
|
186
|
+
version: "0"
|
187
|
+
requirements: []
|
188
|
+
|
189
|
+
rubyforge_project:
|
190
|
+
rubygems_version: 1.3.7
|
191
|
+
signing_key:
|
192
|
+
specification_version: 3
|
193
|
+
summary: Little rails debugging gem for writing colorized output to log file
|
194
|
+
test_files:
|
195
|
+
- test/common/functional/public_controller_test.rb
|
196
|
+
- test/common/migrate/20100821014956_create_users.rb
|
197
|
+
- test/common/public_controller.rb
|
198
|
+
- test/common/unit/helpers/public_helper_test.rb
|
199
|
+
- test/common/unit/user_test.rb
|
200
|
+
- test/common/user.rb
|
201
|
+
- test/helper.rb
|
202
|
+
- test/rails2x_root/app/controllers/application_controller.rb
|
203
|
+
- test/rails2x_root/app/controllers/public_controller.rb
|
204
|
+
- test/rails2x_root/app/helpers/application_helper.rb
|
205
|
+
- test/rails2x_root/app/helpers/public_helper.rb
|
206
|
+
- test/rails2x_root/app/models/user.rb
|
207
|
+
- test/rails2x_root/config/boot.rb
|
208
|
+
- test/rails2x_root/config/environment.rb
|
209
|
+
- test/rails2x_root/config/environments/development.rb
|
210
|
+
- test/rails2x_root/config/environments/production.rb
|
211
|
+
- test/rails2x_root/config/environments/test.rb
|
212
|
+
- test/rails2x_root/config/initializers/backtrace_silencers.rb
|
213
|
+
- test/rails2x_root/config/initializers/cookie_verification_secret.rb
|
214
|
+
- test/rails2x_root/config/initializers/inflections.rb
|
215
|
+
- test/rails2x_root/config/initializers/mime_types.rb
|
216
|
+
- test/rails2x_root/config/initializers/new_rails_defaults.rb
|
217
|
+
- test/rails2x_root/config/initializers/session_store.rb
|
218
|
+
- test/rails2x_root/config/routes.rb
|
219
|
+
- test/rails2x_root/db/schema.rb
|
220
|
+
- test/rails2x_root/db/seeds.rb
|
221
|
+
- test/rails2x_root/test/performance/browsing_test.rb
|
222
|
+
- test/rails2x_root/test/test_helper.rb
|
223
|
+
- test/rails3x_root/app/controllers/application_controller.rb
|
224
|
+
- test/rails3x_root/app/controllers/public_controller.rb
|
225
|
+
- test/rails3x_root/app/helpers/application_helper.rb
|
226
|
+
- test/rails3x_root/app/helpers/public_helper.rb
|
227
|
+
- test/rails3x_root/app/models/user.rb
|
228
|
+
- test/rails3x_root/config/application.rb
|
229
|
+
- test/rails3x_root/config/boot.rb
|
230
|
+
- test/rails3x_root/config/environment.rb
|
231
|
+
- test/rails3x_root/config/environments/development.rb
|
232
|
+
- test/rails3x_root/config/environments/production.rb
|
233
|
+
- test/rails3x_root/config/environments/test.rb
|
234
|
+
- test/rails3x_root/config/initializers/backtrace_silencers.rb
|
235
|
+
- test/rails3x_root/config/initializers/inflections.rb
|
236
|
+
- test/rails3x_root/config/initializers/mime_types.rb
|
237
|
+
- test/rails3x_root/config/initializers/secret_token.rb
|
238
|
+
- test/rails3x_root/config/initializers/session_store.rb
|
239
|
+
- test/rails3x_root/config/routes.rb
|
240
|
+
- test/rails3x_root/db/schema.rb
|
241
|
+
- test/rails3x_root/db/seeds.rb
|
242
|
+
- test/rails3x_root/test/performance/browsing_test.rb
|
243
|
+
- test/rails3x_root/test/test_helper.rb
|
244
|
+
- test/test_clog.rb
|