talktome 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1317ea771cd7db70da11305d0f1c4b01354a9f61ebaab08471203a381e5996e7
4
- data.tar.gz: 6baaf5b0a04cefc08c730e9d4a74dadfb2b3e24157866eb50ea57f100bfbe000
3
+ metadata.gz: 9c440231a08054f22280bfdd1181504e4d8165d560abefdde9e47f8c61e1bb8a
4
+ data.tar.gz: 0b581c1143de1727521e9e1f02a575dfb9d5329ec81760430f9accd5fce7c595
5
5
  SHA512:
6
- metadata.gz: '085db119985500d3343e3899456b86f664eb853d8656b7f984bdc1fecf7ea778d30593af9e5dbab8823cedf898db7a8fd9de46f09ef4704731a74c2a52caac0c'
7
- data.tar.gz: f227e42c2e2f0caf8089dfd5399286fec049c0d9c2d349bfdeb34aa9731387ad4758d957971f05811b09757ad8e476145f435ffe74aaf989b8ae128455291856
6
+ metadata.gz: '0083ac9839d23e92f285c5e9d688083497ce8bc3957d7f1bb6c7fca49534b5c9d4677ccda8171bfd39e55ac16622acbfd46a4ebd654185eba217a5547a9f4c2e'
7
+ data.tar.gz: 43316252a3c9a47a1b6329d0c3c95aa17de447d2d050834316755c78f02550e07c33f8a7892cfff1e69e51db3a7eae86cedeef7cc98c002a707eaf80f1d32183
data/README.md CHANGED
@@ -87,26 +87,27 @@ The easiest way to configure Talktome is through environment variables. The foll
87
87
  ones are supported:
88
88
 
89
89
  ```
90
- TALKTOME_DEBUG when set enables the dumping of sent messages to ./tmp folder
90
+ TALKTOME_DEBUG when set enables the dumping of sent messages to ./tmp folder
91
91
 
92
- TALKTOME_EMAIL_DELIVERY smtp, file or test (see ruby Mail library)
93
- TALKTOME_EMAIL_DEFAULT_FROM default From: to use for email sending
94
- TALKTOME_EMAIL_DEFAULT_REPLYTO default Reply-To: to use for email sending
95
- TALKTOME_EMAIL_DEFAULT_TO default To: to use for email sending
92
+ TALKTOME_EMAIL_DELIVERY smtp, file or test (see ruby Mail library)
93
+ TALKTOME_EMAIL_DEFAULT_FROM default From: to use for email sending
94
+ TALKTOME_EMAIL_DEFAULT_REPLYTO default Reply-To: to use for email sending
95
+ TALKTOME_EMAIL_DEFAULT_TO default To: to use for email sending
96
96
 
97
- TALKTOME_EMAIL_SUBJECT Set the subject of the default "contact us" email
98
- TALKTOME_EMAIL_FOOTER Set the footer of the default "contact us" email
97
+ TALKTOME_EMAIL_SUBJECT Set the subject of the default "contact us" email
98
+ TALKTOME_EMAIL_FOOTER Set the footer of the default "contact us" email
99
99
 
100
- TALKTOME_LAYOUTS_FOLDER Set the folder to use for messaging layouts
100
+ TALKTOME_LAYOUTS_FOLDER Set the folder to use for messaging layouts
101
101
 
102
- TALKTOME_SMTP_ADDRESS host address for smtp sending
103
- TALKTOME_SMTP_PORT port of smtp server to use
104
- TALKTOME_SMTP_DOMAIN sending domain
105
- TALKTOME_SMTP_USER user for smtp authentication
106
- TALKTOME_SMTP_PASSWORD password for smtp authentication
107
- TALKTOME_SMTP_STARTTLS_AUTO true or false (see ruby Mail library)
102
+ TALKTOME_SMTP_ADDRESS host address for smtp sending
103
+ TALKTOME_SMTP_PORT port of smtp server to use
104
+ TALKTOME_SMTP_DOMAIN sending domain
105
+ TALKTOME_SMTP_USER user for smtp authentication
106
+ TALKTOME_SMTP_PASSWORD password for smtp authentication
107
+ TALKTOME_SMTP_STARTTLS_AUTO true or false (see ruby Mail library)
108
+ TALKTOME_SMTP_OPENSSL_VERIFY_MODE none or peer (see ruby Mail library). Defaults to peer.
108
109
 
109
- TALKTOME_BEARER_SECRET secret for the webapi, to let send emails to anyone
110
+ TALKTOME_BEARER_SECRET secret for the webapi, to let send emails to anyone
110
111
  ```
111
112
 
112
113
  ## Hacking Talktome
@@ -2,7 +2,7 @@ module Talktome
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
- TINY = 1
5
+ TINY = 2
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
data/lib/talktome.rb CHANGED
@@ -58,7 +58,8 @@ module Talktome
58
58
  domain: ENV['TALKTOME_SMTP_DOMAIN'],
59
59
  user_name: ENV['TALKTOME_SMTP_USER'],
60
60
  password: ENV['TALKTOME_SMTP_PASSWORD'],
61
- enable_starttls_auto: (ENV['TALKTOME_SMTP_STARTTLS_AUTO'] != 'false')
61
+ enable_starttls_auto: (ENV['TALKTOME_SMTP_STARTTLS_AUTO'] != 'false'),
62
+ openssl_verify_mode: ENV['TALKTOME_SMTP_OPENSSL_VERIFY_MODE'] || "peer",
62
63
  }) if email_delivery == :smtp
63
64
 
64
65
  email_config.merge!({
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: talktome
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau