Sha256: fd09c3ba6d3c02b8466f7280867bd45f2bcd238fd4e3df2919de8f94e31ad1db

Contents?: true

Size: 1.26 KB

Versions: 14

Compression:

Stored size: 1.26 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "crowdflower"
    gem.summary = %Q{a toolkit for the CrowdFlower API}
    gem.description = <<-EOF
A toolkit for interacting with CrowdFlower via the REST API.

This is alpha software. Have fun!

EOF
    gem.email = "brian@doloreslabs.com"
    gem.homepage = "http://github.com/dolores/ruby-crowdflower"
    gem.authors = ["Brian P O'Rourke", "Chris Van Pelt"]
    gem.add_dependency 'httparty', '>= 0.4.3'
  end

rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

task :default => :build

task :refresh_builder => [:build] do
  cp "pkg/crowdflower-#{File.read("VERSION").strip}.gem", "../builder/gems/cache/"
  rm_rf "../builder/gems/gems/crowdflower-#{File.read("VERSION").strip}/"
  `cd ../builder && bin/thor merb:gem:redeploy`
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
crowdflower-0.6.3 Rakefile
crowdflower-0.6.2 Rakefile
crowdflower-0.6.1 Rakefile
crowdflower-0.6.0 Rakefile
crowdflower-0.5.8 Rakefile
crowdflower-0.5.6 Rakefile
crowdflower-0.5.5 Rakefile
crowdflower-0.5.4 Rakefile
crowdflower-0.5.3 Rakefile
crowdflower-0.4.5 Rakefile
crowdflower-0.4.2 Rakefile
crowdflower-0.4.1 Rakefile
crowdflower-0.3.0 Rakefile
crowdflower-0.2.3 Rakefile