mbleigh / subdomain-fu

A new plugin approach to attempting to solve the usage of subdomains in linking and routing in Rails projects.

This URL has Read+Write access

subdomain-fu / Rakefile
00887a40 » mbleigh 2009-05-26 Adding Jeweler. 1 require 'rake'
2 require 'spec/rake/spectask'
3
4 desc 'Default: run specs.'
5 task :default => :spec
6
7 desc 'Run the specs'
8 Spec::Rake::SpecTask.new(:spec) do |t|
9 t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
10 t.spec_files = FileList['spec/**/*_spec.rb']
11 end
12
13 begin
14 require 'jeweler'
15 Jeweler::Tasks.new do |gemspec|
16 gemspec.name = "subdomain-fu"
17 gemspec.summary = "SubdomainFu is a Rails plugin that provides subdomain routing and URL writing helpers."
18 gemspec.email = "michael@intridea.com"
19 gemspec.homepage = "http://github.com/mbleigh/subdomain-fu"
20 gemspec.files = FileList["[A-Z]*", "{lib,spec,rails}/**/*"] - FileList["**/*.log"]
21 gemspec.description = "SubdomainFu is a Rails plugin to provide all of the basic functionality necessary to handle multiple subdomain applications (such as Basecamp-esque subdomain accounts and more)."
22 gemspec.authors = ["Michael Bleigh"]
23 end
24 rescue LoadError
25 puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
26 end
27