watir.gemspec in watir-3.0.0.rc3 vs watir.gemspec in watir-3.0.0

- old
+ new

@@ -1,57 +1,21 @@ -require './watir-rdoc' +# -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "watir/version" -$__watir_source_patterns = [ - 'CHANGES', 'rakefile.rb', 'VERSION', "README.rdoc", 'watir.gemspec', 'watir-rdoc.rb', 'LICENSE', - 'lib/watir/*.rb', 'lib/watir/dialogs/*.rb', 'unittests/*.rb', 'unittests/html/*.html', 'unittests/html/images/*.*', - 'unittests/other/*.rb', 'unittests/testcase/*.rb', 'unittests/windows/*.rb', - 'lib/watir/IEDialog/Release/IEDialog.dll', 'lib/watir/win32ole/1.8.7/win32ole.so','lib/watir/win32ole/1.9.3/win32ole.so', - 'lib/watir/contrib/*.rb'] + - $WATIR_EXTRA_RDOC_FILES - -spec = Gem::Specification.new do |s| - version = File.exist?('VERSION') ? File.read('VERSION').strip : "0.0.0" - s.name = 'watir' - s.version = version - s.summary = 'Automated testing tool for web applications.' - s.description = <<-EOF - WATIR is "Web Application Testing in Ruby". Watir (pronounced water) is a free, - open-source functional testing tool for automating browser-based tests of web applications. - It works with applications written in any language. - Watir drives the Internet Explorer browser the same way an end user would. - It clicks links, fills in forms, presses buttons. - Watir also checks results, such as whether expected text appears on the - page, or whether a control is enabled. - Watir can test web applications written in any language. - Watir is a Ruby library that works with Internet Explorer on Windows. - EOF - s.author = 'Bret Pettichord' - s.email = 'watir-general@groups.google.com' - s.rubyforge_project = 'Watir' - s.homepage = 'http://www.watir.com/' - +Gem::Specification.new do |s| + s.name = "watir" + s.version = Watir::BUNDLE_VERSION s.platform = Gem::Platform::RUBY - s.required_ruby_version = '>= 1.8.7' - s.requirements << 'Microsoft Windows running Internet Explorer 5.5 or later.' - s.require_path = 'lib' + s.authors = ["Bret Pettichord"] + s.email = ["bret@pettichord.com"] + s.homepage = "http://github.com/watir/watir" + s.summary = %q{Watir} + s.description = %q{Automated testing tool for web applications. By Testers. For Testers.} + s.rubyforge_project = "watir" + s.files = %x{git ls-files}.split("\n") + s.require_paths = ["lib"] + s.add_dependency "commonwatir", Watir::BUNDLE_VERSION - s.add_dependency 'win32-process', '>= 0.5.5' - s.add_dependency 'windows-pr', '>= 0.6.6' - s.add_dependency 'commonwatir', '= ' + version - s.add_dependency 'nokogiri' - s.add_dependency 'ffi', '~>1.0' - s.add_dependency 'rautomation', '~>0.7.2' - - s.rdoc_options += $WATIR_RDOC_OPTIONS - s.extra_rdoc_files = $WATIR_EXTRA_RDOC_FILES - s.executables << 'watir-console' - -# s.test_file = 'unittests/core_tests.rb' - - s.files = $__watir_source_patterns.inject([]) { |list, glob| - list << Dir[glob].delete_if { |path| - File.directory?(path) or - path.include?('CVS') - } - }.flatten - + # bundled gems + s.add_dependency "watir-classic", '~> 3' end