Sha256: 8671deb5dacc67c329fd3250cc0a1fce3d1ef3f266de86b5c04ad166cf4b9d36

Contents?: true

Size: 1.96 KB

Versions: 41

Compression:

Stored size: 1.96 KB

Contents

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 = "apirunner"
  gem.summary = %Q{one-line summary of your gem}
  gem.description = %Q{apirunner is a testsuite to query your RESTful JSON API and match response with your defined expectations}
  gem.email = "developers@moviepilot.com"
  gem.homepage = "http://github.com/moviepilot/apirunner"
  gem.authors = ["jan@moviepilot.com"]
  # Include your dependencies below. Runtime dependencies are required when using your gem,
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
  #  spec.add_runtime_dependency 'jabber4r', '> 0.1'
  #  spec.add_development_dependency 'rspec', '> 1.2.3'
  gem.add_development_dependency "rspec", ">= 2.0.0.beta.19"
  gem.add_development_dependency "cucumber", ">= 0"
  gem.add_development_dependency "bundler", "~> 1.0.0"
  gem.add_development_dependency "jeweler", "~> 1.5.0.pre3"
  gem.add_development_dependency "rcov", ">= 0"
  gem.files += Dir['lib/**/*.rb', 'lib/tasks/*.rake']
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

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features)

task :default => :spec

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

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

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
apirunner-0.5.5 Rakefile
apirunner-0.5.0 Rakefile
apirunner-0.4.10 Rakefile
apirunner-0.4.9 Rakefile
apirunner-0.4.8 Rakefile
apirunner-0.4.7 Rakefile
apirunner-0.4.6 Rakefile
apirunner-0.4.5 Rakefile
apirunner-0.4.4 Rakefile
apirunner-0.4.3 Rakefile
apirunner-0.4.2 Rakefile
apirunner-0.4.1 Rakefile
apirunner-0.4.0 Rakefile
apirunner-0.3.10 Rakefile
apirunner-0.3.9 Rakefile
apirunner-0.3.8 Rakefile
apirunner-0.3.7 Rakefile
apirunner-0.3.6 Rakefile
apirunner-0.3.5 Rakefile
apirunner-0.3.4 Rakefile