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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3466cee4064ebebd4ac58da6f7bc7dcb2bc631da
4
- data.tar.gz: 5cf22bf14338aca22e54371cfb0488ae60ed8671
3
+ metadata.gz: e544c26dd249f8c96375b1a30e117ca613821110
4
+ data.tar.gz: 233e1ebf383e055cf5cf7cfbee341fd2d6f9cec1
5
5
  SHA512:
6
- metadata.gz: 26fa3ff25dcf5a24cd3a05ee1e05f41277d6c6d6bc8bc921647b7d0d3e1e5a05f9b6a0068863f809dc10fcc3ff4b2cf209b2e250d4ab8a6f94bab5b4717f0ee9
7
- data.tar.gz: eed5aa6bb25da7b5e9d1737f3df73b41bc8f9c5a7bdeeecc59539e651de063521cebd7fc8d05fc653d4d6170227f88c37d9cf273d789f430610f6e57e33001a8
6
+ metadata.gz: 81c2ee678935e47ad4e5a8b33e5a1e6419e53be3795d032770fbbc02b7c3b4e891838ca595389a756aa8dfaeca99da4ef2d05caa31400a75ea05fe892880560c
7
+ data.tar.gz: b70da76428f3584b2e766841b4e2025f84b59f072eba49099075505ce3f9b65158d39d1b65c58c7068799a6d16773629aa7c461bfaec5d4f909e86b3e0a05ff2
@@ -1,3 +1,5 @@
1
+ before_install:
2
+ - gem update bundler
1
3
  language: ruby
2
4
  rvm:
3
5
  - 1.9.3
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 ["MyJob"]
39
+ js.first["job_class"].must_equal "MyJob"
40
40
  end
41
41
  end
42
42
  ```
@@ -3,7 +3,7 @@ module Que
3
3
  class JobParams < Struct.new(:queue, :priority, :run_at, :job_class, :args)
4
4
  end
5
5
 
6
- class Adapter
6
+ class Adapter < Que::Adapters::Base
7
7
  def checkout(&block)
8
8
  end
9
9
 
@@ -1,5 +1,5 @@
1
1
  module Que
2
2
  module Testing
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
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.1.1
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: 2014-11-18 00:00:00.000000000 Z
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.2.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