diff --git a/Rakefile b/Rakefile index 6f19dcc1..fdb93e96 100644 --- a/Rakefile +++ b/Rakefile @@ -24,8 +24,3 @@ def pages_submodule_present File.exist?('pages/download.html') end -class String - include Term::ANSIColor -end - -Term::ANSIColor.coloring = STDOUT.isatty diff --git a/jasmine-core.gemspec b/jasmine-core.gemspec index 049710fe..48195699 100644 --- a/jasmine-core.gemspec +++ b/jasmine-core.gemspec @@ -16,7 +16,6 @@ Gem::Specification.new do |s| s.files = Dir.glob("./lib/**/*") + Dir.glob("./lib/jasmine-core/spec/**/*.js") s.require_paths = ["lib"] - s.add_development_dependency "term-ansicolor" s.add_development_dependency "json_pure", ">= 1.4.3" s.add_development_dependency "frank" s.add_development_dependency "sass" diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index f22c7633..a9c03f73 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -2524,5 +2524,5 @@ jasmine.version_= { "major": 1, "minor": 1, "build": 0, - "revision": 1332515016 + "revision": 1333301588 }; diff --git a/tasks/jasmine_dev/execute_specs.rb b/tasks/jasmine_dev/execute_specs.rb index fa954135..63f4ff02 100644 --- a/tasks/jasmine_dev/execute_specs.rb +++ b/tasks/jasmine_dev/execute_specs.rb @@ -12,7 +12,7 @@ class JasmineDev < Thor say "Running all appropriate specs via Node.js...", :cyan - with_color_option = Term::ANSIColor.coloring? ? "--color" : "--noColor" + with_color_option = STDOUT.isatty ? "--color" : "--noColor" run_with_output "node spec/node_suite.js #{with_color_option}", :capture => true end