Sha256: 645f0b0667d9a189797058a731af489d4b7e0b8ca3399e03bb50b99036a0941a
Contents?: true
Size: 1.71 KB
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xeroizer-float-2.15.3.10 | Rakefile |