rubykiq 0.0.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +5 -5
- data/.travis.yml +10 -7
- data/Gemfile +4 -14
- data/README.md +12 -19
- data/Rakefile +12 -6
- data/lib/rubykiq/client.rb +10 -11
- data/lib/rubykiq/version.rb +1 -1
- data/rubykiq.gemspec +9 -2
- data/spec/spec_helper.rb +0 -6
- data/spec/support/pry.rb +2 -2
- data/spec/unit/client_spec.rb +9 -15
- metadata +102 -20
- data/spec/support/simplecov.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 949a8300a8a43c43d1105663f865d8cae2616743
|
4
|
+
data.tar.gz: e85504b5f5d8927a3a4ce4dbb9ffd467d95f5fdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67ecd131870891c2c92cd955e576506c45784c99caf22e93bed4ce771addacafa80de9a45535defa281c4a0570760e99fba03c16f516382a9ba15843b4d68342
|
7
|
+
data.tar.gz: e980fc1dc5d22d6572a33b05787369664bc2eb3f32899992896c100e0803254aee1d514d6bef542ae3d1d184d245093823d7c5be1fd4a429f54a62df07a810dc
|
data/.gitignore
CHANGED
@@ -2,8 +2,12 @@
|
|
2
2
|
*.rbc
|
3
3
|
.bundle
|
4
4
|
.config
|
5
|
-
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
6
7
|
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
7
11
|
lib/bundler/man
|
8
12
|
pkg
|
9
13
|
rdoc
|
@@ -11,8 +15,4 @@ spec/reports
|
|
11
15
|
test/tmp
|
12
16
|
test/version_tmp
|
13
17
|
tmp
|
14
|
-
*.lock
|
15
|
-
.yardoc
|
16
|
-
_yardoc
|
17
|
-
doc/
|
18
18
|
bin
|
data/.travis.yml
CHANGED
@@ -1,21 +1,24 @@
|
|
1
1
|
language: ruby
|
2
2
|
cache: bundler
|
3
|
+
bundler_args: --without development
|
3
4
|
rvm:
|
4
5
|
- ruby-head
|
6
|
+
- ruby
|
5
7
|
- jruby-head
|
8
|
+
- jruby
|
6
9
|
- 2.1.0
|
7
10
|
- 2.0.0
|
8
11
|
- 1.9.3
|
9
|
-
- rbx-
|
10
|
-
- jruby-19mode
|
11
|
-
services:
|
12
|
-
- redis-server
|
12
|
+
- rbx-2
|
13
13
|
matrix:
|
14
14
|
fast_finish: true
|
15
15
|
allow_failures:
|
16
16
|
- rvm: ruby-head
|
17
|
+
- rvm: ruby
|
17
18
|
- rvm: jruby-head
|
18
|
-
- rvm:
|
19
|
-
- rvm:
|
19
|
+
- rvm: jruby
|
20
|
+
- rvm: rbx-2
|
20
21
|
notifications:
|
21
|
-
email: false
|
22
|
+
email: false
|
23
|
+
services:
|
24
|
+
- redis-server
|
data/Gemfile
CHANGED
@@ -1,22 +1,12 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
|
4
|
-
gem 'rake', '~> 10.0'
|
5
|
-
gem 'hiredis', '>= 0.4.5', require: false
|
6
|
-
gem 'em-synchrony', require: false
|
3
|
+
gemspec
|
7
4
|
|
8
|
-
|
9
|
-
|
10
|
-
gem 'rubocop'
|
11
|
-
gem 'kramdown', '>= 0.14'
|
12
|
-
end
|
5
|
+
gem 'hiredis', '>= 0.4.5'
|
6
|
+
gem 'em-synchrony'
|
13
7
|
|
14
8
|
group :test do
|
9
|
+
gem 'rake', '~> 10.0'
|
15
10
|
gem 'rspec'
|
16
11
|
gem 'timecop'
|
17
|
-
gem 'simplecov', require: false
|
18
|
-
gem 'coveralls', require: false
|
19
|
-
gem 'fakefs', '~> 0.4.3'
|
20
12
|
end
|
21
|
-
|
22
|
-
gemspec
|
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# Rubykiq
|
2
2
|
|
3
|
-
[Sidekiq]
|
3
|
+
[Sidekiq](http://mperham.github.com/sidekiq) agnostic enqueuing using Redis.
|
4
4
|
|
5
5
|
Sidekiq is a fantastic message processing library which has a simple and stable message format. `Rubykiq` aims to be a portable library to push jobs in to Sidekiq with as little overhead as possible whilst having feature parity on `Sidekiq::Client`'s conventions.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem 'rubykiq', '~>
|
10
|
+
gem 'rubykiq', '~> 1.0'
|
11
11
|
```
|
12
12
|
|
13
13
|
```ruby
|
@@ -15,7 +15,7 @@ require 'rubykiq'
|
|
15
15
|
```
|
16
16
|
## Features / Usage Examples
|
17
17
|
|
18
|
-
* [Redis] has support for [alternative drivers](https://github.com/redis/redis-rb#alternate-drivers), Rubykiq is tested with these in mind. (eg `:synchrony`)
|
18
|
+
* [Redis](http://redis.io) has support for [alternative drivers](https://github.com/redis/redis-rb#alternate-drivers), Rubykiq is tested with these in mind. (eg `:synchrony`)
|
19
19
|
* the `:class` parameter can be the Class or a String of the Class (eg push jobs to Sidekiq from anywhere, not just where Sidekiq has the classes loaded)
|
20
20
|
* The `:at` parameter supports `Time`, `Date` and any `Time.parse`-able strings.
|
21
21
|
* Pushing multiple and singular jobs has the same interface (simply nest args)
|
@@ -23,7 +23,6 @@ require 'rubykiq'
|
|
23
23
|
* Easier configuration (IMO)
|
24
24
|
|
25
25
|
```ruby
|
26
|
-
|
27
26
|
# will also detect REDIS_URL, REDIS_PROVIDER and REDISTOGO_URL ENV variables
|
28
27
|
Rubykiq.url = 'redis://127.0.0.1:6379'
|
29
28
|
|
@@ -58,7 +57,6 @@ hiredis_client = Rubykiq::Client.new(:driver => :hiredis)
|
|
58
57
|
# create multiple Rubykiq clients with their own namespaces
|
59
58
|
foo_client = Rubykiq::Client.new(:namespace => 'foo')
|
60
59
|
bar_client = Rubykiq::Client.new(:namespace => 'bar')
|
61
|
-
|
62
60
|
```
|
63
61
|
|
64
62
|
## Caveats
|
@@ -68,11 +66,10 @@ bar_client = Rubykiq::Client.new(:namespace => 'bar')
|
|
68
66
|
|
69
67
|
## Build & Dependency Status
|
70
68
|
|
71
|
-
[![Gem Version](
|
72
|
-
[![Build Status](
|
73
|
-
[![Code Quality](
|
74
|
-
[![
|
75
|
-
[![Gittip](http://img.shields.io/gittip/karlfreeman.png)][gittip]
|
69
|
+
[![Gem Version](http://img.shields.io/gem/v/rubykiq.svg)][gem]
|
70
|
+
[![Build Status](http://img.shields.io/travis/karlfreeman/rubykiq.svg)][travis]
|
71
|
+
[![Code Quality](http://img.shields.io/codeclimate/github/karlfreeman/rubykiq.svg)][codeclimate]
|
72
|
+
[![Gittip](http://img.shields.io/gittip/karlfreeman.svg)][gittip]
|
76
73
|
|
77
74
|
## Supported Redis Drivers
|
78
75
|
|
@@ -85,11 +82,11 @@ bar_client = Rubykiq::Client.new(:namespace => 'bar')
|
|
85
82
|
This library aims to support and is [tested against][travis] the following Ruby
|
86
83
|
implementations:
|
87
84
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
85
|
+
- Ruby 2.1.0 (drivers: ruby, hiredis, synchrony)
|
86
|
+
- Ruby 2.0.0 (drivers: ruby, hiredis, synchrony)
|
87
|
+
- Ruby 1.9.3 (drivers: ruby, hiredis, synchrony)
|
88
|
+
- [JRuby][jruby] (drivers: ruby)
|
89
|
+
- [Rubinius][rubinius] (drivers: ruby)
|
93
90
|
|
94
91
|
# Credits
|
95
92
|
|
@@ -105,11 +102,7 @@ Cribbed:
|
|
105
102
|
|
106
103
|
[gem]: https://rubygems.org/gems/rubykiq
|
107
104
|
[travis]: http://travis-ci.org/karlfreeman/rubykiq
|
108
|
-
[coveralls]: https://coveralls.io/r/karlfreeman/rubykiq
|
109
105
|
[codeclimate]: https://codeclimate.com/github/karlfreeman/rubykiq
|
110
106
|
[gittip]: https://www.gittip.com/karlfreeman
|
111
107
|
[jruby]: http://www.jruby.org
|
112
108
|
[rubinius]: http://rubini.us
|
113
|
-
|
114
|
-
[sidekiq]: http://mperham.github.com/sidekiq
|
115
|
-
[redis]: https://github.com/redis/redis-rb
|
data/Rakefile
CHANGED
@@ -2,16 +2,22 @@ require 'bundler'
|
|
2
2
|
Bundler.setup
|
3
3
|
Bundler::GemHelper.install_tasks
|
4
4
|
|
5
|
-
require 'yard'
|
6
|
-
YARD::Rake::YardocTask.new
|
7
|
-
|
8
5
|
require 'rspec/core/rake_task'
|
9
6
|
desc 'Run all examples'
|
10
7
|
RSpec::Core::RakeTask.new(:spec)
|
11
8
|
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
begin
|
10
|
+
require 'yard'
|
11
|
+
YARD::Rake::YardocTask.new
|
12
|
+
rescue LoadError
|
13
|
+
end
|
14
|
+
|
15
|
+
begin
|
16
|
+
require 'rubocop/rake_task'
|
17
|
+
desc 'Run rubocop'
|
18
|
+
Rubocop::RakeTask.new(:rubocop)
|
19
|
+
rescue LoadError
|
20
|
+
end
|
15
21
|
|
16
22
|
task default: :spec
|
17
23
|
task test: :spec
|
data/lib/rubykiq/client.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
require 'connection_pool'
|
2
|
-
require 'securerandom'
|
3
|
-
require 'multi_json'
|
4
1
|
require 'time'
|
2
|
+
require 'multi_json'
|
3
|
+
require 'securerandom'
|
4
|
+
require 'connection_pool'
|
5
5
|
|
6
6
|
module Rubykiq
|
7
7
|
class Client
|
@@ -14,7 +14,7 @@ module Rubykiq
|
|
14
14
|
:driver,
|
15
15
|
:retry,
|
16
16
|
:queue
|
17
|
-
]
|
17
|
+
]
|
18
18
|
|
19
19
|
# A hash of valid options and their default values
|
20
20
|
DEFAULT_OPTIONS = {
|
@@ -25,11 +25,14 @@ module Rubykiq
|
|
25
25
|
driver: :ruby,
|
26
26
|
retry: true,
|
27
27
|
queue: 'default'
|
28
|
-
}
|
28
|
+
}
|
29
29
|
|
30
30
|
# Bang open the valid options
|
31
31
|
attr_accessor(*VALID_OPTIONS_KEYS)
|
32
32
|
|
33
|
+
# allow the connection_pool to be set
|
34
|
+
attr_writer :connection_pool
|
35
|
+
|
33
36
|
# Initialize a new Client object
|
34
37
|
#
|
35
38
|
# @param options [Hash]
|
@@ -40,10 +43,6 @@ module Rubykiq
|
|
40
43
|
end
|
41
44
|
end
|
42
45
|
|
43
|
-
def connection_pool=(val)
|
44
|
-
@connection_pool = val
|
45
|
-
end
|
46
|
-
|
47
46
|
# Fetch the ::ConnectionPool of Rubykiq::Connections
|
48
47
|
#
|
49
48
|
# @return [::ConnectionPool]
|
@@ -95,7 +94,7 @@ module Rubykiq
|
|
95
94
|
|
96
95
|
# Create a hash of options and their values
|
97
96
|
def valid_options
|
98
|
-
VALID_OPTIONS_KEYS.reduce({}) { |
|
97
|
+
VALID_OPTIONS_KEYS.reduce({}) { |a, e| a.merge!(e => send(e)) }
|
99
98
|
end
|
100
99
|
|
101
100
|
# Create a hash of the default options and their values
|
@@ -131,7 +130,7 @@ module Rubykiq
|
|
131
130
|
# merge this item's args (eg the nested `arg` array)
|
132
131
|
item.merge!(args: args) unless args.empty?
|
133
132
|
# normalize this individual item
|
134
|
-
|
133
|
+
normalize_item(item)
|
135
134
|
end.compact
|
136
135
|
|
137
136
|
# if successfully persisted to redis return the size of the jobs
|
data/lib/rubykiq/version.rb
CHANGED
data/rubykiq.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = 'https://github.com/karlfreeman/rubykiq'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
|
-
spec.files = `git ls-files`.split(
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
@@ -23,4 +23,11 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency 'redis-namespace', '>= 1.0'
|
24
24
|
spec.add_dependency 'multi_json', '>= 1.0'
|
25
25
|
spec.add_dependency 'connection_pool', '>= 1.0'
|
26
|
-
|
26
|
+
|
27
|
+
spec.add_development_dependency 'bundler', '~> 1.5'
|
28
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
29
|
+
spec.add_development_dependency 'kramdown', '>= 0.14'
|
30
|
+
spec.add_development_dependency 'rubocop', '~> 0.19'
|
31
|
+
spec.add_development_dependency 'pry'
|
32
|
+
spec.add_development_dependency 'yard'
|
33
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -9,12 +9,7 @@ end
|
|
9
9
|
|
10
10
|
require 'rubykiq'
|
11
11
|
|
12
|
-
# used as a stupid mixin class
|
13
|
-
class DummyClass
|
14
|
-
end
|
15
|
-
|
16
12
|
RSpec.configure do |config|
|
17
|
-
|
18
13
|
config.expect_with :rspec do |c|
|
19
14
|
c.syntax = :expect
|
20
15
|
end
|
@@ -30,5 +25,4 @@ RSpec.configure do |config|
|
|
30
25
|
EM.stop
|
31
26
|
end
|
32
27
|
end
|
33
|
-
|
34
28
|
end
|
data/spec/support/pry.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
if
|
2
|
-
require 'pry'
|
1
|
+
if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ruby'
|
2
|
+
require 'pry' unless ENV['CI']
|
3
3
|
end
|
data/spec/unit/client_spec.rb
CHANGED
@@ -4,17 +4,11 @@ require 'em-synchrony'
|
|
4
4
|
|
5
5
|
describe Rubykiq::Client do
|
6
6
|
|
7
|
-
before(:all)
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
Timecop.return
|
13
|
-
end
|
14
|
-
|
15
|
-
let (:ruby_client) { Rubykiq::Client.new(driver: :ruby, namespace: :ruby) }
|
16
|
-
let (:hiredis_client) { Rubykiq::Client.new(driver: :hiredis, namespace: :hiredis) }
|
17
|
-
let (:synchrony_client) { Rubykiq::Client.new(driver: :synchrony, namespace: :synchrony) }
|
7
|
+
before(:all) { Timecop.freeze }
|
8
|
+
after(:all) { Timecop.return }
|
9
|
+
let(:ruby_client) { Rubykiq::Client.new(driver: :ruby, namespace: :ruby) }
|
10
|
+
let(:hiredis_client) { Rubykiq::Client.new(driver: :hiredis, namespace: :hiredis) }
|
11
|
+
let(:synchrony_client) { Rubykiq::Client.new(driver: :synchrony, namespace: :synchrony) }
|
18
12
|
|
19
13
|
# eg with a variety of drivers
|
20
14
|
[:ruby, :hiredis, :synchrony].each do |driver|
|
@@ -43,7 +37,7 @@ describe Rubykiq::Client do
|
|
43
37
|
it 'raises an ArgumentError' do
|
44
38
|
expect { client.push([]) }.to raise_error(ArgumentError, /Message must be a Hash/)
|
45
39
|
expect { client.push('{}') }.to raise_error(ArgumentError, /Message must be a Hash/)
|
46
|
-
expect { client.push(
|
40
|
+
expect { client.push(Class.new) }.to raise_error(ArgumentError, /Message must be a Hash/)
|
47
41
|
end
|
48
42
|
end
|
49
43
|
|
@@ -61,15 +55,15 @@ describe Rubykiq::Client do
|
|
61
55
|
|
62
56
|
context 'with an incorrect class type' do
|
63
57
|
it 'raises an ArgumentError' do
|
64
|
-
expect { client.push(class:
|
58
|
+
expect { client.push(class: Class, args: ['foo', 1, { bat: 'bar' }]) }.to raise_error(ArgumentError, /Message class must be a String representation of the class name/)
|
65
59
|
end
|
66
60
|
end
|
67
61
|
|
68
62
|
end
|
69
63
|
|
70
64
|
# eg singular and batch
|
71
|
-
|
72
|
-
|
65
|
+
arguments = [[{ bat: 'bar' }], [[{ bat: 'bar' }], [{ bat: 'foo' }]]]
|
66
|
+
arguments.each do |args|
|
73
67
|
|
74
68
|
context "with args #{args}" do
|
75
69
|
|
metadata
CHANGED
@@ -1,71 +1,155 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubykiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Freeman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: redis-namespace
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: multi_json
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: connection_pool
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.5'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.5'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: kramdown
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.14'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.14'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.19'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.19'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: yard
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
69
153
|
description: Sidekiq agnostic enqueuing using Redis
|
70
154
|
email:
|
71
155
|
- karlfreeman@gmail.com
|
@@ -73,11 +157,11 @@ executables: []
|
|
73
157
|
extensions: []
|
74
158
|
extra_rdoc_files: []
|
75
159
|
files:
|
76
|
-
- .document
|
77
|
-
- .gitignore
|
78
|
-
- .rubocop.yml
|
79
|
-
- .travis.yml
|
80
|
-
- .yardopts
|
160
|
+
- ".document"
|
161
|
+
- ".gitignore"
|
162
|
+
- ".rubocop.yml"
|
163
|
+
- ".travis.yml"
|
164
|
+
- ".yardopts"
|
81
165
|
- CHANGELOG.md
|
82
166
|
- CONTRIBUTING.md
|
83
167
|
- Gemfile
|
@@ -91,7 +175,6 @@ files:
|
|
91
175
|
- rubykiq.gemspec
|
92
176
|
- spec/spec_helper.rb
|
93
177
|
- spec/support/pry.rb
|
94
|
-
- spec/support/simplecov.rb
|
95
178
|
- spec/support/timecop.rb
|
96
179
|
- spec/unit/client_spec.rb
|
97
180
|
- spec/unit/connection_spec.rb
|
@@ -106,24 +189,23 @@ require_paths:
|
|
106
189
|
- lib
|
107
190
|
required_ruby_version: !ruby/object:Gem::Requirement
|
108
191
|
requirements:
|
109
|
-
- -
|
192
|
+
- - ">="
|
110
193
|
- !ruby/object:Gem::Version
|
111
194
|
version: 1.9.3
|
112
195
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
196
|
requirements:
|
114
|
-
- -
|
197
|
+
- - ">="
|
115
198
|
- !ruby/object:Gem::Version
|
116
199
|
version: '0'
|
117
200
|
requirements: []
|
118
201
|
rubyforge_project:
|
119
|
-
rubygems_version: 2.0
|
202
|
+
rubygems_version: 2.2.0
|
120
203
|
signing_key:
|
121
204
|
specification_version: 4
|
122
205
|
summary: Sidekiq agnostic enqueuing using Redis
|
123
206
|
test_files:
|
124
207
|
- spec/spec_helper.rb
|
125
208
|
- spec/support/pry.rb
|
126
|
-
- spec/support/simplecov.rb
|
127
209
|
- spec/support/timecop.rb
|
128
210
|
- spec/unit/client_spec.rb
|
129
211
|
- spec/unit/connection_spec.rb
|
data/spec/support/simplecov.rb
DELETED