File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#require 'awesome_print' # Removing because bad colors and can't configure
22#AwesomePrint.pry!
33
4- require 'colorize'
4+ begin
5+ require 'colorize'
6+ puts "#{ 'require' . light_red } #{ "'colorize'" . cyan } "
7+ rescue LoadError
8+ puts "Warning: colorize gem not found"
9+ end
10+
11+ begin
12+ require 'factory_girl_console'
13+ puts "#{ 'require' . light_red } #{ "'factory_girl_console'" . cyan } "
14+ rescue LoadError
15+ puts "Warning: factory_girl_console gem not found"
16+ end
517
618def colorized_stack_trace ( stack , base_dir )
719 separator = File ::SEPARATOR
@@ -49,7 +61,7 @@ _max_display_string_length = 50
4961def pbcopy ( input )
5062 str = input . to_s
5163 IO . popen ( 'pbcopy' , 'w' ) { |f | f << str }
52- truncaed = str . length > _max_display_string_length ? str [ 0 .._max_display_string_length ] + '...' : str
64+ truncated = str . length > _max_display_string_length ? str [ 0 .._max_display_string_length ] + '...' : str
5365 puts "Copied \" #{ truncated } \" to system clipboard!"
5466end
5567
Original file line number Diff line number Diff line change 6363
6464 "indentRainbow.error_color" : " " ,
6565
66- "editor.renderWhitespace" : " none" ,
66+ "editor.renderWhitespace" : " none"
6767}
You can’t perform that action at this time.
0 commit comments