ruboty-message_suffix 0.0.1 → 0.0.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 +4 -4
- data/README.md +1 -1
- data/lib/ruboty/message_suffix/version.rb +1 -1
- data/lib/ruboty/message_suffix.rb +2 -2
- 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: 93198f533d9499a1da35c0371827cbade7c3f0e4
|
4
|
+
data.tar.gz: 0854fc5156f8a20f7356a19c6481425cd5971070
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f68d996670ff09fafebba22f97105626aa320a0ff16b61b47bb44bf4f3991be99c21330c2d9ee0bcfb2b0100f05c1dccb402b5f3ecd3409f13cbc8485e1f3261
|
7
|
+
data.tar.gz: d092a557221e2b3ee8f95839c7f49e09ab241df366e700b47a63887fa02d34a52c2644953aa26508ed0d2da881f55ba2b4eae4b1224c7038cfa8dae3164cb1a5
|
data/README.md
CHANGED
@@ -3,9 +3,9 @@ require "ruboty/message_suffix/version"
|
|
3
3
|
|
4
4
|
module ExtensionMessage
|
5
5
|
def message_suffix_reply(body, options = {})
|
6
|
-
raise "Please set the value to the ENV variable '
|
6
|
+
raise "Please set the value to the ENV variable 'RUBOT_MESSAGE_SUFFIX'" unless ENV.has_key?("RUBOT_MESSAGE_SUFFIX")
|
7
7
|
|
8
|
-
attributes = { body: body << " " << ENV["
|
8
|
+
attributes = { body: body << " " << ENV["RUBOT_MESSAGE_SUFFIX"], from: to, to: from, original: original }.merge(options)
|
9
9
|
robot.say(attributes)
|
10
10
|
end
|
11
11
|
end
|