delayed_job_active_record 4.0.0.beta3 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,5 +15,5 @@ Gem::Specification.new do |spec|
15
15
  spec.require_paths = ['lib']
16
16
  spec.summary = 'ActiveRecord backend for DelayedJob'
17
17
  spec.test_files = Dir.glob("spec/**/*")
18
- spec.version = '4.0.0.beta3'
18
+ spec.version = '4.0.0'
19
19
  end
@@ -68,7 +68,7 @@ module Delayed
68
68
  count = ready_scope.limit(1).update_all(:locked_at => now, :locked_by => worker.name)
69
69
  return nil if count == 0
70
70
  self.where(:locked_at => now, :locked_by => worker.name, :failed_at => nil).first
71
- when "MSSQL"
71
+ when "MSSQL", "Teradata"
72
72
  # The MSSQL driver doesn't generate a limit clause when update_all is called directly
73
73
  subsubquery_sql = ready_scope.limit(1).to_sql
74
74
  # select("id") doesn't generate a subquery, so force a subquery
@@ -1,6 +1,7 @@
1
1
  require 'generators/delayed_job/delayed_job_generator'
2
2
  require 'generators/delayed_job/next_migration_version'
3
3
  require 'rails/generators/migration'
4
+ require 'rails/generators/active_record'
4
5
 
5
6
  # Extend the DelayedJobGenerator so that it creates an AR migration
6
7
  module DelayedJob
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayed_job_active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.beta3
4
+ version: 4.0.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Brian Ryckbost
@@ -10,12 +11,12 @@ authors:
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2013-05-28 00:00:00.000000000 Z
14
+ date: 2013-07-30 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
- prerelease: false
17
17
  name: activerecord
18
- version_requirements: !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
19
+ none: false
19
20
  requirements:
20
21
  - - ! '>='
21
22
  - !ruby/object:Gem::Version
@@ -23,7 +24,10 @@ dependencies:
23
24
  - - <
24
25
  - !ruby/object:Gem::Version
25
26
  version: '4.1'
26
- requirement: !ruby/object:Gem::Requirement
27
+ type: :runtime
28
+ prerelease: false
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ none: false
27
31
  requirements:
28
32
  - - ! '>='
29
33
  - !ruby/object:Gem::Version
@@ -31,11 +35,10 @@ dependencies:
31
35
  - - <
32
36
  - !ruby/object:Gem::Version
33
37
  version: '4.1'
34
- type: :runtime
35
38
  - !ruby/object:Gem::Dependency
36
- prerelease: false
37
39
  name: delayed_job
38
- version_requirements: !ruby/object:Gem::Requirement
40
+ requirement: !ruby/object:Gem::Requirement
41
+ none: false
39
42
  requirements:
40
43
  - - ! '>='
41
44
  - !ruby/object:Gem::Version
@@ -43,7 +46,10 @@ dependencies:
43
46
  - - <
44
47
  - !ruby/object:Gem::Version
45
48
  version: '4.1'
46
- requirement: !ruby/object:Gem::Requirement
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ none: false
47
53
  requirements:
48
54
  - - ! '>='
49
55
  - !ruby/object:Gem::Version
@@ -51,7 +57,6 @@ dependencies:
51
57
  - - <
52
58
  - !ruby/object:Gem::Version
53
59
  version: '4.1'
54
- type: :runtime
55
60
  description: ActiveRecord backend for Delayed::Job, originally authored by Tobias
56
61
  Lütke
57
62
  email:
@@ -81,26 +86,33 @@ files:
81
86
  homepage: http://github.com/collectiveidea/delayed_job_active_record
82
87
  licenses:
83
88
  - MIT
84
- metadata: {}
85
89
  post_install_message:
86
90
  rdoc_options: []
87
91
  require_paths:
88
92
  - lib
89
93
  required_ruby_version: !ruby/object:Gem::Requirement
94
+ none: false
90
95
  requirements:
91
96
  - - ! '>='
92
97
  - !ruby/object:Gem::Version
93
98
  version: '0'
99
+ segments:
100
+ - 0
101
+ hash: -2147711045897960751
94
102
  required_rubygems_version: !ruby/object:Gem::Requirement
103
+ none: false
95
104
  requirements:
96
- - - ! '>'
105
+ - - ! '>='
97
106
  - !ruby/object:Gem::Version
98
- version: 1.3.1
107
+ version: '0'
108
+ segments:
109
+ - 0
110
+ hash: -2147711045897960751
99
111
  requirements: []
100
112
  rubyforge_project:
101
- rubygems_version: 2.0.3
113
+ rubygems_version: 1.8.23
102
114
  signing_key:
103
- specification_version: 4
115
+ specification_version: 3
104
116
  summary: ActiveRecord backend for DelayedJob
105
117
  test_files:
106
118
  - spec/database.yml
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjhkN2JjN2FiYWVkMTM0ZWRlMjA4NjBiZWE2NjZmYWM5YzNkZTJjZQ==
5
- data.tar.gz: !binary |-
6
- NDFiNDA5ZTQ5MTA3ZmU3NWJmMzkzMWFhNWU4MGZmMjM1MjJkOGRmMQ==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- N2FhMjcwZTBmMzkyNWEzMTg0MjhlMDY1NmExNzU2NGUyMjM2MzgzMDVjMTlk
10
- MjIzMDE4YTQ3MWYwZjNjZmY4NDc2MzA1MzlmMzBkNTZjYmY0YzE3NzI1ZmY2
11
- NjVmZjMwZDExNjdkNDhlNDYyMjE3ZmFhMThiODk4YjRlNDNjYTc=
12
- data.tar.gz: !binary |-
13
- YTdjMGVhMWM1MjM5OTE5NzI1ZmZiYjlkNjcxNTg2ODkzYzRlZWQ5ZWQ4Y2I2
14
- MzE1NmNjZWY3NDdiM2JmYTc4Y2RkMDJkNmM3ZWI0NDJlMjU1MTUyNjA0YWI5
15
- NGZkNGE3M2U5NGI1YWQ1MzA5ODMwYzAyODA5Y2RjZDQxODlkZTE=