incoming 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -0
- data/lib/incoming.rb +1 -1
- data/lib/incoming/strategies/cloudmailin.rb +1 -1
- data/lib/incoming/strategies/http_post.rb +4 -4
- metadata +2 -2
data/README.md
CHANGED
@@ -5,6 +5,9 @@ Incoming! helps you receive email in your Rack apps.
|
|
5
5
|
|
6
6
|
Brought to you by :zap: **Honeybadger.io**, painless [Rails exception tracking](https://www.honeybadger.io/).
|
7
7
|
|
8
|
+
[![Build Status](https://travis-ci.org/honeybadger-io/incoming.png)](https://travis-ci.org/honeybadger-io/incoming)
|
9
|
+
[![Gem Version](https://badge.fury.io/rb/incoming.png)](http://badge.fury.io/rb/incoming)
|
10
|
+
|
8
11
|
## Sendgrid example:
|
9
12
|
|
10
13
|
```ruby
|
data/lib/incoming.rb
CHANGED
@@ -10,10 +10,10 @@ module Incoming
|
|
10
10
|
def initialize(request)
|
11
11
|
params = request.params
|
12
12
|
|
13
|
-
@signature = params
|
14
|
-
@token = params
|
15
|
-
@timestamp = params
|
16
|
-
@message = Mail.new(params
|
13
|
+
@signature = params['signature']
|
14
|
+
@token = params['token']
|
15
|
+
@timestamp = params['timestamp']
|
16
|
+
@message = Mail.new(params['message'])
|
17
17
|
end
|
18
18
|
|
19
19
|
def authenticate
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: incoming
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
segments:
|
143
143
|
- 0
|
144
|
-
hash:
|
144
|
+
hash: 3390187440770362
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
146
|
none: false
|
147
147
|
requirements:
|