posthaste-rails 0.1.0
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 +7 -0
- data/LICENSE +21 -0
- data/README.md +323 -0
- data/lib/posthaste/actionmailer.rb +68 -0
- data/lib/posthaste/delivery_method.rb +106 -0
- data/lib/posthaste/errors.rb +311 -0
- data/lib/posthaste/http_client.rb +256 -0
- data/lib/posthaste/message_mapper.rb +494 -0
- data/lib/posthaste/railtie.rb +31 -0
- data/lib/posthaste/redaction.rb +62 -0
- data/lib/posthaste/result.rb +61 -0
- data/lib/posthaste/version.rb +8 -0
- data/lib/posthaste-rails.rb +6 -0
- metadata +77 -0
metadata
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: posthaste-rails
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Posthaste
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: actionmailer
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '6.1'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '6.1'
|
|
26
|
+
description: |-
|
|
27
|
+
Send Rails mail through Posthaste by setting one delivery method. Every
|
|
28
|
+
mail() call, view, deliver_later and mailer test stays exactly as it is.
|
|
29
|
+
Maps the whole Mail::Message — HTML and text parts, Cc, Bcc, Reply-To,
|
|
30
|
+
attachments and custom headers — and turns each API refusal into its own
|
|
31
|
+
exception, so a suppressed recipient, an unverified domain and an exhausted
|
|
32
|
+
quota are three different things to rescue.
|
|
33
|
+
email:
|
|
34
|
+
- support@posthastemail.dev
|
|
35
|
+
executables: []
|
|
36
|
+
extensions: []
|
|
37
|
+
extra_rdoc_files: []
|
|
38
|
+
files:
|
|
39
|
+
- LICENSE
|
|
40
|
+
- README.md
|
|
41
|
+
- lib/posthaste-rails.rb
|
|
42
|
+
- lib/posthaste/actionmailer.rb
|
|
43
|
+
- lib/posthaste/delivery_method.rb
|
|
44
|
+
- lib/posthaste/errors.rb
|
|
45
|
+
- lib/posthaste/http_client.rb
|
|
46
|
+
- lib/posthaste/message_mapper.rb
|
|
47
|
+
- lib/posthaste/railtie.rb
|
|
48
|
+
- lib/posthaste/redaction.rb
|
|
49
|
+
- lib/posthaste/result.rb
|
|
50
|
+
- lib/posthaste/version.rb
|
|
51
|
+
homepage: https://posthastemail.dev
|
|
52
|
+
licenses:
|
|
53
|
+
- MIT
|
|
54
|
+
metadata:
|
|
55
|
+
homepage_uri: https://posthastemail.dev
|
|
56
|
+
documentation_uri: https://posthastemail.dev/docs
|
|
57
|
+
source_code_uri: https://github.com/posthastemail/posthaste-rails
|
|
58
|
+
bug_tracker_uri: https://github.com/posthastemail/posthaste-rails/issues
|
|
59
|
+
rubygems_mfa_required: 'true'
|
|
60
|
+
rdoc_options: []
|
|
61
|
+
require_paths:
|
|
62
|
+
- lib
|
|
63
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: 3.1.0
|
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
|
+
requirements:
|
|
70
|
+
- - ">="
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: '0'
|
|
73
|
+
requirements: []
|
|
74
|
+
rubygems_version: 3.6.7
|
|
75
|
+
specification_version: 4
|
|
76
|
+
summary: ActionMailer delivery method for the Posthaste transactional email API.
|
|
77
|
+
test_files: []
|