Sha256: 484a7fc3c3f755f788e1989bc040c8ac235b3f88e935456ba765913598f2c035

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "rack-secure_only"
    gem.summary = %Q{Redirect http to https and the other way around}
    gem.description = %Q{Redirect http to https and the other way around}
    gem.email = "klaasspeller@gmail.com"
    gem.homepage = "http://github.com/spllr/rack-secure_only"
    gem.authors = ["Klaas Speller"]
    gem.add_development_dependency "rspec", ">= 1.2.9"
    gem.add_development_dependency "rack-test", ">= 0.5.3"
    gem.add_dependency "rack", ">= 1.1.0"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: 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

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "rack-secure_only #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

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

3 entries across 3 versions & 1 rubygems

Version Path
rack-secure_only-0.4.1 Rakefile
rack-secure_only-0.4.0 Rakefile
rack-secure_only-0.3.1 Rakefile