Removed TermAnsiColor gem (uses GPL and isn't needed anymore)
This commit is contained in:
5
Rakefile
5
Rakefile
@@ -24,8 +24,3 @@ def pages_submodule_present
|
|||||||
File.exist?('pages/download.html')
|
File.exist?('pages/download.html')
|
||||||
end
|
end
|
||||||
|
|
||||||
class String
|
|
||||||
include Term::ANSIColor
|
|
||||||
end
|
|
||||||
|
|
||||||
Term::ANSIColor.coloring = STDOUT.isatty
|
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ Gem::Specification.new do |s|
|
|||||||
|
|
||||||
s.files = Dir.glob("./lib/**/*") + Dir.glob("./lib/jasmine-core/spec/**/*.js")
|
s.files = Dir.glob("./lib/**/*") + Dir.glob("./lib/jasmine-core/spec/**/*.js")
|
||||||
s.require_paths = ["lib"]
|
s.require_paths = ["lib"]
|
||||||
s.add_development_dependency "term-ansicolor"
|
|
||||||
s.add_development_dependency "json_pure", ">= 1.4.3"
|
s.add_development_dependency "json_pure", ">= 1.4.3"
|
||||||
s.add_development_dependency "frank"
|
s.add_development_dependency "frank"
|
||||||
s.add_development_dependency "sass"
|
s.add_development_dependency "sass"
|
||||||
|
|||||||
@@ -2524,5 +2524,5 @@ jasmine.version_= {
|
|||||||
"major": 1,
|
"major": 1,
|
||||||
"minor": 1,
|
"minor": 1,
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"revision": 1332515016
|
"revision": 1333301588
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class JasmineDev < Thor
|
|||||||
|
|
||||||
say "Running all appropriate specs via Node.js...", :cyan
|
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
|
run_with_output "node spec/node_suite.js #{with_color_option}", :capture => true
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user