witai-charyf 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: aa3debb0d98e6ada2b590ff170a9872a3797d9b4
4
- data.tar.gz: cea33e946230372400e7eeb2dee8ac464345e020
3
+ metadata.gz: 73deda59d076288353b69e7c9b68b13c6883bec2
4
+ data.tar.gz: 17c7d8e01367dcce20e0e0b00150fec4c3c92a52
5
5
  SHA512:
6
- metadata.gz: c27fbcb28aa8b1bf0a71cf5ff7835bf3291bd5527ff495adc041c3ef9b71583b95afba8430441d584530f63bcee021f3b203bbb1f0a3e5115599bee605410884
7
- data.tar.gz: 95464805fcf39b6c90bf0dd45df31868c088dbd9feaa429c14a1ba19b931cd92c63e554aee9ae61035bfe33890cc9882320f5ca597af67ae15dcde26f91905b2
6
+ metadata.gz: 4f8a4cb96d966407615917221f8dc6df3782412ca517d7e9baf5ea6a1eee05de335cd3bc69d7570b0a069590b3a11a123fa9ce3717e50cbe066ad4789e18f296
7
+ data.tar.gz: d39cc78b2a43c2348aaf0480971a6888fae2ad3c816c2a6857a5d1c9a96f9396f21ade3ad5b79bb04f873a3454dfc1bce91aedcfd88f804b3fc20d4be57f1b4d
@@ -11,6 +11,11 @@ module WitAI
11
11
  require_relative 'charyf/generators/install/install_generator'
12
12
  end
13
13
 
14
+ #
15
+ # Installers are automatically run if this gem is present during generation of new application
16
+ #
17
+ config.generators.installers << 'witai:install'
18
+
14
19
  config.api_key = nil
15
20
 
16
21
  end
@@ -14,7 +14,7 @@ module WitAI
14
14
  end
15
15
 
16
16
  def finalize
17
- return unless behavior == :invoke
17
+ return if behavior != :invoke || options[:autorun]
18
18
 
19
19
  say_status 'notice', "Wit installed" +
20
20
  "\n\t\tDo not forget to set wit intent processor in application configuration" +
@@ -1,5 +1,5 @@
1
1
  module WitAI
2
2
  module Charyf
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: witai-charyf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Ludvigh
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-15 00:00:00.000000000 Z
11
+ date: 2018-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charyf