2011-11-08 15:56:04 -05:00
|
|
|
# Copyright (c) 2010-2011 Michael Dvorkin
|
|
|
|
#
|
|
|
|
# Awesome Print is freely distributable under the terms of MIT license.
|
|
|
|
# See LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
require "rake"
|
|
|
|
|
|
|
|
task :default => :spec
|
|
|
|
|
|
|
|
desc "Run all awesome_print gem specs"
|
|
|
|
task :spec do
|
|
|
|
# Run plain rspec command without RSpec::Core::RakeTask overrides.
|
|
|
|
exec "rspec -c spec"
|
|
|
|
end
|
2010-04-03 00:43:46 -04:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2011-11-08 15:56:04 -05:00
|
|
|
s.name = "awesome_print"
|
|
|
|
s.version = "1.0.0"
|
|
|
|
# s.platform = Gem::Platform::RUBY
|
|
|
|
s.authors = "Michael Dvorkin"
|
|
|
|
s.date = "2011-11-08"
|
|
|
|
s.email = "mike@dvorkin.net"
|
|
|
|
s.homepage = "http://github.com/michaeldv/awesome_print"
|
|
|
|
s.summary = "Pretty print Ruby objects with proper indentation and colors"
|
|
|
|
s.description = "Great Ruby dubugging companion: pretty print Ruby objects to visualize their structure. Supports custom object formatting via plugins"
|
2010-04-03 00:43:46 -04:00
|
|
|
|
2011-11-08 15:56:04 -05:00
|
|
|
s.rubyforge_project = "awesome_print"
|
2010-04-03 00:43:46 -04:00
|
|
|
|
2011-11-08 15:56:04 -05:00
|
|
|
s.files = Rake::FileList["[A-Z]*", "lib/**/*.rb", "spec/*", ".gitignore"]
|
|
|
|
s.test_files = Rake::FileList["spec/*"]
|
|
|
|
s.executables = []
|
|
|
|
s.require_paths = ["lib"]
|
2010-04-03 00:43:46 -04:00
|
|
|
|
2011-11-08 15:56:04 -05:00
|
|
|
s.add_development_dependency "rspec", ">= 2.6.0"
|
|
|
|
s.add_development_dependency "fakefs", ">= 0.2.1"
|
2010-04-03 00:43:46 -04:00
|
|
|
end
|