webrat 0.3.3 → 0.3.4

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.
Files changed (4) hide show
  1. data/History.txt +14 -4
  2. data/Rakefile +1 -1
  3. data/lib/webrat.rb +5 -4
  4. metadata +3 -4
@@ -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 enhancements
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 enhancements
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
- * Minor enhancements
25
+ * 1 Minor enhancement
16
26
 
17
- * Use @_webrat_session instance variable instead of @session for Merb integration to avoid collisions
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
@@ -28,7 +28,7 @@ spec = Gem::Specification.new do |s|
28
28
  s.extra_rdoc_files = %w(README.txt MIT-LICENSE.txt)
29
29
 
30
30
  # Dependencies
31
- s.add_dependency "nokogiri", ">= 1.0.3"
31
+ s.add_dependency "nokogiri", ">= 1.1.0"
32
32
  end
33
33
 
34
34
  Rake::GemPackageTask.new(spec) do |package|
@@ -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.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.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-28 00:00:00 -05:00
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.3
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