Sha256: e24ffab3694b7e41decb57510ea2053bb51e005d066c8bae0c8ec0c26d4f774a
Contents?: true
Size: 1.31 KB
Versions: 3
Compression:
Stored size: 1.31 KB
Contents
require 'rake' require 'rubygems' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "twiauth" gem.summary = %Q{a very simple twitter authentication wrapper} gem.description = %Q{simple twitter authentication wrapper} gem.email = "swessel@gr4yweb.de" gem.homepage = "http://github.com/gr4y/twiauth" gem.authors = ["Sascha Wessel"] gem.add_dependency "oauth", ">= 0.4.0" gem.add_dependency "rspec", "1.3.0" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end desc "generate rdoc" require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "twiauth #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end desc "run all specs" begin gem 'rspec','1.3.0' require 'spec/rake/spectask' Spec::Rake::SpecTask.new do |t| t.spec_files = FileList['spec/**/*_spec.rb'] end rescue LoadError warn "[twiauth] rspec is not installed. install it with: gem install rspec --version 1.3.0" end task :test => [:check_dependencies, :spec] task :default => [:test, :build]
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
twiauth-0.1.0 | Rakefile |
twiauth-0.0.2 | Rakefile |
twiauth-0.0.1 | Rakefile |