chatterbot 2.1.0 → 2.2.0
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 +4 -4
- data/chatterbot.gemspec +9 -3
- data/lib/chatterbot/version.rb +1 -1
- metadata +10 -7
- data/ext/mkrf_conf.rb +0 -28
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49208ab18cf0449b6e3e9edaee0be33e626ffb1871137bc1131ed7a4745404c1
|
|
4
|
+
data.tar.gz: 3f921764ebfb8121ac30fb3c6785f586d785102376abc1c5e41faa4e5f04bcca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46c3805f65a29e1f538e03aaa5d506f966b33fad6b879bb818929ff2086a940f15ab3e68f6584daac61182650b100b962c02ede0d5e83c93e4ed1ab13437cc02
|
|
7
|
+
data.tar.gz: 89fdcbd28704b4547b0bf3593e1b4384dcba7755d7a7fda4ee6f9836bc6fe9c4d05677da208d85e6a74229d01114f89d120d5666cf17bf90c88ab5270b01878a
|
data/chatterbot.gemspec
CHANGED
|
@@ -23,14 +23,20 @@ Gem::Specification.new do |s|
|
|
|
23
23
|
s.require_paths = ["lib"]
|
|
24
24
|
s.licenses = ["MIT"]
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
s.extensions << 'ext/mkrf_conf.rb'
|
|
26
|
+
s.required_ruby_version = '>= 2.2'
|
|
28
27
|
|
|
29
28
|
s.add_runtime_dependency(%q<oauth>, ["~> 0.5.6"])
|
|
30
29
|
s.add_runtime_dependency(%q<twitter>, ["~> 7"])
|
|
31
30
|
s.add_runtime_dependency(%q<launchy>, [">= 2.4.2"])
|
|
32
31
|
s.add_runtime_dependency(%q<colorize>, [">= 0.7.3"])
|
|
33
|
-
|
|
32
|
+
|
|
34
33
|
s.add_development_dependency 'bundler', '~> 2.0'
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
s.post_install_message = %q{This version of chatterbot removes
|
|
37
|
+
activesupport as a dependency -- if you are using it, you might need
|
|
38
|
+
to install it separately!
|
|
39
|
+
|
|
40
|
+
}
|
|
35
41
|
end
|
|
36
42
|
|
data/lib/chatterbot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chatterbot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Colin Mitchell
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-05-
|
|
11
|
+
date: 2021-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oauth
|
|
@@ -85,8 +85,7 @@ description: A ruby framework for writing bots that run on Twitter. Comes with a
|
|
|
85
85
|
email: colin@muffinlabs.com
|
|
86
86
|
executables:
|
|
87
87
|
- chatterbot-register
|
|
88
|
-
extensions:
|
|
89
|
-
- ext/mkrf_conf.rb
|
|
88
|
+
extensions: []
|
|
90
89
|
extra_rdoc_files: []
|
|
91
90
|
files:
|
|
92
91
|
- ".github/workflows/ci.yml"
|
|
@@ -161,7 +160,6 @@ files:
|
|
|
161
160
|
- examples/dsl_test.rb
|
|
162
161
|
- examples/echoes_bot.rb
|
|
163
162
|
- examples/search_bot.rb
|
|
164
|
-
- ext/mkrf_conf.rb
|
|
165
163
|
- lib/chatterbot.rb
|
|
166
164
|
- lib/chatterbot/blocklist.rb
|
|
167
165
|
- lib/chatterbot/bot.rb
|
|
@@ -215,7 +213,11 @@ homepage: http://github.com/muffinista/chatterbot
|
|
|
215
213
|
licenses:
|
|
216
214
|
- MIT
|
|
217
215
|
metadata: {}
|
|
218
|
-
post_install_message:
|
|
216
|
+
post_install_message: |+
|
|
217
|
+
This version of chatterbot removes
|
|
218
|
+
activesupport as a dependency -- if you are using it, you might need
|
|
219
|
+
to install it separately!
|
|
220
|
+
|
|
219
221
|
rdoc_options: []
|
|
220
222
|
require_paths:
|
|
221
223
|
- lib
|
|
@@ -223,7 +225,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
223
225
|
requirements:
|
|
224
226
|
- - ">="
|
|
225
227
|
- !ruby/object:Gem::Version
|
|
226
|
-
version: '
|
|
228
|
+
version: '2.2'
|
|
227
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
230
|
requirements:
|
|
229
231
|
- - ">="
|
|
@@ -258,3 +260,4 @@ test_files:
|
|
|
258
260
|
- spec/tweet_spec.rb
|
|
259
261
|
- spec/utils_spec.rb
|
|
260
262
|
- spec/whitelist_spec.rb
|
|
263
|
+
...
|
data/ext/mkrf_conf.rb
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
require 'rubygems/dependency_installer'
|
|
2
|
-
|
|
3
|
-
#
|
|
4
|
-
# limit activesupport version if not on ruby 2.2 or higher
|
|
5
|
-
# @see https://www.tiredpixel.com/2014/01/05/curses-conditional-ruby-gem-installation-within-a-gemspec/
|
|
6
|
-
#
|
|
7
|
-
|
|
8
|
-
di = Gem::DependencyInstaller.new
|
|
9
|
-
|
|
10
|
-
begin
|
|
11
|
-
if RUBY_VERSION >= '2.2'
|
|
12
|
-
di.install "activesupport", "~> 4.2.8"
|
|
13
|
-
else
|
|
14
|
-
di.install "activesupport", "< 5.0.0"
|
|
15
|
-
end
|
|
16
|
-
rescue => e
|
|
17
|
-
warn "#{$0}: #{e}"
|
|
18
|
-
|
|
19
|
-
exit!
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
# https://en.wikibooks.org/wiki/Ruby_Programming/RubyGems#How_to_install_different_versions_of_gems_depending_on_which_version_of_ruby_the_installee_is_using
|
|
24
|
-
|
|
25
|
-
# create dummy rakefile to indicate success
|
|
26
|
-
f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w")
|
|
27
|
-
f.write("task :default\n")
|
|
28
|
-
f.close
|