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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGM1NjVjNDE3NDdhZDNmMmM4ODk1M2ZlNTZkNTI4ZmQzZjQ1ZjY4YQ==
4
+ NWRiNWQwZDZmMzgxMzk3NWY2NDU1ZDE0MDYyNGZiZjQwMWM1YTZmMQ==
5
5
  data.tar.gz: !binary |-
6
- YmQ5OWJiZGQyNWY0NWZhNTJiMWM2YjkwOGVhMjQxODBmYTlmMmQ4Yw==
6
+ YTNjMDZmZGYzMTdhNjgyNTRmMWU1OTFlNGUwNzJlM2RjNTE4MDkyYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2Y1OGIwODA2MGI2YmQ3NzAwNmQxYzFlN2Y0OGRjOGNiNTAxYjU4NDU3NDcz
10
- MjhjMzM0YzQwNDk3MDkyOTk5YzBlMTg2OWRjMDg3MTk4YjBjZmIyNzVkYTU3
11
- NmQ4NTI1OTM3ZTMwY2I2Y2RhMmQ5ZDIwMzYyODJhMWY2YTNhOTQ=
9
+ ZTQ2YjdlZWQ4OWIwMzEwZTg5MTEwNGU5ZmVlMjA5OTlhMzIwNjMzNWU0MjJh
10
+ MTcxNjhkN2JlZWY4NGY2MjQwY2NiZDA0NzBkODZkNWI1YTBlYTU4YzYxMmU0
11
+ NmIyMzFhNDc4MTZkOTM2YWU3Y2U0MWE4NmIyM2U2YjY4OWYwYjY=
12
12
  data.tar.gz: !binary |-
13
- NDM5OGI4NWI5ZWRmOWJlNzEyN2YwMjM2YjRiMmVmMzhiYzMyOGI0MzZhNzlm
14
- YzAyOTczZjUwYTUzYjVjMDlhNDRkNWUwNDViOTNlZGQ1M2IzNDFlYjI1MTJj
15
- ZDU1MWYwOTAyYzhhZDBlOGY2NDQ3OGIxMTk3MTY0YTUxMjhiYWY=
13
+ MjMxNTM4NWY0YmRhNTllNjBjMmQ0MmEzM2VlNGEyZjkyOGM2ZmJlOTZmZjQ2
14
+ MjQ2YzliNDA2NjM1ZWQyZmZjODY0NTRkNzIyZThhMzdjNzBlNzdmZTA2NTZi
15
+ YjNkNjI5YTgyZjU4NWYyNTRlYTdlMjUwMTgyYjc2ZjRlYWU5OTU=
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module DelayedCronJob
2
- VERSION = "0.5.1"
2
+ VERSION = '0.5.2'
3
3
  end
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.1
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: 2014-07-29 00:00:00.000000000 Z
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.1.11
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