inst-jobs 0.12.1 → 0.12.2

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: 17372b30ae01ad83a1a94d8fe5e3bcb38ad91155
4
- data.tar.gz: 2104ebf5b0f2518dcbb6cded76454455df39aff4
3
+ metadata.gz: e54233d4723347b7b7f9bb716eafab972e321295
4
+ data.tar.gz: 45c6624509f76496d8e8e95a881db1d412c423d0
5
5
  SHA512:
6
- metadata.gz: ad3bd5d9ff71acc4a012d8cdd1cfddd590719404f0774be0f25c98bcd97b2f477a263c378f187b8ec1b017a4d6876f4f55e165810734a56b395829dc210e8e8e
7
- data.tar.gz: 5b14d39f433a8640d1636ccdbd74359679a8d71855a76f602ded2a73ffb2b3c9ab2820ded05b37a635a4afa532052304a6e50a35d4ea63f0cca8e3bff8caad88
6
+ metadata.gz: c036ff8edfc57839c81d9de348e3e369e43fd0887618e5339121caa3a3f4ae48cf8107e934735194b45f6537a3b827eec3d3eaa08b7bc9685bbdcb2d1e5a9ca2
7
+ data.tar.gz: e7020a554885a5a97d18c0bc81a0aff48858cff1c98eda5a48af2e4cc957efd14300333644399d86986f5c1b1a008f98b895b684fb3aff70467451ed30711392
@@ -1,3 +1,3 @@
1
1
  module Delayed
2
- VERSION = "0.12.1"
2
+ VERSION = "0.12.2"
3
3
  end
@@ -51,22 +51,39 @@ class ParentProcess
51
51
  Client.new(Addrinfo.unix(@path))
52
52
  end
53
53
 
54
+ module SayUtil
55
+ def say(msg, level = :debug)
56
+ if defined?(Rails.logger) && Rails.logger
57
+ message = -> { "[#{Process.pid}]Q #{msg}" }
58
+ Rails.logger.send(level, self.class.name, &message)
59
+ else
60
+ puts(msg)
61
+ end
62
+ end
63
+ end
64
+
54
65
  class Client
55
66
  attr_reader :addrinfo
56
67
 
68
+ include SayUtil
69
+
57
70
  def initialize(addrinfo)
58
71
  @addrinfo = addrinfo
59
72
  end
60
73
 
61
74
  def get_and_lock_next_available(worker_name, worker_config)
62
75
  @socket ||= @addrinfo.connect
76
+ say("Requesting work using #{@socket.inspect}")
63
77
  Marshal.dump([worker_name, worker_config], @socket)
64
78
  response = Marshal.load(@socket)
65
79
  unless response.nil? || (response.is_a?(Delayed::Job) && response.locked_by == worker_name)
80
+ say("Received invalid response from server: #{response.inspect}")
66
81
  raise(ProtocolError, "response is not a locked job: #{response.inspect}")
67
82
  end
83
+ say("Received work from server: #{response.inspect}")
68
84
  response
69
- rescue SystemCallError, IOError
85
+ rescue SystemCallError, IOError => ex
86
+ say("Work queue connection lost, reestablishing on next poll. (#{ex})", :error)
70
87
  # The work queue process died. Return nil to signal the worker
71
88
  # process should sleep as if no job was found, and then retry.
72
89
  @socket = nil
@@ -77,6 +94,8 @@ class ParentProcess
77
94
  class Server
78
95
  attr_reader :listen_socket
79
96
 
97
+ include SayUtil
98
+
80
99
  def initialize(listen_socket, parent_pid: nil)
81
100
  @listen_socket = listen_socket
82
101
  @parent_pid = parent_pid
@@ -92,14 +111,6 @@ class ParentProcess
92
111
  !@clients.any? { |_, c| c.working }
93
112
  end
94
113
 
95
- def say(msg, level = :debug)
96
- if defined?(Rails.logger) && Rails.logger
97
- Rails.logger.send(level, "[#{Process.pid}]Q #{msg}")
98
- else
99
- puts(msg)
100
- end
101
- end
102
-
103
114
  # run the server queue worker
104
115
  # this method does not return, only exits or raises an exception
105
116
  def run
@@ -110,7 +121,7 @@ class ParentProcess
110
121
  end
111
122
 
112
123
  rescue => e
113
- say "WorkQueue Server died: #{e.inspect}"
124
+ say "WorkQueue Server died: #{e.inspect}", :error
114
125
  raise
115
126
  end
116
127
 
@@ -140,6 +151,7 @@ class ParentProcess
140
151
  @clients[socket] = ClientState.new(false, socket)
141
152
  end
142
153
  rescue IO::WaitReadable
154
+ say("Server attempted to read listen_socket but failed with IO::WaitReadable", :error)
143
155
  # ignore and just try accepting again next time through the loop
144
156
  end
145
157
 
@@ -154,7 +166,8 @@ class ParentProcess
154
166
  client.working = false
155
167
  (@waiting_clients[worker_config] ||= []) << client
156
168
 
157
- rescue SystemCallError, IOError, Timeout::Error
169
+ rescue SystemCallError, IOError, Timeout::Error => ex
170
+ say("Receiving message from client (#{socket}) failed: #{ex.inspect}", :error)
158
171
  drop_socket(socket)
159
172
  end
160
173
 
@@ -0,0 +1,160 @@
1
+ PATH
2
+ remote: ../../
3
+ specs:
4
+ inst-jobs (0.11.3)
5
+ after_transaction_commit (= 1.0.1)
6
+ rails (>= 3.2)
7
+ redis (> 3.0)
8
+ redis-scripting (~> 1.0.1)
9
+ rufus-scheduler (~> 3.1.2)
10
+ thor (>= 0.14.6, < 2.0)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ actionmailer (3.2.22.2)
16
+ actionpack (= 3.2.22.2)
17
+ mail (~> 2.5.4)
18
+ actionpack (3.2.22.2)
19
+ activemodel (= 3.2.22.2)
20
+ activesupport (= 3.2.22.2)
21
+ builder (~> 3.0.0)
22
+ erubis (~> 2.7.0)
23
+ journey (~> 1.0.4)
24
+ rack (~> 1.4.5)
25
+ rack-cache (~> 1.2)
26
+ rack-test (~> 0.6.1)
27
+ sprockets (~> 2.2.1)
28
+ activemodel (3.2.22.2)
29
+ activesupport (= 3.2.22.2)
30
+ builder (~> 3.0.0)
31
+ activerecord (3.2.22.2)
32
+ activemodel (= 3.2.22.2)
33
+ activesupport (= 3.2.22.2)
34
+ arel (~> 3.0.2)
35
+ tzinfo (~> 0.3.29)
36
+ activeresource (3.2.22.2)
37
+ activemodel (= 3.2.22.2)
38
+ activesupport (= 3.2.22.2)
39
+ activesupport (3.2.22.2)
40
+ i18n (~> 0.6, >= 0.6.4)
41
+ multi_json (~> 1.0)
42
+ after_transaction_commit (1.0.1)
43
+ activerecord (>= 3.2)
44
+ arel (3.0.3)
45
+ backports (3.6.8)
46
+ builder (3.0.4)
47
+ bump (0.5.3)
48
+ coderay (1.1.1)
49
+ database_cleaner (1.3.0)
50
+ diff-lcs (1.2.5)
51
+ erubis (2.7.0)
52
+ hike (1.2.3)
53
+ i18n (0.7.0)
54
+ journey (1.0.4)
55
+ json (1.8.3)
56
+ mail (2.5.4)
57
+ mime-types (~> 1.16)
58
+ treetop (~> 1.4.8)
59
+ method_source (0.8.2)
60
+ mime-types (1.25.1)
61
+ multi_json (1.12.1)
62
+ pg (0.18.4)
63
+ polyglot (0.3.5)
64
+ pry (0.10.4)
65
+ coderay (~> 1.1.0)
66
+ method_source (~> 0.8.1)
67
+ slop (~> 3.4)
68
+ rack (1.4.7)
69
+ rack-cache (1.6.1)
70
+ rack (>= 0.4)
71
+ rack-protection (1.5.3)
72
+ rack
73
+ rack-ssl (1.3.4)
74
+ rack
75
+ rack-test (0.6.3)
76
+ rack (>= 1.0)
77
+ rails (3.2.22.2)
78
+ actionmailer (= 3.2.22.2)
79
+ actionpack (= 3.2.22.2)
80
+ activerecord (= 3.2.22.2)
81
+ activeresource (= 3.2.22.2)
82
+ activesupport (= 3.2.22.2)
83
+ bundler (~> 1.0)
84
+ railties (= 3.2.22.2)
85
+ railties (3.2.22.2)
86
+ actionpack (= 3.2.22.2)
87
+ activesupport (= 3.2.22.2)
88
+ rack-ssl (~> 1.3.2)
89
+ rake (>= 0.8.7)
90
+ rdoc (~> 3.4)
91
+ thor (>= 0.14.6, < 2.0)
92
+ rake (11.2.2)
93
+ rdoc (3.12.2)
94
+ json (~> 1.4)
95
+ redis (3.3.1)
96
+ redis-scripting (1.0.1)
97
+ redis (>= 3.0)
98
+ rspec (3.4.0)
99
+ rspec-core (~> 3.4.0)
100
+ rspec-expectations (~> 3.4.0)
101
+ rspec-mocks (~> 3.4.0)
102
+ rspec-core (3.4.4)
103
+ rspec-support (~> 3.4.0)
104
+ rspec-expectations (3.4.0)
105
+ diff-lcs (>= 1.2.0, < 2.0)
106
+ rspec-support (~> 3.4.0)
107
+ rspec-mocks (3.4.1)
108
+ diff-lcs (>= 1.2.0, < 2.0)
109
+ rspec-support (~> 3.4.0)
110
+ rspec-support (3.4.1)
111
+ rufus-scheduler (3.1.10)
112
+ sinatra (1.4.6)
113
+ rack (~> 1.4)
114
+ rack-protection (~> 1.4)
115
+ tilt (>= 1.3, < 3)
116
+ sinatra-contrib (1.4.7)
117
+ backports (>= 2.0)
118
+ multi_json
119
+ rack-protection
120
+ rack-test
121
+ sinatra (~> 1.4.0)
122
+ tilt (>= 1.3, < 3)
123
+ slop (3.6.0)
124
+ sprockets (2.2.3)
125
+ hike (~> 1.2)
126
+ multi_json (~> 1.0)
127
+ rack (~> 1.0)
128
+ tilt (~> 1.1, != 1.3.0)
129
+ test_after_commit (0.4.1)
130
+ activerecord (>= 3.2)
131
+ thor (0.19.1)
132
+ tilt (1.4.1)
133
+ timecop (0.7.1)
134
+ treetop (1.4.15)
135
+ polyglot
136
+ polyglot (>= 0.3.1)
137
+ tzinfo (0.3.51)
138
+ wwtd (1.3.0)
139
+
140
+ PLATFORMS
141
+ ruby
142
+
143
+ DEPENDENCIES
144
+ bump
145
+ database_cleaner (= 1.3.0)
146
+ inst-jobs!
147
+ pg
148
+ pry
149
+ rack-test
150
+ rails (~> 3.2.19)
151
+ rake
152
+ rspec (= 3.4.0)
153
+ sinatra
154
+ sinatra-contrib
155
+ test_after_commit (= 0.4.1)
156
+ timecop (= 0.7.1)
157
+ wwtd (~> 1.3.0)
158
+
159
+ BUNDLED WITH
160
+ 1.12.5
@@ -0,0 +1,148 @@
1
+ PATH
2
+ remote: ../../
3
+ specs:
4
+ inst-jobs (0.11.3)
5
+ after_transaction_commit (= 1.0.1)
6
+ rails (>= 3.2)
7
+ redis (> 3.0)
8
+ redis-scripting (~> 1.0.1)
9
+ rufus-scheduler (~> 3.1.2)
10
+ thor (>= 0.14.6, < 2.0)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ actionmailer (4.0.13)
16
+ actionpack (= 4.0.13)
17
+ mail (~> 2.5, >= 2.5.4)
18
+ actionpack (4.0.13)
19
+ activesupport (= 4.0.13)
20
+ builder (~> 3.1.0)
21
+ erubis (~> 2.7.0)
22
+ rack (~> 1.5.2)
23
+ rack-test (~> 0.6.2)
24
+ activemodel (4.0.13)
25
+ activesupport (= 4.0.13)
26
+ builder (~> 3.1.0)
27
+ activerecord (4.0.13)
28
+ activemodel (= 4.0.13)
29
+ activerecord-deprecated_finders (~> 1.0.2)
30
+ activesupport (= 4.0.13)
31
+ arel (~> 4.0.0)
32
+ activerecord-deprecated_finders (1.0.4)
33
+ activesupport (4.0.13)
34
+ i18n (~> 0.6, >= 0.6.9)
35
+ minitest (~> 4.2)
36
+ multi_json (~> 1.3)
37
+ thread_safe (~> 0.1)
38
+ tzinfo (~> 0.3.37)
39
+ after_transaction_commit (1.0.1)
40
+ activerecord (>= 3.2)
41
+ arel (4.0.2)
42
+ backports (3.6.8)
43
+ builder (3.1.4)
44
+ bump (0.5.3)
45
+ coderay (1.1.1)
46
+ concurrent-ruby (1.0.2)
47
+ database_cleaner (1.3.0)
48
+ diff-lcs (1.2.5)
49
+ erubis (2.7.0)
50
+ i18n (0.7.0)
51
+ mail (2.6.4)
52
+ mime-types (>= 1.16, < 4)
53
+ method_source (0.8.2)
54
+ mime-types (3.1)
55
+ mime-types-data (~> 3.2015)
56
+ mime-types-data (3.2016.0521)
57
+ minitest (4.7.5)
58
+ multi_json (1.12.1)
59
+ pg (0.18.4)
60
+ pry (0.10.4)
61
+ coderay (~> 1.1.0)
62
+ method_source (~> 0.8.1)
63
+ slop (~> 3.4)
64
+ rack (1.5.5)
65
+ rack-protection (1.5.3)
66
+ rack
67
+ rack-test (0.6.3)
68
+ rack (>= 1.0)
69
+ rails (4.0.13)
70
+ actionmailer (= 4.0.13)
71
+ actionpack (= 4.0.13)
72
+ activerecord (= 4.0.13)
73
+ activesupport (= 4.0.13)
74
+ bundler (>= 1.3.0, < 2.0)
75
+ railties (= 4.0.13)
76
+ sprockets-rails (~> 2.0)
77
+ railties (4.0.13)
78
+ actionpack (= 4.0.13)
79
+ activesupport (= 4.0.13)
80
+ rake (>= 0.8.7)
81
+ thor (>= 0.18.1, < 2.0)
82
+ rake (11.2.2)
83
+ redis (3.3.1)
84
+ redis-scripting (1.0.1)
85
+ redis (>= 3.0)
86
+ rspec (3.4.0)
87
+ rspec-core (~> 3.4.0)
88
+ rspec-expectations (~> 3.4.0)
89
+ rspec-mocks (~> 3.4.0)
90
+ rspec-core (3.4.4)
91
+ rspec-support (~> 3.4.0)
92
+ rspec-expectations (3.4.0)
93
+ diff-lcs (>= 1.2.0, < 2.0)
94
+ rspec-support (~> 3.4.0)
95
+ rspec-mocks (3.4.1)
96
+ diff-lcs (>= 1.2.0, < 2.0)
97
+ rspec-support (~> 3.4.0)
98
+ rspec-support (3.4.1)
99
+ rufus-scheduler (3.1.10)
100
+ sinatra (1.4.7)
101
+ rack (~> 1.5)
102
+ rack-protection (~> 1.4)
103
+ tilt (>= 1.3, < 3)
104
+ sinatra-contrib (1.4.7)
105
+ backports (>= 2.0)
106
+ multi_json
107
+ rack-protection
108
+ rack-test
109
+ sinatra (~> 1.4.0)
110
+ tilt (>= 1.3, < 3)
111
+ slop (3.6.0)
112
+ sprockets (3.6.3)
113
+ concurrent-ruby (~> 1.0)
114
+ rack (> 1, < 3)
115
+ sprockets-rails (2.3.3)
116
+ actionpack (>= 3.0)
117
+ activesupport (>= 3.0)
118
+ sprockets (>= 2.8, < 4.0)
119
+ test_after_commit (0.4.1)
120
+ activerecord (>= 3.2)
121
+ thor (0.19.1)
122
+ thread_safe (0.3.5)
123
+ tilt (2.0.5)
124
+ timecop (0.7.1)
125
+ tzinfo (0.3.51)
126
+ wwtd (1.3.0)
127
+
128
+ PLATFORMS
129
+ ruby
130
+
131
+ DEPENDENCIES
132
+ bump
133
+ database_cleaner (= 1.3.0)
134
+ inst-jobs!
135
+ pg
136
+ pry
137
+ rack-test
138
+ rails (~> 4.0.10)
139
+ rake
140
+ rspec (= 3.4.0)
141
+ sinatra
142
+ sinatra-contrib
143
+ test_after_commit (= 0.4.1)
144
+ timecop (= 0.7.1)
145
+ wwtd (~> 1.3.0)
146
+
147
+ BUNDLED WITH
148
+ 1.12.5
@@ -0,0 +1,154 @@
1
+ PATH
2
+ remote: ../../
3
+ specs:
4
+ inst-jobs (0.11.3)
5
+ after_transaction_commit (= 1.0.1)
6
+ rails (>= 3.2)
7
+ redis (> 3.0)
8
+ redis-scripting (~> 1.0.1)
9
+ rufus-scheduler (~> 3.1.2)
10
+ thor (>= 0.14.6, < 2.0)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ actionmailer (4.1.16)
16
+ actionpack (= 4.1.16)
17
+ actionview (= 4.1.16)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ actionpack (4.1.16)
20
+ actionview (= 4.1.16)
21
+ activesupport (= 4.1.16)
22
+ rack (~> 1.5.2)
23
+ rack-test (~> 0.6.2)
24
+ actionview (4.1.16)
25
+ activesupport (= 4.1.16)
26
+ builder (~> 3.1)
27
+ erubis (~> 2.7.0)
28
+ activemodel (4.1.16)
29
+ activesupport (= 4.1.16)
30
+ builder (~> 3.1)
31
+ activerecord (4.1.16)
32
+ activemodel (= 4.1.16)
33
+ activesupport (= 4.1.16)
34
+ arel (~> 5.0.0)
35
+ activesupport (4.1.16)
36
+ i18n (~> 0.6, >= 0.6.9)
37
+ json (~> 1.7, >= 1.7.7)
38
+ minitest (~> 5.1)
39
+ thread_safe (~> 0.1)
40
+ tzinfo (~> 1.1)
41
+ after_transaction_commit (1.0.1)
42
+ activerecord (>= 3.2)
43
+ arel (5.0.1.20140414130214)
44
+ backports (3.6.8)
45
+ builder (3.2.2)
46
+ bump (0.5.3)
47
+ coderay (1.1.1)
48
+ concurrent-ruby (1.0.2)
49
+ database_cleaner (1.3.0)
50
+ diff-lcs (1.2.5)
51
+ erubis (2.7.0)
52
+ i18n (0.7.0)
53
+ json (1.8.3)
54
+ mail (2.6.4)
55
+ mime-types (>= 1.16, < 4)
56
+ method_source (0.8.2)
57
+ mime-types (3.1)
58
+ mime-types-data (~> 3.2015)
59
+ mime-types-data (3.2016.0521)
60
+ minitest (5.9.0)
61
+ multi_json (1.12.1)
62
+ pg (0.18.4)
63
+ pry (0.10.4)
64
+ coderay (~> 1.1.0)
65
+ method_source (~> 0.8.1)
66
+ slop (~> 3.4)
67
+ rack (1.5.5)
68
+ rack-protection (1.5.3)
69
+ rack
70
+ rack-test (0.6.3)
71
+ rack (>= 1.0)
72
+ rails (4.1.16)
73
+ actionmailer (= 4.1.16)
74
+ actionpack (= 4.1.16)
75
+ actionview (= 4.1.16)
76
+ activemodel (= 4.1.16)
77
+ activerecord (= 4.1.16)
78
+ activesupport (= 4.1.16)
79
+ bundler (>= 1.3.0, < 2.0)
80
+ railties (= 4.1.16)
81
+ sprockets-rails (~> 2.0)
82
+ railties (4.1.16)
83
+ actionpack (= 4.1.16)
84
+ activesupport (= 4.1.16)
85
+ rake (>= 0.8.7)
86
+ thor (>= 0.18.1, < 2.0)
87
+ rake (11.2.2)
88
+ redis (3.3.1)
89
+ redis-scripting (1.0.1)
90
+ redis (>= 3.0)
91
+ rspec (3.4.0)
92
+ rspec-core (~> 3.4.0)
93
+ rspec-expectations (~> 3.4.0)
94
+ rspec-mocks (~> 3.4.0)
95
+ rspec-core (3.4.4)
96
+ rspec-support (~> 3.4.0)
97
+ rspec-expectations (3.4.0)
98
+ diff-lcs (>= 1.2.0, < 2.0)
99
+ rspec-support (~> 3.4.0)
100
+ rspec-mocks (3.4.1)
101
+ diff-lcs (>= 1.2.0, < 2.0)
102
+ rspec-support (~> 3.4.0)
103
+ rspec-support (3.4.1)
104
+ rufus-scheduler (3.1.10)
105
+ sinatra (1.4.7)
106
+ rack (~> 1.5)
107
+ rack-protection (~> 1.4)
108
+ tilt (>= 1.3, < 3)
109
+ sinatra-contrib (1.4.7)
110
+ backports (>= 2.0)
111
+ multi_json
112
+ rack-protection
113
+ rack-test
114
+ sinatra (~> 1.4.0)
115
+ tilt (>= 1.3, < 3)
116
+ slop (3.6.0)
117
+ sprockets (3.7.0)
118
+ concurrent-ruby (~> 1.0)
119
+ rack (> 1, < 3)
120
+ sprockets-rails (2.3.3)
121
+ actionpack (>= 3.0)
122
+ activesupport (>= 3.0)
123
+ sprockets (>= 2.8, < 4.0)
124
+ test_after_commit (0.4.1)
125
+ activerecord (>= 3.2)
126
+ thor (0.19.1)
127
+ thread_safe (0.3.5)
128
+ tilt (2.0.5)
129
+ timecop (0.7.1)
130
+ tzinfo (1.2.2)
131
+ thread_safe (~> 0.1)
132
+ wwtd (1.3.0)
133
+
134
+ PLATFORMS
135
+ ruby
136
+
137
+ DEPENDENCIES
138
+ bump
139
+ database_cleaner (= 1.3.0)
140
+ inst-jobs!
141
+ pg
142
+ pry
143
+ rack-test
144
+ rails (~> 4.1.6)
145
+ rake
146
+ rspec (= 3.4.0)
147
+ sinatra
148
+ sinatra-contrib
149
+ test_after_commit (= 0.4.1)
150
+ timecop (= 0.7.1)
151
+ wwtd (~> 1.3.0)
152
+
153
+ BUNDLED WITH
154
+ 1.12.5
@@ -1,66 +1,67 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- inst-jobs (0.11.6)
4
+ inst-jobs (0.12.1)
5
5
  after_transaction_commit (~> 1.0)
6
- rails (>= 3.2)
6
+ rails (>= 4.2)
7
7
  redis (> 3.0)
8
8
  redis-scripting (~> 1.0.1)
9
- rufus-scheduler (~> 3.2.0)
9
+ rufus-scheduler (~> 3.3.2)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- actionmailer (4.2.7.1)
15
- actionpack (= 4.2.7.1)
16
- actionview (= 4.2.7.1)
17
- activejob (= 4.2.7.1)
14
+ actionmailer (4.2.7)
15
+ actionpack (= 4.2.7)
16
+ actionview (= 4.2.7)
17
+ activejob (= 4.2.7)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 1.0, >= 1.0.5)
20
- actionpack (4.2.7.1)
21
- actionview (= 4.2.7.1)
22
- activesupport (= 4.2.7.1)
20
+ actionpack (4.2.7)
21
+ actionview (= 4.2.7)
22
+ activesupport (= 4.2.7)
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.7.1)
28
- activesupport (= 4.2.7.1)
27
+ actionview (4.2.7)
28
+ activesupport (= 4.2.7)
29
29
  builder (~> 3.1)
30
30
  erubis (~> 2.7.0)
31
31
  rails-dom-testing (~> 1.0, >= 1.0.5)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
33
- activejob (4.2.7.1)
34
- activesupport (= 4.2.7.1)
33
+ activejob (4.2.7)
34
+ activesupport (= 4.2.7)
35
35
  globalid (>= 0.3.0)
36
- activemodel (4.2.7.1)
37
- activesupport (= 4.2.7.1)
36
+ activemodel (4.2.7)
37
+ activesupport (= 4.2.7)
38
38
  builder (~> 3.1)
39
- activerecord (4.2.7.1)
40
- activemodel (= 4.2.7.1)
41
- activesupport (= 4.2.7.1)
39
+ activerecord (4.2.7)
40
+ activemodel (= 4.2.7)
41
+ activesupport (= 4.2.7)
42
42
  arel (~> 6.0)
43
- activesupport (4.2.7.1)
43
+ activesupport (4.2.7)
44
44
  i18n (~> 0.7)
45
45
  json (~> 1.7, >= 1.7.7)
46
46
  minitest (~> 5.1)
47
47
  thread_safe (~> 0.3, >= 0.3.4)
48
48
  tzinfo (~> 1.1)
49
- after_transaction_commit (1.1.0)
49
+ after_transaction_commit (1.1.1)
50
50
  activerecord (>= 4.0)
51
- arel (6.0.4)
51
+ arel (6.0.3)
52
52
  backports (3.6.8)
53
- builder (3.2.3)
53
+ builder (3.2.2)
54
54
  bump (0.5.3)
55
+ byebug (9.0.6)
55
56
  coderay (1.1.1)
56
- concurrent-ruby (1.0.4)
57
+ concurrent-ruby (1.0.2)
57
58
  database_cleaner (1.3.0)
58
- diff-lcs (1.3)
59
+ diff-lcs (1.2.5)
59
60
  erubis (2.7.0)
60
- globalid (0.3.7)
61
+ globalid (0.3.6)
61
62
  activesupport (>= 4.1.0)
62
63
  i18n (0.7.0)
63
- json (1.8.6)
64
+ json (1.8.3)
64
65
  loofah (2.0.3)
65
66
  nokogiri (>= 1.5.9)
66
67
  mail (2.6.4)
@@ -70,45 +71,47 @@ GEM
70
71
  mime-types-data (~> 3.2015)
71
72
  mime-types-data (3.2016.0521)
72
73
  mini_portile2 (2.1.0)
73
- minitest (5.10.1)
74
+ minitest (5.9.0)
74
75
  multi_json (1.12.1)
75
- nokogiri (1.7.0.1)
76
+ nokogiri (1.6.8)
76
77
  mini_portile2 (~> 2.1.0)
77
- pg (0.19.0)
78
+ pkg-config (~> 1.1.7)
79
+ pg (0.18.4)
80
+ pkg-config (1.1.7)
78
81
  pry (0.10.4)
79
82
  coderay (~> 1.1.0)
80
83
  method_source (~> 0.8.1)
81
84
  slop (~> 3.4)
82
- rack (1.6.5)
85
+ rack (1.6.4)
83
86
  rack-protection (1.5.3)
84
87
  rack
85
88
  rack-test (0.6.3)
86
89
  rack (>= 1.0)
87
- rails (4.2.7.1)
88
- actionmailer (= 4.2.7.1)
89
- actionpack (= 4.2.7.1)
90
- actionview (= 4.2.7.1)
91
- activejob (= 4.2.7.1)
92
- activemodel (= 4.2.7.1)
93
- activerecord (= 4.2.7.1)
94
- activesupport (= 4.2.7.1)
90
+ rails (4.2.7)
91
+ actionmailer (= 4.2.7)
92
+ actionpack (= 4.2.7)
93
+ actionview (= 4.2.7)
94
+ activejob (= 4.2.7)
95
+ activemodel (= 4.2.7)
96
+ activerecord (= 4.2.7)
97
+ activesupport (= 4.2.7)
95
98
  bundler (>= 1.3.0, < 2.0)
96
- railties (= 4.2.7.1)
99
+ railties (= 4.2.7)
97
100
  sprockets-rails
98
101
  rails-deprecated_sanitizer (1.0.3)
99
102
  activesupport (>= 4.2.0.alpha)
100
- rails-dom-testing (1.0.8)
103
+ rails-dom-testing (1.0.7)
101
104
  activesupport (>= 4.2.0.beta, < 5.0)
102
- nokogiri (~> 1.6)
105
+ nokogiri (~> 1.6.0)
103
106
  rails-deprecated_sanitizer (>= 1.0.1)
104
107
  rails-html-sanitizer (1.0.3)
105
108
  loofah (~> 2.0)
106
- railties (4.2.7.1)
107
- actionpack (= 4.2.7.1)
108
- activesupport (= 4.2.7.1)
109
+ railties (4.2.7)
110
+ actionpack (= 4.2.7)
111
+ activesupport (= 4.2.7)
109
112
  rake (>= 0.8.7)
110
113
  thor (>= 0.18.1, < 2.0)
111
- rake (12.0.0)
114
+ rake (11.2.2)
112
115
  redis (3.3.3)
113
116
  redis-scripting (1.0.1)
114
117
  redis (>= 3.0)
@@ -125,7 +128,8 @@ GEM
125
128
  diff-lcs (>= 1.2.0, < 2.0)
126
129
  rspec-support (~> 3.4.0)
127
130
  rspec-support (3.4.1)
128
- rufus-scheduler (3.2.2)
131
+ rufus-scheduler (3.3.4)
132
+ tzinfo
129
133
  sinatra (1.4.7)
130
134
  rack (~> 1.5)
131
135
  rack-protection (~> 1.4)
@@ -138,16 +142,16 @@ GEM
138
142
  sinatra (~> 1.4.0)
139
143
  tilt (>= 1.3, < 3)
140
144
  slop (3.6.0)
141
- sprockets (3.7.1)
145
+ sprockets (3.7.0)
142
146
  concurrent-ruby (~> 1.0)
143
147
  rack (> 1, < 3)
144
- sprockets-rails (3.2.0)
148
+ sprockets-rails (3.1.1)
145
149
  actionpack (>= 4.0)
146
150
  activesupport (>= 4.0)
147
151
  sprockets (>= 3.0.0)
148
152
  test_after_commit (0.4.1)
149
153
  activerecord (>= 3.2)
150
- thor (0.19.4)
154
+ thor (0.19.1)
151
155
  thread_safe (0.3.5)
152
156
  tilt (2.0.5)
153
157
  timecop (0.7.1)
@@ -160,6 +164,7 @@ PLATFORMS
160
164
 
161
165
  DEPENDENCIES
162
166
  bump
167
+ byebug
163
168
  database_cleaner (= 1.3.0)
164
169
  inst-jobs!
165
170
  pg
@@ -175,4 +180,4 @@ DEPENDENCIES
175
180
  wwtd (~> 1.3.0)
176
181
 
177
182
  BUNDLED WITH
178
- 1.14.3
183
+ 1.14.6
@@ -1,67 +1,68 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- inst-jobs (0.11.6)
4
+ inst-jobs (0.12.1)
5
5
  after_transaction_commit (~> 1.0)
6
- rails (>= 3.2)
6
+ rails (>= 4.2)
7
7
  redis (> 3.0)
8
8
  redis-scripting (~> 1.0.1)
9
- rufus-scheduler (~> 3.2.0)
9
+ rufus-scheduler (~> 3.3.2)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- actioncable (5.0.1)
15
- actionpack (= 5.0.1)
16
- nio4r (~> 1.2)
14
+ actioncable (5.0.2)
15
+ actionpack (= 5.0.2)
16
+ nio4r (>= 1.2, < 3.0)
17
17
  websocket-driver (~> 0.6.1)
18
- actionmailer (5.0.1)
19
- actionpack (= 5.0.1)
20
- actionview (= 5.0.1)
21
- activejob (= 5.0.1)
18
+ actionmailer (5.0.2)
19
+ actionpack (= 5.0.2)
20
+ actionview (= 5.0.2)
21
+ activejob (= 5.0.2)
22
22
  mail (~> 2.5, >= 2.5.4)
23
23
  rails-dom-testing (~> 2.0)
24
- actionpack (5.0.1)
25
- actionview (= 5.0.1)
26
- activesupport (= 5.0.1)
24
+ actionpack (5.0.2)
25
+ actionview (= 5.0.2)
26
+ activesupport (= 5.0.2)
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.1)
32
- activesupport (= 5.0.1)
31
+ actionview (5.0.2)
32
+ activesupport (= 5.0.2)
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.2)
37
- activejob (5.0.1)
38
- activesupport (= 5.0.1)
36
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
37
+ activejob (5.0.2)
38
+ activesupport (= 5.0.2)
39
39
  globalid (>= 0.3.6)
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)
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)
45
45
  arel (~> 7.0)
46
- activesupport (5.0.1)
46
+ activesupport (5.0.2)
47
47
  concurrent-ruby (~> 1.0, >= 1.0.2)
48
48
  i18n (~> 0.7)
49
49
  minitest (~> 5.1)
50
50
  tzinfo (~> 1.1)
51
- after_transaction_commit (1.1.0)
51
+ after_transaction_commit (1.1.1)
52
52
  activerecord (>= 4.0)
53
53
  arel (7.1.4)
54
- backports (3.6.8)
54
+ backports (3.7.0)
55
55
  builder (3.2.3)
56
56
  bump (0.5.3)
57
+ byebug (9.0.6)
57
58
  coderay (1.1.1)
58
- concurrent-ruby (1.0.4)
59
+ concurrent-ruby (1.0.5)
59
60
  database_cleaner (1.3.0)
60
61
  diff-lcs (1.3)
61
62
  erubis (2.7.0)
62
63
  globalid (0.3.7)
63
64
  activesupport (>= 4.1.0)
64
- i18n (0.7.0)
65
+ i18n (0.8.1)
65
66
  loofah (2.0.3)
66
67
  nokogiri (>= 1.5.9)
67
68
  mail (2.6.4)
@@ -74,10 +75,10 @@ GEM
74
75
  minitest (5.10.1)
75
76
  multi_json (1.12.1)
76
77
  mustermann (1.0.0.beta2)
77
- nio4r (1.2.1)
78
- nokogiri (1.7.0.1)
78
+ nio4r (2.0.0)
79
+ nokogiri (1.7.1)
79
80
  mini_portile2 (~> 2.1.0)
80
- pg (0.19.0)
81
+ pg (0.20.0)
81
82
  pry (0.10.4)
82
83
  coderay (~> 1.1.0)
83
84
  method_source (~> 0.8.1)
@@ -87,26 +88,26 @@ GEM
87
88
  rack
88
89
  rack-test (0.6.3)
89
90
  rack (>= 1.0)
90
- rails (5.0.1)
91
- actioncable (= 5.0.1)
92
- actionmailer (= 5.0.1)
93
- actionpack (= 5.0.1)
94
- actionview (= 5.0.1)
95
- activejob (= 5.0.1)
96
- activemodel (= 5.0.1)
97
- activerecord (= 5.0.1)
98
- activesupport (= 5.0.1)
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)
99
100
  bundler (>= 1.3.0, < 2.0)
100
- railties (= 5.0.1)
101
+ railties (= 5.0.2)
101
102
  sprockets-rails (>= 2.0.0)
102
103
  rails-dom-testing (2.0.2)
103
104
  activesupport (>= 4.2.0, < 6.0)
104
105
  nokogiri (~> 1.6)
105
106
  rails-html-sanitizer (1.0.3)
106
107
  loofah (~> 2.0)
107
- railties (5.0.1)
108
- actionpack (= 5.0.1)
109
- activesupport (= 5.0.1)
108
+ railties (5.0.2)
109
+ actionpack (= 5.0.2)
110
+ activesupport (= 5.0.2)
110
111
  method_source
111
112
  rake (>= 0.8.7)
112
113
  thor (>= 0.18.1, < 2.0)
@@ -127,7 +128,8 @@ GEM
127
128
  diff-lcs (>= 1.2.0, < 2.0)
128
129
  rspec-support (~> 3.4.0)
129
130
  rspec-support (3.4.1)
130
- rufus-scheduler (3.2.2)
131
+ rufus-scheduler (3.3.4)
132
+ tzinfo
131
133
  sinatra (2.0.0.beta2)
132
134
  mustermann (= 1.0.0.beta2)
133
135
  rack (~> 2.0)
@@ -152,10 +154,10 @@ GEM
152
154
  test_after_commit (0.4.1)
153
155
  activerecord (>= 3.2)
154
156
  thor (0.19.4)
155
- thread_safe (0.3.5)
156
- tilt (2.0.5)
157
+ thread_safe (0.3.6)
158
+ tilt (2.0.7)
157
159
  timecop (0.7.1)
158
- tzinfo (1.2.2)
160
+ tzinfo (1.2.3)
159
161
  thread_safe (~> 0.1)
160
162
  websocket-driver (0.6.5)
161
163
  websocket-extensions (>= 0.1.0)
@@ -167,6 +169,7 @@ PLATFORMS
167
169
 
168
170
  DEPENDENCIES
169
171
  bump
172
+ byebug
170
173
  database_cleaner (= 1.3.0)
171
174
  inst-jobs!
172
175
  pg
@@ -182,4 +185,4 @@ DEPENDENCIES
182
185
  wwtd (~> 1.3.0)
183
186
 
184
187
  BUNDLED WITH
185
- 1.14.3
188
+ 1.14.6
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.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-02-14 00:00:00.000000000 Z
12
+ date: 2017-04-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: after_transaction_commit
@@ -341,6 +341,9 @@ files:
341
341
  - spec/delayed/work_queue/in_process_spec.rb
342
342
  - spec/delayed/work_queue/parent_process_spec.rb
343
343
  - spec/delayed/worker_spec.rb
344
+ - spec/gemfiles/32.gemfile.lock
345
+ - spec/gemfiles/40.gemfile.lock
346
+ - spec/gemfiles/41.gemfile.lock
344
347
  - spec/gemfiles/42.gemfile
345
348
  - spec/gemfiles/42.gemfile.lock
346
349
  - spec/gemfiles/50.gemfile
@@ -375,7 +378,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
375
378
  version: '0'
376
379
  requirements: []
377
380
  rubyforge_project:
378
- rubygems_version: 2.6.10
381
+ rubygems_version: 2.5.2
379
382
  signing_key:
380
383
  specification_version: 4
381
384
  summary: Instructure-maintained fork of delayed_job
@@ -388,6 +391,9 @@ test_files:
388
391
  - spec/delayed/work_queue/in_process_spec.rb
389
392
  - spec/delayed/work_queue/parent_process_spec.rb
390
393
  - spec/delayed/worker_spec.rb
394
+ - spec/gemfiles/32.gemfile.lock
395
+ - spec/gemfiles/40.gemfile.lock
396
+ - spec/gemfiles/41.gemfile.lock
391
397
  - spec/gemfiles/42.gemfile
392
398
  - spec/gemfiles/42.gemfile.lock
393
399
  - spec/gemfiles/50.gemfile