ruboty-sendmail 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruboty/handlers/sendmail.rb +1 -1
- data/lib/ruboty/sendmail/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab8642a98a034d4931dcb7009b4601694f29538b
|
4
|
+
data.tar.gz: 59aa0ee2b2f334341ae7e71c57757e6f3e417691
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bee7a849e76788765f32ca36215adbc26bc8f22473f1b956ac584402c20d74cee41ce9b94697a4c4352b69b9d8d5e3736cb655f6995bf46748d2212369d65ee
|
7
|
+
data.tar.gz: df49a62fc15e79d0fb58480e80ea79e1f5c8e500adf24e43af6e9e3ce8ffd56d200e0160727a08b60d4b2b47c801b2e441e39bdf14f5e45973ff409379635668
|
@@ -5,7 +5,7 @@ require 'mail'
|
|
5
5
|
module Ruboty
|
6
6
|
module Handlers
|
7
7
|
class Sendmail < Base
|
8
|
-
on /sendmail (?<address
|
8
|
+
on /sendmail (?<address>.+?) (?<body>.+)/, name: 'sendmail', description: 'Send a mail'
|
9
9
|
|
10
10
|
def sendmail(message)
|
11
11
|
mail_config = YAML.load_file("#{ENV['HOME']}/.ruboty-sendmail.yml")
|