Sha256: f1deb8420671617d2bd345f7e90a4766511ac89f1cd97b568f259a243143904f

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "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.6")
    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

3 entries across 3 versions & 1 rubygems

Version Path
pivotal-screw-unit-server-0.5.7 Rakefile
pivotal-screw-unit-server-0.5.8 Rakefile
pivotal-screw-unit-server-0.5.9 Rakefile