deliver_later_matchers 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.travis.yml +16 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +122 -0
- data/LICENSE.md +21 -0
- data/README.md +78 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/deliver_later_matchers.gemspec +33 -0
- data/lib/deliver_later_matchers.rb +33 -0
- data/lib/deliver_later_matchers/deliver_later.rb +75 -0
- data/lib/deliver_later_matchers/version.rb +3 -0
- metadata +197 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2390b8181ab6b828ce686ed4091ad2aec7ecec65
|
4
|
+
data.tar.gz: 740290eb55e57d069d58ba24058130667b7fdf80
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d7ad3f6a8692b0997f08c4d714a3c6af1f1a9d12923ede18a0ebb0bd773ae9a5be528e29976993c2b871c31651c90cf9afda3fa9a85fe7566a298aa4d88919fe
|
7
|
+
data.tar.gz: 71af183e20ff4aed6687c71f443c3ae1b785ac2404918f997e9e94ccc5a4904c0a4c75148181190b5c6d820550b2e7e25d9bb8b742479376f28375482bb0e4d1
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
sudo: false
|
2
|
+
env:
|
3
|
+
global:
|
4
|
+
- CC_TEST_REPORTER_ID=70a915ebf6718702f018a3f04a7d02164380caaea3fe1093c227432dac6756af
|
5
|
+
language: ruby
|
6
|
+
rvm:
|
7
|
+
- 2.4.2
|
8
|
+
before_install: gem install bundler -v 1.16.1
|
9
|
+
before_script:
|
10
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
11
|
+
- chmod +x ./cc-test-reporter
|
12
|
+
- ./cc-test-reporter before-build
|
13
|
+
script:
|
14
|
+
- bundle exec rspec
|
15
|
+
after_script:
|
16
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
deliver_later_matchers (0.1.0)
|
5
|
+
actionmailer (~> 5.0.0)
|
6
|
+
activejob (~> 5.0.0)
|
7
|
+
rspec-expectations (~> 3.0)
|
8
|
+
rspec-mocks (~> 3.0)
|
9
|
+
rspec-rails (~> 3.0)
|
10
|
+
|
11
|
+
GEM
|
12
|
+
remote: https://rubygems.org/
|
13
|
+
specs:
|
14
|
+
actionmailer (5.0.6)
|
15
|
+
actionpack (= 5.0.6)
|
16
|
+
actionview (= 5.0.6)
|
17
|
+
activejob (= 5.0.6)
|
18
|
+
mail (~> 2.5, >= 2.5.4)
|
19
|
+
rails-dom-testing (~> 2.0)
|
20
|
+
actionpack (5.0.6)
|
21
|
+
actionview (= 5.0.6)
|
22
|
+
activesupport (= 5.0.6)
|
23
|
+
rack (~> 2.0)
|
24
|
+
rack-test (~> 0.6.3)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
+
actionview (5.0.6)
|
28
|
+
activesupport (= 5.0.6)
|
29
|
+
builder (~> 3.1)
|
30
|
+
erubis (~> 2.7.0)
|
31
|
+
rails-dom-testing (~> 2.0)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
33
|
+
activejob (5.0.6)
|
34
|
+
activesupport (= 5.0.6)
|
35
|
+
globalid (>= 0.3.6)
|
36
|
+
activesupport (5.0.6)
|
37
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
38
|
+
i18n (~> 0.7)
|
39
|
+
minitest (~> 5.1)
|
40
|
+
tzinfo (~> 1.1)
|
41
|
+
builder (3.2.3)
|
42
|
+
byebug (9.1.0)
|
43
|
+
concurrent-ruby (1.0.5)
|
44
|
+
crass (1.0.3)
|
45
|
+
diff-lcs (1.3)
|
46
|
+
docile (1.1.5)
|
47
|
+
erubis (2.7.0)
|
48
|
+
globalid (0.4.1)
|
49
|
+
activesupport (>= 4.2.0)
|
50
|
+
i18n (0.9.3)
|
51
|
+
concurrent-ruby (~> 1.0)
|
52
|
+
json (2.1.0)
|
53
|
+
loofah (2.1.1)
|
54
|
+
crass (~> 1.0.2)
|
55
|
+
nokogiri (>= 1.5.9)
|
56
|
+
mail (2.7.0)
|
57
|
+
mini_mime (>= 0.1.1)
|
58
|
+
method_source (0.9.0)
|
59
|
+
mini_mime (1.0.0)
|
60
|
+
mini_portile2 (2.3.0)
|
61
|
+
minitest (5.11.1)
|
62
|
+
nokogiri (1.8.1)
|
63
|
+
mini_portile2 (~> 2.3.0)
|
64
|
+
rack (2.0.3)
|
65
|
+
rack-test (0.6.3)
|
66
|
+
rack (>= 1.0)
|
67
|
+
rails-dom-testing (2.0.3)
|
68
|
+
activesupport (>= 4.2.0)
|
69
|
+
nokogiri (>= 1.6)
|
70
|
+
rails-html-sanitizer (1.0.3)
|
71
|
+
loofah (~> 2.0)
|
72
|
+
railties (5.0.6)
|
73
|
+
actionpack (= 5.0.6)
|
74
|
+
activesupport (= 5.0.6)
|
75
|
+
method_source
|
76
|
+
rake (>= 0.8.7)
|
77
|
+
thor (>= 0.18.1, < 2.0)
|
78
|
+
rake (10.5.0)
|
79
|
+
rspec (3.7.0)
|
80
|
+
rspec-core (~> 3.7.0)
|
81
|
+
rspec-expectations (~> 3.7.0)
|
82
|
+
rspec-mocks (~> 3.7.0)
|
83
|
+
rspec-core (3.7.1)
|
84
|
+
rspec-support (~> 3.7.0)
|
85
|
+
rspec-expectations (3.7.0)
|
86
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
87
|
+
rspec-support (~> 3.7.0)
|
88
|
+
rspec-mocks (3.7.0)
|
89
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
90
|
+
rspec-support (~> 3.7.0)
|
91
|
+
rspec-rails (3.7.2)
|
92
|
+
actionpack (>= 3.0)
|
93
|
+
activesupport (>= 3.0)
|
94
|
+
railties (>= 3.0)
|
95
|
+
rspec-core (~> 3.7.0)
|
96
|
+
rspec-expectations (~> 3.7.0)
|
97
|
+
rspec-mocks (~> 3.7.0)
|
98
|
+
rspec-support (~> 3.7.0)
|
99
|
+
rspec-support (3.7.0)
|
100
|
+
simplecov (0.15.1)
|
101
|
+
docile (~> 1.1.0)
|
102
|
+
json (>= 1.8, < 3)
|
103
|
+
simplecov-html (~> 0.10.0)
|
104
|
+
simplecov-html (0.10.2)
|
105
|
+
thor (0.20.0)
|
106
|
+
thread_safe (0.3.6)
|
107
|
+
tzinfo (1.2.4)
|
108
|
+
thread_safe (~> 0.1)
|
109
|
+
|
110
|
+
PLATFORMS
|
111
|
+
ruby
|
112
|
+
|
113
|
+
DEPENDENCIES
|
114
|
+
bundler (~> 1.16)
|
115
|
+
byebug (~> 9.1.0)
|
116
|
+
deliver_later_matchers!
|
117
|
+
rake (~> 10.0)
|
118
|
+
rspec (~> 3.0)
|
119
|
+
simplecov (~> 0.15.1)
|
120
|
+
|
121
|
+
BUNDLED WITH
|
122
|
+
1.16.1
|
data/LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2018 Joel Lubrano
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
# DeliverLaterMatchers
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/jdlubrano/deliver_later_matchers.svg?branch=master)](https://travis-ci.org/jdlubrano/deliver_later_matchers)
|
4
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/d7f9f4691169769b1ac6/maintainability)](https://codeclimate.com/github/jdlubrano/deliver_later_matchers/maintainability)
|
5
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/d7f9f4691169769b1ac6/test_coverage)](https://codeclimate.com/github/jdlubrano/deliver_later_matchers/test_coverage)
|
6
|
+
|
7
|
+
RSpec matchers for testing that ActionMailer deliver_later is called for your
|
8
|
+
email messages.
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your application's Gemfile:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem 'deliver_later_matchers'
|
16
|
+
```
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle
|
21
|
+
|
22
|
+
Or install it yourself as:
|
23
|
+
|
24
|
+
$ gem install deliver_later_matchers
|
25
|
+
|
26
|
+
## Usage
|
27
|
+
Setup in `rails_helper.rb` or `spec_helper.rb`
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
require 'deliver_later_matchers'
|
31
|
+
|
32
|
+
RSpec.configure do |config|
|
33
|
+
config.include DeliverLaterMatchers
|
34
|
+
end
|
35
|
+
```
|
36
|
+
|
37
|
+
Use the matchers in your tests
|
38
|
+
|
39
|
+
```ruby
|
40
|
+
user = User.create
|
41
|
+
|
42
|
+
expect {
|
43
|
+
MyMailer.welcome(user).deliver_later
|
44
|
+
}.to deliver_later(MyMailer, :welcome).with(user)
|
45
|
+
|
46
|
+
# or
|
47
|
+
|
48
|
+
user = User.create
|
49
|
+
|
50
|
+
expect {
|
51
|
+
MyMailer.welcome(user).deliver_later
|
52
|
+
}.to enqueue_email(MyMailer, :welcome).with(user)
|
53
|
+
|
54
|
+
# or
|
55
|
+
|
56
|
+
user = User.create
|
57
|
+
|
58
|
+
expect {
|
59
|
+
MyMailer.welcome(user).deliver_later
|
60
|
+
}.to have_enqueued_email(MyMailer, :welcome).with(user)
|
61
|
+
```
|
62
|
+
|
63
|
+
## Development
|
64
|
+
|
65
|
+
After checking out the repo, run `bin/setup` to install dependencies.
|
66
|
+
Then, run `rake spec` to run the tests. You can also run `bin/console` for an
|
67
|
+
interactive prompt that will allow you to experiment.
|
68
|
+
|
69
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
70
|
+
To release a new version, update the version number in `version.rb`, and then
|
71
|
+
run `bundle exec rake release`, which will create a git tag for the version,
|
72
|
+
push git commits and tags, and push the `.gem` file to
|
73
|
+
[rubygems.org](https://rubygems.org).
|
74
|
+
|
75
|
+
## Contributing
|
76
|
+
|
77
|
+
Bug reports and pull requests are welcome on GitHub at
|
78
|
+
https://github.com/jdlubrano/deliver_later_matchers.
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "deliver_later_matchers"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'deliver_later_matchers/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'deliver_later_matchers'
|
7
|
+
spec.version = DeliverLaterMatchers::VERSION
|
8
|
+
spec.authors = ['Joel Lubrano']
|
9
|
+
spec.email = ['joel.lubrano@gmail.com']
|
10
|
+
|
11
|
+
spec.summary = 'RSpec matchers for testing that ActionMailers deliver_later'
|
12
|
+
spec.homepage = 'https://github.com/jdlubrano/deliver_later_matchers'
|
13
|
+
|
14
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
15
|
+
f.match(%r{^(test|spec|features)/})
|
16
|
+
end
|
17
|
+
|
18
|
+
spec.bindir = 'exe'
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ['lib']
|
21
|
+
|
22
|
+
spec.add_dependency 'actionmailer', '~> 5.0.0'
|
23
|
+
spec.add_dependency 'activejob', '~> 5.0.0'
|
24
|
+
spec.add_dependency 'rspec-expectations', '~> 3.0'
|
25
|
+
spec.add_dependency 'rspec-mocks', '~> 3.0'
|
26
|
+
spec.add_dependency 'rspec-rails', '~> 3.0'
|
27
|
+
|
28
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
29
|
+
spec.add_development_dependency 'byebug', '~> 9.1.0'
|
30
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
31
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
32
|
+
spec.add_development_dependency 'simplecov', '~> 0.15.1'
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'deliver_later_matchers/version'
|
4
|
+
require 'deliver_later_matchers/deliver_later'
|
5
|
+
|
6
|
+
module DeliverLaterMatchers
|
7
|
+
extend RSpec::Matchers::DSL
|
8
|
+
|
9
|
+
matcher :deliver_later do |mailer_class, method_name|
|
10
|
+
matcher = DeliverLater.new(mailer_class, method_name)
|
11
|
+
|
12
|
+
match do |block|
|
13
|
+
matcher.matches?(block)
|
14
|
+
end
|
15
|
+
|
16
|
+
description do
|
17
|
+
matcher.description
|
18
|
+
end
|
19
|
+
|
20
|
+
chain :with do |*args|
|
21
|
+
matcher.with(*args)
|
22
|
+
end
|
23
|
+
|
24
|
+
failure_message do |block|
|
25
|
+
matcher.failure_message(block)
|
26
|
+
end
|
27
|
+
|
28
|
+
supports_block_expectations
|
29
|
+
end
|
30
|
+
|
31
|
+
RSpec::Matchers.alias_matcher :enqueue_email, :deliver_later
|
32
|
+
RSpec::Matchers.alias_matcher :have_enqueued_email, :deliver_later
|
33
|
+
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DeliverLaterMatchers
|
4
|
+
class DeliverLater
|
5
|
+
def initialize(mailer_class, method_name)
|
6
|
+
@mailer_class = mailer_class
|
7
|
+
@method_name = method_name
|
8
|
+
@args = []
|
9
|
+
end
|
10
|
+
|
11
|
+
def description
|
12
|
+
"deliver #{@mailer_class.name}.#{@method_name} later"
|
13
|
+
end
|
14
|
+
|
15
|
+
def matches?(block)
|
16
|
+
raise ArgumentError, 'DeliverLater only works with block arguments' unless block.respond_to?(:call)
|
17
|
+
check_job_adapter
|
18
|
+
|
19
|
+
existing_jobs_count = enqueued_jobs.size
|
20
|
+
block.call
|
21
|
+
jobs_from_block = enqueued_jobs[existing_jobs_count..-1]
|
22
|
+
|
23
|
+
matching_job_exists?(jobs_from_block)
|
24
|
+
end
|
25
|
+
|
26
|
+
def with(*args)
|
27
|
+
@args = args
|
28
|
+
self
|
29
|
+
end
|
30
|
+
|
31
|
+
def failure_message(block)
|
32
|
+
"expected #{@mailer_class.name}.#{@method_name} to be delivered later"
|
33
|
+
end
|
34
|
+
|
35
|
+
private
|
36
|
+
|
37
|
+
def matching_job_exists?(jobs)
|
38
|
+
jobs.any? { |job| mailer_job?(job) && arguments_match?(job) }
|
39
|
+
end
|
40
|
+
|
41
|
+
def mailer_job?(job)
|
42
|
+
job[:job] == ActionMailer::DeliveryJob
|
43
|
+
end
|
44
|
+
|
45
|
+
def arguments_match?(job)
|
46
|
+
RSpec::Mocks::ArgumentListMatcher.new(*mailer_args).args_match?(*job_args(job))
|
47
|
+
end
|
48
|
+
|
49
|
+
# In the case where we match a mailer method that accepts
|
50
|
+
# arguments but the test does not call `with` on the matcher,
|
51
|
+
# we want to ignore the extra arguments passed to ActiveJob
|
52
|
+
# when we are trying to find our `deliver_later` job.
|
53
|
+
def job_args(job)
|
54
|
+
::ActiveJob::Arguments.deserialize(job[:args])[0...mailer_args.size]
|
55
|
+
end
|
56
|
+
|
57
|
+
def mailer_args
|
58
|
+
[@mailer_class.name, @method_name.to_s, 'deliver_now'] + @args
|
59
|
+
end
|
60
|
+
|
61
|
+
def enqueued_jobs
|
62
|
+
queue_adapter.enqueued_jobs
|
63
|
+
end
|
64
|
+
|
65
|
+
def queue_adapter
|
66
|
+
::ActiveJob::Base.queue_adapter
|
67
|
+
end
|
68
|
+
|
69
|
+
def check_job_adapter
|
70
|
+
return if queue_adapter.is_a?(::ActiveJob::QueueAdapters::TestAdapter)
|
71
|
+
|
72
|
+
raise RuntimeError, "To use DeliverLaterMatchers, set `ActiveJob::Base.queue_adpater = :test`."
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
metadata
ADDED
@@ -0,0 +1,197 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: deliver_later_matchers
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Joel Lubrano
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: actionmailer
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activejob
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 5.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 5.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec-expectations
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec-mocks
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.16'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.16'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: byebug
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 9.1.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 9.1.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '10.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '10.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simplecov
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.15.1
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.15.1
|
153
|
+
description:
|
154
|
+
email:
|
155
|
+
- joel.lubrano@gmail.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- ".gitignore"
|
161
|
+
- ".rspec"
|
162
|
+
- ".travis.yml"
|
163
|
+
- Gemfile
|
164
|
+
- Gemfile.lock
|
165
|
+
- LICENSE.md
|
166
|
+
- README.md
|
167
|
+
- Rakefile
|
168
|
+
- bin/console
|
169
|
+
- bin/setup
|
170
|
+
- deliver_later_matchers.gemspec
|
171
|
+
- lib/deliver_later_matchers.rb
|
172
|
+
- lib/deliver_later_matchers/deliver_later.rb
|
173
|
+
- lib/deliver_later_matchers/version.rb
|
174
|
+
homepage: https://github.com/jdlubrano/deliver_later_matchers
|
175
|
+
licenses: []
|
176
|
+
metadata: {}
|
177
|
+
post_install_message:
|
178
|
+
rdoc_options: []
|
179
|
+
require_paths:
|
180
|
+
- lib
|
181
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0'
|
186
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - ">="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0'
|
191
|
+
requirements: []
|
192
|
+
rubyforge_project:
|
193
|
+
rubygems_version: 2.6.13
|
194
|
+
signing_key:
|
195
|
+
specification_version: 4
|
196
|
+
summary: RSpec matchers for testing that ActionMailers deliver_later
|
197
|
+
test_files: []
|