rails_chatbot 0.2.0 → 0.2.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 462abac080885c47dec58fb4e8ccb8df23970b161e7174b896e7ab509e38ad2c
|
|
4
|
+
data.tar.gz: cb0505d75fb539e691a586350aa2ea97f27aae3478ce6c2a5d179b07e0621a98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c85ab565f87c1aa29c98180bf9be28381006f5b79432ee5e69bc71ecd626913a7c96ecaa8a32827ba91b266ab14b56fd3a30deb7912bfc29726af6944c5c8fd
|
|
7
|
+
data.tar.gz: 2d69ac464d6c699c6309ba076e485385cd98fb74d222c92bde26d682c84ee2f4b5cccf190fe29e404641771761be1f642eada4e30525e7f9a6254f42f459c220
|
|
@@ -205,14 +205,14 @@ module RailsChatbot
|
|
|
205
205
|
query_lower = query.downcase
|
|
206
206
|
|
|
207
207
|
case query_lower
|
|
208
|
-
when /services
|
|
208
|
+
when /services?|what.*service|what.*do.*do/
|
|
209
209
|
{
|
|
210
|
-
title: "Services
|
|
210
|
+
title: "Services",
|
|
211
211
|
content: RailsChatbot.configuration.default_responses[:services],
|
|
212
212
|
source_type: "default",
|
|
213
213
|
source_url: "/services"
|
|
214
214
|
}
|
|
215
|
-
when /hello
|
|
215
|
+
when /hello|hi|hey/
|
|
216
216
|
{
|
|
217
217
|
title: "Greeting",
|
|
218
218
|
content: RailsChatbot.configuration.default_responses[:greeting],
|