Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 52 lines (45 sloc) 1.42 kB
07156b5 @cehoffman Make ruby 1.9 ok with Rafael's last name
cehoffman authored
1 # -*- encoding: utf-8 -*-
dbeb787 Initial commit to prowly.
Rafael Magaña authored
2 require 'rubygems'
3 require 'rake'
4
5 begin
6 require 'jeweler'
7 Jeweler::Tasks.new do |gem|
8 gem.name = "prowly"
5375474 @rafmagana prowly is now a gem
authored
9 gem.summary = "A Ruby interface to Prowl (http://prowl.weks.net/)"
10 gem.description = "The Prowly gem is a simple wrapper to the Prowl API, you can use it to send messages to your iPhone in a Rails or pure Ruby application."
d8f1cc1 @rafmagana initial commit
authored
11 gem.email = "raf.magana@gmail.com"
dbeb787 Initial commit to prowly.
Rafael Magaña authored
12 gem.homepage = "http://github.com/rafmagana/prowly"
d71cd7b @rafmagana updated gemspec
authored
13 gem.authors = ["Rafael Magana"]
dbeb787 Initial commit to prowly.
Rafael Magaña authored
14 end
15 Jeweler::GemcutterTasks.new
16 rescue LoadError
17 puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
18 end
19
20 require 'rake/testtask'
21 Rake::TestTask.new(:test) do |test|
22 test.libs << 'lib' << 'test'
23 test.pattern = 'test/**/test_*.rb'
24 test.verbose = true
25 end
26
27 begin
28 require 'rcov/rcovtask'
29 Rcov::RcovTask.new do |test|
30 test.libs << 'test'
31 test.pattern = 'test/**/test_*.rb'
32 test.verbose = true
33 end
34 rescue LoadError
35 task :rcov do
36 abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
37 end
38 end
39
40 task :test => :check_dependencies
41
42 task :default => :test
43
44 require 'rake/rdoctask'
45 Rake::RDocTask.new do |rdoc|
46 version = File.exist?('VERSION') ? File.read('VERSION') : ""
47
48 rdoc.rdoc_dir = 'rdoc'
49 rdoc.title = "prowly #{version}"
50 rdoc.rdoc_files.include('README*')
51 rdoc.rdoc_files.include('lib/**/*.rb')
d8f1cc1 @rafmagana initial commit
authored
52 end
Something went wrong with that request. Please try again.