diff --git a/.gemspec b/.gemspec index 307f002..62a8818 100644 --- a/.gemspec +++ b/.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |s| s.description = "Hirb provides a mini view framework for console applications and uses it to improve ripl(irb)'s default inspect output. Given an object or array of objects, hirb renders a view based on the object's class and/or ancestry. Hirb offers reusable views in the form of helper classes. The two main helpers, Hirb::Helpers::Table and Hirb::Helpers::Tree, provide several options for generating ascii tables and trees. Using Hirb::Helpers::AutoTable, hirb has useful default views for at least ten popular database gems i.e. Rails' ActiveRecord::Base. Other than views, hirb offers a smart pager and a console menu. The smart pager only pages when the output exceeds the current screen size. The menu is used in conjunction with tables to offer two dimensional menus." s.required_rubygems_version = ">= 1.3.5" s.add_development_dependency 'bacon', '>= 1.1.0' - s.add_development_dependency 'mocha', '>= 0.9.8' + s.add_development_dependency 'mocha', '>= 0.9.8', '<= 0.11.4' s.add_development_dependency 'mocha-on-bacon', '>= 0.1.1' s.add_development_dependency 'bacon-bits' s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} {.,test,spec}/deps.rip]) + %w{Rakefile .gemspec .travis.yml} diff --git a/.travis.yml b/.travis.yml index 6d4be61..ff7575b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ before_install: bundle init --gemspec=.gemspec -script: MOCHA_OPTIONS=skip_integration bacon -q -Ilib -I. test/*_test.rb +script: bacon -q -Ilib -I. test/*_test.rb rvm: - 1.8.7 - 1.9.2