eye-patch 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -2
- data/lib/eye/notify/awssdk.rb +8 -1
- data/lib/eye/patch/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: 8a4a4c2194571cd788cba6650db44580fdf47ee6
|
4
|
+
data.tar.gz: ae65616ae36a62d09af62d105311f9d9e014ec90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75797f8fbd012a2a988b0ff9e8f0d824024de72fc94bb21f411c2a0f9ee4b01649f2a825b74834f22050d39d4c188afb824da9c2c6433f2d0914d23db07efb30
|
7
|
+
data.tar.gz: b22cfb202162b8ec5dd920db77ac6029560f0277cc5c180eae08ebc516e9c0edfa5828ba158d838181b3bbdb4d078c4a5d85c524e1abf7fafc878eb15bdf21d4
|
data/README.md
CHANGED
@@ -32,7 +32,11 @@ Note that SES support will only be provided if a necessary gem is installed on t
|
|
32
32
|
|
33
33
|
`Eye::Patch` supports 2 different SES-backed gems:
|
34
34
|
|
35
|
-
1.
|
35
|
+
1. aws-ses
|
36
|
+
|
37
|
+
**Deprecated**: The `aws-sdk-ses` gem is recommended in place of aws-ses, as aws-ses hasn't been maintained in years.
|
38
|
+
|
39
|
+
If the [`aws-ses`](https://github.com/drewblas/aws-ses) gem is available on the system, use the `type: ses` setting.
|
36
40
|
|
37
41
|
Example configuration:
|
38
42
|
|
@@ -46,7 +50,14 @@ Note that SES support will only be provided if a necessary gem is installed on t
|
|
46
50
|
access_key_id: Your+AWS+Access+Key+ID
|
47
51
|
secret_access_key: Your+AWS+Secret+Access+Key
|
48
52
|
|
49
|
-
2.
|
53
|
+
2. aws-sdk/aws-sdk-ses
|
54
|
+
|
55
|
+
If either of the [`aws-sdk`](https://github.com/aws/aws-sdk-ruby/) or [`aws-sdk-ses`](https://github.com/aws/aws-sdk-ruby/) gems are available on the system, use the `type: aws_sdk` setting. (Note: usually one of these gems are installed as a consequence of installing [aws-sdk-rails](https://github.com/aws/aws-sdk-rails)).
|
56
|
+
|
57
|
+
Note: As of version 2.x of `aws-sdk-rails`, it only includes `aws-sdk-ses`.
|
58
|
+
|
59
|
+
Note: As of version 3.x of `aws-sdk`, you can instead use `aws-sdk-ses` in order to only load the SES portion of the libraries. Before version 2.x of `aws-sdk`, the gem included all of the AWS libraries.
|
60
|
+
|
50
61
|
|
51
62
|
Example configuration:
|
52
63
|
|
data/lib/eye/notify/awssdk.rb
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
require "aws-sdk-core"
|
2
|
-
|
2
|
+
|
3
|
+
begin
|
4
|
+
# aws-sdk gem version 2.x includes the SES code as a sub-module
|
5
|
+
require "aws-sdk-core/ses"
|
6
|
+
rescue LoadError
|
7
|
+
# aws-sdk gem version 3.x includes the SES code as a separate aws-sdk-ses gem
|
8
|
+
require "aws-sdk-ses"
|
9
|
+
end
|
3
10
|
|
4
11
|
module Eye
|
5
12
|
class Notify
|
data/lib/eye/patch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eye-patch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Horner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eye
|