require 'jeweler' require 'yard' desc 'Generate documentation' YARD::Rake::YardocTask.new do |t| config = YAML.load(File.read('VERSION.yml')) version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" t.name = "CloudQuery #{version}" t.files = ['lib/**/*.rb'] end task :rdoc => :yardoc Jeweler::Tasks.new do |gem| gem.name = "cloud_query" gem.summary = "Client for Xoopit's CloudQuery API" gem.description = "Client for Xoopit's CloudQuery API" gem.email = "cloudquery@xoopit.com" gem.homepage = "http://github.com/xoopit/cloudquery_ruby" gem.authors = ["Xoopit", "Cameron Walters", "nb.io", "Pat Allan"] gem.files = FileList[ "lib/**/*.rb", "LICENCE", "README.markdown", "tasks/**/*.rb" ] gem.test_files = FileList["spec/**/*_spec.rb"] # gem.rubyforge_project = "cloudquery" gem.add_dependency 'rack', '>= 1.0' gem.add_dependency 'json', '>= 1.1.4' gem.add_dependency 'taf2-curb', '>= 0.2.8.0' gem.add_dependency 'nokogiri', '>= 1.3.1' gem.add_dependency 'uuidtools', '>= 2.0.0' # See http://www.rubygems.org/read/chapter/20 for additional gemspec settings end