Sha256: c1caedfac9c59e8aa3b9bc42e971c0fc1b56508a8e52d52c9a8692ee971bb7c5

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "api-query-provider"
  gem.homepage = "http://github.com/Femaref/api-query-provider"
  gem.license = "MIT"
  gem.summary = %Q{Provides an easy interface to arbitrary json apis}
  gem.description = %Q{Provides an easy interface to arbitrary json apis}
  gem.email = "femaref@googlemail.com"
  gem.authors = ["Femaref"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

task :default => :spec

task :simplecov do
  ENV['COVERAGE'] = "true"
  Rake::Task[:spec].execute
end

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

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "api-query-provider #{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
api-query-provider-0.0.1 Rakefile