forked from awesome-print/awesome_print
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathawesome_print.gemspec
37 lines (31 loc) · 1.38 KB
/
awesome_print.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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"
require File.dirname(__FILE__) + "/lib/awesome_print/version"
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
Gem::Specification.new do |s|
s.name = "awesome_print"
s.version = AwesomePrint.version
# s.platform = Gem::Platform::RUBY
s.authors = "Michael Dvorkin"
s.date = Time.now.strftime("%Y-%m-%d")
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"
s.rubyforge_project = "awesome_print"
s.files = Rake::FileList["[A-Z]*", "lib/**/*.rb", "spec/*", ".gitignore"]
s.test_files = Rake::FileList["spec/*"]
s.executables = []
s.require_paths = ["lib"]
s.add_development_dependency "rspec", ">= 2.6.0"
s.add_development_dependency "fakefs", ">= 0.2.1"
end