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: 0ae0b4187634b74e19145a589d728f4dfbcff32e
4
- data.tar.gz: 5aade8cc3b617e4e6943e4d718f7265b7b527d03
3
+ metadata.gz: c78597af0f2278a7a424704bee2dc86e812a2ca9
4
+ data.tar.gz: da5b69e59b5d6ef80e239bc5fab3485255540393
5
5
  SHA512:
6
- metadata.gz: 2a91885e56eb0ffb1f51331c9ab66135ddba69683127d8bf55d839be9c6f3594622d2b435a1f6711048cc20a756a28477db7341db296edc278caa96e290c2a72
7
- data.tar.gz: e29fab6d2614932133f5fb2d3a54ddb06e2e83c57775f7f2244c880ba5f83b555e77ae41305fbdbdf8f3c4ddec9153ae2f3a32f1c0f43957bddb7825c7958693
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Adapt
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adapt-charyf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Ludvigh