watir.gemspec in watir-1.6.6 vs watir.gemspec in watir-1.6.7.rc1
- old
+ new
@@ -1,17 +1,17 @@
require 'watir-rdoc'
$__watir_source_patterns = [
- 'CHANGES', 'rakefile.rb', 'VERSION', "README.rdoc", 'watir.gemspec', 'watir-rdoc.rb',
+ 'CHANGES', 'rakefile.rb', 'VERSION', "README.rdoc", 'watir.gemspec', 'watir-rdoc.rb', 'LICENSE',
'lib/watir/*.rb', 'lib/watir/AutoItX3.dll',
'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/win32ole.so',
'lib/watir/contrib/*.rb'] +
$WATIR_EXTRA_RDOC_FILES
spec = Gem::Specification.new do |s|
- version = File.read("VERSION").strip rescue "0.0.0"
+ 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,
\ No newline at end of file