Sha256: 512846864ec6a9ba7f30fe609e1290b6efe87cc45222ded7c8304c6957b98f2f

Contents?: true

Size: 741 Bytes

Versions: 1

Compression:

Stored size: 741 Bytes

Contents

task :default => :examples

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name     = "sinatra-scopes"
    s.homepage = "http://github.com/quackingduck/sinatra-scopes"
    s.summary  = "Simple request handler scoping for sinatra"
    s.email    = "myles@myles.id.au"
    s.authors  = ["Myles Byrne"]
    
    s.add_dependency 'sinatra', '>= 0.9.4'
    s.add_development_dependency 'exemplor', '>= 2000.0.0'
    s.add_development_dependency 'rack-test', '0.4.0'
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Install jeweler to build gem"
end

task(:examples) { ruby "examples.rb" }
task :test => :examples

task :tag_version do 
  version = File.read('VERSION')
  system "git tag -a v#{version} -m v#{version}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra-scopes-1.0.0 Rakefile