Skip to content
Browse files

gemspec

  • Loading branch information...
1 parent 68df7c5 commit 14d5a62493342681ba9ef70dd10ea1ae075007f3 @defunkt committed
Showing with 33 additions and 0 deletions.
  1. +6 −0 Rakefile
  2. +27 −0 colored.gemspec
View
6 Rakefile
@@ -8,3 +8,9 @@ Rake::TestTask.new do |t|
t.verbose = false
end
+begin
+ require 'mg'
+ MG.new("colored.gemspec")
+rescue LoadError
+ abort "Please `gem install mg`"
+end
View
27 colored.gemspec
@@ -0,0 +1,27 @@
+Gem::Specification.new do |s|
+ s.name = "colored"
+ s.version = "1.2"
+ s.date = "2010-02-10"
+ s.summary = "Add some color to your life."
+ s.homepage = "http://github.com/defunkt/colored"
+ s.email = "chris@ozmm.org"
+ s.authors = ["Chris Wanstrath"]
+ s.has_rdoc = false
+ s.require_path = "lib"
+ s.files = %w( README Rakefile LICENSE )
+ s.files += Dir.glob("lib/**/*")
+ s.files += Dir.glob("test/**/*")
+ s.description = <<-desc
+ >> puts "this is red".red
+
+ >> puts "this is red with a blue background (read: ugly)".red_on_blue
+
+ >> puts "this is red with an underline".red.underline
+
+ >> puts "this is really bold and really blue".bold.blue
+
+ >> logger.debug "hey this is broken!".red_on_yellow # in rails
+
+ >> puts Color.red "This is red" # but this part is mostly untested
+ desc
+end

0 comments on commit 14d5a62

Please sign in to comment.
Something went wrong with that request. Please try again.