Sha256: 849ad770bd988d7cdf61235e2c901d53ae84aba65d266dd9f2a9594304a71508

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "shorty_server"
    gem.summary = %Q{Shorten URLs}
    gem.description = %Q{A small URL shortening server with a nice, clean, RESTful API.}
    gem.email = "brad@bradgessler.com"
    gem.homepage = "http://github.com/bradgessler/shorty_server"
    gem.authors = ["Brad Gessler"]
    gem.add_dependency 'dm-core',         '>= 0.10.2'
    gem.add_dependency 'dm-validations',  '>= 0.10.2'
    gem.add_dependency 'anybase',         '>= 0.0.9'
    gem.add_dependency 'sinatra',         '>= 1.0'
    gem.add_dependency 'haml',            '>= 3.0.4'
    gem.add_development_dependency "rspec", ">= 1.2.9"
    # 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

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "shorty_server #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shorty_server-0.5.0 Rakefile