rwebspec 3.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +3 -0
- data/Rakefile +1 -1
- data/lib/rwebspec/test_utils.rb +2 -0
- data/lib/rwebspec.rb +2 -2
- metadata +3 -2
data/CHANGELOG
CHANGED
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
|
|
data/lib/rwebspec/test_utils.rb
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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-
|
|
17
|
+
date: 2012-05-06 00:00:00 +10:00
|
|
17
18
|
default_executable:
|
|
18
19
|
dependencies:
|
|
19
20
|
- !ruby/object:Gem::Dependency
|