capybara-screenshot 0.3.11 → 0.3.12

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.
@@ -1,3 +1,13 @@
1
+ 23 July 2013
2
+ -----------
3
+
4
+ https://github.com/stevenwilkin contributed code to display a warning for [Mechanize](http://mechanize.rubyforge.org/) users.
5
+
6
+ 3 June 2013
7
+ -----------
8
+
9
+ Dropped Ruby 1.8 support for this Gem because of conflicts with Nokogiri requiring a later version of Ruby. Instead, there is a new branch https://github.com/mattheworiordan/capybara-screenshot/tree/ruby-1.8-support which can be used if requiring backwards compatabiltiy.
10
+
1
11
  18 Apr 2013
2
12
  -----------
3
13
 
@@ -73,6 +73,10 @@ Capybara::Screenshot.class_eval do
73
73
  register_driver(:rack_test) do |driver, path|
74
74
  warn "Rack::Test capybara driver has no ability to output screen shots. Skipping."
75
75
  end
76
+
77
+ register_driver(:mechanize) do |driver, path|
78
+ warn "Mechanize capybara driver has no ability to output screen shots. Skipping."
79
+ end
76
80
 
77
81
  register_driver(:selenium) do |driver, path|
78
82
  driver.browser.save_screenshot(path)
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Screenshot
3
- VERSION = "0.3.11"
3
+ VERSION = "0.3.12"
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.11
4
+ version: 0.3.12
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: 2013-07-03 00:00:00.000000000 Z
12
+ date: 2013-07-23 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: -4122417616762416045
110
+ hash: -319874671836872360
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: -4122417616762416045
119
+ hash: -319874671836872360
120
120
  requirements: []
121
121
  rubyforge_project: capybara-screenshot
122
122
  rubygems_version: 1.8.24