Sha256: f980d3feecc6c3dd07491d1aefac581d5a036c73c29e12d312b17692aa783be8

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "honkster-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("erector", ">=0.6.7")
    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.1 Rakefile