Sha256: d1b77bd324445a81338e9cae76136286a0592c316bb85062c70021721bf172d0

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    summary = %Q{Ruby client for the Tumblr API}

    s.name = "rumblr"
    s.summary = summary
    s.email = "brent.hargrave@gmail.com"
    s.homepage = "http://github.com/jamescallmebrent/rumblr"
    s.description = summary
    s.authors = ["Brent Hargrave", "Benny Wong"]
    s.add_dependency('libxml-ruby', '>= 0.8.3')
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'rumblr'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

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

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

begin
  require 'cucumber/rake/task'
  Cucumber::Rake::Task.new(:features)
rescue LoadError
  puts "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
end

task :default => :spec

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
hexorx-rumblr-0.0.3 Rakefile
hexorx-rumblr-0.0.4 Rakefile
jamescallmebrent-rumblr-0.0.2 Rakefile