grape-slack-bot 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slack_bot/config.rb +3 -3
- data/lib/slack_bot.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2af9ee1dcca9101aaf2fb823f45ce1609c591024ab1e9084d3add79fad87d243
|
4
|
+
data.tar.gz: d83d3790de38c03b5f0cf6757ac7fc66334793a76d07fc9e0d82b2cb110306a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26b539c209daf44688511578754ebc222a919728a2694bca0d11a737cc0222d219bc61b382974cd10d8ff9d0f31222d0b97e61074ae5a7210516f3a003806dd9
|
7
|
+
data.tar.gz: '04719c66bec6569d1cf2dc99351bffc55cb6826d53fb3e07678e803bda60c5f69f590b952f6a7468b795777a2c6c79fcff48f9ec1f03241574f5b6ce7598d6ac'
|
data/lib/slack_bot/config.rb
CHANGED
@@ -52,7 +52,7 @@ module SlackBot
|
|
52
52
|
config: self,
|
53
53
|
handler_name: handler_name
|
54
54
|
)
|
55
|
-
endpoint.instance_eval(&) if
|
55
|
+
endpoint.instance_eval(&) if block_given?
|
56
56
|
endpoint
|
57
57
|
end
|
58
58
|
end
|
@@ -116,7 +116,7 @@ module SlackBot
|
|
116
116
|
endpoint: self,
|
117
117
|
handler_name: handler_name
|
118
118
|
)
|
119
|
-
command.instance_eval(&) if
|
119
|
+
command.instance_eval(&) if block_given?
|
120
120
|
command
|
121
121
|
end
|
122
122
|
end
|
@@ -166,7 +166,7 @@ module SlackBot
|
|
166
166
|
)
|
167
167
|
|
168
168
|
command_config = @argument_command_configs[argument_token.to_sym]
|
169
|
-
command_config.instance_eval(&) if
|
169
|
+
command_config.instance_eval(&) if block_given?
|
170
170
|
|
171
171
|
command_config
|
172
172
|
end
|
data/lib/slack_bot.rb
CHANGED