canvas-jobs 0.9.13 → 0.9.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,153 @@
1
+ PATH
2
+ remote: ../../
3
+ specs:
4
+ canvas-jobs (0.9.13)
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
+
11
+ GEM
12
+ remote: https://rubygems.org/
13
+ specs:
14
+ actionmailer (4.2.3)
15
+ actionpack (= 4.2.3)
16
+ actionview (= 4.2.3)
17
+ activejob (= 4.2.3)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 1.0, >= 1.0.5)
20
+ actionpack (4.2.3)
21
+ actionview (= 4.2.3)
22
+ activesupport (= 4.2.3)
23
+ rack (~> 1.6)
24
+ rack-test (~> 0.6.2)
25
+ rails-dom-testing (~> 1.0, >= 1.0.5)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (4.2.3)
28
+ activesupport (= 4.2.3)
29
+ builder (~> 3.1)
30
+ erubis (~> 2.7.0)
31
+ rails-dom-testing (~> 1.0, >= 1.0.5)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
33
+ activejob (4.2.3)
34
+ activesupport (= 4.2.3)
35
+ globalid (>= 0.3.0)
36
+ activemodel (4.2.3)
37
+ activesupport (= 4.2.3)
38
+ builder (~> 3.1)
39
+ activerecord (4.2.3)
40
+ activemodel (= 4.2.3)
41
+ activesupport (= 4.2.3)
42
+ arel (~> 6.0)
43
+ activesupport (4.2.3)
44
+ i18n (~> 0.7)
45
+ json (~> 1.7, >= 1.7.7)
46
+ minitest (~> 5.1)
47
+ thread_safe (~> 0.3, >= 0.3.4)
48
+ tzinfo (~> 1.1)
49
+ after_transaction_commit (1.0.1)
50
+ activerecord (>= 3.2)
51
+ arel (6.0.0)
52
+ builder (3.2.2)
53
+ bump (0.5.2)
54
+ coderay (1.1.0)
55
+ database_cleaner (1.3.0)
56
+ diff-lcs (1.2.5)
57
+ erubis (2.7.0)
58
+ globalid (0.3.5)
59
+ activesupport (>= 4.1.0)
60
+ i18n (0.7.0)
61
+ json (1.8.3)
62
+ loofah (2.0.2)
63
+ nokogiri (>= 1.5.9)
64
+ mail (2.6.3)
65
+ mime-types (>= 1.16, < 3)
66
+ method_source (0.8.2)
67
+ mime-types (2.6.1)
68
+ mini_portile (0.6.2)
69
+ minitest (5.7.0)
70
+ nokogiri (1.6.6.2)
71
+ mini_portile (~> 0.6.0)
72
+ pg (0.18.2)
73
+ pry (0.10.1)
74
+ coderay (~> 1.1.0)
75
+ method_source (~> 0.8.1)
76
+ slop (~> 3.4)
77
+ rack (1.6.4)
78
+ rack-test (0.6.3)
79
+ rack (>= 1.0)
80
+ rails (4.2.3)
81
+ actionmailer (= 4.2.3)
82
+ actionpack (= 4.2.3)
83
+ actionview (= 4.2.3)
84
+ activejob (= 4.2.3)
85
+ activemodel (= 4.2.3)
86
+ activerecord (= 4.2.3)
87
+ activesupport (= 4.2.3)
88
+ bundler (>= 1.3.0, < 2.0)
89
+ railties (= 4.2.3)
90
+ sprockets-rails
91
+ rails-deprecated_sanitizer (1.0.3)
92
+ activesupport (>= 4.2.0.alpha)
93
+ rails-dom-testing (1.0.6)
94
+ activesupport (>= 4.2.0.beta, < 5.0)
95
+ nokogiri (~> 1.6.0)
96
+ rails-deprecated_sanitizer (>= 1.0.1)
97
+ rails-html-sanitizer (1.0.2)
98
+ loofah (~> 2.0)
99
+ railties (4.2.3)
100
+ actionpack (= 4.2.3)
101
+ activesupport (= 4.2.3)
102
+ rake (>= 0.8.7)
103
+ thor (>= 0.18.1, < 2.0)
104
+ rake (10.4.2)
105
+ redis (3.2.1)
106
+ redis-scripting (1.0.1)
107
+ redis (>= 3.0)
108
+ rspec (3.1.0)
109
+ rspec-core (~> 3.1.0)
110
+ rspec-expectations (~> 3.1.0)
111
+ rspec-mocks (~> 3.1.0)
112
+ rspec-core (3.1.7)
113
+ rspec-support (~> 3.1.0)
114
+ rspec-expectations (3.1.2)
115
+ diff-lcs (>= 1.2.0, < 2.0)
116
+ rspec-support (~> 3.1.0)
117
+ rspec-mocks (3.1.3)
118
+ rspec-support (~> 3.1.0)
119
+ rspec-support (3.1.2)
120
+ rufus-scheduler (3.1.3)
121
+ slop (3.6.0)
122
+ sprockets (3.2.0)
123
+ rack (~> 1.0)
124
+ sprockets-rails (2.3.2)
125
+ actionpack (>= 3.0)
126
+ activesupport (>= 3.0)
127
+ sprockets (>= 2.8, < 4.0)
128
+ syck (1.0.5)
129
+ test_after_commit (0.4.1)
130
+ activerecord (>= 3.2)
131
+ thor (0.19.1)
132
+ thread_safe (0.3.5)
133
+ timecop (0.7.1)
134
+ tzinfo (1.2.2)
135
+ thread_safe (~> 0.1)
136
+ wwtd (0.7.0)
137
+
138
+ PLATFORMS
139
+ ruby
140
+
141
+ DEPENDENCIES
142
+ bump
143
+ canvas-jobs!
144
+ database_cleaner (= 1.3.0)
145
+ pg
146
+ pry
147
+ rails (~> 4.2.0.beta2)
148
+ rake
149
+ rspec (= 3.1.0)
150
+ syck
151
+ test_after_commit (= 0.4.1)
152
+ timecop (= 0.7.1)
153
+ wwtd (= 0.7.0)
@@ -2,6 +2,7 @@ require 'delayed_job'
2
2
  require 'delayed/testing'
3
3
 
4
4
  require 'database_cleaner'
5
+ require 'rack/test'
5
6
  require 'test_after_commit'
6
7
  require 'timecop'
7
8
  require 'pry'
@@ -17,15 +18,17 @@ RSpec.configure do |config|
17
18
  DatabaseCleaner.clean_with(:truncation)
18
19
  end
19
20
 
20
- config.around(:each) do |example|
21
+ config.before(:each) do |example|
21
22
  if Delayed::Backend::Redis::Job.redis
22
23
  Delayed::Backend::Redis::Job.redis.flushdb
23
24
  end
24
- DatabaseCleaner.cleaning do
25
- example.run
26
- end
25
+ DatabaseCleaner.strategy = (example.metadata[:sinatra] ? :truncation : :transaction)
26
+ DatabaseCleaner.start
27
27
  end
28
28
 
29
+ config.after(:each) do
30
+ DatabaseCleaner.clean
31
+ end
29
32
  end
30
33
 
31
34
  ENV['TEST_ENV_NUMBER'] ||= '1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.13
4
+ version: 0.9.14
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: 2015-05-26 00:00:00.000000000 Z
12
+ date: 2015-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: after_transaction_commit
@@ -171,14 +171,14 @@ dependencies:
171
171
  requirements:
172
172
  - - '='
173
173
  - !ruby/object:Gem::Version
174
- version: 0.4.0
174
+ version: 0.4.1
175
175
  type: :development
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
179
  - - '='
180
180
  - !ruby/object:Gem::Version
181
- version: 0.4.0
181
+ version: 0.4.1
182
182
  - !ruby/object:Gem::Dependency
183
183
  name: timecop
184
184
  requirement: !ruby/object:Gem::Requirement
@@ -207,6 +207,48 @@ dependencies:
207
207
  - - '='
208
208
  - !ruby/object:Gem::Version
209
209
  version: 0.7.0
210
+ - !ruby/object:Gem::Dependency
211
+ name: sinatra
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ type: :development
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ">="
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
224
+ - !ruby/object:Gem::Dependency
225
+ name: sinatra-contrib
226
+ requirement: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ type: :development
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ name: rack-test
240
+ requirement: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
245
+ type: :development
246
+ prerelease: false
247
+ version_requirements: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - ">="
250
+ - !ruby/object:Gem::Version
251
+ version: '0'
210
252
  description:
211
253
  email:
212
254
  - brianp@instructure.com
@@ -256,6 +298,12 @@ files:
256
298
  - lib/delayed/periodic.rb
257
299
  - lib/delayed/plugin.rb
258
300
  - lib/delayed/pool.rb
301
+ - lib/delayed/server.rb
302
+ - lib/delayed/server/helpers.rb
303
+ - lib/delayed/server/public/css/app.css
304
+ - lib/delayed/server/public/js/app.js
305
+ - lib/delayed/server/views/index.erb
306
+ - lib/delayed/server/views/layout.erb
259
307
  - lib/delayed/settings.rb
260
308
  - lib/delayed/testing.rb
261
309
  - lib/delayed/version.rb
@@ -263,12 +311,18 @@ files:
263
311
  - lib/delayed/yaml_extensions.rb
264
312
  - lib/delayed_job.rb
265
313
  - spec/active_record_job_spec.rb
314
+ - spec/delayed/pool_spec.rb
315
+ - spec/delayed/server/helpers_spec.rb
316
+ - spec/delayed/server_spec.rb
266
317
  - spec/delayed/worker_spec.rb
267
318
  - spec/gemfiles/32.gemfile
268
319
  - spec/gemfiles/32.gemfile.lock
269
320
  - spec/gemfiles/40.gemfile
321
+ - spec/gemfiles/40.gemfile.lock
270
322
  - spec/gemfiles/41.gemfile
323
+ - spec/gemfiles/41.gemfile.lock
271
324
  - spec/gemfiles/42.gemfile
325
+ - spec/gemfiles/42.gemfile.lock
272
326
  - spec/migrate/20140924140513_add_story_table.rb
273
327
  - spec/redis_job_spec.rb
274
328
  - spec/sample_jobs.rb
@@ -305,12 +359,18 @@ specification_version: 4
305
359
  summary: Instructure-maintained fork of delayed_job
306
360
  test_files:
307
361
  - spec/active_record_job_spec.rb
362
+ - spec/delayed/pool_spec.rb
363
+ - spec/delayed/server/helpers_spec.rb
364
+ - spec/delayed/server_spec.rb
308
365
  - spec/delayed/worker_spec.rb
309
366
  - spec/gemfiles/32.gemfile
310
367
  - spec/gemfiles/32.gemfile.lock
311
368
  - spec/gemfiles/40.gemfile
369
+ - spec/gemfiles/40.gemfile.lock
312
370
  - spec/gemfiles/41.gemfile
371
+ - spec/gemfiles/41.gemfile.lock
313
372
  - spec/gemfiles/42.gemfile
373
+ - spec/gemfiles/42.gemfile.lock
314
374
  - spec/migrate/20140924140513_add_story_table.rb
315
375
  - spec/redis_job_spec.rb
316
376
  - spec/sample_jobs.rb