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 CHANGED
@@ -1,3 +1,8 @@
1
+ 07 Jan 2013
2
+ -----------
3
+
4
+ Support for Terminus, thanks to https://github.com/jamesotron
5
+
1
6
  27 Dec 2012
2
7
  -----------
3
8
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Screenshot
3
- VERSION = "0.3.3"
3
+ VERSION = "0.3.4"
4
4
  end
5
5
  end
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.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: 2012-12-27 00:00:00.000000000 Z
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: 412364068371505471
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: 412364068371505471
119
+ hash: 4276355344817561408
120
120
  requirements: []
121
121
  rubyforge_project: capybara-screenshot
122
122
  rubygems_version: 1.8.24