Sha256: e975b5740d53e941e75f61ab4fbe2fa4828e71166cf9a8723cada700e1ca2f8b

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

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

desc 'Test the open_id_authentication plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for the open_id_authentication plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'OpenIdAuthentication'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = 'open_id_authentication'
    gem.author = "David Heinemeier Hansson"
    gem.email = 'david@loudthinking.com'
    gem.homepage = 'http://www.rubyonrails.org'
    gem.summary = 'Provides a thin wrapper around the excellent ruby-openid gem from JanRan.'
    gem.extra_rdoc_files = ["MIT-LICENSE", "README", "CHANGELOG"]
    gem.add_dependency('pelle-ruby-openid', '>= 2.1.8')
    
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pelle-open_id_authentication-0.1.0 Rakefile
pelle-open_id_authentication-0.1.1 Rakefile