Sha256: 97e4d08b31d1d609b29b21bd249ebb5ff2bc706a8f0c02694f23ec6900c1e33a

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "oauth-active-resource"
    gem.summary = %Q{TODO}
    gem.email = "johannes@wagener.cc"
    gem.homepage = "http://github.com/jwagener/oauth-active-resource"
    gem.authors = ["Johannes Wagener"]
    gem.add_dependency "pelle-oauth"
    gem.add_dependency "activeresource"    
    gem.add_dependency "multipart"    
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
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 :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
jwagener-oauth-active-resource-0.4.0 Rakefile
jwagener-oauth-active-resource-0.4.1 Rakefile
oauth-active-resource-0.4.2 Rakefile