mailgunner 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c02531600fab1221d6d30e2d518c6f87aae0df1b
4
+ data.tar.gz: a3f1cb1c7b9e662b7299736a58149c70f40ca8a6
5
+ SHA512:
6
+ metadata.gz: 79be4a3ad893f43b3591e5831d6a65ef153f54e30f98676aed742995f276d7c340b011262fd1e5241c4050db2be91a28d8d83fc41cea483e1d26521e876f672c
7
+ data.tar.gz: cbffc63312385c670f2957ad6d3b069095ba64aaf53549703d905b9a071e6c4909c39cbfad568308e7392a78e76d20b5945c49b12d0c6fd2264dac6e7c504d38
data/lib/mailgunner.rb CHANGED
@@ -2,6 +2,7 @@ require 'net/http'
2
2
  require 'json'
3
3
  require 'cgi'
4
4
  require 'mailgunner/delivery_method' if defined?(Mail)
5
+ require 'mailgunner/railtie' if defined?(Rails)
5
6
 
6
7
  module Mailgunner
7
8
  class Error < StandardError; end
@@ -0,0 +1,9 @@
1
+ module Mailgunner
2
+ class Railtie < Rails::Railtie
3
+ initializer 'mailgunner' do
4
+ ActiveSupport.on_load(:action_mailer) do
5
+ require 'mailgunner/delivery_method'
6
+ end
7
+ end
8
+ end
9
+ end
data/mailgunner.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'mailgunner'
3
- s.version = '2.2.0'
3
+ s.version = '2.2.1'
4
4
  s.license = 'LGPL-3.0'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = ['Tim Craft']
metadata CHANGED
@@ -1,78 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailgunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
5
- prerelease:
4
+ version: 2.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tim Craft
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-04-06 00:00:00.000000000 Z
11
+ date: 2015-05-09 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '10.1'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '10.1'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: webmock
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1.18'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '1.18'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: mail
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '2.5'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '2.5'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: actionmailer
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
61
  version: '4.0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
68
  version: '4.0'
78
69
  description: A Ruby wrapper for the Mailgun API
@@ -82,36 +73,36 @@ executables: []
82
73
  extensions: []
83
74
  extra_rdoc_files: []
84
75
  files:
85
- - lib/mailgunner/delivery_method.rb
86
- - lib/mailgunner.rb
87
- - spec/mailgunner_delivery_method_spec.rb
88
- - spec/mailgunner_spec.rb
89
76
  - LICENSE.txt
90
77
  - README.md
78
+ - lib/mailgunner.rb
79
+ - lib/mailgunner/delivery_method.rb
80
+ - lib/mailgunner/railtie.rb
91
81
  - mailgunner.gemspec
82
+ - spec/mailgunner_delivery_method_spec.rb
83
+ - spec/mailgunner_spec.rb
92
84
  homepage: http://github.com/timcraft/mailgunner
93
85
  licenses:
94
86
  - LGPL-3.0
87
+ metadata: {}
95
88
  post_install_message:
96
89
  rdoc_options: []
97
90
  require_paths:
98
91
  - lib
99
92
  required_ruby_version: !ruby/object:Gem::Requirement
100
- none: false
101
93
  requirements:
102
- - - ! '>='
94
+ - - ">="
103
95
  - !ruby/object:Gem::Version
104
96
  version: 1.9.3
105
97
  required_rubygems_version: !ruby/object:Gem::Requirement
106
- none: false
107
98
  requirements:
108
- - - ! '>='
99
+ - - ">="
109
100
  - !ruby/object:Gem::Version
110
101
  version: '0'
111
102
  requirements: []
112
103
  rubyforge_project:
113
- rubygems_version: 1.8.23.2
104
+ rubygems_version: 2.2.2
114
105
  signing_key:
115
- specification_version: 3
106
+ specification_version: 4
116
107
  summary: See description
117
108
  test_files: []