webrat 0.7.2 → 0.7.3

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
+ == 0.7.3 / 2011-01-01
2
+
3
+ * Minor enhancements
4
+
5
+ * Use Selenium's eval_css to work with cssQuery and Sizzle (Santiago Suarez Ordoñez)
6
+
7
+ == 0.7.2 / 2010-10-19
8
+
9
+ * TODO: Fill in from git history
10
+
1
11
  == 0.7.1 / 2010-04-26
2
12
 
3
13
  * Minor enhancements
@@ -2,7 +2,7 @@ require "rack"
2
2
  require "nokogiri"
3
3
 
4
4
  module Webrat
5
- VERSION = "0.7.2"
5
+ VERSION = "0.7.3"
6
6
 
7
7
  autoload :MechanizeAdapter, "webrat/adapters/mechanize"
8
8
  autoload :MerbAdapter, "webrat/adapters/merb"
@@ -1,7 +1,7 @@
1
1
  var locatorParts = locator.split('|');
2
2
  var cssAncestor = locatorParts[0];
3
3
  var linkText = locatorParts[1];
4
- var matchingElements = cssQuery(cssAncestor, inDocument);
4
+ var matchingElements = eval_css(cssAncestor, inDocument);
5
5
  var candidateLinks = matchingElements.collect(function(ancestor){
6
6
  var links = ancestor.getElementsByTagName('a');
7
7
  return $A(links).select(function(candidateLink) {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{webrat}
5
- s.version = "0.7.2"
5
+ s.version = "0.7.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Bryan Helmkamp"]
9
- s.date = %q{2010-10-19}
9
+ s.date = %q{2011-01-01}
10
10
  s.description = %q{Webrat lets you quickly write expressive and robust acceptance tests
11
11
  for a Ruby web application. It supports simulating a browser inside
12
12
  a Ruby process to avoid the performance hit and browser dependency of
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webrat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 2
10
- version: 0.7.2
9
+ - 3
10
+ version: 0.7.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bryan Helmkamp
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-19 00:00:00 -04:00
18
+ date: 2011-01-01 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency