dj_mon 0.2.0 → 1.0.0
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/README.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
|
-
# DJ Mon [](http://travis-ci.org/akshayrawat/dj_mon)
|
1
|
+
# DJ Mon [](http://travis-ci.org/akshayrawat/dj_mon)
|
2
2
|
|
3
|
-
A Rails engine based frontend for Delayed Job.
|
3
|
+
A Rails engine based frontend for Delayed Job. It also has an [iPhone app](http://itunes.apple.com/app/dj-mon/id552732872).
|
4
|
+
|
5
|
+
## Demo
|
6
|
+
* [A quick video tour](http://www.akshay.cc/dj_mon/)
|
7
|
+
* [Sandbox Demo URL](http://dj-mon-demo.herokuapp.com/)
|
8
|
+
* Username: `dj_mon`
|
9
|
+
* Password: `password`
|
10
|
+
* [Demo Source](https://github.com/akshayrawat/dj_mon_demo)
|
4
11
|
|
5
12
|
## Installation
|
6
13
|
|
@@ -18,7 +25,7 @@ Or install it yourself as:
|
|
18
25
|
|
19
26
|
## Note
|
20
27
|
|
21
|
-
Supports
|
28
|
+
Supports `activerecord` and `mongoid`.
|
22
29
|
|
23
30
|
## Usage
|
24
31
|
|
@@ -38,24 +45,24 @@ This uses http basic auth for authentication. Set the credentials in an initiali
|
|
38
45
|
If the credentials are not set, then the username and password are assumed to be the above mentioned.
|
39
46
|
|
40
47
|
Now visit `http://localhost:3000/dj_mon` and profit!
|
41
|
-
|
42
48
|
|
43
|
-
##
|
49
|
+
## iPhone App
|
50
|
+
* The iPhone app is written in RubyMotion. [Source](https://github.com/akshayrawat/dj_mon_iphone).
|
51
|
+
* [On App Store](http://itunes.apple.com/app/dj-mon/id552732872)
|
44
52
|
|
45
|
-
|
46
|
-
* Username: `dj_mon`
|
47
|
-
* Password: `password`
|
48
|
-
* [Demo Source](https://github.com/akshayrawat/dj_mon_demo)
|
53
|
+
## Contributing
|
49
54
|
|
50
|
-
|
55
|
+
### Things to do
|
56
|
+
* Mostly in the iPhone app. Mentioned in the [README](https://github.com/akshayrawat/dj_mon_iphone).
|
51
57
|
|
58
|
+
### Running the test suite
|
52
59
|
|
53
|
-
|
54
|
-
|
55
|
-
To run the test suite, execute the following commands on the project
|
60
|
+
To run the test suite, execute the following commands from the project
|
56
61
|
root:
|
57
62
|
|
58
63
|
gem install bundler
|
59
64
|
bundle install
|
60
65
|
rake test:prepare
|
61
66
|
rake
|
67
|
+
|
68
|
+

|
@@ -1,12 +1,10 @@
|
|
1
|
-
require 'dj_mon/version'
|
2
|
-
|
3
1
|
module DjMon
|
4
2
|
class DjReportsController < ActionController::Base
|
5
3
|
respond_to :json, :html
|
6
4
|
layout 'dj_mon'
|
7
5
|
|
8
6
|
before_filter :authenticate
|
9
|
-
|
7
|
+
before_filter :set_api_version
|
10
8
|
|
11
9
|
def index
|
12
10
|
end
|
@@ -38,7 +36,7 @@ module DjMon
|
|
38
36
|
def retry
|
39
37
|
DjMon::Backend.retry params[:id]
|
40
38
|
respond_to do |format|
|
41
|
-
format.html { redirect_to root_url, notice: "The job has been queued for a re-run"
|
39
|
+
format.html { redirect_to root_url, notice: "The job has been queued for a re-run" }
|
42
40
|
format.json { head(:ok) }
|
43
41
|
end
|
44
42
|
end
|
@@ -46,7 +44,7 @@ module DjMon
|
|
46
44
|
def destroy
|
47
45
|
DjMon::Backend.destroy params[:id]
|
48
46
|
respond_to do |format|
|
49
|
-
format.html { redirect_to root_url, notice: "The job was deleted"
|
47
|
+
format.html { redirect_to root_url, notice: "The job was deleted" }
|
50
48
|
format.json { head(:ok) }
|
51
49
|
end
|
52
50
|
end
|
@@ -1,4 +1,9 @@
|
|
1
|
-
%p
|
1
|
+
%p
|
2
|
+
.lead
|
3
|
+
Delayed Jobs
|
4
|
+
.pull-right
|
5
|
+
= link_to "Get DJ Mon for iPhone", "http://itunes.apple.com/app/dj-mon/id552732872", target: '_blank', class: 'btn btn-mini'
|
6
|
+
|
2
7
|
%ul.nav.nav-tabs
|
3
8
|
%li.active
|
4
9
|
= link_to "All", "#all", "data-toggle" => "tab"
|
data/lib/dj_mon/version.rb
CHANGED
data/lib/dj_mon.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dj_mon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Akshay Rawat
|
9
|
+
- Timo Schilling
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
13
|
+
date: 2012-08-23 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: rails
|