Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

upgrade mocha deps to avoid require deprecation

  • Loading branch information...
commit 0ce9475c48114ac4d66f8343389c304646301f0b 1 parent 2beac64
@cldwalker authored
Showing with 2 additions and 3 deletions.
  1. +2 −2 .gemspec
  2. +0 −1  test/test_helper.rb
View
4 .gemspec
@@ -12,8 +12,8 @@ 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', '<= 0.11.4'
- s.add_development_dependency 'mocha-on-bacon', '>= 0.1.1'
+ s.add_development_dependency 'mocha', '~> 0.12.1'
+ s.add_development_dependency 'mocha-on-bacon', '~> 0.2.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}
s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
View
1  test/test_helper.rb
@@ -1,6 +1,5 @@
require 'bacon'
require 'bacon/bits'
-require 'mocha'
require 'mocha-on-bacon'
require 'hirb'
include Hirb
Please sign in to comment.
Something went wrong with that request. Please try again.