Sha256: 8f8f76332a1cea5cefefac9c2085149dba3d9d06a4d7942b994c99d4bb83e667

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = ENV["GEM_PREFIX"] ? "#{ENV["GEM_PREFIX"]}-screw-unit-server" : "screw-unit-server"
    s.executables = ["screw_unit", "screw_unit_server"]
    s.summary = "Server and helpers for your Screw Unit tests."
    s.email = "pivotallabsopensource@googlegroups.com"
    s.homepage = "http://github.com/pivotal/screw-unit-server"
    s.description = "The Screw Unit server conveniently serves your Screw Unit specs and javascript files and css stylesheets."
    s.authors = ["Pivotal Labs", "Brian Takita"]
    s.files = Dir["[A-Z]*"] +
      Dir["*.rb"] +
      Dir["*.ru"] +
      Dir["lib/**/*.rb"] +
      Dir["core/**/**"] +
      Dir["bin/**"] +
      Dir["vendor/**/**"] +
      Dir["spec/**"]
    s.test_files = Dir['spec/**/*.rb']
    s.rdoc_options = ["--main", "README.markdown"]
    s.extra_rdoc_files = ["README.markdown", "CHANGES"]
    s.add_dependency("thin", ">=1.2.1")
    s.add_dependency("honkster-erector", "0.8.1")
    s.add_dependency("selenium-client")
  end
rescue LoadError
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

desc "Runs the Rspec suite"
task(:default) do
  run_suite
end

desc "Runs the Rspec suite"
task(:spec) do
  run_suite
end

def run_suite
  dir = File.dirname(__FILE__)
  system("ruby #{dir}/spec/spec_suite.rb") || raise("Example Suite failed")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
honkster-screw-unit-server-0.6.3 Rakefile