Removed TermAnsiColor gem (uses GPL and isn't needed anymore)

This commit is contained in:
Davis W. Frank
2012-04-01 10:51:04 -07:00
parent 626da5a112
commit 674197aef8
4 changed files with 2 additions and 8 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -2524,5 +2524,5 @@ jasmine.version_= {
"major": 1,
"minor": 1,
"build": 0,
"revision": 1332515016
"revision": 1333301588
};

View File

@@ -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