--- /dev/null
+# cobalt.js #
+
+Experiments with cobalt in javascript.
+++ /dev/null
-= cobalt
-
-Console for ruby is: Colored, Nesting, Multiple, Smart logging management.
-
-== Installation
-
- $ gem install cobalt
-
-== Usage
-[http://github.com/ktlacaelel/cobalt/wiki/example.png]
-Try it yourself!
-
- require 'rubygems'
- require 'cobalt'
-
- stdout = Logger.new(STDOUT) # log to std out, and but dont prefix with anything!
- stdout.formatter = proc { |severity, datetime, progname, msg| "#{msg}\n" }
-
- console = Cobalt::Console.new :loggers => [stdout]
-
- console.space
- console.log 'Initializing Console sample..'
- console.separator '-'
- console.indent
- console.notice 'notice'
- console.warn 'warn'
- console.error 'error'
- console.outdent
-
- console.space
- console.log 'Remember the color, for a few lines..'
- console.separator '='
- console.color(:pink) do
- console.log 'all this'
- console.log 'will be'
- console.log 'colored pink'
- end
-
- console.space
-
-
-
-== Contributors
-
-* Fernando Trasviña
-* Pablo Antonio Gonzalez Cervantes
-* Kazuyoshi Tlacaelel
-
-== Copyright
-
-Copyright (c) 2012 kazuyoshi tlacaelel. See LICENSE for details.
+++ /dev/null
-require 'rubygems'
-require 'rake'
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
- gem.name = 'cobalt'
- gem.summary = %Q{Console for ruby.}
- gem.description = %Q{Colored, Nesting, Multiple logging management.}
- gem.email = 'kazu.dev@gmail.com'
- gem.homepage = 'http://github.com/ktlacaelel/cobalt'
- gem.authors = ['Fernando Trasviña', 'Pablo Antonio Gonzalez Cervantes', 'kazuyoshi tlacaelel']
- gem.add_development_dependency 'thoughtbot-shoulda', '>= 0'
- gem.add_development_dependency 'isna', '>= 0'
- end
- Jeweler::GemcutterTasks.new
-rescue LoadError
- puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
-end
-
-require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
-end
-
-begin
- require 'rcov/rcovtask'
- Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
- end
-rescue LoadError
- task :rcov do
- abort 'RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov'
- end
-end
-
-task :test => :check_dependencies
-
-task :default => :test
-
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ''
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "cobalt #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
+++ /dev/null
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
-# -*- encoding: utf-8 -*-
-
-Gem::Specification.new do |s|
- s.name = %q{cobalt}
- s.version = "0.1.0"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Fernando Trasvi\303\261a", "Pablo Antonio Gonzalez Cervantes", "kazuyoshi tlacaelel"]
- s.date = %q{2012-04-03}
- s.description = %q{Colored, Nesting, Multiple logging management.}
- s.email = %q{kazu.dev@gmail.com}
- s.extra_rdoc_files = [
- "LICENSE",
- "README.rdoc"
- ]
- s.files = [
- ".document",
- "LICENSE",
- "README.rdoc",
- "Rakefile",
- "VERSION",
- "cobalt.gemspec",
- "lib/cobalt.rb",
- "test/helper.rb",
- "test/test_cobalt.rb"
- ]
- s.homepage = %q{http://github.com/ktlacaelel/cobalt}
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Console for ruby.}
-
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
- s.add_development_dependency(%q<isna>, [">= 0"])
- else
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
- s.add_dependency(%q<isna>, [">= 0"])
- end
- else
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
- s.add_dependency(%q<isna>, [">= 0"])
- end
-end
-