resque_def 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/resque_def.rb +1 -1
- data/lib/resque_def/version.rb +1 -1
- data/test/resque_def_test.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c740af5705f821605373d2886f59cd9a278cb586
|
4
|
+
data.tar.gz: 773902c51beb53061d5e5a9b5586855deb96ecd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d5fe5344b8161cdcaff3f29df7e68a1d71c0db8f7f0a4e36697d971abb2c8bee8c08d1df647e2a8a032c74d8097c98169ec752ae4bc9bdd38c5947d26633046
|
7
|
+
data.tar.gz: c56d4d5bfb77bdf62d1320a644c7ea115ae7c0a514746f1cc955d2f992d0261f357ffccdc450de487cd26eca0d1fd4988f47a5e08bbe782bcd493de4511fcb3c
|
data/CHANGELOG.md
CHANGED
data/lib/resque_def.rb
CHANGED
data/lib/resque_def/version.rb
CHANGED
data/test/resque_def_test.rb
CHANGED
@@ -11,6 +11,8 @@ class ResqueDefTest < Test::Unit::TestCase
|
|
11
11
|
|
12
12
|
User.foo(1,2,3)
|
13
13
|
User.new.foo(4,5,6)
|
14
|
+
|
15
|
+
assert_equal :foo, User::Foo.instance_variable_get("@queue")
|
14
16
|
end
|
15
17
|
|
16
18
|
def test_dequeue
|
@@ -23,5 +25,7 @@ class ResqueDefTest < Test::Unit::TestCase
|
|
23
25
|
Foo.expects(:bar).once
|
24
26
|
Foo.early_return_if false
|
25
27
|
Foo.early_return_if true
|
28
|
+
|
29
|
+
assert_equal :bar, Foo::Bar.instance_variable_get("@queue")
|
26
30
|
end
|
27
31
|
end
|