active_admin_delayed_job 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "active_admin_delayed_job"
|
5
|
-
s.version = "1.0.
|
5
|
+
s.version = "1.0.1"
|
6
6
|
s.authors = ["Michael Bianco", "Darren Rush"]
|
7
7
|
s.email = ["mike@cliffsidemedia.com"]
|
8
8
|
s.homepage = "http://github.com/iloveitaly/active_admin_delayed_job"
|
@@ -28,8 +28,7 @@ ActiveAdmin.register Delayed::Job, :as => "Background Job" do
|
|
28
28
|
index do
|
29
29
|
selectable_column
|
30
30
|
column :id
|
31
|
-
column :
|
32
|
-
column :priority
|
31
|
+
column :failed_at
|
33
32
|
column :attempts
|
34
33
|
|
35
34
|
column :status do |job|
|
@@ -66,12 +65,16 @@ ActiveAdmin.register Delayed::Job, :as => "Background Job" do
|
|
66
65
|
# https://github.com/activeadmin/activeadmin/blob/9cfc45330e5ad31977b3ac7b2ccc1f8d6146c73f/lib/active_admin/views/pages/form.rb
|
67
66
|
form do |f|
|
68
67
|
f.inputs do
|
69
|
-
f.input :priority
|
70
68
|
f.input :handler
|
71
|
-
f.input :queue
|
72
69
|
end
|
73
70
|
|
74
71
|
f.actions
|
75
72
|
end
|
76
73
|
|
74
|
+
member_action :update, method: :put do
|
75
|
+
resource.update_attribute(:handler, params[:background_job]["handler"])
|
76
|
+
|
77
|
+
redirect_to({ action: 'index' })
|
78
|
+
end
|
79
|
+
|
77
80
|
end
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_admin_delayed_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Michael Bianco
|
@@ -9,11 +10,12 @@ authors:
|
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2014-
|
13
|
+
date: 2014-12-30 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: activeadmin
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
20
|
- - ! '>='
|
19
21
|
- !ruby/object:Gem::Version
|
@@ -21,6 +23,7 @@ dependencies:
|
|
21
23
|
type: :runtime
|
22
24
|
prerelease: false
|
23
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
24
27
|
requirements:
|
25
28
|
- - ! '>='
|
26
29
|
- !ruby/object:Gem::Version
|
@@ -28,6 +31,7 @@ dependencies:
|
|
28
31
|
- !ruby/object:Gem::Dependency
|
29
32
|
name: delayed_job_active_record
|
30
33
|
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
31
35
|
requirements:
|
32
36
|
- - ! '>='
|
33
37
|
- !ruby/object:Gem::Version
|
@@ -35,6 +39,7 @@ dependencies:
|
|
35
39
|
type: :runtime
|
36
40
|
prerelease: false
|
37
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
38
43
|
requirements:
|
39
44
|
- - ! '>='
|
40
45
|
- !ruby/object:Gem::Version
|
@@ -58,25 +63,26 @@ files:
|
|
58
63
|
- readme.md
|
59
64
|
homepage: http://github.com/iloveitaly/active_admin_delayed_job
|
60
65
|
licenses: []
|
61
|
-
metadata: {}
|
62
66
|
post_install_message:
|
63
67
|
rdoc_options: []
|
64
68
|
require_paths:
|
65
69
|
- lib
|
66
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
67
72
|
requirements:
|
68
73
|
- - ! '>='
|
69
74
|
- !ruby/object:Gem::Version
|
70
75
|
version: '0'
|
71
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
72
78
|
requirements:
|
73
79
|
- - ! '>='
|
74
80
|
- !ruby/object:Gem::Version
|
75
81
|
version: '0'
|
76
82
|
requirements: []
|
77
83
|
rubyforge_project:
|
78
|
-
rubygems_version:
|
84
|
+
rubygems_version: 1.8.23.2
|
79
85
|
signing_key:
|
80
|
-
specification_version:
|
86
|
+
specification_version: 3
|
81
87
|
summary: A plug-and-play controller that lets you monitor and retry jobs easily.
|
82
88
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
ZGU5M2YyMDhjMGNlOTYzNzM0MzdjNzU1NDIzYjhlNWE3ZjM1ZTEzMA==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZmQ4YmMxMzE3NzNmMTEyM2I3YTJhYTFjODE1NTNmYTY0MGEwZDM5YQ==
|
7
|
-
SHA512:
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MzNlMzZkNTk5NjE1YzEyOTc0NDVjNzVjY2M3YjFmNjFiYWVjYWVjMzdkMjJm
|
10
|
-
NzE2ZWJhNTY3NTY3ZjNmOTIyYWE2MWJhY2Y1Y2E2ZjUxM2ZhNDMwNDU4ZDg1
|
11
|
-
ZmUxYmQwOTA0ZDc3YjU0ZTkzMmYxNzBlM2U4YzAzZmE5NWU5MTE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NmE2NjQ4YTcxNGY4ODJmNzgyMDliOWUxOGQwNDQ5MzFlODhjYmI1ZGU5ZDQ0
|
14
|
-
Yjg2MGQzNjYwMDViODI4OWNkODQ3MGRlNmI1Y2Q4YWNmMWJhOTlkYWY3OGI1
|
15
|
-
ZDc1Yjg3ZmQ0MTA5MmJjNjgyZjZmN2I0OWE0ZTE4NWZlNGZiNTc=
|