-
Notifications
You must be signed in to change notification settings - Fork 9
/
Rakefile
26 lines (22 loc) · 905 Bytes
/
Rakefile
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
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "alphadecimal"
gem.summary = %Q{Convert integers to base62 strings (A-Za-z0-9) and back. A handy way to shorten long numbers.}
gem.description = %Q{Convert integers to base62 strings (A-Za-z0-9) and back. Ideal for url shorteners like Shawty-server.}
gem.email = "[email protected]"
gem.homepage = "http://github.com/JackDanger/alphadecimal"
gem.authors = ["Mike Mondragon", "Jack Danger Canty"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
task :default => :test
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << '.'
test.pattern = 'test/test_*.rb'
test.verbose = true
end