easy_smtp 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/easy_smtp/smtp.rb +0 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77d4083c6506abbb9695f75d994365741eb025a934e2c242c1bb9d8833ce4bae
4
- data.tar.gz: 89b80390f2abde9939affc7e0230cbc24f76a88108e979fcbf43b81fba257208
3
+ metadata.gz: '085d105f1752b3f6a0dab1c3107fc15ae443397ab32f5a76039c406bacef6e29'
4
+ data.tar.gz: 9c475f06f9afbe6fdcd6bb72ae3bedc818126fc85a4238d6d20dff75ed9b0bd6
5
5
  SHA512:
6
- metadata.gz: 4266b3386c9407e98f2e0c6378ebcbcd07d84ec74c9f980abb494c6422c469c366eb7c1eaa338890d7ecdcade7faf20bac3f6891347f4dd78a17aace6ceb7ecc
7
- data.tar.gz: 0231c46c67e0f5a9b4c0b08a22bd3b8e597f31bb7a6e1d8494e0eaa9100319162b9ca932eaa03066fa47143bf27dd79360f93d3bbccdc55aa53f9d6a741299eb
6
+ metadata.gz: d3e31dd073680318f8ce857e50e2c63553a6a7cb21fb6875261411724a280d3ab68425eb7500e1b68c90c68db38c5e51780748765def999ae43c3519b40f1536
7
+ data.tar.gz: de1b793f2686497098eb39353dc8dfa860675c1a05a5ac756f91207710def0a855e32675cf808801009f77916d68aa253e5a4330929d6ccf3c6598593a63fb1d
@@ -1,10 +1,6 @@
1
1
  module EasySMTP
2
2
  module_function
3
3
 
4
- smtp_server = EasySMTP.config['smtp']['server']
5
- smtp_port = EasySMTP.config['smtp']['port']
6
- raise "SMTP server missing from config. Add the entry to the #{EasySMTP.config.path} \"smtp\": { \"server\": \"hostname_or_ip\" }" if smtp_server.nil? || smtp_server.empty?
7
-
8
4
  ### Example parameter for send_email method
9
5
  # email_data = {
10
6
  # recipients: 'example@recipient.com;somegal@test.com',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_smtp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Munoz