Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (37 sloc) 1.098 kb
3195b47 @binarylogic Switch to jeweler from hoe
authored
1 require 'rubygems'
2 require 'rake'
b672e27 @binarylogic Release v1.1.0
authored
3
3195b47 @binarylogic Switch to jeweler from hoe
authored
4 begin
5 require 'jeweler'
6 Jeweler::Tasks.new do |gem|
7 gem.name = "addresslogic"
8 gem.summary = "Creates a meaningful array of address parts for easy displaying."
9 gem.email = "bjohnson@binarylogic.com"
10 gem.homepage = "http://github.com/binarylogic/addresslogic"
11 gem.authors = ["Ben Johnson of Binary Logic"]
12 gem.rubyforge_project = "addresslogic"
13 end
2a1bfc9 @binarylogic Updating to use gemcutter
authored
14 Jeweler::GemcutterTasks.new
8c72629 @binarylogic * Include into Object so that we can use this in any class we want.
authored
15 Jeweler::RubyforgeTasks.new
3195b47 @binarylogic Switch to jeweler from hoe
authored
16 rescue LoadError
17 puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
18 end
9ce1cc3 @binarylogic Initial commit
authored
19
3195b47 @binarylogic Switch to jeweler from hoe
authored
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
8c72629 @binarylogic * Include into Object so that we can use this in any class we want.
authored
40 task :test => :check_dependencies
3195b47 @binarylogic Switch to jeweler from hoe
authored
41
8c72629 @binarylogic * Include into Object so that we can use this in any class we want.
authored
42 task :default => :test
Something went wrong with that request. Please try again.