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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df6b95d2c2b85ab76e23ea2837633066ca4f9d4b
4
- data.tar.gz: 5ec543d4af20f3ccd38f5cd45b1644a41e88bd5f
3
+ metadata.gz: 4488a72749eef26fa3fa2e7fadccafa2cd9e6d0a
4
+ data.tar.gz: 3b3278f6b8c6c833b8efa8d622077585e34a734a
5
5
  SHA512:
6
- metadata.gz: 1c031184d81ab4d2a5a3de399c71b1f1bbc177a9796994af77ac9ecdc40e4de90b27e9019dc1ec37ac9963cd25e8b22d9e78ceedd18981fdc072ca482ac1ab58
7
- data.tar.gz: 15b99274c69570c41f921c6690b96f3bde3b2dbcd4fbb96478fbbc0df911fd93a1ea8265f0151361167af10e96a74557001711bc5752b968a9a8b94e3d9aee1a
6
+ metadata.gz: 704b17e358cff80c13ea2d2d4be570ef5effe2986fb09d75b3446a020e7d245ce4f5fb2f589727580bd8a418c6a886200c04fef992629f9b9a70da7715245c6c
7
+ data.tar.gz: 75994f2c8b5925f90c4c4d1e845504d3338555375e8bd79081dcef54e227fdf22e5444fe61d77d20c16c07d4b5e81b4f33e3fdbd00b9eaf643a9cde7a2b711c8
data/CHANGES.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Synthetic Bot Framework Changes
2
2
  ===============================
3
3
 
4
+ ## v0.1.1 - *2013-11-10*
5
+
6
+ - Fixed a bug with specifying a singular intent key in routes.
7
+
4
8
  ## v0.1.0 - *2013-11-10*
5
9
 
6
10
  - First development prototype.
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Synthetic
2
2
  # The currently loaded version of Synthetic.
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synthetic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Workman