adapt-charyf 0.3.0 → 0.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c78597af0f2278a7a424704bee2dc86e812a2ca9
|
4
|
+
data.tar.gz: da5b69e59b5d6ef80e239bc5fab3485255540393
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bbf1dc143db5d8decc70cda8dda772f12d3a0f9a4f5dbf69b2ce1a23feeb8ad72f700fe4243ed7a8e73b1980723749a9911a1df26edb11bd2f183c8f6e2dee8
|
7
|
+
data.tar.gz: 00205fb3f5aea4d16b7e9c42aeb24e0ef81534cf9e415021230ea0cd341ce483cba1afe9f33ed6e7850f6dd17cbc264c4b65dfaaf873e7829e0bb951ca9d62bf
|
@@ -1,2 +1,18 @@
|
|
1
1
|
# Alternatively set the python path in code
|
2
|
-
# ENV['PYTHON'] = 'python3'
|
2
|
+
# ENV['PYTHON'] = 'python3'
|
3
|
+
|
4
|
+
Adapt::Extension.configure do
|
5
|
+
|
6
|
+
# You can set custom lookup paths for adapt intents
|
7
|
+
# By default it searches for files ending '*.adapt.rb' inside
|
8
|
+
# [skill]/intents folder
|
9
|
+
#
|
10
|
+
# config.lookup_paths << ['path/to/intent/definitions]'
|
11
|
+
|
12
|
+
|
13
|
+
# Switch to different locale
|
14
|
+
# Adapt uses text helpers to normalize text
|
15
|
+
# If locale is empty, I18n locale will be used
|
16
|
+
#
|
17
|
+
# config.locale = nil
|
18
|
+
end
|
data/lib/adapt/processor.rb
CHANGED
@@ -56,7 +56,7 @@ module Adapt
|
|
56
56
|
end
|
57
57
|
|
58
58
|
# Load additional paths
|
59
|
-
Adapt.config.lookup_paths.each do |path|
|
59
|
+
Adapt.config.lookup_paths.flatten.each do |path|
|
60
60
|
Dir[Pathname.new(path.to_s).join('**', '*.adapt.rb')].each do |intent_definition_file|
|
61
61
|
require intent_definition_file
|
62
62
|
end
|
data/lib/adapt/version.rb
CHANGED