forked from sinefunc/twitter-auth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
36 lines (30 loc) · 1.22 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
require 'rake'
begin
require 'spec/rake/spectask'
desc 'Default: run specs.'
task :default => :spec
desc 'Run the specs'
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
t.spec_files = FileList['spec/**/*_spec.rb']
end
rescue LoadError
puts "No Rspec Found."
end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "twitter-auth"
s.summary = "TwitterAuth is a Rails plugin gem that provides Single Sign-On capabilities for Rails applications via Twitter."
s.email = "michael@intridea.com"
s.homepage = "http://github.com/mbleigh/twitter-auth"
s.description = "TwitterAuth is a Rails plugin gem that provides Single Sign-On capabilities for Rails applications via Twitter. Both OAuth and HTTP Basic are supported."
s.files = FileList["[A-Z]*", "{bin,generators,lib,spec,config,app,rails}/**/*"] - FileList["**/*.log"]
s.authors = ["Michael Bleigh"]
s.add_dependency('oauth', '>= 0.3.1')
s.add_dependency('ezcrypto', '>= 0.7.2')
s.rubyforge_project = 'twitter-auth'
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end