Skip to content

HTTPS clone URL

Subversion checkout URL

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