que-testing 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/README.md +4 -4
- data/lib/que/testing/adapter.rb +1 -1
- data/lib/que/testing/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e544c26dd249f8c96375b1a30e117ca613821110
|
4
|
+
data.tar.gz: 233e1ebf383e055cf5cf7cfbee341fd2d6f9cec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81c2ee678935e47ad4e5a8b33e5a1e6419e53be3795d032770fbbc02b7c3b4e891838ca595389a756aa8dfaeca99da4ef2d05caa31400a75ea05fe892880560c
|
7
|
+
data.tar.gz: b70da76428f3584b2e766841b4e2025f84b59f072eba49099075505ce3f9b65158d39d1b65c58c7068799a6d16773629aa7c461bfaec5d4f909e86b3e0a05ff2
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
# que-testing
|
1
|
+
# que-testing [![Build Status](https://travis-ci.org/statianzo/que-testing.svg?branch=master)](https://travis-ci.org/statianzo/que-testing)
|
2
2
|
|
3
|
-
Testing support for the [Que](https://github.com/chanks/que) queue
|
3
|
+
Testing support for the [Que](https://github.com/chanks/que) queue. que-testing allows you to enqueue jobs without a database and without synchronous running.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem 'que-testing'
|
10
|
+
gem 'que-testing', :require => false
|
11
11
|
```
|
12
12
|
|
13
13
|
And then execute:
|
@@ -36,7 +36,7 @@ describe "Testing" do
|
|
36
36
|
js = MyJob.jobs
|
37
37
|
js.length.must_equal 1
|
38
38
|
js.first["args"].must_equal ["foo"]
|
39
|
-
js.first["job_class"].must_equal
|
39
|
+
js.first["job_class"].must_equal "MyJob"
|
40
40
|
end
|
41
41
|
end
|
42
42
|
```
|
data/lib/que/testing/adapter.rb
CHANGED
data/lib/que/testing/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: que-testing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Staten
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: que
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.
|
109
|
+
rubygems_version: 2.5.1
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Testing support for the Que queue
|