Sha256: b94c8831701dc5a002b8516d2c525279d190512acc6d91fe4b9f703aa0ceafcb

Contents?: true

Size: 1.26 KB

Versions: 3

Compression:

Stored size: 1.26 KB

Contents

# encoding: utf-8
require "rubygems"
require "bundler/setup"

require 'rake'
require 'rake/testtask'
require 'rdoc/task'

desc 'Default: run unit tests.'
task :default => :test

desc 'Run unit tests.'
Rake::TestTask.new(:test) do |t|
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = '3scale API Management Client'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'

  Jeweler::Tasks.new do |gemspec|
    gemspec.name     = '3scale_client'
    gemspec.summary  = 'Client for 3scale Web Service Management System API'
    gemspec.description = <<END
This gem allows to easily connect an application that provides a Web Service with the 3scale API Management System to authorize it's users and report the usage.
END
    gemspec.email    = 'support@3scale.net'
    gemspec.homepage = 'http://www.3scale.net'
    gemspec.authors  = ['Adam Cigánek', 'Tiago Macedo', 'Joaquin Rivera Padron (joahking)']

    gemspec.add_dependency 'nokogiri'
  end

  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
3scale_client-2.3.2 Rakefile
3scale_client-2.3.1 Rakefile
3scale_client-2.3.0 Rakefile