mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Made [rake spec] run with ruby 1.9.3
This commit is contained in:
parent
fea9567eb4
commit
246f5f93ab
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
awesome_print (1.0.0)
|
awesome_print (1.0.2)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: http://rubygems.org/
|
remote: http://rubygems.org/
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# AwesomePrint might be loaded implicitly through ~/.irbrc so do nothing
|
# AwesomePrint might be loaded implicitly through ~/.irbrc so do nothing
|
||||||
# for subsequent requires.
|
# for subsequent requires.
|
||||||
#
|
#
|
||||||
unless defined?(AwesomePrint)
|
unless defined?(AwesomePrint::Inspector)
|
||||||
%w(array string method object class kernel).each do |file|
|
%w(array string method object class kernel).each do |file|
|
||||||
require File.dirname(__FILE__) + "/awesome_print/core_ext/#{file}"
|
require File.dirname(__FILE__) + "/awesome_print/core_ext/#{file}"
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
# Running specs from the command line:
|
# Running specs from the command line:
|
||||||
# $ rake spec # Entire spec suite.
|
# $ rake spec # Entire spec suite.
|
||||||
# $ rspec spec/logger_spec.rb # Individual spec file.
|
# $ rspec spec/objects_spec.rb # Individual spec file.
|
||||||
#
|
#
|
||||||
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
||||||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
||||||
|
|
Loading…
Reference in a new issue