Skip to content

Commit

Permalink
updating Rakefile, VERSION, and moving CHANGELOG to History
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed May 12, 2008
1 parent 67ce614 commit 551383a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 62 deletions.
64 changes: 32 additions & 32 deletions CHANGELOG.txt → History.txt
@@ -1,6 +1,6 @@
= Mechanize CHANGELOG

== 0.7.6
=== 0.7.6

* New Features:
* Added support for reading Mozilla cookie jars. Thanks Chris Riddoch!
Expand All @@ -23,40 +23,40 @@
* Supporting blank strings for option values.
http://rubyforge.org/tracker/index.php?func=detail&aid=19975&group_id=1453&atid=5709

== 0.7.5
=== 0.7.5

* Fixed a bug when fetching files and not pages. Thanks Mat Schaffer!

== 0.7.4
=== 0.7.4

* doh!

== 0.7.3
=== 0.7.3

* Pages are now yielded to a blocks given to WWW::Mechanize#get
* WWW::Mechanize#get now takes hash arguments for uri parameters.
* WWW::Mechanize#post takes an IO object as a parameter and posts correctly.
* Fixing a strange zlib inflate problem on windows

== 0.7.2
=== 0.7.2

* Handling gzipped responses with no Content-Length header

== 0.7.1
=== 0.7.1

* Added iPhone to the user agent aliases. [#17572]
* Fixed a bug with EOF errors in net/http. [#17570]
* Handling 0 length gzipped responses. [#17471]

== 0.7.0
=== 0.7.0

* Removed Ruby 1.8.2 support
* Changed parser to lazily parse links
* Lazily parsing document
* Adding verify_callback for SSL requests. Thanks Mike Dalessio!
* Fixed a bug with Accept-Language header. Thanks Bill Siggelkow.

== 0.6.11
=== 0.6.11

* Detecting single quotes in meta redirects.
* Adding pretty inspect for ruby versions > 1.8.4 (Thanks Joel Kociolek)
Expand All @@ -67,7 +67,7 @@
* Added a FAQ
http://rubyforge.org/tracker/?func=detail&aid=15772&group_id=1453&atid=5709

== 0.6.10
=== 0.6.10

* Made digest authentication work with POSTs.
* Made sure page was HTML before following meta refreshes.
Expand All @@ -86,7 +86,7 @@
* Aliasing inspect to pretty_inspect. Thanks Eric Promislow.
http://rubyforge.org/pipermail/mechanize-users/2007-July/000157.html

== 0.6.9
=== 0.6.9

* Updating UTF-8 support for urls
* Adding AREA tags to the links list.
Expand All @@ -98,7 +98,7 @@
* Added Digest Authentication support. Thanks to Ryan Davis and Eric Hodel,
you get a gold star!

== 0.6.8
=== 0.6.8

* Keep alive can be shut off now with WWW::Mechanize#keep_alive
* Conditional requests can be shut off with WWW::Mechanize#conditional_requests
Expand All @@ -109,12 +109,12 @@
* Updating compatability with hpricot
* Added more unit tests

== 0.6.7
=== 0.6.7

* Fixed a bug with keep-alive requests
* [#9549] fixed problem with cookie paths

== 0.6.6
=== 0.6.6

* Removing hpricot overrides
* Fixed a bug where alt text can be nil. Thanks Yannick!
Expand All @@ -124,7 +124,7 @@
* [#9434] Fixed bug where html entities weren't decoded
* [#9150] Updated mechanize history to deal with redirects

== 0.6.5
=== 0.6.5

* Copying headers to a hash to prevent memory leaks
* Speeding up page parsing
Expand All @@ -139,7 +139,7 @@
http://rubyforge.org/tracker/?func=detail&aid=7563&group_id=1453&atid=5709
* Added MSIE 7.0 user agent string

== 0.6.4
=== 0.6.4

* Adding the "redirect_ok" method to Mechanize to stop mechanize from
following redirects.
Expand All @@ -156,7 +156,7 @@
* Fixed bug [#6548]. Input type of 'button' was not being added as a button.
* Fixed bug [#7139]. REXML parser calls hpricot parser by accident

== 0.6.3
=== 0.6.3

* Added keys and values methods to Form
* Added has_value? to Form
Expand All @@ -171,15 +171,15 @@
* Fixed a bug where '#' symbols are encoded
http://rubyforge.org/forum/message.php?msg_id=14747

== 0.6.2
=== 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)

== 0.6.1
=== 0.6.1

* Added a method to Form called "submit". Now forms can be submitted by
calling a method on the form.
Expand All @@ -197,7 +197,7 @@
* Fixed a bug with loading text in to links.
http://rubyforge.org/pipermail/mechanize-users/2006-September/000000.html

== 0.6.0
=== 0.6.0

* Changed main parser to use hpricot
* Made WWW::Mechanize::Page class searchable like hpricot
Expand All @@ -209,7 +209,7 @@
* Removed REXML helper methods since the main parser is now hpricot
* Overhauled cookie parser to use WEBrick::Cookie

== 0.5.4
=== 0.5.4

* Added WWW::Mechanize#trasact for saving history state between in a
transaction. See the EXAMPLES file. Thanks Johan Kiviniemi.
Expand All @@ -224,7 +224,7 @@
* Fixed a bug with saving files on windows
* Fixed a bug with the filename being set in forms

== 0.5.3
=== 0.5.3

* Mechanize#click will now act on the first element of an array. So if an
array of links is passed to WWW::Mechanize#click, the first link is clicked.
Expand All @@ -242,7 +242,7 @@
* Updated log4r support for a speed increase. Thanks Yinon Bentor
* Added inspect methods and pretty printing

== 0.5.2
=== 0.5.2

* Fixed a bug with input names that are nil
* Added a warning when using attr_finder because attr_finder will be deprecated
Expand All @@ -259,12 +259,12 @@
WWW::Mechanize::Form#set_fields. Which can be used like so:
form.set_fields( :foo => 'bar', :name => 'Aaron' )

== 0.5.1
=== 0.5.1

* Fixed bug with file uploads
* Added performance tweaks to the cookie class

== 0.5.0
=== 0.5.0

* Added pluggable parsers. (Thanks to Eric Kolve for the idea)
* Changed namespace so all classes are under WWW::Mechanize.
Expand All @@ -279,7 +279,7 @@
* Removed support for body filters in favor of pluggable parsers.
* Fixed cookie bug adding a '/' when the url is missing one (Thanks Nick Dainty)

== 0.4.7
=== 0.4.7

* Fixed bug with no action in forms. Thanks to Adam Wiggins
* Setting a default user-agent string
Expand All @@ -288,7 +288,7 @@
(thanks to Gregory Brown)
* Added WWW::Mechanize#get_file for fetching non text/html files

== 0.4.6
=== 0.4.6

* Added support for proxies
* Added a uri field to WWW::Link
Expand All @@ -299,7 +299,7 @@
allows syntax as such: form.fields.name('q').value = 'xyz'
Before it was like this: form.fields.name('q').first.value = 'xyz'

== 0.4.5
=== 0.4.5

* Added support for multiple values of the same name
* Updated build_query_string to take an array of arrays (Thanks Michal Janeczek)
Expand All @@ -309,35 +309,35 @@
* Fixed a bug with empty select lists
* Fixing a problem with cookies not handling no spaces after semicolons

== 0.4.4
=== 0.4.4

* Fixed error in method signature, basic_authetication is now basic_auth
* Fixed bug with encoding names in file uploads (Big thanks to Alex Young)
* Added options to the select list

== 0.4.3
=== 0.4.3

* Added syntactic sugar for finding things
* Fixed bug with HttpOnly option in cookies
* Fixed a bug with cookie date parsing
* Defaulted dropdown lists to the first element
* Added unit tests

== 0.4.2
=== 0.4.2

* Added support for iframes
* Made mechanize dependant on ruby-web rather than narf
* Added unit tests
* Fixed a bunch of warnings

== 0.4.1
=== 0.4.1

* Added support for file uploading
* Added support for frames (Thanks Gabriel[mailto:leerbag@googlemail.com])
* Added more unit tests
* Fixed some bugs

== 0.4.0
=== 0.4.0

* Added more unit tests
* Added a cookie jar with better cookie support, included expiration of cookies
Expand Down
29 changes: 0 additions & 29 deletions Rakefile
Expand Up @@ -7,31 +7,6 @@ require 'mechanize'
class MechHoe < Hoe
def define_tasks
super

desc "Tag code"
task :tag do |p|
abort "Must supply VERSION=x.y.z" unless ENV['VERSION']
v = ENV['VERSION'].gsub(/\./, '_')

rf = RubyForge.new
user = rf.userconfig['username']

baseurl = "svn+ssh://#{user}@rubyforge.org//var/svn/#{name}"
sh "svn cp -m 'tagged REL-#{v}' . #{ baseurl }/tags/REL-#{ v }"
end

desc "Branch code"
Rake::Task.define_task("branch") do |p|
abort "Must supply VERSION=x.y.z" unless ENV['VERSION']
v = ENV['VERSION'].split(/\./)[0..1].join('_')

rf = RubyForge.new
user = rf.userconfig['username']

baseurl = "svn+ssh://#{user}@rubyforge.org/var/svn/#{name}"
sh "svn cp -m'branched #{v}' #{baseurl}/trunk #{baseurl}/branches/RB-#{v}"
end

desc "Update SSL Certificate"
Rake::Task.define_task('ssl_cert') do |p|
sh "openssl genrsa -des3 -out server.key 1024"
Expand All @@ -51,10 +26,6 @@ MechHoe.new('mechanize', WWW::Mechanize::VERSION) do |p|
p.author = 'Aaron Patterson'
p.email = 'aaronp@rubyforge.org'
p.summary = "Mechanize provides automated web-browsing"
p.description = p.paragraphs_of('README.txt', 3).join("\n\n")
p.url = p.paragraphs_of('README.txt', 1).first.strip
p.changes = p.paragraphs_of('CHANGELOG.txt', 0..2).join("\n\n")
p.extra_deps = [['hpricot', '>= 0.5.0']]
end


2 changes: 1 addition & 1 deletion lib/www/mechanize.rb
Expand Up @@ -39,7 +39,7 @@ module WWW
class Mechanize
##
# The version of Mechanize you are using.
VERSION = '0.7.5'
VERSION = '0.7.6'

##
# User Agent aliases
Expand Down

0 comments on commit 551383a

Please sign in to comment.