Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 45 lines (38 sloc) 1.364 kb
b1097e1 @leejones Initial commit to trash-compactor.
authored
1 require 'rubygems'
2 require 'rake'
3
4 begin
5 require 'jeweler'
6 Jeweler::Tasks.new do |gem|
1303fdb @leejones Updated gemspec.
authored
7 gem.name = "trash"
8 gem.summary = %Q{trash can for the command line}
9acfca8 @leejones Fix typo in gemspec
authored
9 gem.description = %Q{when it's hard to say goodbye, and rm is just too much... use trash instead.}
b1097e1 @leejones Initial commit to trash-compactor.
authored
10 gem.email = "scribblethink@gmail.com"
1303fdb @leejones Updated gemspec.
authored
11 gem.homepage = "http://github.com/leejones/trash"
b1097e1 @leejones Initial commit to trash-compactor.
authored
12 gem.authors = ["Lee Jones"]
3a98d59 @ericmathison Update RSpec to version 2.14
ericmathison authored
13 gem.add_development_dependency "rspec", "~> 2.14.1"
71eb104 @ericmathison Update Rake to version 10.1
ericmathison authored
14 gem.add_development_dependency "rake", "~> 10.1.0"
cb00513 @ericmathison Update Jeweler to version 1.8
ericmathison authored
15 gem.add_development_dependency "jeweler", "~> 1.8.7"
71eb104 @ericmathison Update Rake to version 10.1
ericmathison authored
16 gem.add_development_dependency "rdoc", "~> 4.0.1"
b1097e1 @leejones Initial commit to trash-compactor.
authored
17 # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
18 end
19 Jeweler::GemcutterTasks.new
20 rescue LoadError
21 puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
22 end
23
3a98d59 @ericmathison Update RSpec to version 2.14
ericmathison authored
24 require 'rspec/core/rake_task'
25 RSpec::Core::RakeTask.new(:spec) do |spec|
26 spec.pattern = 'spec/**/*_spec.rb'
b1097e1 @leejones Initial commit to trash-compactor.
authored
27 end
28
3a98d59 @ericmathison Update RSpec to version 2.14
ericmathison authored
29 RSpec::Core::RakeTask.new(:rcov) do |spec|
b1097e1 @leejones Initial commit to trash-compactor.
authored
30 spec.pattern = 'spec/**/*_spec.rb'
31 spec.rcov = true
32 end
33
34 task :default => :spec
35
71eb104 @ericmathison Update Rake to version 10.1
ericmathison authored
36 require 'rdoc/task'
37 RDoc::Task.new do |rdoc|
b1097e1 @leejones Initial commit to trash-compactor.
authored
38 version = File.exist?('VERSION') ? File.read('VERSION') : ""
39
40 rdoc.rdoc_dir = 'rdoc'
1303fdb @leejones Updated gemspec.
authored
41 rdoc.title = "trash #{version}"
b1097e1 @leejones Initial commit to trash-compactor.
authored
42 rdoc.rdoc_files.include('README*')
43 rdoc.rdoc_files.include('lib/**/*.rb')
44 end
Something went wrong with that request. Please try again.