Posted By: Aaron Patterson
Date: 2006-10-11 06:08
Summary: Ruby Mechanize 0.6.2 (Bridget)
Project: Mechanize

The latest version of Ruby Mechanize (Bridget) is ready to go. Make sure to
get the new version as it contains some new features and a few bugfixes as
well!

= Mechanize Release Notes

== 0.6.2 (Bridget)

Mechanize 0.6.2 (Bridget) is a fairly small bug fix release. You can now
access the parsed page when a ResponseCodeError is thrown. For example, this
loads a page that doesn't exist, but gives you access to the parsed 404 page:
begin
WWW::Mechanize.new().get('http://google.com/asdfasdfadsf.html')
rescue WWW::Mechanize::ResponseCodeError => ex
puts ex.page
end
Accessing forms is now more DSL like. When manipulating a form, for example,
you can use the following syntax:
page.form('formname') { |form|
form.first_name = "Aaron"
}.submit
Documentation has also been updated thanks to Paul Smith.

= Mechanize CHANGELOG

== 0.6.2

* Added a yield to Page#form so that dealing with forms can be more DSL like.
* Added the parsed page to the ResponseCodeError so that the parsed results
can be accessed even in the event of an error.
http://rubyforge.org/pipermail/mechanize-users/2006-September/000007.html
* Updated documentation (Thanks to Paul Smith)

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: ruby-mechanize-0.6.2--bridget-

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post