inst-jobs 0.13.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59c2643528ac5d09160a35e1d4fd338d058b593d
4
- data.tar.gz: 69e5d68901df56c91fc10df1eaafb973877ef9fa
3
+ metadata.gz: 88d026d10899b3fcef92fba22bed66e9ba05bce9
4
+ data.tar.gz: 2dca6bebaa087750b6795277d0a16f998703ad03
5
5
  SHA512:
6
- metadata.gz: e9b5d4be7a15c770a825beffc9d175a0f6b6318e6df899af14995f90f52dc24f23adc7b4f90321e8cb9eba2818ed0ac7889394d382ce86b18fe58d61aef91f60
7
- data.tar.gz: 31d950b9b5bc5d843f9ed04f316f0ce076b3ba4e32f5284c499a1ed1cd4d4ab36d674246fdb31fdefde8d25b02a42e84e3568f5af567fb35637250a91e37f1c3
6
+ metadata.gz: 7284fd2de413d4743a095bc006c3250ddc8cab09e40d9c1c907d0417a6c51da77b6bbce6fe4c021684974100cca044356eb84c9ae1ab60b27be1f692cfeb7889
7
+ data.tar.gz: ea2690ae29842daefc978f32964508f18ce7664e9ac0b95bc4d12c864b4a93d06d57906405b659ed83c76c5858f9ae38c270711d9c23ea07a03439a829996693
@@ -16,13 +16,6 @@ module Delayed
16
16
  class Job < ::ActiveRecord::Base
17
17
  include Delayed::Backend::Base
18
18
  self.table_name = :delayed_jobs
19
- # Rails hasn't completely loaded yet, and setting the table name will cache some stuff
20
- # so reset that cache so that it will load correctly after Rails is all loaded
21
- # It's fixed in Rails 5 to not cache anything when you set the table_name
22
- if Rails.version < '5' && Rails.version >= '4.2'
23
- @arel_engine = nil
24
- @arel_table = nil
25
- end
26
19
 
27
20
  def self.reconnect!
28
21
  clear_all_connections!
@@ -412,6 +405,17 @@ module Delayed
412
405
  class Failed < Job
413
406
  include Delayed::Backend::Base
414
407
  self.table_name = :failed_jobs
408
+ # Rails hasn't completely loaded yet, and setting the table name will cache some stuff
409
+ # so reset that cache so that it will load correctly after Rails is all loaded
410
+ # It's fixed in Rails 5 to not cache anything when you set the table_name
411
+ if Rails.version < '5' && Rails.version >= '4.2'
412
+ @arel_engine = nil
413
+ @arel_table = nil
414
+ end
415
+ end
416
+ if Rails.version < '5' && Rails.version >= '4.2'
417
+ @arel_engine = nil
418
+ @arel_table = nil
415
419
  end
416
420
  end
417
421
 
@@ -1,3 +1,3 @@
1
1
  module Delayed
2
- VERSION = "0.13.0"
2
+ VERSION = "0.13.1"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- inst-jobs (0.12.3)
4
+ inst-jobs (0.12.2)
5
5
  after_transaction_commit (~> 1.0)
6
6
  rails (>= 4.2)
7
7
  redis (> 3.0)
@@ -11,55 +11,57 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- actionmailer (4.2.8)
15
- actionpack (= 4.2.8)
16
- actionview (= 4.2.8)
17
- activejob (= 4.2.8)
14
+ actionmailer (4.2.7.1)
15
+ actionpack (= 4.2.7.1)
16
+ actionview (= 4.2.7.1)
17
+ activejob (= 4.2.7.1)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 1.0, >= 1.0.5)
20
- actionpack (4.2.8)
21
- actionview (= 4.2.8)
22
- activesupport (= 4.2.8)
20
+ actionpack (4.2.7.1)
21
+ actionview (= 4.2.7.1)
22
+ activesupport (= 4.2.7.1)
23
23
  rack (~> 1.6)
24
24
  rack-test (~> 0.6.2)
25
25
  rails-dom-testing (~> 1.0, >= 1.0.5)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (4.2.8)
28
- activesupport (= 4.2.8)
27
+ actionview (4.2.7.1)
28
+ activesupport (= 4.2.7.1)
29
29
  builder (~> 3.1)
30
30
  erubis (~> 2.7.0)
31
31
  rails-dom-testing (~> 1.0, >= 1.0.5)
32
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (4.2.8)
34
- activesupport (= 4.2.8)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
33
+ activejob (4.2.7.1)
34
+ activesupport (= 4.2.7.1)
35
35
  globalid (>= 0.3.0)
36
- activemodel (4.2.8)
37
- activesupport (= 4.2.8)
36
+ activemodel (4.2.7.1)
37
+ activesupport (= 4.2.7.1)
38
38
  builder (~> 3.1)
39
- activerecord (4.2.8)
40
- activemodel (= 4.2.8)
41
- activesupport (= 4.2.8)
39
+ activerecord (4.2.7.1)
40
+ activemodel (= 4.2.7.1)
41
+ activesupport (= 4.2.7.1)
42
42
  arel (~> 6.0)
43
- activesupport (4.2.8)
43
+ activesupport (4.2.7.1)
44
44
  i18n (~> 0.7)
45
+ json (~> 1.7, >= 1.7.7)
45
46
  minitest (~> 5.1)
46
47
  thread_safe (~> 0.3, >= 0.3.4)
47
48
  tzinfo (~> 1.1)
48
49
  after_transaction_commit (1.1.1)
49
50
  activerecord (>= 4.0)
50
51
  arel (6.0.4)
51
- backports (3.7.0)
52
+ backports (3.6.8)
52
53
  builder (3.2.3)
53
54
  bump (0.5.3)
54
55
  byebug (9.0.6)
55
56
  coderay (1.1.1)
56
- concurrent-ruby (1.0.5)
57
+ concurrent-ruby (1.0.4)
57
58
  database_cleaner (1.3.0)
58
59
  diff-lcs (1.3)
59
60
  erubis (2.7.0)
60
- globalid (0.4.0)
61
- activesupport (>= 4.2.0)
62
- i18n (0.8.1)
61
+ globalid (0.3.7)
62
+ activesupport (>= 4.1.0)
63
+ i18n (0.7.0)
64
+ json (1.8.6)
63
65
  loofah (2.0.3)
64
66
  nokogiri (>= 1.5.9)
65
67
  mail (2.6.4)
@@ -71,9 +73,9 @@ GEM
71
73
  mini_portile2 (2.1.0)
72
74
  minitest (5.10.1)
73
75
  multi_json (1.12.1)
74
- nokogiri (1.7.1)
76
+ nokogiri (1.7.0.1)
75
77
  mini_portile2 (~> 2.1.0)
76
- pg (0.20.0)
78
+ pg (0.19.0)
77
79
  pry (0.10.4)
78
80
  coderay (~> 1.1.0)
79
81
  method_source (~> 0.8.1)
@@ -83,16 +85,16 @@ GEM
83
85
  rack
84
86
  rack-test (0.6.3)
85
87
  rack (>= 1.0)
86
- rails (4.2.8)
87
- actionmailer (= 4.2.8)
88
- actionpack (= 4.2.8)
89
- actionview (= 4.2.8)
90
- activejob (= 4.2.8)
91
- activemodel (= 4.2.8)
92
- activerecord (= 4.2.8)
93
- activesupport (= 4.2.8)
88
+ rails (4.2.7.1)
89
+ actionmailer (= 4.2.7.1)
90
+ actionpack (= 4.2.7.1)
91
+ actionview (= 4.2.7.1)
92
+ activejob (= 4.2.7.1)
93
+ activemodel (= 4.2.7.1)
94
+ activerecord (= 4.2.7.1)
95
+ activesupport (= 4.2.7.1)
94
96
  bundler (>= 1.3.0, < 2.0)
95
- railties (= 4.2.8)
97
+ railties (= 4.2.7.1)
96
98
  sprockets-rails
97
99
  rails-deprecated_sanitizer (1.0.3)
98
100
  activesupport (>= 4.2.0.alpha)
@@ -102,9 +104,9 @@ GEM
102
104
  rails-deprecated_sanitizer (>= 1.0.1)
103
105
  rails-html-sanitizer (1.0.3)
104
106
  loofah (~> 2.0)
105
- railties (4.2.8)
106
- actionpack (= 4.2.8)
107
- activesupport (= 4.2.8)
107
+ railties (4.2.7.1)
108
+ actionpack (= 4.2.7.1)
109
+ activesupport (= 4.2.7.1)
108
110
  rake (>= 0.8.7)
109
111
  thor (>= 0.18.1, < 2.0)
110
112
  rake (12.0.0)
@@ -124,9 +126,9 @@ GEM
124
126
  diff-lcs (>= 1.2.0, < 2.0)
125
127
  rspec-support (~> 3.4.0)
126
128
  rspec-support (3.4.1)
127
- rufus-scheduler (3.3.4)
129
+ rufus-scheduler (3.3.3)
128
130
  tzinfo
129
- sinatra (1.4.8)
131
+ sinatra (1.4.7)
130
132
  rack (~> 1.5)
131
133
  rack-protection (~> 1.4)
132
134
  tilt (>= 1.3, < 3)
@@ -148,10 +150,10 @@ GEM
148
150
  test_after_commit (0.4.1)
149
151
  activerecord (>= 3.2)
150
152
  thor (0.19.4)
151
- thread_safe (0.3.6)
152
- tilt (2.0.7)
153
+ thread_safe (0.3.5)
154
+ tilt (2.0.5)
153
155
  timecop (0.7.1)
154
- tzinfo (1.2.3)
156
+ tzinfo (1.2.2)
155
157
  thread_safe (~> 0.1)
156
158
  wwtd (1.3.0)
157
159
 
@@ -176,4 +178,4 @@ DEPENDENCIES
176
178
  wwtd (~> 1.3.0)
177
179
 
178
180
  BUNDLED WITH
179
- 1.14.6
181
+ 1.14.3
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- inst-jobs (0.12.3)
4
+ inst-jobs (0.12.2)
5
5
  after_transaction_commit (~> 1.0)
6
6
  rails (>= 4.2)
7
7
  redis (> 3.0)
@@ -11,39 +11,39 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- actioncable (5.0.2)
15
- actionpack (= 5.0.2)
16
- nio4r (>= 1.2, < 3.0)
14
+ actioncable (5.0.1)
15
+ actionpack (= 5.0.1)
16
+ nio4r (~> 1.2)
17
17
  websocket-driver (~> 0.6.1)
18
- actionmailer (5.0.2)
19
- actionpack (= 5.0.2)
20
- actionview (= 5.0.2)
21
- activejob (= 5.0.2)
18
+ actionmailer (5.0.1)
19
+ actionpack (= 5.0.1)
20
+ actionview (= 5.0.1)
21
+ activejob (= 5.0.1)
22
22
  mail (~> 2.5, >= 2.5.4)
23
23
  rails-dom-testing (~> 2.0)
24
- actionpack (5.0.2)
25
- actionview (= 5.0.2)
26
- activesupport (= 5.0.2)
24
+ actionpack (5.0.1)
25
+ actionview (= 5.0.1)
26
+ activesupport (= 5.0.1)
27
27
  rack (~> 2.0)
28
28
  rack-test (~> 0.6.3)
29
29
  rails-dom-testing (~> 2.0)
30
30
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- actionview (5.0.2)
32
- activesupport (= 5.0.2)
31
+ actionview (5.0.1)
32
+ activesupport (= 5.0.1)
33
33
  builder (~> 3.1)
34
34
  erubis (~> 2.7.0)
35
35
  rails-dom-testing (~> 2.0)
36
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
37
- activejob (5.0.2)
38
- activesupport (= 5.0.2)
36
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
37
+ activejob (5.0.1)
38
+ activesupport (= 5.0.1)
39
39
  globalid (>= 0.3.6)
40
- activemodel (5.0.2)
41
- activesupport (= 5.0.2)
42
- activerecord (5.0.2)
43
- activemodel (= 5.0.2)
44
- activesupport (= 5.0.2)
40
+ activemodel (5.0.1)
41
+ activesupport (= 5.0.1)
42
+ activerecord (5.0.1)
43
+ activemodel (= 5.0.1)
44
+ activesupport (= 5.0.1)
45
45
  arel (~> 7.0)
46
- activesupport (5.0.2)
46
+ activesupport (5.0.1)
47
47
  concurrent-ruby (~> 1.0, >= 1.0.2)
48
48
  i18n (~> 0.7)
49
49
  minitest (~> 5.1)
@@ -51,18 +51,18 @@ GEM
51
51
  after_transaction_commit (1.1.1)
52
52
  activerecord (>= 4.0)
53
53
  arel (7.1.4)
54
- backports (3.7.0)
54
+ backports (3.6.8)
55
55
  builder (3.2.3)
56
56
  bump (0.5.3)
57
57
  byebug (9.0.6)
58
58
  coderay (1.1.1)
59
- concurrent-ruby (1.0.5)
59
+ concurrent-ruby (1.0.4)
60
60
  database_cleaner (1.3.0)
61
61
  diff-lcs (1.3)
62
62
  erubis (2.7.0)
63
- globalid (0.4.0)
64
- activesupport (>= 4.2.0)
65
- i18n (0.8.1)
63
+ globalid (0.3.7)
64
+ activesupport (>= 4.1.0)
65
+ i18n (0.7.0)
66
66
  loofah (2.0.3)
67
67
  nokogiri (>= 1.5.9)
68
68
  mail (2.6.4)
@@ -75,10 +75,10 @@ GEM
75
75
  minitest (5.10.1)
76
76
  multi_json (1.12.1)
77
77
  mustermann (1.0.0.beta2)
78
- nio4r (2.0.0)
79
- nokogiri (1.7.1)
78
+ nio4r (1.2.1)
79
+ nokogiri (1.7.0.1)
80
80
  mini_portile2 (~> 2.1.0)
81
- pg (0.20.0)
81
+ pg (0.19.0)
82
82
  pry (0.10.4)
83
83
  coderay (~> 1.1.0)
84
84
  method_source (~> 0.8.1)
@@ -88,26 +88,26 @@ GEM
88
88
  rack
89
89
  rack-test (0.6.3)
90
90
  rack (>= 1.0)
91
- rails (5.0.2)
92
- actioncable (= 5.0.2)
93
- actionmailer (= 5.0.2)
94
- actionpack (= 5.0.2)
95
- actionview (= 5.0.2)
96
- activejob (= 5.0.2)
97
- activemodel (= 5.0.2)
98
- activerecord (= 5.0.2)
99
- activesupport (= 5.0.2)
91
+ rails (5.0.1)
92
+ actioncable (= 5.0.1)
93
+ actionmailer (= 5.0.1)
94
+ actionpack (= 5.0.1)
95
+ actionview (= 5.0.1)
96
+ activejob (= 5.0.1)
97
+ activemodel (= 5.0.1)
98
+ activerecord (= 5.0.1)
99
+ activesupport (= 5.0.1)
100
100
  bundler (>= 1.3.0, < 2.0)
101
- railties (= 5.0.2)
101
+ railties (= 5.0.1)
102
102
  sprockets-rails (>= 2.0.0)
103
103
  rails-dom-testing (2.0.2)
104
104
  activesupport (>= 4.2.0, < 6.0)
105
105
  nokogiri (~> 1.6)
106
106
  rails-html-sanitizer (1.0.3)
107
107
  loofah (~> 2.0)
108
- railties (5.0.2)
109
- actionpack (= 5.0.2)
110
- activesupport (= 5.0.2)
108
+ railties (5.0.1)
109
+ actionpack (= 5.0.1)
110
+ activesupport (= 5.0.1)
111
111
  method_source
112
112
  rake (>= 0.8.7)
113
113
  thor (>= 0.18.1, < 2.0)
@@ -128,7 +128,7 @@ GEM
128
128
  diff-lcs (>= 1.2.0, < 2.0)
129
129
  rspec-support (~> 3.4.0)
130
130
  rspec-support (3.4.1)
131
- rufus-scheduler (3.3.4)
131
+ rufus-scheduler (3.3.3)
132
132
  tzinfo
133
133
  sinatra (2.0.0.beta2)
134
134
  mustermann (= 1.0.0.beta2)
@@ -154,10 +154,10 @@ GEM
154
154
  test_after_commit (0.4.1)
155
155
  activerecord (>= 3.2)
156
156
  thor (0.19.4)
157
- thread_safe (0.3.6)
158
- tilt (2.0.7)
157
+ thread_safe (0.3.5)
158
+ tilt (2.0.5)
159
159
  timecop (0.7.1)
160
- tzinfo (1.2.3)
160
+ tzinfo (1.2.2)
161
161
  thread_safe (~> 0.1)
162
162
  websocket-driver (0.6.5)
163
163
  websocket-extensions (>= 0.1.0)
@@ -185,4 +185,4 @@ DEPENDENCIES
185
185
  wwtd (~> 1.3.0)
186
186
 
187
187
  BUNDLED WITH
188
- 1.14.6
188
+ 1.14.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inst-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke