rwebspec 3.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,6 +1,9 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 3.0.1
5
+ - fixed not loading watir properly - not calling windows_extensions.rb
6
+
4
7
  WATIR CHANGES
5
8
  [web_browser.rb]
6
9
  - remove waitForIE
data/Rakefile CHANGED
@@ -71,7 +71,7 @@ end
71
71
  spec = Gem::Specification.new do |s|
72
72
  s.platform= Gem::Platform::RUBY
73
73
  s.name = "rwebspec"
74
- s.version = "3.0"
74
+ s.version = "3.0.1"
75
75
  s.summary = "Web application functional specification in Ruby"
76
76
  s.description = "Executable functional specification for web applications in RSpec syntax and Watir"
77
77
 
@@ -118,6 +118,8 @@ module RWebSpec
118
118
  Win32::Screenshot::Take.of(:foreground).write(screenshot_image_filepath)
119
119
  end
120
120
  notify_screenshot_location(screenshot_image_filepath)
121
+ rescue ::DL::DLTypeError => de
122
+ puts "No screenshot libray found: #{de}"
121
123
  rescue => e
122
124
  puts "error on taking screenshot: #{e}"
123
125
  end
data/lib/rwebspec.rb CHANGED
@@ -16,7 +16,7 @@ end
16
16
  require 'spec'
17
17
 
18
18
  unless defined? RWEBSPEC_VERSION
19
- RWEBSPEC_VERSION = RWEBUNIT_VERSION = "3.0"
19
+ RWEBSPEC_VERSION = RWEBUNIT_VERSION = "3.0.1"
20
20
  end
21
21
 
22
22
  $testwise_polling_interval = 1 # seconds
@@ -52,7 +52,7 @@ require File.dirname(__FILE__) + "/extensions/rspec_extensions"
52
52
  # Watir 3 API Changes, no Watir/Container
53
53
  if RUBY_PLATFORM =~ /mswin/ or RUBY_PLATFORM =~ /mingw/
54
54
  require File.dirname(__FILE__) + "/extensions/watir_extensions"
55
- # require File.dirname(__FILE__) + "/extensions/window_script_extensions.rb"
55
+ require File.dirname(__FILE__) + "/extensions/window_script_extensions.rb"
56
56
  end
57
57
 
58
58
  require File.dirname(__FILE__) + "/plugins/testwise_plugin.rb"
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 3
7
7
  - 0
8
- version: "3.0"
8
+ - 1
9
+ version: 3.0.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Zhimin Zhan
@@ -13,7 +14,7 @@ autorequire: rwebspec
13
14
  bindir: bin
14
15
  cert_chain: []
15
16
 
16
- date: 2012-04-30 00:00:00 +10:00
17
+ date: 2012-05-06 00:00:00 +10:00
17
18
  default_executable:
18
19
  dependencies:
19
20
  - !ruby/object:Gem::Dependency