Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 40 lines (34 sloc) 1.072 kb
b6660e3 Travis Reeder initial commit
treeder authored
1 require 'rubygems'
2 require 'rake'
3
4 begin
5 require 'jeweler2'
6 Jeweler::Tasks.new do |gem|
7 gem.name = "rest"
8 gem.summary = "Rest client wrapper that chooses best installed client."
9 gem.description = "Rest client wrapper that chooses best installed client."
10 gem.email = "travis@iron.io"
11 gem.homepage = "http://www.iron.io"
12 gem.authors = ["Travis Reeder"]
13 gem.add_dependency 'rest-client'
14 #gem.add_dependency 'typhoeus'
15 gem.required_ruby_version = '>= 1.9'
16 end
17 Jeweler::GemcutterTasks.new
18 rescue LoadError
19 puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler2"
20 end
21
22 require 'rake/testtask'
23 Rake::TestTask.new(:test) do |test|
24 test.libs << 'lib' << 'test'
25 test.pattern = 'test/**/test_*.rb'
26 test.verbose = true
27 end
28
29 task :default => :test
30
31 require 'rdoc/task'
32 Rake::RDocTask.new do |rdoc|
33 version = File.exist?('VERSION') ? File.read('VERSION') : ""
34
35 rdoc.rdoc_dir = 'doc'
36 rdoc.title = "iron_mq #{version}"
37 rdoc.rdoc_files.include('README*')
38 rdoc.rdoc_files.include('lib/**/*.rb')
39 end
Something went wrong with that request. Please try again.