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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/resque_unit_scheduler.rb +10 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b24275f48b9920af7da00d18ce263c6ced12dcca
4
- data.tar.gz: 50d2f662718337d90db524ac3dbd66338afa3286
3
+ metadata.gz: 1aad0f765a2b78da6d5f17cdbf2f5646066d8b8d
4
+ data.tar.gz: c694a2f46b3ec5892f7a83ebfae9d734dd0371ec
5
5
  SHA512:
6
- metadata.gz: 716ccc5577b731d92614a566f7c16d84128ef75f2292c3eb1748b9ac2060a085357b31b41d419ed7650801feabf386b108bcc073dd5182a00c6487769739d154
7
- data.tar.gz: ca4c207d8ee5c191ac427f5231c40ff2e0b54277cdc8adfb1871b7a0f3aaa4e76ce0cbce97364e385d071d5aecf9ee2359833a431d20fc44105c6697730a6c58
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::TestCase.send(:include, ResqueUnit::SchedulerAssertions)
5
- if defined?(MiniTest)
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.7
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-05-30 00:00:00.000000000 Z
11
+ date: 2014-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json