postmark-inbound 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/lib/postmark-inbound/config.rb +1 -1
- data/lib/postmark-inbound/handler.rb +1 -1
- data/lib/postmark-inbound/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d459f72857c9460b4326097acfb1cb7e4307cbe1
|
4
|
+
data.tar.gz: dab4585dec8aaf993599bdfb3a3144f9ce8b89a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9d185ee96cb449c307d46a3a1c432fb23ce10a712ff94277eef30aaeeb87cc3136fc026ecea7976de20374f886f130876391cdee6c0055e131bb0a7c06383fc
|
7
|
+
data.tar.gz: 4362e2b58199943e1ab6c9393cd8eb36ab1751737ac96de7ef2c41941f32ffcf28550e76405da56037b69aaff75d9ab166dd6661c21ba7f831c5e3e32c45f528
|
data/README.md
CHANGED
@@ -6,9 +6,9 @@ A Ruby server for Postmark inbound webhook.
|
|
6
6
|
|
7
7
|
## Requirements
|
8
8
|
|
9
|
-
- Ruby 2.1 <=
|
10
|
-
- Kajiki 1.1 <=
|
11
|
-
- Sinatra 1.4 <=
|
9
|
+
- [Ruby](https://www.ruby-lang.org/) 2.1 <=
|
10
|
+
- [Kajiki](https://kenjij.github.io/kajiki/) 1.1 <=
|
11
|
+
- [Sinatra](http://www.sinatrarb.com) 1.4 <=
|
12
12
|
|
13
13
|
## Getting Started
|
14
14
|
|
@@ -30,10 +30,10 @@ PINS.logger.level = Logger::DEBUG
|
|
30
30
|
PINS::Config.setup do |c|
|
31
31
|
# User custom data
|
32
32
|
c.user = {my_data1: 'Something', my_data2: 'Somethingelse'}
|
33
|
-
#
|
33
|
+
# Optional: if any number of strings are set, it will require a matching "?auth=" parameter in the incoming request
|
34
34
|
c.auth_tokens = [
|
35
|
-
'
|
36
|
-
'
|
35
|
+
'someSTRING1234',
|
36
|
+
'OTHERstring987'
|
37
37
|
]
|
38
38
|
# HTTP server (Sinatra) settings
|
39
39
|
c.dump_errors = true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: postmark-inbound
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken J.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kajiki
|