resque_unit 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/resque_unit_scheduler.rb +10 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1aad0f765a2b78da6d5f17cdbf2f5646066d8b8d
|
4
|
+
data.tar.gz: c694a2f46b3ec5892f7a83ebfae9d734dd0371ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 812552beeb3b8c3de00be72b6c13b8dfc4fd2808df1114f308c3eb5aaba2635108d58d9583c5a8c879248b91b716c0bf21c38fad6b2d1453a0405c272daa3f3b
|
7
|
+
data.tar.gz: 97110758541b5c3335906743fdd0dbfd2f1514106ec90ea98dbb9149bef0f86b0932974cc2ed2455d9ea119fffae551aaf9764302ab64101195f4ae3977dec8a
|
@@ -1,7 +1,14 @@
|
|
1
1
|
require 'resque_unit/scheduler'
|
2
2
|
require 'resque_unit/scheduler_assertions'
|
3
3
|
|
4
|
-
Test::Unit
|
5
|
-
|
4
|
+
if defined?(Test::Unit)
|
5
|
+
Test::Unit::TestCase.send(:include, ResqueUnit::SchedulerAssertions)
|
6
|
+
end
|
7
|
+
|
8
|
+
if defined?(MiniTest::Unit::TestCase)
|
6
9
|
MiniTest::Unit::TestCase.send(:include, ResqueUnit::SchedulerAssertions)
|
7
|
-
end
|
10
|
+
end
|
11
|
+
|
12
|
+
if defined?(Minitest::Test)
|
13
|
+
Minitest::Test.send(:include, ResqueUnit::SchedulerAssertions)
|
14
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque_unit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Weiss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|