capybara-email 2.1.1 → 2.1.2

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: 0626f3d08e976f8048f7a6e341f19c7a4e4eb3d7
4
- data.tar.gz: efe919321728e942554b529b3be6c405ed24259f
3
+ metadata.gz: 2fc7deade1b7d1d87036a30fbf84e083682e9775
4
+ data.tar.gz: 5ad474296b2ce4cbe70ad00065f7786985c853a5
5
5
  SHA512:
6
- metadata.gz: 2b89abafa9a39479af75c5ff83eb2dc9893cac456eaec5eecd3d24bfa84f5e619713749020b5f7545c364c9190a31c4d9165d442e625d2682b2a74d4bca9844a
7
- data.tar.gz: 848e3b4338d6039ca518649fcdc7d3bb718de3b45cf3862259e6adf34d97be57c21a0ddb9bb460eb9c48d90998148b67c900bcf96c4b6e10688db34a03e201a9
6
+ metadata.gz: c3f9a58ba41283f034e1aa02fe4e6bcfe3daf26b017c65caae632f0c718d6b7af384a01166e1bbe3716910f0638324c838d8796a169b6fea622ff097bbab4f00
7
+ data.tar.gz: b5fd2e208b0841f077ef740228e2fbd69e979c2cd7506724bc6705d18e65b021c27983a283f6d94f900351ef2d2ff6f7d8cfe4e000cb221afc9401221e50ff34
@@ -1,14 +1,6 @@
1
1
  require 'capybara'
2
2
  require 'mail'
3
3
 
4
- if defined?(ActionMailer)
5
- # Rails 4's ActionMailer::Base is autoloaded
6
- # so in the test suite the Mail constant is not
7
- # available untl ActionMailer::Base is eval'd
8
- # So we must eager-load it
9
- ActionMailer::Base
10
- end
11
-
12
4
  module Capybara
13
5
  autoload :Email, 'capybara/email'
14
6
  end
@@ -11,3 +11,10 @@ module Capybara
11
11
  end
12
12
  end
13
13
 
14
+ if defined?(ActionMailer)
15
+ # Rails 4's ActionMailer::Base is autoloaded
16
+ # so in the test suite the Mail constant is not
17
+ # available untl ActionMailer::Base is eval'd
18
+ # So we must eager-load it
19
+ ActionMailer::Base
20
+ end
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Email
3
- VERSION = '2.1.1'
3
+ VERSION = '2.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-email
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Cardarella