forked from rick/linode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
33 lines (28 loc) · 857 Bytes
/
Copy pathRakefile
File metadata and controls
33 lines (28 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rspec/core/rake_task'
desc 'Default: run specs.'
task :default => :spec
desc 'Test the linode library.'
RSpec::Core::RakeTask.new('spec') do |t|
t.pattern = 'spec/**/*_spec.rb'
end
desc 'Test the linode library.'
task :test => :spec
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "linode"
gemspec.summary = "a Ruby wrapper for the Linode API"
gemspec.description = "This is a wrapper around Linode's automation facilities."
gemspec.email = "rick@rickbradley.com"
gemspec.homepage = "http://github.com/rick/linode"
gemspec.authors = ["Rick Bradley"]
gemspec.add_dependency('httparty', '>= 0.4.4')
gemspec.add_dependency('crack', '>= 0.3.1')
end
Jeweler::GemcutterTasks.new
rescue LoadError
end