mail_gate 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module MailGate
2
- class Railtie < Rails::Railtie
2
+ class Railtie < ::Rails::Railtie
3
3
  config.before_configuration do
4
4
  ActionMailer::Base.add_delivery_method :mail_gate, MailGate::Filter
5
5
  end
@@ -1,3 +1,3 @@
1
1
  module MailGate
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
data/lib/mail_gate.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'mail_gate/version'
2
+ require 'mail_gate/railtie' if defined?(Rails)
2
3
 
3
4
  module MailGate
4
5
  autoload :Filter, 'mail_gate/filter'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_gate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mail
16
- requirement: &70328114755100 !ruby/object:Gem::Requirement
16
+ requirement: &70265078879640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 2.4.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70328114755100
24
+ version_requirements: *70265078879640
25
25
  description: MailGate is an additional delivery method for the Mail gem that lets
26
26
  you restrict the delivery of mail to only whitelisted emails.
27
27
  email:
@@ -57,7 +57,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
57
57
  version: '0'
58
58
  segments:
59
59
  - 0
60
- hash: -2561250797758868510
60
+ hash: 4083294560587255025
61
61
  required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  version: '0'
67
67
  segments:
68
68
  - 0
69
- hash: -2561250797758868510
69
+ hash: 4083294560587255025
70
70
  requirements: []
71
71
  rubyforge_project:
72
72
  rubygems_version: 1.8.17