sendgrid_smtpapi 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rbenv-version +1 -1
- data/lib/send_grid.rb +3 -4
- data/lib/send_grid/version.rb +2 -2
- metadata +17 -26
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9428d902ce3045995df091a7d12854ed7e9e495b236cfe04f7ade1f8e348cb99
|
4
|
+
data.tar.gz: 3a5027951e433fac18098807a0f00ef2f10ef005c9cb22f2fd01fe5cf3167699
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 97922a7e51d067df0061d45b5b57a8ab9684ab2fa0ead23bf7f9103f567ef74fd499b6a080d480a3be9b9a8c6420cb231661214f7f2b314b5faddb5e3dd3ed0c
|
7
|
+
data.tar.gz: 99b837f707829979f07b87323f1ccbf0bc82ea94a3f16c67c5702bc6fd845d544dd894bf7b30a41a966e14ad863e8ff5e57c0b5dda80ec4fd876e565c3fce1dc
|
data/.rbenv-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.6.3
|
data/lib/send_grid.rb
CHANGED
@@ -5,9 +5,8 @@ module SendGridSmtpApi
|
|
5
5
|
|
6
6
|
def self.included(base)
|
7
7
|
base.class_eval do
|
8
|
-
|
8
|
+
prepend InstanceMethods
|
9
9
|
delegate :substitute, :uniq_args, :category, :add_filter_setting, :standard_smtp, :to => :sendgrid_header
|
10
|
-
alias_method_chain :mail, :sendgrid
|
11
10
|
alias_method :sendgrid_header, :send_grid_header
|
12
11
|
end
|
13
12
|
end
|
@@ -17,8 +16,8 @@ module SendGridSmtpApi
|
|
17
16
|
@send_grid_header ||= SendGridSmtpApi::ApiHeader.new
|
18
17
|
end
|
19
18
|
|
20
|
-
def
|
21
|
-
|
19
|
+
def mail(headers={}, &block)
|
20
|
+
super.tap do |message|
|
22
21
|
message.instance_variable_set :@sendgrid_header, sendgrid_header
|
23
22
|
end
|
24
23
|
end
|
data/lib/send_grid/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module SendGridSmtpApi
|
2
|
-
VERSION = "0.0
|
3
|
-
end
|
2
|
+
VERSION = "1.0.0"
|
3
|
+
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sendgrid_smtpapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- kylejginavan
|
@@ -10,54 +9,48 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2019-09-04 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rspec
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- - ~>
|
18
|
+
- - "~>"
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: 2.5.0
|
23
21
|
type: :development
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- - ~>
|
25
|
+
- - "~>"
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: 2.5.0
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: actionmailer
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - ">="
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: 3.0.0
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - ">="
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: 3.0.0
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: activesupport
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - ">="
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: 2.1.0
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - ">="
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: 2.1.0
|
63
56
|
description: Gem to extend ActionMailer with SendGrid SMTP API support
|
@@ -68,10 +61,10 @@ executables: []
|
|
68
61
|
extensions: []
|
69
62
|
extra_rdoc_files: []
|
70
63
|
files:
|
71
|
-
- .gitignore
|
72
|
-
- .rbenv-version
|
73
|
-
- .rspec
|
74
|
-
- .travis.yml
|
64
|
+
- ".gitignore"
|
65
|
+
- ".rbenv-version"
|
66
|
+
- ".rspec"
|
67
|
+
- ".travis.yml"
|
75
68
|
- Gemfile
|
76
69
|
- README.rdoc
|
77
70
|
- Rakefile
|
@@ -89,27 +82,25 @@ files:
|
|
89
82
|
- spec/version_spec.rb
|
90
83
|
homepage: https://github.com/kylejginavan/sendgrid_smtpapi
|
91
84
|
licenses: []
|
85
|
+
metadata: {}
|
92
86
|
post_install_message:
|
93
87
|
rdoc_options: []
|
94
88
|
require_paths:
|
95
89
|
- lib
|
96
90
|
required_ruby_version: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
91
|
requirements:
|
99
|
-
- -
|
92
|
+
- - ">="
|
100
93
|
- !ruby/object:Gem::Version
|
101
94
|
version: '0'
|
102
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
|
-
none: false
|
104
96
|
requirements:
|
105
|
-
- -
|
97
|
+
- - ">="
|
106
98
|
- !ruby/object:Gem::Version
|
107
99
|
version: '0'
|
108
100
|
requirements: []
|
109
|
-
|
110
|
-
rubygems_version: 1.8.23
|
101
|
+
rubygems_version: 3.0.3
|
111
102
|
signing_key:
|
112
|
-
specification_version:
|
103
|
+
specification_version: 4
|
113
104
|
summary: SendGrid SMTP API gem fo Rails 3
|
114
105
|
test_files:
|
115
106
|
- spec/api_header_spec.rb
|