Sha256: 847cd566eeca0c8d61d5e1cce6bc8ec664274f3f3860b440fd7ed524eddec6d4

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

  # encoding: utf-8

  require 'rubygems'
  require 'bundler'
  begin
    Bundler.setup(:default, :development)
   rescue Bundler::BundlerError => e
     $stderr.puts e.message
     $stderr.puts "Run `bundle install` to install missing gems"
     exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "rack-cors"
  gem.homepage = "http://github.com/cyu/rack-cors"
  gem.license = "MIT"
  gem.summary = "Middleware for enabling Cross-Origin Resource Sharing in Rack apps"
  gem.description = "Middleware that will make Rack-based apps CORS compatible.  Read more here: http://blog.sourcebender.com/2010/06/09/introducin-rack-cors.html.  Fork the project here: http://github.com/cyu/rack-cors"
  gem.email = "me@sourcebender.com"
  gem.authors = ["Calvin Yu"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

task :default => :test

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack-cors-0.2.8 Rakefile
rack-cors-0.2.7 Rakefile
rack-cors-0.2.6 Rakefile