synthetic 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/synthetic/bot.rb +1 -1
- data/lib/synthetic/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: 4488a72749eef26fa3fa2e7fadccafa2cd9e6d0a
|
4
|
+
data.tar.gz: 3b3278f6b8c6c833b8efa8d622077585e34a734a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 704b17e358cff80c13ea2d2d4be570ef5effe2986fb09d75b3446a020e7d245ce4f5fb2f589727580bd8a418c6a886200c04fef992629f9b9a70da7715245c6c
|
7
|
+
data.tar.gz: 75994f2c8b5925f90c4c4d1e845504d3338555375e8bd79081dcef54e227fdf22e5444fe61d77d20c16c07d4b5e81b4f33e3fdbd00b9eaf643a9cde7a2b711c8
|
data/CHANGES.md
CHANGED
data/lib/synthetic/bot.rb
CHANGED
@@ -58,7 +58,7 @@ module Synthetic
|
|
58
58
|
@routes = Hash.new
|
59
59
|
routes_config = YAML.load_file "#{@config[:root]}/config/routes.yml"
|
60
60
|
routes_config.each do |route|
|
61
|
-
intents = (route['intent'] || []) + (route['intents'] || [])
|
61
|
+
intents = ([route['intent']] || []) + (route['intents'] || [])
|
62
62
|
intents.each do |intent|
|
63
63
|
@routes[intent] = Object.const_get(route['to'].capitalize + 'Controller')
|
64
64
|
end
|
data/lib/synthetic/version.rb
CHANGED