delayed_job 4.0.1 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 44f2fddb4257788893e27e7fe18e159748132d45
4
- data.tar.gz: ed334f09c9f6d3c9ff987a04f5131d4d8bf1286a
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YjQ5ZWQ1YmMzNWIxNTVhYzllZTdhNWI0ZWI4MzAwMzA3YjdjN2IyYg==
5
+ data.tar.gz: !binary |-
6
+ MDJmZDk3ZjJjYmNkZWFiMmIzNTU5MGQzMmNiOWM4Mzk2ODE0ODkzZg==
5
7
  SHA512:
6
- metadata.gz: a43f95acb0fd7b4d1eacadc523dc470f08aa290ccf2b224819a77bd60acd8b363665bd7992372420d6d382b6ca6ead131a725f0ee638abce35405900748e2612
7
- data.tar.gz: ff353fb2e6115237541411a67aee47381120fda1a20d56a70a0a50a51a4cc56c21e0f7e3935c1869fbcf6dbb8051199ae95e3eec68d4208f0a6c3e3f3f252cd5
8
+ metadata.gz: !binary |-
9
+ ZGVkODJjNTNkYTc5YmJkYWIxN2NiZjVkZTA4M2ExYzg5ZjU5NjRkNDBmMjAz
10
+ ZWVkNjcxMWRlZmZmOTU4OGNiMTU0N2E2N2QwODczYmQyNjI5YmM3MDc3ZTNm
11
+ YTI2Njk1NzBjZDFmYTkxZmE1YmVkYzJkOWI3NDZiODc2NDc1NjM=
12
+ data.tar.gz: !binary |-
13
+ OTBkOGMwYjNiZGIxNWMxODk3ZjI1OWFlZTU5NDlmNTZiZTBhNGQ0ZTY1ZjRm
14
+ ZWYwYzFkZjgxMTE5OWJhMzg3NWU0YzU3MWNhMGJmMjg0N2Y4NDk5MjY5ZDE3
15
+ NDMxYWFmOTU0M2FhZWJmMzIyYmNlMDZiYjJjODg0NjM0NWVkODQ=
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 4.0.2 - 2014-06-24
2
+ ==================
3
+ * Add support for RSpec 3
4
+
1
5
  4.0.1 - 2014-04-12
2
6
  ==================
3
7
  * Update gemspec for Rails 4.1
data/README.md CHANGED
@@ -344,6 +344,8 @@ Cleaning up
344
344
  ===========
345
345
  You can invoke `rake jobs:clear` to delete all jobs in the queue.
346
346
 
347
- Mailing List
348
- ============
349
- Join us on the [mailing list](http://groups.google.com/group/delayed_job)
347
+ Having problems?
348
+ ================
349
+ Good places to get help are:
350
+ * [Google Groups](http://groups.google.com/group/delayed_job) where you can join our mailing list.
351
+ * [StackOverflow](http://stackoverflow.com/questions/tagged/delayed-job)
data/Rakefile CHANGED
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  require 'bundler/setup'
3
2
  Bundler::GemHelper.install_tasks
4
3
 
data/delayed_job.gemspec CHANGED
@@ -1,5 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
1
  Gem::Specification.new do |spec|
4
2
  spec.add_dependency 'activesupport', ['>= 3.0', '< 4.2']
5
3
  spec.authors = ["Brandon Keepers", "Brian Ryckbost", "Chris Gaffney", "David Genord II", "Erik Michaels-Ober", "Matt Griffin", "Steve Richert", "Tobias Lütke"]
@@ -13,5 +11,5 @@ Gem::Specification.new do |spec|
13
11
  spec.require_paths = ['lib']
14
12
  spec.summary = 'Database-backed asynchronous priority queue system -- Extracted from Shopify'
15
13
  spec.test_files = Dir.glob('spec/**/*')
16
- spec.version = '4.0.1'
14
+ spec.version = '4.0.2'
17
15
  end
@@ -527,7 +527,7 @@ shared_examples_for "a delayed_job backend" do
527
527
  @job = Delayed::Job.create :payload_object => SimpleJob.new
528
528
  end
529
529
 
530
- share_examples_for "any failure more than Worker.max_attempts times" do
530
+ shared_examples_for "any failure more than Worker.max_attempts times" do
531
531
  context "when the job's payload has a #failure hook" do
532
532
  before do
533
533
  @job = Delayed::Job.create :payload_object => OnPermanentFailureJob.new
data/spec/worker_spec.rb CHANGED
@@ -106,7 +106,7 @@ describe Delayed::Worker do
106
106
  @worker.name = 'ExampleJob'
107
107
  @worker.logger = double('job')
108
108
  time = Time.now
109
- Time.stub(:now).and_return(time)
109
+ allow(Time).to receive(:now).and_return(time)
110
110
  @text = "Job executed"
111
111
  @worker_name = "[Worker(ExampleJob)]"
112
112
  @expected_time = time.strftime('%FT%T%z')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayed_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Keepers
@@ -15,26 +15,26 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2014-04-12 00:00:00.000000000 Z
18
+ date: 2014-06-24 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activesupport
22
22
  requirement: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
- - - "<"
27
+ - - <
28
28
  - !ruby/object:Gem::Version
29
29
  version: '4.2'
30
30
  type: :runtime
31
31
  prerelease: false
32
32
  version_requirements: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ">="
34
+ - - ! '>='
35
35
  - !ruby/object:Gem::Version
36
36
  version: '3.0'
37
- - - "<"
37
+ - - <
38
38
  - !ruby/object:Gem::Version
39
39
  version: '4.2'
40
40
  description: Delayed_job (or DJ) encapsulates the common pattern of asynchronously
@@ -105,12 +105,12 @@ require_paths:
105
105
  - lib
106
106
  required_ruby_version: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
- - - ">="
113
+ - - ! '>='
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []