From: Ben Beltran Date: Mon, 25 Mar 2013 23:03:19 +0000 (-0600) Subject: Just getting ready to jsonify stuff X-Git-Tag: v1.1.0~48 X-Git-Url: https://git.r.bdr.sh/rbdr/cologne/commitdiff_plain/08ce17a6d30a2f40459a4eecc7db20e1931046f9?hp=371a7688fcd47c0bdff4a102a0b119da40c643bb Just getting ready to jsonify stuff --- diff --git a/README.md b/README.md new file mode 100644 index 0000000..618bae4 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# cobalt.js # + +Experiments with cobalt in javascript. diff --git a/README.rdoc b/README.rdoc deleted file mode 100644 index 563e17e..0000000 --- a/README.rdoc +++ /dev/null @@ -1,51 +0,0 @@ -= 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. diff --git a/Rakefile b/Rakefile deleted file mode 100644 index bfac738..0000000 --- a/Rakefile +++ /dev/null @@ -1,53 +0,0 @@ -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 diff --git a/cobalt.gemspec b/cobalt.gemspec deleted file mode 100644 index 2698a84..0000000 --- a/cobalt.gemspec +++ /dev/null @@ -1,51 +0,0 @@ -# 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, [">= 0"]) - s.add_development_dependency(%q, [">= 0"]) - else - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) - end - else - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) - end -end - diff --git a/package.json b/package.json new file mode 100644 index 0000000..e69de29