Sha256: 43f6962cf6180d318d7f405b16f9388b4a9be7755c17ce325f5ba759c734ecd7

Contents?: true

Size: 612 Bytes

Versions: 6

Compression:

Stored size: 612 Bytes

Contents

namespace :specserver do
  task :http do
    require File.dirname(__FILE__) + "/../support/spec_server.rb"
    s = Celerity::SpecServer.new
    s.run
    puts "server started on #{s.host}\n    log at: #{s.log_file}"
    s.thread.join 
  end

  desc "Run HTTPS webserver for specs"
  task :https do
    require File.dirname(__FILE__) + "/../support/spec_server.rb"
    s = Celerity::SpecServer.new(:ssl => true)
    s.run
    puts "server started on #{s.host}\n    log at: #{s.log_file}"
    s.thread.join
  end
end

desc "Run HTTP webserver for specs"
task :specserver => [:'specserver:http']

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
caius-celerity-0.0.6.11 tasks/specserver.rake
hirobumi-celerity-0.0.5 tasks/specserver.rake
jarib-celerity-0.0.5.1 tasks/specserver.rake
jarib-celerity-0.0.5 tasks/specserver.rake
celerity-0.0.3 tasks/specserver.rake
celerity-0.0.4 tasks/specserver.rake