Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moved to github, gemcutter and jeweler

  • Loading branch information...
commit c66a3790401e90441b05df4ba02eba819f1ad091 1 parent 45c7c9c
@fazibear authored
View
6 .gitignore
@@ -0,0 +1,6 @@
+# svn propset svn:ignore -F .svnignore .
+# svn propedit svn:ignore .
+doc
+pkg
+.rake_tasks
+*.gem
View
0  History.txt → CHANGELOG.rdoc
File renamed without changes
View
7 Manifest.txt
@@ -1,7 +0,0 @@
-History.txt
-Manifest.txt
-README.txt
-Rakefile
-lib/colorize.rb
-test/test_helper.rb
-test/test_colorize.rb
View
3  README.txt → README.rdoc
@@ -1,5 +1,4 @@
-colorize
- by Michal Kalbarczyk (FaziBear)
+== colorize
http://colorize.rubyforge.org
http://fazibear.prv.pl
View
46 Rakefile
@@ -1,37 +1,17 @@
-# -*- ruby -*-
require 'rubygems'
-require 'hoe'
-require "#{File.dirname(__FILE__)}/lib/colorize.rb"
+require 'rake'
-ENV['VERSION'] = String::COLORIZE_VERSION
-
-# Little hack to set rdoc template
-module Rake
- class RDocTask
- alias_method :old_option_list, :option_list
- def option_list
- @template = "allison/allison.rb"
- old_option_list
- end
- end
-end
-
-Hoe.new('colorize', String::COLORIZE_VERSION) do |p|
- p.rubyforge_name = 'colorize'
- p.author = 'Michal Kalbarczyk (FaziBear)'
- p.email = 'fazibear@gmail.com'
- p.url = ['http://colorize.rubyforge.org', 'http://fazibear.prv.pl']
- p.summary = "Add colors methods to string class"
- p.description = "Ruby string class extension. It add some methods to set color, background color and text effect on console easier. Uses ANSI escape sequences."
- p.need_zip = true
- p.remote_rdoc_dir = ''
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gemspec|
+ gemspec.name = "colorize"
+ gemspec.summary = "Add colors methods to string class"
+ gemspec.email = "fazibear@gmail.com"
+ gemspec.homepage = "http://github.com/fazibear/colorize"
+ gemspec.description = "Ruby string class extension. It add some methods to set color, background color and text effect on console easier. Uses ANSI escape sequences."
+ gemspec.authors = ["fazibear"]
+ end
+rescue LoadError
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
-desc "Generate Manifest.new for dist"
-task :manifest do
- File.open("Manifest.new", "wb") { |manifest|
- Dir["**/*"].each { |file|
- manifest.puts file if File.file? file
- }
- }
-end
View
1  VERSION
@@ -0,0 +1 @@
+0.5.6
View
70 colorize.gemspec
@@ -0,0 +1,70 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{colorize}
+ s.version = "0.5.6"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["fazibear"]
+ s.date = %q{2009-11-23}
+ s.description = %q{Ruby string class extension. It add some methods to set color, background color and text effect on console easier. Uses ANSI escape sequences.}
+ s.email = %q{fazibear@gmail.com}
+ s.extra_rdoc_files = [
+ "README.rdoc"
+ ]
+ s.files = [
+ "CHANGELOG.rdoc",
+ "README.rdoc",
+ "Rakefile",
+ "allison/CHANGELOG",
+ "allison/LICENSE",
+ "allison/Manifest",
+ "allison/README",
+ "allison/Rakefile",
+ "allison/allison.css",
+ "allison/allison.gif",
+ "allison/allison.js",
+ "allison/allison.rb",
+ "allison/cache/BODY",
+ "allison/cache/CLASS_INDEX",
+ "allison/cache/CLASS_PAGE",
+ "allison/cache/FILE_INDEX",
+ "allison/cache/FILE_PAGE",
+ "allison/cache/FONTS",
+ "allison/cache/FR_INDEX_BODY",
+ "allison/cache/IMGPATH",
+ "allison/cache/INDEX",
+ "allison/cache/JAVASCRIPT",
+ "allison/cache/METHOD_INDEX",
+ "allison/cache/METHOD_LIST",
+ "allison/cache/SRC_PAGE",
+ "allison/cache/STYLE",
+ "allison/cache/URL",
+ "lib/colorize.rb",
+ "test/test_colorize.rb",
+ "test/test_helper.rb"
+ ]
+ s.homepage = %q{http://github.com/fazibear/colorize}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{Add colors methods to string class}
+ s.test_files = [
+ "test/test_helper.rb",
+ "test/test_colorize.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
+
View
5 lib/colorize.rb
@@ -2,11 +2,6 @@
# Colorize String class extension.
#
class String
-
- #
- # Version string
- #
- COLORIZE_VERSION = '0.5.6'
#
# Colors Hash
Please sign in to comment.
Something went wrong with that request. Please try again.