webrat 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +14 -4
- data/Rakefile +1 -1
- data/lib/webrat.rb +5 -4
- metadata +3 -4
data/History.txt
CHANGED
@@ -1,20 +1,30 @@
|
|
1
|
+
== 0.3.4 / 2008-12-29
|
2
|
+
|
3
|
+
* 1 Minor enhancement
|
4
|
+
|
5
|
+
* Fix compatibility with Nokogiri 1.1.0 on JRuby
|
6
|
+
|
7
|
+
* 1 Bug fix
|
8
|
+
|
9
|
+
* Correct version for Nokogiri dependency in gem
|
10
|
+
|
1
11
|
== 0.3.3 / 2008-12-28
|
2
12
|
|
3
|
-
* Minor
|
13
|
+
* 1 Minor enhancement
|
4
14
|
|
5
15
|
* Fix compatibility with Nokogiri 1.1.0 on MRI
|
6
16
|
|
7
17
|
== 0.3.2 / 2008-11-08
|
8
18
|
|
9
|
-
* Minor
|
19
|
+
* 1 Minor enhancement
|
10
20
|
|
11
21
|
* Fixes behavior or have_tag when a block is passed. It passes the matched node(s) to the block for further specs again. (Carl Lerche)
|
12
22
|
|
13
23
|
== 0.3.1 / 2008-11-07
|
14
24
|
|
15
|
-
|
25
|
+
* 1 Minor enhancement
|
16
26
|
|
17
|
-
|
27
|
+
* Use @_webrat_session instance variable instead of @session for Merb integration to avoid collisions
|
18
28
|
|
19
29
|
== 0.3.0 / 2008-11-07
|
20
30
|
|
data/Rakefile
CHANGED
data/lib/webrat.rb
CHANGED
@@ -3,7 +3,7 @@ require "rubygems"
|
|
3
3
|
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__)))
|
4
4
|
|
5
5
|
module Webrat
|
6
|
-
VERSION = '0.3.
|
6
|
+
VERSION = '0.3.4'
|
7
7
|
|
8
8
|
def self.root #:nodoc:
|
9
9
|
defined?(RAILS_ROOT) ? RAILS_ROOT : Merb.root
|
@@ -12,13 +12,14 @@ module Webrat
|
|
12
12
|
def self.require_xml
|
13
13
|
gem "nokogiri", ">= 1.1.0"
|
14
14
|
|
15
|
+
# We need Nokogiri's CSS to XPath support, even if using
|
16
|
+
# REXML and Hpricot for parsing and searching
|
17
|
+
require "nokogiri"
|
18
|
+
|
15
19
|
if on_java?
|
16
|
-
# We need Nokogiri's CSS to XPath support, even if using REXML and Hpricot for parsing and searching
|
17
|
-
require "nokogiri/css"
|
18
20
|
require "hpricot"
|
19
21
|
require "rexml/document"
|
20
22
|
else
|
21
|
-
require "nokogiri"
|
22
23
|
require "webrat/core/nokogiri"
|
23
24
|
end
|
24
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webrat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Helmkamp
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-12-
|
12
|
+
date: 2008-12-29 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.0
|
23
|
+
version: 1.1.0
|
24
24
|
version:
|
25
25
|
description: Webrat. Ruby Acceptance Testing for Web applications
|
26
26
|
email: bryan@brynary.com
|
@@ -87,7 +87,6 @@ files:
|
|
87
87
|
- lib/webrat/selenium/selenium_session.rb
|
88
88
|
- lib/webrat/selenium.rb
|
89
89
|
- lib/webrat/sinatra.rb
|
90
|
-
- lib/webrat/test
|
91
90
|
- lib/webrat.rb
|
92
91
|
has_rdoc: true
|
93
92
|
homepage: http://github.com/brynary/webrat
|