Sha256: 8602f34172e83f1b8e4ab97b9a65f6b06435772c355c0f0298ec3b93e1db61ee
Contents?: true
Size: 1.34 KB
Versions: 5
Compression:
Stored size: 1.34 KB
Contents
require 'rake' require 'bundler' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "sinatra_warden" gem.summary = %Q{authentication system for using warden with sinatra} gem.description = %Q{basic helpers and authentication methods for using warden with sinatra also providing some hooks into Rack::Flash} gem.email = "justin.smestad@gmail.com" gem.homepage = "http://github.com/jsmestad/sinatra_warden" gem.authors = ["Justin Smestad", "Daniel Neighman"] bundle = Bundler::Definition.from_gemfile('Gemfile') bundle.dependencies.each do |dep| next unless dep.groups.include?(:runtime) gem.add_dependency(dep.name, dep.version_requirements.to_s) end end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" 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 begin require 'yard' YARD::Rake::YardocTask.new rescue LoadError task :yardoc do abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard" end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
sinatra_warden-0.3.1 | Rakefile |
sinatra_warden-0.3.0 | Rakefile |
sinatra_warden-0.2.0.2 | Rakefile |
sinatra_warden-0.2.0.1 | Rakefile |
sinatra_warden-0.1.5.1 | Rakefile |