resque-scheduler 2.3.0 → 2.3.1

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.

Potentially problematic release.


This version of resque-scheduler might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTM5YzMwMmUzNzYyNWJkMmY0MTJiOTc0MTIxMTA4MTBlNWY1ZWVmMw==
4
+ ZDgyOTE0ZDU0NTg0MDZlNGRlM2ExZjQ0OWY5ZThhM2I3YzEyMGVmYg==
5
5
  data.tar.gz: !binary |-
6
- Zjc3ZTlmZWE5MDBjNGExYjkzZWEwZTk5NDMwYTI4NjIzNGJjM2Q5Ng==
6
+ NjFkMGU4MDU2YTZiODdjMjk5NDdjNjY4YTg0MjY2ZWM3MmI5NGJhOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- M2I1NDI0M2VmZGRkNTAyZTNjODJjNTI4YjRiN2QyYmIxMTk1ZDk5MjIzY2Jl
10
- ZjJlMjE3MzM2MzFmMTA2ZWY3ZjdhMzY5NmQ3NWY0ODA5ZDE3ZDk4OWUzZmRh
11
- MDhiZjUxZTJlZDdjZjdhYmU0NjRmMmE0NDg1YmE5ZjQ4MDA1YjE=
9
+ OGIwZjNmYzUyYzQwNGQ0ZjFhMGMzZjdiNTViMDVhYWU3Y2NmZDdiMjEyYzFj
10
+ MjBmMTU1MTg2ZjQ0M2QzZjJiY2E5ZDZhM2YyYzFlYWZlYWIwZjI1Y2I2NjBh
11
+ Y2M2ZDgzZDk3ZmRiODQ4ZjhhMGVjYTAxMzU0YjU3MTJiNTM1NTE=
12
12
  data.tar.gz: !binary |-
13
- ZTFlN2RhYTljYzRjOTAyMzY2NzA2YTRiMzNiNWQwMDFmOGE3OThlZTUyZTVl
14
- ODFkNDk3MDBiMmZhZmEyOTAwZDNkODgwNDQxMTEwNDRjM2QwNzk3OGI2OTYx
15
- ZWU3NGIyMTA1Y2E2NWYwMWM1YjI2ZTkzOTdhNzhiYTJjYThlODU=
13
+ MjEwNDRlOTkxNzZkMzQ2Y2U2YjUyY2FkMWEyZDFmZjUwOGUzNzM4YTNjOWJk
14
+ MTZmMjQzNDczNWM4NjQ2NTk2NmU2OTQ3YzNhM2IwOThjZGUyMGI0MDgyNGQ3
15
+ NWM4MDVlODllODkxZDM2MDcxNTBlODI2NjkyMjU4MjI3NjdlNjg=
@@ -15,3 +15,4 @@ deploy:
15
15
  on:
16
16
  tags: true
17
17
  repo: resque/resque-scheduler
18
+ rvm: 2.0.0
data/AUTHORS.md CHANGED
@@ -20,6 +20,7 @@ Resque Scheduler authors
20
20
  - David Yang
21
21
  - Denis Yagofarov
22
22
  - Evan Tahler
23
+ - Eugene Batogov
23
24
  - Giovanni Cappellotto
24
25
  - Harry Lascelles
25
26
  - Henrik Nyh
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.3.1 (2013-11-20)
2
+
3
+ * Correcting `require_paths` in gemspec
4
+
1
5
  ## 2.3.0 (2013-11-07)
2
6
 
3
7
  * Fix re-introduced `ThreadError` on Ruby 2
data/README.md CHANGED
@@ -110,6 +110,18 @@ any nonempty value, they will take effect. `VERBOSE` simply dumps more output
110
110
  to stdout. `MUTE` does the opposite and silences all output. `MUTE`
111
111
  supersedes `VERBOSE`.
112
112
 
113
+ ### Resque Pool integration
114
+
115
+ For normal work with [resque-pool](https://github.com/nevans/resque-pool) gem add next lines in lib/rake/resque.rake
116
+
117
+ ```ruby
118
+ task 'resque:pool:setup' do
119
+ Resque::Pool.after_prefork do |job|
120
+ Resque.redis.client.reconnect
121
+ end
122
+ end
123
+ ```
124
+
113
125
 
114
126
  ### Delayed jobs
115
127
 
@@ -1,3 +1,5 @@
1
+ # vim:fileencoding=utf-8
2
+
1
3
  module ResqueScheduler
2
- VERSION = '2.3.0'
4
+ VERSION = '2.3.1'
3
5
  end
@@ -1,4 +1,4 @@
1
- # -*- encoding: utf-8 -*-
1
+ # vim:fileencoding=utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'resque_scheduler/version'
@@ -15,10 +15,10 @@ Gem::Specification.new do |spec|
15
15
  Also supports queueing jobs on a fixed, cron-like schedule.}
16
16
  spec.license = 'MIT'
17
17
 
18
- spec.files = `git ls-files`.split("\n")
19
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
- spec.test_files = spec.files.grep(%r{^test/})
21
- spec.require_path = ['lib']
18
+ spec.files = `git ls-files`.split("\n")
19
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
+ spec.test_files = spec.files.grep(%r{^test/})
21
+ spec.require_paths = ['lib']
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.3'
24
24
  spec.add_development_dependency 'mocha'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben VandenBos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-07 00:00:00.000000000 Z
11
+ date: 2013-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -178,7 +178,7 @@ metadata: {}
178
178
  post_install_message:
179
179
  rdoc_options: []
180
180
  require_paths:
181
- - - lib
181
+ - lib
182
182
  required_ruby_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - ! '>='