Sha256: 3a2d17498c95460cb94396a165367529cd77cc624af361f519e07ef15c40d4ab
Contents?: true
Size: 1.95 KB
Versions: 1
Compression:
Stored size: 1.95 KB
Contents
require 'rubygems' require 'rake' begin require "yard" YARD::Rake::YardocTask.new do |t| t.files = ["README.md", "lib/**/*.rb"] end rescue LoadError desc message = %{"gem install yard" to generate documentation} task("yard") { abort message } end begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "rews" gem.summary = %Q{a Ruby client for Exchange Web Services} gem.description = %Q{an email focussed Ruby client for Exchange Web Services atop Savon} gem.email = "craig@trampolinesystems.com" gem.homepage = "http://github.com/trampoline/rews" gem.authors = ["Trampoline Systems Ltd"] gem.add_runtime_dependency "savon", "= 0.9.1" gem.add_runtime_dependency "httpclient", ">= 2.2.0.2" gem.add_runtime_dependency "pyu-ntlm-http", ">= 0.1.3" gem.add_runtime_dependency "fetch_in", ">= 0.2.0" gem.add_runtime_dependency "rsxml", ">= 0.3.0" gem.add_development_dependency "rspec", "~> 1.3.1" gem.add_development_dependency "rr", ">= 0.10.5" gem.add_development_dependency "nokogiri", ">= 1.4.4" gem.add_development_dependency "yard", ">= 0.7.1" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::RubygemsDotOrgTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/**/*_spec.rb'] end Spec::Rake::SpecTask.new(:rcov) do |spec| spec.libs << 'lib' << 'spec' spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true end task :spec => :check_dependencies task :default => :spec require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "rews #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rews-0.5.4 | Rakefile |