chatterbot.gemspec in chatterbot-2.0.3 vs chatterbot.gemspec in chatterbot-2.0.4
- old
+ new
@@ -1,7 +1,10 @@
# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+
+#$:.push File.expand_path("../lib", __FILE__)
require "chatterbot/version"
Gem::Specification.new do |s|
s.name = %q{chatterbot}
s.version = Chatterbot::VERSION
@@ -18,20 +21,16 @@
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.licenses = ["MIT"]
- s.add_development_dependency(%q<redcarpet>, [">= 0"])
+ # load activesupport but check ruby version along the way
+ s.extensions << 'ext/mkrf_conf.rb'
+
s.add_runtime_dependency(%q<oauth>, ["~> 0.4.7"])
- s.add_runtime_dependency(%q<twitter>, ["~> 5.16.0"])
+ s.add_runtime_dependency(%q<twitter>, ["~> 6.1.0"])
s.add_runtime_dependency(%q<launchy>, [">= 2.4.2"])
s.add_runtime_dependency(%q<colorize>, [">= 0.7.3"])
- s.add_development_dependency(%q<yard>, [">= 0"])
- s.add_development_dependency(%q<shoulda>, [">= 0"])
- s.add_development_dependency(%q<rake>, ["< 11"])
- s.add_development_dependency(%q<rspec>, ["~> 3.0.0"])
- s.add_development_dependency(%q<rspec-mocks>, ["~> 3.0.2"])
- s.add_development_dependency(%q<rdoc>, [">= 0"])
- s.add_development_dependency(%q<simplecov>, [">= 0"])
- s.add_development_dependency(%q<observr>, [">= 0"])
+
+ s.add_development_dependency 'bundler', '~> 1.0'
end