Sha256: dd9045714fa17e739c8f25f20f24c2f4d3a274c35972dd45a41b9eb8668687a4

Contents?: true

Size: 1.71 KB

Versions: 4

Compression:

Stored size: 1.71 KB

Contents

require 'rake'
require 'rake/testtask'
#require 'rake/rdoctask'
require 'rubygems'
require 'yard'

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 = "xeroizer-float"
  gem.homepage = "http://github.com/waynerobinson/xeroizer"
  gem.license = "MIT"
  gem.summary = %Q{Xero library}
  gem.description = %Q{Ruby library for the Xero accounting system API.}
  gem.email = "wayne.robinson@gmail.com"
  gem.authors = ["Wayne Robinson", "Philip Roberts"]
  gem.add_runtime_dependency 'builder', '>= 2.1.2'
  gem.add_runtime_dependency 'oauth',   '>= 0.3.6'
  gem.add_runtime_dependency 'activesupport'
  gem.add_runtime_dependency 'nokogiri'
  gem.add_development_dependency 'mocha'
  gem.add_development_dependency 'shoulda'
end
Jeweler::RubygemsDotOrgTasks.new

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

desc 'Test the xero gateway.'
Rake::TestTask.new(:test) do |t|
  t.libs << ['lib', 'test']
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

namespace :test do 
  desc 'Run acceptance/integration tests'
  Rake::TestTask.new(:acceptance) do |t|
    t.libs << ['lib', 'test']
    t.pattern = 'test/acceptance/**/*_test.rb'
    t.verbose = true
  end

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

YARD::Rake::YardocTask.new do |t|
  # t.files   = ['lib/**/*.rb', OTHER_PATHS]   # optional
  # t.options = ['--any', '--extra', '--opts'] # optional
end


namespace :gem do
  task :publish do
    puts `rm *.gem`
    puts `rake gemspec`
    puts `gem build xeroizer-float.gemspec`
    puts `gem push *.gem`
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xeroizer-float-2.15.3.9 Rakefile
xeroizer-float-2.15.3.8 Rakefile
xeroizer-float-2.15.3.7 Rakefile
xeroizer-float-2.15.3.6 Rakefile