chatterbot 0.2.4 → 0.2.5
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.
- data/lib/chatterbot/bot.rb +1 -1
- data/lib/chatterbot/config.rb +2 -2
- data/lib/chatterbot/version.rb +1 -1
- data/spec/config_spec.rb +1 -1
- metadata +3 -3
data/lib/chatterbot/bot.rb
CHANGED
data/lib/chatterbot/config.rb
CHANGED
@@ -44,7 +44,7 @@ module Chatterbot
|
|
44
44
|
#
|
45
45
|
# Should we run any config updates?
|
46
46
|
def update_config?
|
47
|
-
config.has_key?(:
|
47
|
+
config.has_key?(:no_update) ? ! config[:no_update] : true
|
48
48
|
end
|
49
49
|
|
50
50
|
#
|
@@ -200,7 +200,7 @@ module Chatterbot
|
|
200
200
|
|
201
201
|
# let's not store these, they're just command-line options
|
202
202
|
tmp.delete(:debug_mode)
|
203
|
-
tmp.delete(:
|
203
|
+
tmp.delete(:no_update)
|
204
204
|
tmp.delete(:verbose)
|
205
205
|
|
206
206
|
|
data/lib/chatterbot/version.rb
CHANGED
data/spec/config_spec.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chatterbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 5
|
10
|
+
version: 0.2.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Colin Mitchell
|