dj_dashboard 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +115 -0
- data/README.rdoc +1 -1
- data/Rakefile +14 -22
- data/app/controllers/dj_dashboard/jobs_controller.rb +1 -0
- data/app/models/dj_dashboard/job.rb +15 -8
- data/app/views/layouts/dj_dashboard.html.haml +7 -0
- data/config/routes.rb +2 -4
- data/db/migrate/20111212074858_add_indexes_on_delayed_job.rb +15 -0
- data/dj_dashboard.gemspec +24 -0
- data/lib/dj_dashboard.rb +10 -4
- data/lib/dj_dashboard/engine.rb +10 -1
- data/lib/dj_dashboard/tasks/install.rb +59 -0
- data/lib/dj_dashboard/version.rb +1 -1
- data/lib/tasks/install.rake +8 -0
- data/public/javascripts/dj_dashboard/jobs.js +0 -0
- data/{app/assets → public}/stylesheets/dj_dashboard/jobs.css +0 -4
- data/test/dj_dashboard_test.rb +7 -0
- data/test/dummy/Rakefile +1 -1
- data/test/dummy/app/jobs/my_job.rb +1 -3
- data/test/dummy/app/views/layouts/application.html.erb +3 -3
- data/test/dummy/config/application.rb +8 -8
- data/test/dummy/config/database.yml +0 -3
- data/test/dummy/config/environment.rb +0 -4
- data/test/dummy/config/environments/development.rb +3 -7
- data/test/dummy/config/environments/production.rb +12 -23
- data/test/dummy/config/environments/test.rb +1 -5
- data/test/dummy/config/initializers/secret_token.rb +1 -1
- data/test/dummy/config/initializers/session_store.rb +1 -1
- data/test/dummy/config/locales/en.yml +1 -1
- data/test/dummy/config/routes.rb +56 -2
- data/test/dummy/db/migrate/{20111208045052_create_delayed_jobs.rb → 20111212042040_create_delayed_jobs.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/public/javascripts/application.js +2 -0
- data/test/dummy/public/javascripts/controls.js +965 -0
- data/test/dummy/public/javascripts/dragdrop.js +974 -0
- data/test/dummy/public/javascripts/effects.js +1123 -0
- data/test/dummy/public/javascripts/prototype.js +6001 -0
- data/test/dummy/public/javascripts/rails.js +202 -0
- data/test/dummy/public/stylesheets/.gitkeep +0 -0
- data/test/integration/navigation_test.rb +4 -7
- data/test/support/integration_case.rb +5 -0
- data/test/test_helper.rb +14 -2
- metadata +49 -115
- data/app/assets/javascripts/dj_dashboard/application.js +0 -9
- data/app/assets/javascripts/dj_dashboard/jobs.js +0 -2
- data/app/assets/stylesheets/dj_dashboard/application.css +0 -7
- data/app/controllers/dj_dashboard/application_controller.rb +0 -4
- data/app/helpers/dj_dashboard/application_helper.rb +0 -4
- data/app/helpers/dj_dashboard/jobs_helper.rb +0 -4
- data/app/views/dj_dashboard/jobs/index.html.erb.bak +0 -1
- data/app/views/layouts/dj_dashboard/application.html.erb +0 -14
- data/lib/tasks/dj_ashboard.rake +0 -4
- data/test/dj_dashbaord_test.rb +0 -7
- data/test/dummy/app/assets/javascripts/application.js +0 -9
- data/test/dummy/app/assets/stylesheets/application.css +0 -7
- data/test/dummy/app/jobs/failure_job.rb +0 -5
- data/test/dummy/app/jobs/my_other_job.rb +0 -9
- data/test/dummy/app/jobs/slow_job.rb +0 -8
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -9289
- data/test/dummy/tmp/cache/assets/C6F/980/sprockets%2F501301344d0d02382d2e37e44e95d5b7 +0 -0
- data/test/dummy/tmp/cache/assets/C71/F20/sprockets%2Fb875931243c2e85243a73dbd34541b01 +0 -0
- data/test/dummy/tmp/cache/assets/C8B/FB0/sprockets%2Fa30656615c2357663ae857a489692eda +0 -0
- data/test/dummy/tmp/cache/assets/C9E/520/sprockets%2F489ce17948193acee58634965271c7b9 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/810/sprockets%2F417d2188a30be6696a875a8fbc8f3584 +0 -0
- data/test/dummy/tmp/cache/assets/CF1/FA0/sprockets%2Fde520297c57ef5e7e01b98f685c31636 +0 -0
- data/test/dummy/tmp/cache/assets/CF3/0B0/sprockets%2F169489b2f9036266f8731f329bfee0cf +0 -0
- data/test/dummy/tmp/cache/assets/D16/930/sprockets%2Fa85c4d9513ce726ff104e78a676f113d +0 -0
- data/test/dummy/tmp/cache/assets/D18/5D0/sprockets%2Fff7d903fadac588f2531a0665964119d +0 -0
- data/test/dummy/tmp/cache/assets/D21/E00/sprockets%2F34aca167df809c799f08ff55d5718b14 +0 -0
- data/test/dummy/tmp/cache/assets/D24/070/sprockets%2F0bc96a7497e35f7b589b450a2e835ff7 +0 -0
- data/test/dummy/tmp/cache/assets/D6D/BD0/sprockets%2F0148f5b39b343ad81e5aee077c3cb86e +0 -0
- data/test/dummy/tmp/cache/assets/D70/530/sprockets%2Fcc672d70701efbd96a08d65e4d2890ac +0 -0
- data/test/dummy/tmp/cache/assets/D78/F00/sprockets%2Fc7ba90c63ddc30e47d829f0ff506298e +0 -0
- data/test/dummy/tmp/cache/assets/D87/010/sprockets%2Fdb3265fe875e06b1acf09985f95c39ff +0 -0
- data/test/dummy/tmp/cache/assets/DA3/1C0/sprockets%2Fff5b18546bbc1c8b66af624b38a168fe +0 -0
- data/test/dummy/tmp/cache/assets/DC0/560/sprockets%2Fef3cc623dc91b5acde21805230bb69ce +0 -0
- data/test/dummy/tmp/cache/assets/DD1/5D0/sprockets%2F2f8e642dbb496a52c8f0ab159b5faa9f +0 -0
- data/test/dummy/tmp/cache/assets/E0B/AF0/sprockets%2F763c1e8bd998b46bbe7bf3bab4968adb +0 -0
- data/test/dummy/tmp/cache/assets/E65/A80/sprockets%2Ff654007c2fcd9bd2b8fecd93f5fae3fb +0 -0
- data/test/functional/delayed_job_dashboard/jobs_controller_test.rb +0 -11
- data/test/unit/helpers/dj_dashboard/jobs_helper_test.rb +0 -6
@@ -0,0 +1,202 @@
|
|
1
|
+
(function() {
|
2
|
+
Ajax.Responders.register({
|
3
|
+
onCreate: function(request) {
|
4
|
+
var token = $$('meta[name=csrf-token]')[0];
|
5
|
+
if (token) {
|
6
|
+
if (!request.options.requestHeaders) request.options.requestHeaders = {};
|
7
|
+
request.options.requestHeaders['X-CSRF-Token'] = token.readAttribute('content');
|
8
|
+
}
|
9
|
+
}
|
10
|
+
});
|
11
|
+
|
12
|
+
// Technique from Juriy Zaytsev
|
13
|
+
// http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
|
14
|
+
function isEventSupported(eventName) {
|
15
|
+
var el = document.createElement('div');
|
16
|
+
eventName = 'on' + eventName;
|
17
|
+
var isSupported = (eventName in el);
|
18
|
+
if (!isSupported) {
|
19
|
+
el.setAttribute(eventName, 'return;');
|
20
|
+
isSupported = typeof el[eventName] == 'function';
|
21
|
+
}
|
22
|
+
el = null;
|
23
|
+
return isSupported;
|
24
|
+
}
|
25
|
+
|
26
|
+
function isForm(element) {
|
27
|
+
return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM';
|
28
|
+
}
|
29
|
+
|
30
|
+
function isInput(element) {
|
31
|
+
if (Object.isElement(element)) {
|
32
|
+
var name = element.nodeName.toUpperCase();
|
33
|
+
return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA';
|
34
|
+
}
|
35
|
+
else return false;
|
36
|
+
}
|
37
|
+
|
38
|
+
var submitBubbles = isEventSupported('submit'),
|
39
|
+
changeBubbles = isEventSupported('change');
|
40
|
+
|
41
|
+
if (!submitBubbles || !changeBubbles) {
|
42
|
+
// augment the Event.Handler class to observe custom events when needed
|
43
|
+
Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
|
44
|
+
function(init, element, eventName, selector, callback) {
|
45
|
+
init(element, eventName, selector, callback);
|
46
|
+
// is the handler being attached to an element that doesn't support this event?
|
47
|
+
if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
|
48
|
+
(!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
|
49
|
+
// "submit" => "emulated:submit"
|
50
|
+
this.eventName = 'emulated:' + this.eventName;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
);
|
54
|
+
}
|
55
|
+
|
56
|
+
if (!submitBubbles) {
|
57
|
+
// discover forms on the page by observing focus events which always bubble
|
58
|
+
document.on('focusin', 'form', function(focusEvent, form) {
|
59
|
+
// special handler for the real "submit" event (one-time operation)
|
60
|
+
if (!form.retrieve('emulated:submit')) {
|
61
|
+
form.on('submit', function(submitEvent) {
|
62
|
+
var emulated = form.fire('emulated:submit', submitEvent, true);
|
63
|
+
// if custom event received preventDefault, cancel the real one too
|
64
|
+
if (emulated.returnValue === false) submitEvent.preventDefault();
|
65
|
+
});
|
66
|
+
form.store('emulated:submit', true);
|
67
|
+
}
|
68
|
+
});
|
69
|
+
}
|
70
|
+
|
71
|
+
if (!changeBubbles) {
|
72
|
+
// discover form inputs on the page
|
73
|
+
document.on('focusin', 'input, select, textarea', function(focusEvent, input) {
|
74
|
+
// special handler for real "change" events
|
75
|
+
if (!input.retrieve('emulated:change')) {
|
76
|
+
input.on('change', function(changeEvent) {
|
77
|
+
input.fire('emulated:change', changeEvent, true);
|
78
|
+
});
|
79
|
+
input.store('emulated:change', true);
|
80
|
+
}
|
81
|
+
});
|
82
|
+
}
|
83
|
+
|
84
|
+
function handleRemote(element) {
|
85
|
+
var method, url, params;
|
86
|
+
|
87
|
+
var event = element.fire("ajax:before");
|
88
|
+
if (event.stopped) return false;
|
89
|
+
|
90
|
+
if (element.tagName.toLowerCase() === 'form') {
|
91
|
+
method = element.readAttribute('method') || 'post';
|
92
|
+
url = element.readAttribute('action');
|
93
|
+
// serialize the form with respect to the submit button that was pressed
|
94
|
+
params = element.serialize({ submit: element.retrieve('rails:submit-button') });
|
95
|
+
// clear the pressed submit button information
|
96
|
+
element.store('rails:submit-button', null);
|
97
|
+
} else {
|
98
|
+
method = element.readAttribute('data-method') || 'get';
|
99
|
+
url = element.readAttribute('href');
|
100
|
+
params = {};
|
101
|
+
}
|
102
|
+
|
103
|
+
new Ajax.Request(url, {
|
104
|
+
method: method,
|
105
|
+
parameters: params,
|
106
|
+
evalScripts: true,
|
107
|
+
|
108
|
+
onCreate: function(response) { element.fire("ajax:create", response); },
|
109
|
+
onComplete: function(response) { element.fire("ajax:complete", response); },
|
110
|
+
onSuccess: function(response) { element.fire("ajax:success", response); },
|
111
|
+
onFailure: function(response) { element.fire("ajax:failure", response); }
|
112
|
+
});
|
113
|
+
|
114
|
+
element.fire("ajax:after");
|
115
|
+
}
|
116
|
+
|
117
|
+
function insertHiddenField(form, name, value) {
|
118
|
+
form.insert(new Element('input', { type: 'hidden', name: name, value: value }));
|
119
|
+
}
|
120
|
+
|
121
|
+
function handleMethod(element) {
|
122
|
+
var method = element.readAttribute('data-method'),
|
123
|
+
url = element.readAttribute('href'),
|
124
|
+
csrf_param = $$('meta[name=csrf-param]')[0],
|
125
|
+
csrf_token = $$('meta[name=csrf-token]')[0];
|
126
|
+
|
127
|
+
var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
|
128
|
+
$(element.parentNode).insert(form);
|
129
|
+
|
130
|
+
if (method !== 'post') {
|
131
|
+
insertHiddenField(form, '_method', method);
|
132
|
+
}
|
133
|
+
|
134
|
+
if (csrf_param) {
|
135
|
+
insertHiddenField(form, csrf_param.readAttribute('content'), csrf_token.readAttribute('content'));
|
136
|
+
}
|
137
|
+
|
138
|
+
form.submit();
|
139
|
+
}
|
140
|
+
|
141
|
+
function disableFormElements(form) {
|
142
|
+
form.select('input[type=submit][data-disable-with]').each(function(input) {
|
143
|
+
input.store('rails:original-value', input.getValue());
|
144
|
+
input.setValue(input.readAttribute('data-disable-with')).disable();
|
145
|
+
});
|
146
|
+
}
|
147
|
+
|
148
|
+
function enableFormElements(form) {
|
149
|
+
form.select('input[type=submit][data-disable-with]').each(function(input) {
|
150
|
+
input.setValue(input.retrieve('rails:original-value')).enable();
|
151
|
+
});
|
152
|
+
}
|
153
|
+
|
154
|
+
function allowAction(element) {
|
155
|
+
var message = element.readAttribute('data-confirm');
|
156
|
+
return !message || confirm(message);
|
157
|
+
}
|
158
|
+
|
159
|
+
document.on('click', 'a[data-confirm], a[data-remote], a[data-method]', function(event, link) {
|
160
|
+
if (!allowAction(link)) {
|
161
|
+
event.stop();
|
162
|
+
return false;
|
163
|
+
}
|
164
|
+
|
165
|
+
if (link.readAttribute('data-remote')) {
|
166
|
+
handleRemote(link);
|
167
|
+
event.stop();
|
168
|
+
} else if (link.readAttribute('data-method')) {
|
169
|
+
handleMethod(link);
|
170
|
+
event.stop();
|
171
|
+
}
|
172
|
+
});
|
173
|
+
|
174
|
+
document.on("click", "form input[type=submit], form button[type=submit], form button:not([type])", function(event, button) {
|
175
|
+
// register the pressed submit button
|
176
|
+
event.findElement('form').store('rails:submit-button', button.name || false);
|
177
|
+
});
|
178
|
+
|
179
|
+
document.on("submit", function(event) {
|
180
|
+
var form = event.findElement();
|
181
|
+
|
182
|
+
if (!allowAction(form)) {
|
183
|
+
event.stop();
|
184
|
+
return false;
|
185
|
+
}
|
186
|
+
|
187
|
+
if (form.readAttribute('data-remote')) {
|
188
|
+
handleRemote(form);
|
189
|
+
event.stop();
|
190
|
+
} else {
|
191
|
+
disableFormElements(form);
|
192
|
+
}
|
193
|
+
});
|
194
|
+
|
195
|
+
document.on('ajax:create', 'form', function(event, form) {
|
196
|
+
if (form == event.findElement()) disableFormElements(form);
|
197
|
+
});
|
198
|
+
|
199
|
+
document.on('ajax:complete', 'form', function(event, form) {
|
200
|
+
if (form == event.findElement()) enableFormElements(form);
|
201
|
+
});
|
202
|
+
})();
|
File without changes
|
@@ -1,10 +1,7 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
|
-
class NavigationTest <
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
# assert true
|
8
|
-
# end
|
3
|
+
class NavigationTest < ActiveSupport::IntegrationCase
|
4
|
+
test "truth" do
|
5
|
+
assert_kind_of Dummy::Application, Rails.application
|
6
|
+
end
|
9
7
|
end
|
10
|
-
|
data/test/test_helper.rb
CHANGED
@@ -1,10 +1,22 @@
|
|
1
|
-
# Configure Rails
|
1
|
+
# Configure Rails Envinronment
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
3
3
|
|
4
4
|
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
5
|
require "rails/test_help"
|
6
6
|
|
7
|
+
ActionMailer::Base.delivery_method = :test
|
8
|
+
ActionMailer::Base.perform_deliveries = true
|
9
|
+
ActionMailer::Base.default_url_options[:host] = "test.com"
|
10
|
+
|
7
11
|
Rails.backtrace_cleaner.remove_silencers!
|
8
12
|
|
13
|
+
# Configure capybara for integration testing
|
14
|
+
require "capybara/rails"
|
15
|
+
Capybara.default_driver = :rack_test
|
16
|
+
Capybara.default_selector = :css
|
17
|
+
|
18
|
+
# Run any available migration
|
19
|
+
ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
|
20
|
+
|
9
21
|
# Load support files
|
10
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
22
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dj_dashboard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-12-
|
12
|
+
date: 2011-12-12 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: rails
|
16
|
-
requirement: &70300198367260 !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 3.1.3
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: *70300198367260
|
25
14
|
- !ruby/object:Gem::Dependency
|
26
15
|
name: haml
|
27
|
-
requirement: &
|
16
|
+
requirement: &70116901973140 !ruby/object:Gem::Requirement
|
28
17
|
none: false
|
29
18
|
requirements:
|
30
19
|
- - ! '>='
|
@@ -32,10 +21,10 @@ dependencies:
|
|
32
21
|
version: '0'
|
33
22
|
type: :runtime
|
34
23
|
prerelease: false
|
35
|
-
version_requirements: *
|
24
|
+
version_requirements: *70116901973140
|
36
25
|
- !ruby/object:Gem::Dependency
|
37
26
|
name: sass
|
38
|
-
requirement: &
|
27
|
+
requirement: &70116901972660 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
29
|
requirements:
|
41
30
|
- - ! '>='
|
@@ -43,21 +32,10 @@ dependencies:
|
|
43
32
|
version: '0'
|
44
33
|
type: :runtime
|
45
34
|
prerelease: false
|
46
|
-
version_requirements: *
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: delayed_job
|
49
|
-
requirement: &70300198364340 !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
|
-
requirements:
|
52
|
-
- - ! '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
type: :runtime
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: *70300198364340
|
35
|
+
version_requirements: *70116901972660
|
58
36
|
- !ruby/object:Gem::Dependency
|
59
37
|
name: sqlite3
|
60
|
-
requirement: &
|
38
|
+
requirement: &70116901972040 !ruby/object:Gem::Requirement
|
61
39
|
none: false
|
62
40
|
requirements:
|
63
41
|
- - ! '>='
|
@@ -65,44 +43,41 @@ dependencies:
|
|
65
43
|
version: '0'
|
66
44
|
type: :development
|
67
45
|
prerelease: false
|
68
|
-
version_requirements: *
|
69
|
-
description:
|
46
|
+
version_requirements: *70116901972040
|
47
|
+
description: Delayed Job Dashboard
|
70
48
|
email:
|
71
49
|
- ben.kempner@gmail.com
|
72
50
|
executables: []
|
73
51
|
extensions: []
|
74
52
|
extra_rdoc_files: []
|
75
53
|
files:
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
80
|
-
-
|
54
|
+
- .gitignore
|
55
|
+
- Gemfile
|
56
|
+
- Gemfile.lock
|
57
|
+
- MIT-LICENSE
|
58
|
+
- README.rdoc
|
59
|
+
- Rakefile
|
81
60
|
- app/controllers/dj_dashboard/jobs_controller.rb
|
82
|
-
- app/helpers/dj_dashboard/application_helper.rb
|
83
|
-
- app/helpers/dj_dashboard/jobs_helper.rb
|
84
61
|
- app/models/dj_dashboard/job.rb
|
85
|
-
- app/views/dj_dashboard/jobs/index.html.erb.bak
|
86
62
|
- app/views/dj_dashboard/jobs/index.html.haml
|
87
|
-
- app/views/layouts/dj_dashboard
|
63
|
+
- app/views/layouts/dj_dashboard.html.haml
|
88
64
|
- config/routes.rb
|
65
|
+
- db/migrate/20111212074858_add_indexes_on_delayed_job.rb
|
66
|
+
- dj_dashboard.gemspec
|
67
|
+
- lib/dj_dashboard.rb
|
89
68
|
- lib/dj_dashboard/engine.rb
|
69
|
+
- lib/dj_dashboard/tasks/install.rb
|
90
70
|
- lib/dj_dashboard/version.rb
|
91
|
-
- lib/
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
96
|
-
- test/dj_dashbaord_test.rb
|
97
|
-
- test/dummy/app/assets/javascripts/application.js
|
98
|
-
- test/dummy/app/assets/stylesheets/application.css
|
71
|
+
- lib/tasks/install.rake
|
72
|
+
- public/javascripts/dj_dashboard/jobs.js
|
73
|
+
- public/stylesheets/dj_dashboard/jobs.css
|
74
|
+
- test/dj_dashboard_test.rb
|
75
|
+
- test/dummy/Rakefile
|
99
76
|
- test/dummy/app/controllers/application_controller.rb
|
100
77
|
- test/dummy/app/helpers/application_helper.rb
|
101
|
-
- test/dummy/app/jobs/failure_job.rb
|
102
78
|
- test/dummy/app/jobs/my_job.rb
|
103
|
-
- test/dummy/app/jobs/my_other_job.rb
|
104
|
-
- test/dummy/app/jobs/slow_job.rb
|
105
79
|
- test/dummy/app/views/layouts/application.html.erb
|
80
|
+
- test/dummy/config.ru
|
106
81
|
- test/dummy/config/application.rb
|
107
82
|
- test/dummy/config/boot.rb
|
108
83
|
- test/dummy/config/database.yml
|
@@ -115,45 +90,26 @@ files:
|
|
115
90
|
- test/dummy/config/initializers/mime_types.rb
|
116
91
|
- test/dummy/config/initializers/secret_token.rb
|
117
92
|
- test/dummy/config/initializers/session_store.rb
|
118
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
119
93
|
- test/dummy/config/locales/en.yml
|
120
94
|
- test/dummy/config/routes.rb
|
121
|
-
- test/dummy/
|
122
|
-
- test/dummy/db/development.sqlite3
|
123
|
-
- test/dummy/db/migrate/20111208045052_create_delayed_jobs.rb
|
95
|
+
- test/dummy/db/migrate/20111212042040_create_delayed_jobs.rb
|
124
96
|
- test/dummy/db/schema.rb
|
125
|
-
- test/dummy/log/development.log
|
126
97
|
- test/dummy/public/404.html
|
127
98
|
- test/dummy/public/422.html
|
128
99
|
- test/dummy/public/500.html
|
129
100
|
- test/dummy/public/favicon.ico
|
130
|
-
- test/dummy/
|
101
|
+
- test/dummy/public/javascripts/application.js
|
102
|
+
- test/dummy/public/javascripts/controls.js
|
103
|
+
- test/dummy/public/javascripts/dragdrop.js
|
104
|
+
- test/dummy/public/javascripts/effects.js
|
105
|
+
- test/dummy/public/javascripts/prototype.js
|
106
|
+
- test/dummy/public/javascripts/rails.js
|
107
|
+
- test/dummy/public/stylesheets/.gitkeep
|
131
108
|
- test/dummy/script/delayed_job
|
132
109
|
- test/dummy/script/rails
|
133
|
-
- test/dummy/tmp/cache/assets/C6F/980/sprockets%2F501301344d0d02382d2e37e44e95d5b7
|
134
|
-
- test/dummy/tmp/cache/assets/C71/F20/sprockets%2Fb875931243c2e85243a73dbd34541b01
|
135
|
-
- test/dummy/tmp/cache/assets/C8B/FB0/sprockets%2Fa30656615c2357663ae857a489692eda
|
136
|
-
- test/dummy/tmp/cache/assets/C9E/520/sprockets%2F489ce17948193acee58634965271c7b9
|
137
|
-
- test/dummy/tmp/cache/assets/CF0/810/sprockets%2F417d2188a30be6696a875a8fbc8f3584
|
138
|
-
- test/dummy/tmp/cache/assets/CF1/FA0/sprockets%2Fde520297c57ef5e7e01b98f685c31636
|
139
|
-
- test/dummy/tmp/cache/assets/CF3/0B0/sprockets%2F169489b2f9036266f8731f329bfee0cf
|
140
|
-
- test/dummy/tmp/cache/assets/D16/930/sprockets%2Fa85c4d9513ce726ff104e78a676f113d
|
141
|
-
- test/dummy/tmp/cache/assets/D18/5D0/sprockets%2Fff7d903fadac588f2531a0665964119d
|
142
|
-
- test/dummy/tmp/cache/assets/D21/E00/sprockets%2F34aca167df809c799f08ff55d5718b14
|
143
|
-
- test/dummy/tmp/cache/assets/D24/070/sprockets%2F0bc96a7497e35f7b589b450a2e835ff7
|
144
|
-
- test/dummy/tmp/cache/assets/D6D/BD0/sprockets%2F0148f5b39b343ad81e5aee077c3cb86e
|
145
|
-
- test/dummy/tmp/cache/assets/D70/530/sprockets%2Fcc672d70701efbd96a08d65e4d2890ac
|
146
|
-
- test/dummy/tmp/cache/assets/D78/F00/sprockets%2Fc7ba90c63ddc30e47d829f0ff506298e
|
147
|
-
- test/dummy/tmp/cache/assets/D87/010/sprockets%2Fdb3265fe875e06b1acf09985f95c39ff
|
148
|
-
- test/dummy/tmp/cache/assets/DA3/1C0/sprockets%2Fff5b18546bbc1c8b66af624b38a168fe
|
149
|
-
- test/dummy/tmp/cache/assets/DC0/560/sprockets%2Fef3cc623dc91b5acde21805230bb69ce
|
150
|
-
- test/dummy/tmp/cache/assets/DD1/5D0/sprockets%2F2f8e642dbb496a52c8f0ab159b5faa9f
|
151
|
-
- test/dummy/tmp/cache/assets/E0B/AF0/sprockets%2F763c1e8bd998b46bbe7bf3bab4968adb
|
152
|
-
- test/dummy/tmp/cache/assets/E65/A80/sprockets%2Ff654007c2fcd9bd2b8fecd93f5fae3fb
|
153
|
-
- test/functional/delayed_job_dashboard/jobs_controller_test.rb
|
154
110
|
- test/integration/navigation_test.rb
|
111
|
+
- test/support/integration_case.rb
|
155
112
|
- test/test_helper.rb
|
156
|
-
- test/unit/helpers/dj_dashboard/jobs_helper_test.rb
|
157
113
|
homepage: http://www.github.com/bkempner/dj_dashboard
|
158
114
|
licenses: []
|
159
115
|
post_install_message:
|
@@ -168,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
168
124
|
version: '0'
|
169
125
|
segments:
|
170
126
|
- 0
|
171
|
-
hash:
|
127
|
+
hash: 515412462501798406
|
172
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
129
|
none: false
|
174
130
|
requirements:
|
@@ -177,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
133
|
version: '0'
|
178
134
|
segments:
|
179
135
|
- 0
|
180
|
-
hash:
|
136
|
+
hash: 515412462501798406
|
181
137
|
requirements: []
|
182
138
|
rubyforge_project:
|
183
139
|
rubygems_version: 1.8.6
|
@@ -185,16 +141,13 @@ signing_key:
|
|
185
141
|
specification_version: 3
|
186
142
|
summary: Delayed Job Dashboard
|
187
143
|
test_files:
|
188
|
-
- test/
|
189
|
-
- test/dummy/
|
190
|
-
- test/dummy/app/assets/stylesheets/application.css
|
144
|
+
- test/dj_dashboard_test.rb
|
145
|
+
- test/dummy/Rakefile
|
191
146
|
- test/dummy/app/controllers/application_controller.rb
|
192
147
|
- test/dummy/app/helpers/application_helper.rb
|
193
|
-
- test/dummy/app/jobs/failure_job.rb
|
194
148
|
- test/dummy/app/jobs/my_job.rb
|
195
|
-
- test/dummy/app/jobs/my_other_job.rb
|
196
|
-
- test/dummy/app/jobs/slow_job.rb
|
197
149
|
- test/dummy/app/views/layouts/application.html.erb
|
150
|
+
- test/dummy/config.ru
|
198
151
|
- test/dummy/config/application.rb
|
199
152
|
- test/dummy/config/boot.rb
|
200
153
|
- test/dummy/config/database.yml
|
@@ -207,42 +160,23 @@ test_files:
|
|
207
160
|
- test/dummy/config/initializers/mime_types.rb
|
208
161
|
- test/dummy/config/initializers/secret_token.rb
|
209
162
|
- test/dummy/config/initializers/session_store.rb
|
210
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
211
163
|
- test/dummy/config/locales/en.yml
|
212
164
|
- test/dummy/config/routes.rb
|
213
|
-
- test/dummy/
|
214
|
-
- test/dummy/db/development.sqlite3
|
215
|
-
- test/dummy/db/migrate/20111208045052_create_delayed_jobs.rb
|
165
|
+
- test/dummy/db/migrate/20111212042040_create_delayed_jobs.rb
|
216
166
|
- test/dummy/db/schema.rb
|
217
|
-
- test/dummy/log/development.log
|
218
167
|
- test/dummy/public/404.html
|
219
168
|
- test/dummy/public/422.html
|
220
169
|
- test/dummy/public/500.html
|
221
170
|
- test/dummy/public/favicon.ico
|
222
|
-
- test/dummy/
|
171
|
+
- test/dummy/public/javascripts/application.js
|
172
|
+
- test/dummy/public/javascripts/controls.js
|
173
|
+
- test/dummy/public/javascripts/dragdrop.js
|
174
|
+
- test/dummy/public/javascripts/effects.js
|
175
|
+
- test/dummy/public/javascripts/prototype.js
|
176
|
+
- test/dummy/public/javascripts/rails.js
|
177
|
+
- test/dummy/public/stylesheets/.gitkeep
|
223
178
|
- test/dummy/script/delayed_job
|
224
179
|
- test/dummy/script/rails
|
225
|
-
- test/dummy/tmp/cache/assets/C6F/980/sprockets%2F501301344d0d02382d2e37e44e95d5b7
|
226
|
-
- test/dummy/tmp/cache/assets/C71/F20/sprockets%2Fb875931243c2e85243a73dbd34541b01
|
227
|
-
- test/dummy/tmp/cache/assets/C8B/FB0/sprockets%2Fa30656615c2357663ae857a489692eda
|
228
|
-
- test/dummy/tmp/cache/assets/C9E/520/sprockets%2F489ce17948193acee58634965271c7b9
|
229
|
-
- test/dummy/tmp/cache/assets/CF0/810/sprockets%2F417d2188a30be6696a875a8fbc8f3584
|
230
|
-
- test/dummy/tmp/cache/assets/CF1/FA0/sprockets%2Fde520297c57ef5e7e01b98f685c31636
|
231
|
-
- test/dummy/tmp/cache/assets/CF3/0B0/sprockets%2F169489b2f9036266f8731f329bfee0cf
|
232
|
-
- test/dummy/tmp/cache/assets/D16/930/sprockets%2Fa85c4d9513ce726ff104e78a676f113d
|
233
|
-
- test/dummy/tmp/cache/assets/D18/5D0/sprockets%2Fff7d903fadac588f2531a0665964119d
|
234
|
-
- test/dummy/tmp/cache/assets/D21/E00/sprockets%2F34aca167df809c799f08ff55d5718b14
|
235
|
-
- test/dummy/tmp/cache/assets/D24/070/sprockets%2F0bc96a7497e35f7b589b450a2e835ff7
|
236
|
-
- test/dummy/tmp/cache/assets/D6D/BD0/sprockets%2F0148f5b39b343ad81e5aee077c3cb86e
|
237
|
-
- test/dummy/tmp/cache/assets/D70/530/sprockets%2Fcc672d70701efbd96a08d65e4d2890ac
|
238
|
-
- test/dummy/tmp/cache/assets/D78/F00/sprockets%2Fc7ba90c63ddc30e47d829f0ff506298e
|
239
|
-
- test/dummy/tmp/cache/assets/D87/010/sprockets%2Fdb3265fe875e06b1acf09985f95c39ff
|
240
|
-
- test/dummy/tmp/cache/assets/DA3/1C0/sprockets%2Fff5b18546bbc1c8b66af624b38a168fe
|
241
|
-
- test/dummy/tmp/cache/assets/DC0/560/sprockets%2Fef3cc623dc91b5acde21805230bb69ce
|
242
|
-
- test/dummy/tmp/cache/assets/DD1/5D0/sprockets%2F2f8e642dbb496a52c8f0ab159b5faa9f
|
243
|
-
- test/dummy/tmp/cache/assets/E0B/AF0/sprockets%2F763c1e8bd998b46bbe7bf3bab4968adb
|
244
|
-
- test/dummy/tmp/cache/assets/E65/A80/sprockets%2Ff654007c2fcd9bd2b8fecd93f5fae3fb
|
245
|
-
- test/functional/delayed_job_dashboard/jobs_controller_test.rb
|
246
180
|
- test/integration/navigation_test.rb
|
181
|
+
- test/support/integration_case.rb
|
247
182
|
- test/test_helper.rb
|
248
|
-
- test/unit/helpers/dj_dashboard/jobs_helper_test.rb
|