eye-patch 0.4.1 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7fffb77f4cc603053d06b479ec908b9bbb3b25a0
4
- data.tar.gz: b9b670152526f2ce4c90fb79e58790305062c4fd
3
+ metadata.gz: 8a4a4c2194571cd788cba6650db44580fdf47ee6
4
+ data.tar.gz: ae65616ae36a62d09af62d105311f9d9e014ec90
5
5
  SHA512:
6
- metadata.gz: da0fe8339911f4092a66fe4e0a8a89fee214f5c75d4510e235076f8567a679316694614050315ef8cc7a218265e4e5ce252b0fea538507f15812a010d82b56dd
7
- data.tar.gz: a5947a846ead1b54c5db62befd6cfffdb1a75c1892b3319ca9a16fca8f608beacf3f33c570dcd26c8ab12984c23ddea26850a291c223b0badd2988ab075c383f
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. If the [`aws-ses`](https://github.com/drewblas/aws-ses) gem is available on the system, use the `type: ses` setting.
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. If the [`aws-sdk`](https://github.com/aws/aws-sdk-ruby/) gem is available on the system, use the `type: aws_sdk` setting. (Note: usually this gem is installed as a consequence of installing [aws-sdk-rails](https://github.com/aws/aws-sdk-rails)).
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
 
@@ -1,5 +1,12 @@
1
1
  require "aws-sdk-core"
2
- require "aws-sdk-core/ses"
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
@@ -1,5 +1,5 @@
1
1
  module Eye
2
2
  module Patch
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
  end
5
5
  end
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.1
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-07 00:00:00.000000000 Z
11
+ date: 2017-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eye