capybara-screenshot 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/lib/capybara-screenshot.rb +4 -0
- data/lib/capybara-screenshot/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
data/lib/capybara-screenshot.rb
CHANGED
@@ -94,6 +94,10 @@ Capybara::Screenshot.class_eval do
|
|
94
94
|
register_driver(:webkit_debug) do |driver, path|
|
95
95
|
driver.render(path)
|
96
96
|
end
|
97
|
+
|
98
|
+
register_driver(:terminus) do |driver, path|
|
99
|
+
driver.save_screenshot(path) if driver.respond_to?(:save_screenshot)
|
100
|
+
end
|
97
101
|
end
|
98
102
|
|
99
103
|
# Register filename prefix formatters
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-screenshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capybara
|
@@ -107,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
segments:
|
109
109
|
- 0
|
110
|
-
hash:
|
110
|
+
hash: 4276355344817561408
|
111
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
112
|
none: false
|
113
113
|
requirements:
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
version: '0'
|
117
117
|
segments:
|
118
118
|
- 0
|
119
|
-
hash:
|
119
|
+
hash: 4276355344817561408
|
120
120
|
requirements: []
|
121
121
|
rubyforge_project: capybara-screenshot
|
122
122
|
rubygems_version: 1.8.24
|