email-delivery 0.1.1 → 0.1.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: 0f8ffccb54e9308042f4d89c67c61e858e9f070c
4
- data.tar.gz: 0a2d6e1607808f0c65fd472247b1e696e017c3bd
3
+ metadata.gz: 07fe69e5ab66cccb868e7a44fc2b837a1dd1a83e
4
+ data.tar.gz: 3db90e473da62d9c62a75d795f24e267262287f6
5
5
  SHA512:
6
- metadata.gz: 1f77d4c001b732012f637e43f20f65f19a4b6c5324aad197f78bebbfeb44b27741bdc26e9ada788d2cde4355edf23fbfe0c8a861385f3f724718050e8c7c5b74
7
- data.tar.gz: d2e0798af0e63e8c5b6dd6ab17284b13050edebfd0af1acb2d69c38a61b46c70859c98fc8355b396bf0da21e601fde2d75e4206096f6eb7d8f54b7d59f9e3d77
6
+ metadata.gz: c96ce4e7bec0ba48307d773135eb8e9d3bb135eb8aef08c68ef1e0ea70a246b5e6e6390407293f8087f0de621841498dffc9bf520789371c1d89d183a047145b
7
+ data.tar.gz: cc0c143320d18d91c4e90369ff533afbf4e3915879cf0c1189799946c81ac99bca5ce3fa181efb90cb1ca1611e36481d985935a44ed66284df52b99658e535e9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- email-delivery (0.1.1)
4
+ email-delivery (0.1.2)
5
5
  rest-client (~> 2.0.2)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -102,6 +102,7 @@ Or install it yourself as:
102
102
  end
103
103
 
104
104
  output_hash = mail.dispatch
105
+
105
106
  {
106
107
  "message": "to/cc/bcc email-ids are not valid. Please provide at least one valid to/cc/bcc email address.",
107
108
  "status": 2
@@ -114,12 +115,17 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
114
115
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
115
116
 
116
117
  ## Issues
117
- Mailgun setting up domain issues: So using the sandbox account where only authorized recepient list can recieve email.
118
+ Mailgun set-up issues with netregistry
118
119
 
120
+ ## Limitations
121
+ Mailgun is running with sandbox environment. So only Authorized receipients could receive email.
122
+ Service assumes any string which passes a email regex is a valid email.
123
+ Service handles only sending emails and won't inform about dropped messages or rejected messages.
124
+
119
125
  ## Improvements
120
126
  Message builder for the mail clients based on the input.
121
- Custom ExceptionHandler based on api error codes.
122
-
127
+ API Client exceptions based on api error codes with user friendly messages.
128
+
123
129
  ## Contributing
124
130
 
125
131
  Bug reports and pull requests are welcome on GitHub at https://github.com/elitenomad/email-delivery.
@@ -34,7 +34,7 @@ module Email
34
34
  end
35
35
 
36
36
  unless bcc.nil?
37
- personalizations_hash.merge!({ "bcc" => recepient_list(cc) })
37
+ personalizations_hash.merge!({ "bcc" => recepient_list(bcc) })
38
38
  end
39
39
 
40
40
  [
@@ -1,5 +1,5 @@
1
1
  module Email
2
2
  module Delivery
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email-delivery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pranava Swaroop
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-13 00:00:00.000000000 Z
11
+ date: 2017-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client