delayed_cron_job 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/delayed_cron_job.rb +5 -0
- data/lib/delayed_cron_job/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NWRiNWQwZDZmMzgxMzk3NWY2NDU1ZDE0MDYyNGZiZjQwMWM1YTZmMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTNjMDZmZGYzMTdhNjgyNTRmMWU1OTFlNGUwNzJlM2RjNTE4MDkyYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTQ2YjdlZWQ4OWIwMzEwZTg5MTEwNGU5ZmVlMjA5OTlhMzIwNjMzNWU0MjJh
|
10
|
+
MTcxNjhkN2JlZWY4NGY2MjQwY2NiZDA0NzBkODZkNWI1YTBlYTU4YzYxMmU0
|
11
|
+
NmIyMzFhNDc4MTZkOTM2YWU3Y2U0MWE4NmIyM2U2YjY4OWYwYjY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjMxNTM4NWY0YmRhNTllNjBjMmQ0MmEzM2VlNGEyZjkyOGM2ZmJlOTZmZjQ2
|
14
|
+
MjQ2YzliNDA2NjM1ZWQyZmZjODY0NTRkNzIyZThhMzdjNzBlNzdmZTA2NTZi
|
15
|
+
YjNkNjI5YTgyZjU4NWYyNTRlYTdlMjUwMTgyYjc2ZjRlYWU5OTU=
|
data/lib/delayed_cron_job.rb
CHANGED
@@ -10,6 +10,11 @@ end
|
|
10
10
|
|
11
11
|
if defined?(Delayed::Backend::Mongoid)
|
12
12
|
Delayed::Backend::Mongoid::Job.field :cron, :type => String
|
13
|
+
Delayed::Backend::Mongoid::Job.attr_accessible(:cron) if Delayed::Backend::Mongoid::Job.respond_to?(:attr_accessible)
|
14
|
+
end
|
15
|
+
|
16
|
+
if defined?(Delayed::Backend::ActiveRecord) && Delayed::Backend::ActiveRecord::Job.respond_to?(:attr_accessible)
|
17
|
+
Delayed::Backend::ActiveRecord::Job.attr_accessible(:cron)
|
13
18
|
end
|
14
19
|
|
15
20
|
DelayedCronJob::Plugin.callback_block.call(Delayed::Worker.lifecycle)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed_cron_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pascal Zumkehr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: delayed_job
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.
|
141
|
+
rubygems_version: 2.4.5
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: An extension to Delayed::Job that allows you to set cron expressions for
|