queue_classic_matchers 0.0.2 → 4.0.0.alpha1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.circleci/config.yml +61 -0
- data/.github/dependabot.yml +8 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/README.md +12 -0
- data/Rakefile +1 -1
- data/lib/queue_classic_matchers.rb +52 -31
- data/lib/queue_classic_matchers/version.rb +1 -1
- data/queue_classic_matchers.gemspec +11 -9
- data/spec/queue_classic_matchers_spec.rb +48 -0
- data/spec/spec_helper.rb +123 -0
- metadata +79 -16
- data/.rvmrc +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e1ce799c50c2a2a5aadd376d5a9922c05021df7e618ee5f922849aab63964089
|
4
|
+
data.tar.gz: '09980b953a28ce1ad20708fc0c5f41ac796521e81f89dbace74452f09f16e160'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d14a6eb9bd93f76e511c8a9c88eaba700355db346b2ba7a4eef9484d2b3a14a1e3b626045aff4429e55d98abb6222bbc670882c9ef89736e9bda97841e9b44b
|
7
|
+
data.tar.gz: 8a923b8c49ca6e02ce844a0eed826c82e0fcfc4ab53305f3a0fc7a9bfddc8064f49cda4be0b901578e482ea96e958cc2f7abc76c1f741f7dd8c8cbb5f0379f9d
|
@@ -0,0 +1,61 @@
|
|
1
|
+
version: 2.1
|
2
|
+
|
3
|
+
jobs:
|
4
|
+
test:
|
5
|
+
docker:
|
6
|
+
- image: circleci/ruby:2.5.3-node
|
7
|
+
auth:
|
8
|
+
username: $DOCKERHUB_USERNAME
|
9
|
+
password: $DOCKERHUB_TOKEN
|
10
|
+
- image: circleci/postgres:9.6.6-alpine
|
11
|
+
auth:
|
12
|
+
username: $DOCKERHUB_USERNAME
|
13
|
+
password: $DOCKERHUB_TOKEN
|
14
|
+
steps:
|
15
|
+
- checkout
|
16
|
+
- run:
|
17
|
+
name: run tests
|
18
|
+
command: |
|
19
|
+
bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
|
20
|
+
bundle exec rspec
|
21
|
+
|
22
|
+
push_to_rubygems:
|
23
|
+
docker:
|
24
|
+
- image: circleci/ruby:2.5.3
|
25
|
+
auth:
|
26
|
+
username: $DOCKERHUB_USERNAME
|
27
|
+
password: $DOCKERHUB_TOKEN
|
28
|
+
steps:
|
29
|
+
- checkout
|
30
|
+
- run:
|
31
|
+
name: Create .gem/credentials file
|
32
|
+
command: |
|
33
|
+
mkdir ~/.gem
|
34
|
+
echo "---
|
35
|
+
:rubygems_api_key: $RUBYGEMS_API_KEY
|
36
|
+
" > ~/.gem/credentials
|
37
|
+
chmod 600 ~/.gem/credentials
|
38
|
+
- run:
|
39
|
+
name: Release to rubygems
|
40
|
+
command: |
|
41
|
+
gem build queue_classic_matchers
|
42
|
+
gem push queue_classic_matchers-*.gem
|
43
|
+
|
44
|
+
workflows:
|
45
|
+
version: 2
|
46
|
+
gem_release:
|
47
|
+
jobs:
|
48
|
+
- test:
|
49
|
+
context:
|
50
|
+
- DockerHub
|
51
|
+
|
52
|
+
- push_to_rubygems:
|
53
|
+
filters:
|
54
|
+
branches:
|
55
|
+
ignore:
|
56
|
+
- /.*/
|
57
|
+
tags:
|
58
|
+
only:
|
59
|
+
- /^v.*/
|
60
|
+
context:
|
61
|
+
- DockerHub
|
data/.rspec
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
Test helpers and RSpec matchers to [QueueClassicPlus](https://github.com/rainforestapp/queue_classic_plus).
|
4
4
|
|
5
|
+
## Compatibility
|
6
|
+
|
7
|
+
This version of the matchers are compatible with queue_classic 4 which includes built-in scheduling. See other branches for other compatible versions.
|
8
|
+
|
5
9
|
## Installation
|
6
10
|
|
7
11
|
Add this line to your application's Gemfile:
|
@@ -26,6 +30,8 @@ TODO: Write usage instructions here
|
|
26
30
|
expect(MyQueueClassicPlusJob).to have_queued(*my_args)
|
27
31
|
```
|
28
32
|
|
33
|
+
Other matchers are `have_queue_size_of`, `change_queue_size_of` and `have_scheduled`.
|
34
|
+
|
29
35
|
|
30
36
|
### Test Helper
|
31
37
|
|
@@ -43,3 +49,9 @@ run_queue q_name, [MyQueueClassicPlusJob]
|
|
43
49
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
44
50
|
4. Push to the branch (`git push origin my-new-feature`)
|
45
51
|
5. Create a new Pull Request
|
52
|
+
|
53
|
+
## Releasing
|
54
|
+
|
55
|
+
1. Open a PR and get it merged to master, making sure you've updated VERSION in `lib/queue_classic_matchers/version.rb`
|
56
|
+
2. `git checkout master; git pull`
|
57
|
+
3. `rake release:source_control_push`
|
data/Rakefile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
require
|
1
|
+
require 'bundler/gem_tasks'
|
2
2
|
|
@@ -1,21 +1,56 @@
|
|
1
1
|
require 'rspec/matchers'
|
2
|
-
require
|
3
|
-
require
|
4
|
-
require
|
2
|
+
require 'rspec/core'
|
3
|
+
require 'queue_classic_matchers/version'
|
4
|
+
require 'queue_classic_matchers/test_worker'
|
5
|
+
require 'queue_classic_matchers/test_helper'
|
5
6
|
|
6
7
|
module QueueClassicMatchers
|
7
8
|
# Your code goes here...
|
8
9
|
module QueueClassicMatchers::QueueClassicRspec
|
9
|
-
def self.find_by_args(queue_name, method, args
|
10
|
-
q =
|
11
|
-
result = QC.default_conn_adapter.execute q, queue_name, method, JSON.dump(args)
|
10
|
+
def self.find_by_args(queue_name, method, args)
|
11
|
+
q = 'SELECT * FROM queue_classic_jobs WHERE q_name = $1 AND method = $2 AND args::text = $3'
|
12
|
+
result = QC.default_conn_adapter.execute q, queue_name, method, JSON.dump(serialized(args))
|
12
13
|
result = [result] unless Array === result
|
13
14
|
result.compact
|
14
15
|
end
|
15
16
|
|
16
17
|
def self.reset!
|
17
|
-
QC.default_conn_adapter.execute
|
18
|
-
|
18
|
+
QC.default_conn_adapter.execute 'DELETE FROM queue_classic_jobs'
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.serialized(args)
|
22
|
+
if defined?(QueueClassicPlus) && defined?(Rails)
|
23
|
+
ActiveJob::Arguments.serialize(args)
|
24
|
+
else
|
25
|
+
args
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
if defined?(QueueClassicPlus)
|
31
|
+
module QueueClassicPlus
|
32
|
+
module Job
|
33
|
+
def self.included(receiver)
|
34
|
+
receiver.class_eval do
|
35
|
+
shared_examples_for 'a queueable class' do
|
36
|
+
subject { described_class }
|
37
|
+
its(:queue) { should be_a(::QC::Queue) }
|
38
|
+
it { should respond_to(:do) }
|
39
|
+
it { should respond_to(:perform) }
|
40
|
+
|
41
|
+
it 'should be a valid queue name' do
|
42
|
+
expect(subject.queue.name).to be_present
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
if RSpec.respond_to?(:configure)
|
51
|
+
RSpec.configure do |c|
|
52
|
+
c.include QueueClassicMatchers::QueueClassicPlus::Job, type: :job
|
53
|
+
end
|
19
54
|
end
|
20
55
|
end
|
21
56
|
end
|
@@ -37,7 +72,7 @@ RSpec::Matchers.define :have_queued do |*expected|
|
|
37
72
|
end
|
38
73
|
|
39
74
|
description do
|
40
|
-
|
75
|
+
'should enqueue in queue classic'
|
41
76
|
end
|
42
77
|
end
|
43
78
|
|
@@ -87,14 +122,13 @@ RSpec::Matchers.define :change_queue_size_of do |expected|
|
|
87
122
|
end
|
88
123
|
|
89
124
|
description do
|
90
|
-
|
125
|
+
'should change the queue size'
|
91
126
|
end
|
92
127
|
end
|
93
128
|
|
94
129
|
|
95
130
|
RSpec::Matchers.define :have_scheduled do |*expected_args|
|
96
131
|
chain :at do |timestamp|
|
97
|
-
@interval = nil
|
98
132
|
@time = timestamp
|
99
133
|
@time_info = "at #{@time}"
|
100
134
|
end
|
@@ -102,13 +136,13 @@ RSpec::Matchers.define :have_scheduled do |*expected_args|
|
|
102
136
|
match do |actual|
|
103
137
|
method = "#{actual.to_s}._perform"
|
104
138
|
queue_name = actual.queue.name
|
105
|
-
results = QueueClassicMatchers::QueueClassicRspec.find_by_args(queue_name,
|
106
|
-
|
107
|
-
expected_args,
|
108
|
-
"queue_classic_later_jobs")
|
139
|
+
results = QueueClassicMatchers::QueueClassicRspec.find_by_args(queue_name, method, expected_args)
|
140
|
+
|
109
141
|
results.any? do |entry|
|
110
|
-
|
111
|
-
|
142
|
+
if @time
|
143
|
+
scheduled_at = entry['scheduled_at']
|
144
|
+
scheduled_at = Time.parse(scheduled_at) unless scheduled_at.is_a?(Time) # ActiveRecord < 6
|
145
|
+
(scheduled_at.to_i - @time.to_i).abs <= 2
|
112
146
|
else
|
113
147
|
true
|
114
148
|
end
|
@@ -124,19 +158,6 @@ RSpec::Matchers.define :have_scheduled do |*expected_args|
|
|
124
158
|
end
|
125
159
|
|
126
160
|
description do
|
127
|
-
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
if defined?(QueueClassicPlus)
|
132
|
-
RSpec.shared_examples_for "a queueable class" do
|
133
|
-
subject { described_class }
|
134
|
-
its(:queue) { should be_a(::QC::Queue) }
|
135
|
-
it { should respond_to(:do) }
|
136
|
-
it { should respond_to(:perform) }
|
137
|
-
|
138
|
-
it "should be a valid queue name" do
|
139
|
-
subject.queue.name.should be_present
|
140
|
-
end
|
161
|
+
'have scheduled arguments'
|
141
162
|
end
|
142
163
|
end
|
@@ -4,20 +4,22 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'queue_classic_matchers/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'queue_classic_matchers'
|
8
8
|
spec.version = QueueClassicMatchers::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = ["simon.math@gmail.com"]
|
9
|
+
spec.authors = ['Simon Mathieu', 'Jean-Philippe Boily', 'Emanuel Evans', 'Jonathan Barber']
|
11
10
|
spec.summary = %q{RSpec Matchers and helpers for QueueClassicPlus}
|
12
|
-
spec.
|
13
|
-
spec.
|
14
|
-
spec.license = "MIT"
|
11
|
+
spec.homepage = 'https://github.com/rainforestapp/queue_classic_matchers'
|
12
|
+
spec.license = 'MIT'
|
15
13
|
|
16
14
|
spec.files = `git ls-files -z`.split("\x0")
|
17
15
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
16
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = [
|
17
|
+
spec.require_paths = ['lib']
|
20
18
|
|
21
|
-
spec.
|
22
|
-
spec.add_development_dependency
|
19
|
+
spec.add_dependency 'queue_classic', '4.0.0.pre.alpha1'
|
20
|
+
spec.add_development_dependency 'activerecord'
|
21
|
+
spec.add_development_dependency 'bundler'
|
22
|
+
spec.add_development_dependency 'pg'
|
23
|
+
spec.add_development_dependency 'rake'
|
24
|
+
spec.add_development_dependency 'timecop'
|
23
25
|
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe QueueClassicMatchers do
|
4
|
+
class TestJob < QueueClassicPlus::Base
|
5
|
+
@queue = :low
|
6
|
+
def self.perform
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
describe 'have_queued' do
|
11
|
+
it 'works with no arguments' do
|
12
|
+
expect(TestJob).to_not have_queued
|
13
|
+
TestJob.do
|
14
|
+
expect(TestJob).to have_queued
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'works wiht argument' do
|
18
|
+
expect(TestJob).to_not have_queued(1)
|
19
|
+
TestJob.do 1
|
20
|
+
expect(TestJob).to have_queued(1)
|
21
|
+
expect(TestJob).to_not have_queued(2)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
describe 'have_queue_size_of' do
|
26
|
+
it 'works' do
|
27
|
+
expect(TestJob).to have_queue_size_of(0)
|
28
|
+
expect(TestJob).to_not have_queue_size_of(1)
|
29
|
+
|
30
|
+
TestJob.do
|
31
|
+
|
32
|
+
expect(TestJob).to have_queue_size_of(1)
|
33
|
+
expect(TestJob).to_not have_queue_size_of(0)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
describe 'have_scheduled' do
|
38
|
+
it 'works' do
|
39
|
+
Timecop.freeze do
|
40
|
+
t0 = Time.now
|
41
|
+
TestJob.enqueue_perform_in 60 * 60, 1
|
42
|
+
|
43
|
+
expect(TestJob).to have_scheduled(1).at(t0 + 60 * 60)
|
44
|
+
expect(TestJob).not_to have_scheduled(1).at(t0 + 60 * 60 - 3)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
require 'queue_classic_plus'
|
2
|
+
require 'queue_classic_matchers'
|
3
|
+
require 'timecop'
|
4
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
5
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
6
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
7
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
8
|
+
# files.
|
9
|
+
#
|
10
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
11
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
12
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
13
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
14
|
+
# a separate helper file that requires the additional dependencies and performs
|
15
|
+
# the additional setup, and require it from the spec files that actually need
|
16
|
+
# it.
|
17
|
+
#
|
18
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
19
|
+
# users commonly want.
|
20
|
+
#
|
21
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
22
|
+
RSpec.configure do |config|
|
23
|
+
# rspec-expectations config goes here. You can use an alternate
|
24
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
25
|
+
# assertions if you prefer.
|
26
|
+
config.expect_with :rspec do |expectations|
|
27
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
28
|
+
# and `failure_message` of custom matchers include text for helper methods
|
29
|
+
# defined using `chain`, e.g.:
|
30
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
31
|
+
# # => "be bigger than 2 and smaller than 4"
|
32
|
+
# ...rather than:
|
33
|
+
# # => "be bigger than 2"
|
34
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
35
|
+
end
|
36
|
+
|
37
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
38
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
39
|
+
config.mock_with :rspec do |mocks|
|
40
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
41
|
+
# a real object. This is generally recommended, and will default to
|
42
|
+
# `true` in RSpec 4.
|
43
|
+
mocks.verify_partial_doubles = true
|
44
|
+
end
|
45
|
+
|
46
|
+
# The settings below are suggested to provide a good initial experience
|
47
|
+
# with RSpec, but feel free to customize to your heart's content.
|
48
|
+
=begin
|
49
|
+
# These two settings work together to allow you to limit a spec run
|
50
|
+
# to individual examples or groups you care about by tagging them with
|
51
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
52
|
+
# get run.
|
53
|
+
config.filter_run :focus
|
54
|
+
config.run_all_when_everything_filtered = true
|
55
|
+
|
56
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
57
|
+
# recommended. For more details, see:
|
58
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
59
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
60
|
+
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
61
|
+
config.disable_monkey_patching!
|
62
|
+
|
63
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
64
|
+
# be too noisy due to issues in dependencies.
|
65
|
+
config.warnings = true
|
66
|
+
|
67
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
68
|
+
# file, and it's useful to allow more verbose output when running an
|
69
|
+
# individual spec file.
|
70
|
+
if config.files_to_run.one?
|
71
|
+
# Use the documentation formatter for detailed output,
|
72
|
+
# unless a formatter has already been configured
|
73
|
+
# (e.g. via a command-line flag).
|
74
|
+
config.default_formatter = 'doc'
|
75
|
+
end
|
76
|
+
|
77
|
+
# Print the 10 slowest examples and example groups at the
|
78
|
+
# end of the spec run, to help surface which specs are running
|
79
|
+
# particularly slow.
|
80
|
+
config.profile_examples = 10
|
81
|
+
|
82
|
+
# Run specs in random order to surface order dependencies. If you find an
|
83
|
+
# order dependency and want to debug it, you can fix the order by providing
|
84
|
+
# the seed, which is printed after each run.
|
85
|
+
# --seed 1234
|
86
|
+
config.order = :random
|
87
|
+
|
88
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
89
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
90
|
+
# test failures related to randomization by passing the same `--seed` value
|
91
|
+
# as the one that triggered the failure.
|
92
|
+
Kernel.srand config.seed
|
93
|
+
=end
|
94
|
+
|
95
|
+
config.before(:suite) do
|
96
|
+
require 'active_record'
|
97
|
+
require 'pg'
|
98
|
+
|
99
|
+
db_url = ENV.fetch('DATABASE_URL', 'postgres://postgres:@localhost')
|
100
|
+
|
101
|
+
ActiveRecord::Base.establish_connection(db_url)
|
102
|
+
begin
|
103
|
+
ActiveRecord::Base.connection.create_database('queue_classic_matcher_test')
|
104
|
+
rescue ActiveRecord::StatementInvalid => e
|
105
|
+
raise unless e.cause.class == PG::DuplicateDatabase
|
106
|
+
end
|
107
|
+
|
108
|
+
ActiveRecord::Base.connection.execute 'drop schema public cascade; create schema public;'
|
109
|
+
|
110
|
+
QC.default_conn_adapter = QC::ConnAdapter.new(connection: ActiveRecord::Base.connection.raw_connection)
|
111
|
+
QC::Setup.create
|
112
|
+
|
113
|
+
QueueClassicPlus.migrate
|
114
|
+
end
|
115
|
+
|
116
|
+
config.before(:each) do
|
117
|
+
tables = ActiveRecord::Base.connection.tables.select do |table|
|
118
|
+
table != 'schema_migrations'
|
119
|
+
end
|
120
|
+
ActiveRecord::Base.connection.execute("TRUNCATE #{tables.join(', ')} CASCADE") unless tables.empty?
|
121
|
+
|
122
|
+
end
|
123
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,74 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: queue_classic_matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 4.0.0.alpha1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Mathieu
|
8
|
+
- Jean-Philippe Boily
|
9
|
+
- Emanuel Evans
|
10
|
+
- Jonathan Barber
|
8
11
|
autorequire:
|
9
12
|
bindir: bin
|
10
13
|
cert_chain: []
|
11
|
-
date:
|
14
|
+
date: 2021-07-06 00:00:00.000000000 Z
|
12
15
|
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: queue_classic
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - '='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 4.0.0.pre.alpha1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - '='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 4.0.0.pre.alpha1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: activerecord
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0'
|
37
|
+
type: :development
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
13
44
|
- !ruby/object:Gem::Dependency
|
14
45
|
name: bundler
|
15
46
|
requirement: !ruby/object:Gem::Requirement
|
16
47
|
requirements:
|
17
|
-
- - "
|
48
|
+
- - ">="
|
18
49
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
50
|
+
version: '0'
|
20
51
|
type: :development
|
21
52
|
prerelease: false
|
22
53
|
version_requirements: !ruby/object:Gem::Requirement
|
23
54
|
requirements:
|
24
|
-
- - "
|
55
|
+
- - ">="
|
25
56
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
57
|
+
version: '0'
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: pg
|
60
|
+
requirement: !ruby/object:Gem::Requirement
|
61
|
+
requirements:
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '0'
|
65
|
+
type: :development
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
27
72
|
- !ruby/object:Gem::Dependency
|
28
73
|
name: rake
|
29
74
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,15 +83,30 @@ dependencies:
|
|
38
83
|
- - ">="
|
39
84
|
- !ruby/object:Gem::Version
|
40
85
|
version: '0'
|
41
|
-
|
42
|
-
|
43
|
-
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: timecop
|
88
|
+
requirement: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
type: :development
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
description:
|
101
|
+
email:
|
44
102
|
executables: []
|
45
103
|
extensions: []
|
46
104
|
extra_rdoc_files: []
|
47
105
|
files:
|
106
|
+
- ".circleci/config.yml"
|
107
|
+
- ".github/dependabot.yml"
|
48
108
|
- ".gitignore"
|
49
|
-
- ".
|
109
|
+
- ".rspec"
|
50
110
|
- Gemfile
|
51
111
|
- LICENSE.txt
|
52
112
|
- README.md
|
@@ -56,7 +116,9 @@ files:
|
|
56
116
|
- lib/queue_classic_matchers/test_worker.rb
|
57
117
|
- lib/queue_classic_matchers/version.rb
|
58
118
|
- queue_classic_matchers.gemspec
|
59
|
-
|
119
|
+
- spec/queue_classic_matchers_spec.rb
|
120
|
+
- spec/spec_helper.rb
|
121
|
+
homepage: https://github.com/rainforestapp/queue_classic_matchers
|
60
122
|
licenses:
|
61
123
|
- MIT
|
62
124
|
metadata: {}
|
@@ -71,13 +133,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
133
|
version: '0'
|
72
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
135
|
requirements:
|
74
|
-
- - "
|
136
|
+
- - ">"
|
75
137
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
138
|
+
version: 1.3.1
|
77
139
|
requirements: []
|
78
|
-
|
79
|
-
rubygems_version: 2.2.2
|
140
|
+
rubygems_version: 3.0.3
|
80
141
|
signing_key:
|
81
142
|
specification_version: 4
|
82
143
|
summary: RSpec Matchers and helpers for QueueClassicPlus
|
83
|
-
test_files:
|
144
|
+
test_files:
|
145
|
+
- spec/queue_classic_matchers_spec.rb
|
146
|
+
- spec/spec_helper.rb
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm use 2.1.2@queue_classic_matchers --create
|