Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 60 lines (52 sloc) 2.13 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
$__firewatir_source_patterns = [
  'lib/firewatir.rb',
  'lib/firewatir/*.rb',
  'lib/firewatir/elements/*.rb',
  'unittests/*.rb',
  'unittests/html/*.html',
  'unittests/html/images/*.*',
  'LICENSE',
  'CHANGES',
  'rakefile.rb',
  'VERSION',
  'firewatir.gemspec',
  "README.rdoc"
]

spec = Gem::Specification.new do |s|
  version = File.read("VERSION").strip rescue "0.0.0"
  s.name = 'firewatir'
  s.version = version
  s.summary = 'Automated testing tool for web applications using Firefox browser.'
  s.description = <<-EOF
FireWatir stands for "Web Application Testing in Ruby for Firefox". FireWatir (pronounced firewater) is a free,
open-source functional testing tool for automating browser-based tests of web applications.
It works with applications written in any language.
FireWatir drives the Firefox browser the same way an end user would.
It clicks links, fills in forms, presses buttons.
FireWatir also checks results, such as whether expected text appears on the page, or whether a control is enabled.
FireWatir is a Ruby library that works with Firefox on Windows. It also works on Linux, Mac but without support for
JavaScript popups (currently support will be there shortly).
EOF
  s.author = 'Angrez Singh'
  s.homepage = 'http://www.watir.com'
  s.email = 'watir-general@googlegroups.com'
  s.rubyforge_project = 'Watir'

  s.requirements << 'Mozilla Firefox browser 1.5 or later.'
  s.require_path = 'lib'

  s.add_dependency 'commonwatir', '= ' + version
  s.add_dependency 'activesupport', '=2.3.9'

  s.has_rdoc = true
  s.rdoc_options <<
      '--title' << 'FireWatir API Reference' <<
   '--accessor' << 'def_wrap=R,def_wrap_guard=R,def_creator=R,def_creator_with_default=R' <<
   '--exclude' << 'unittests|camel_case.rb|testUnitAddons.rb' <<
        '--main' << 'README.rdoc'
  s.extra_rdoc_files = 'README.rdoc'

# s.test_file = 'unittests/mozilla_all_tests.rb'

  s.files = $__firewatir_source_patterns.inject([]) { |list, glob|
   list << Dir[glob].delete_if { |path|
      File.directory?(path) or
      path.include?('CVS')
    }
  }.flatten

end
Something went wrong with that request. Please try again.