Sha256: 507fe1d60b16d8593eb9b6017b36b4876b317a70c1424b91b2dcd4eeeea0216d
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "filter-url-by-remote-user" gem.summary = %Q{Rack middleware to allow/deny access to remote user by http method, path and query params.} gem.email = "tierneydrchris@gmail.com" gem.homepage = "http://github.com/kissifer/filter-url-by-remote-user" gem.authors = ["Chris Tierney"] gem.has_rdoc = false gem.add_dependency('rack', '~>1.0') # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/**/*_spec.rb'] spec.spec_opts = ['--options spec/spec.opts'] end task :default => :spec require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| if File.exist?('VERSION.yml') config = YAML.load(File.read('VERSION.yml')) version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" else version = "" end rdoc.rdoc_dir = 'rdoc' rdoc.title = "filter-url-by-remote-user #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kissifer-filter-url-by-remote-user-0.0.2 | Rakefile |