Sha256: ac8e13ea7ab07bb6a1eb877186c22673732955d0821685be5b043470948d942c

Contents?: true

Size: 1.58 KB

Versions: 9

Compression:

Stored size: 1.58 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "vortex_client"
    gem.summary = %Q{Vortex CMS client}
    gem.description = %Q{Utility for managing content on Vortex web content management system through webdav}
    gem.email = "thomas.flemming@usit.uio.no"
    gem.homepage = "http://github.com/thomasfl/vortex_client"
    gem.authors = ["Thomas Flemming"]
    gem.executables = ["vrtx-sync"]
    gem.add_dependency "net_dav", ">= 0.4.1"
    gem.add_dependency "highline", ">= 1.5.1"
    gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vortex_client-0.5.6 Rakefile
vortex_client-0.5.5 Rakefile
vortex_client-0.5.4 Rakefile
vortex_client-0.5.3 Rakefile
vortex_client-0.5.2 Rakefile
vortex_client-0.5.1 Rakefile
vortex_client-0.5.0 Rakefile
vortex_client-0.4.0 Rakefile
vortex_client-0.3.1 Rakefile