Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (29 sloc) 986 Bytes
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'jeweler' do |s| = "open_gem"
s.summary = "Gem Command to easily open a ruby gem with the editor of your choice."
s.description = <<-DESC
Open a gem's source directory with either the default editor, or a specified command.
DESC = ""
s.homepage = ""
s.authors = ["Adam Sanderson"]
s.has_rdoc = false
s.files = FileList["[A-Z]*", "{bin,lib,test}/**/*"]
# Testing
s.test_files = FileList["test/**/*_test.rb"]
s.add_development_dependency 'mocha', '~> 0.9.5'
rescue LoadError
puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install technicalpickles-jeweler -s"
end do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
task :default => :test