Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 37 lines (30 sloc) 0.678 kb
8de774f @postmodern Initial commit.
authored
1 require 'rubygems'
23847a0 @postmodern Migrated off of Hoe and to Jeweler + YARD.
authored
2 require 'rake'
8de774f @postmodern Initial commit.
authored
3
23847a0 @postmodern Migrated off of Hoe and to Jeweler + YARD.
authored
4 begin
2d84d25 @postmodern Use rubygems-tasks ~> 0.1.
authored
5 gem 'rubygems-tasks', '~> 0.1'
6 require 'rubygems/tasks'
afe654f @postmodern Added gem requirements.
authored
7
2d84d25 @postmodern Use rubygems-tasks ~> 0.1.
authored
8 Gem::Tasks.new
cc0cdef @postmodern Converted to Ore.
authored
9 rescue LoadError => e
10 STDERR.puts e.message
2d84d25 @postmodern Use rubygems-tasks ~> 0.1.
authored
11 STDERR.puts "Run `gem install rubygems-tasks` to install 'rubygems/tasks'."
23847a0 @postmodern Migrated off of Hoe and to Jeweler + YARD.
authored
12 end
8de774f @postmodern Initial commit.
authored
13
cc0cdef @postmodern Converted to Ore.
authored
14 begin
c4581f0 @postmodern Require rspec ~> 2.4.
authored
15 gem 'rspec', '~> 2.4'
cc0cdef @postmodern Converted to Ore.
authored
16 require 'rspec/core/rake_task'
afe654f @postmodern Added gem requirements.
authored
17
cc0cdef @postmodern Converted to Ore.
authored
18 RSpec::Core::RakeTask.new
19 rescue LoadError => e
20 task :spec do
21 abort "Please run `gem install rspec` to install RSpec."
22 end
23 end
ec51cc4 @postmodern Opting into `gem test`.
authored
24 task :test => :spec
23847a0 @postmodern Migrated off of Hoe and to Jeweler + YARD.
authored
25 task :default => :spec
8de774f @postmodern Initial commit.
authored
26
23847a0 @postmodern Migrated off of Hoe and to Jeweler + YARD.
authored
27 begin
f30a424 @postmodern Require yard ~> 0.7.
authored
28 gem 'yard', '~> 0.7'
23847a0 @postmodern Migrated off of Hoe and to Jeweler + YARD.
authored
29 require 'yard'
afe654f @postmodern Added gem requirements.
authored
30
cc0cdef @postmodern Converted to Ore.
authored
31 YARD::Rake::YardocTask.new
32 rescue LoadError => e
23847a0 @postmodern Migrated off of Hoe and to Jeweler + YARD.
authored
33 task :yard do
cc0cdef @postmodern Converted to Ore.
authored
34 abort "Please run `gem install yard` to install YARD."
23847a0 @postmodern Migrated off of Hoe and to Jeweler + YARD.
authored
35 end
8de774f @postmodern Initial commit.
authored
36 end
Something went wrong with that request. Please try again.