%w[rubygems rake rake/clean rake/testtask fileutils].each { |f| require f } $LOAD_PATH << File.dirname(__FILE__) + '/lib' require 'oauth' begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = %q{oauth-instructure} s.version = OAuth::VERSION s.authors = ["Pelle Braendgaard", "Blaine Cook", "Larry Halff", "Jesse Clark", "Jon Crosby", "Seth Fitzsimmons", "Matt Sanford", "Aaron Quint"] s.email = "oauth-ruby@googlegroups.com" s.description = "OAuth Core Ruby implementation" s.summary = s.description s.rubyforge_project = %q{oauth} s.add_development_dependency(%q, [">=2.3.5"]) s.add_development_dependency(%q, [">= 1.0.0"]) s.add_development_dependency(%q, [">= 0.9.8"]) s.add_development_dependency(%q, [">= 0.1.13"]) s.add_development_dependency(%q, [">= 0.2.10"]) s.add_development_dependency(%q, [">= 0.6.6.0"]) s.files.include '.gemtest' end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end Rake::TestTask.new do |t| t.libs << "test" t.test_files = FileList['test/**/*test*.rb'] t.verbose = true end Dir['tasks/**/*.rake'].each { |t| load t } task :default => :test