Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 18, 2011
  1. @drbrain

    Update manifest

    drbrain authored
  2. @drbrain

    Fix warnings

    drbrain authored
  3. @drbrain
  4. @drbrain
  5. @drbrain

    Clarify documentation

    drbrain authored
  6. @drbrain
  7. @drbrain

    Merge branch 'form_accept_charset' of https://github.com/kitamomonga/…

    drbrain authored
    …mechanize into kitamomonga-form_accept_charset
    
    * 'form_accept_charset' of https://github.com/kitamomonga/mechanize:
      Form#ignore_encoding_error, Util::ENCODING_ERRORS, Util::NEW_RUBY_ENCODING, new tests for Util.from_native_charset
      Mechanize 2.0.0 on Ruby 1.9.2 sends forms properly.
  8. @drbrain

    Simplify 404 checking

    drbrain authored
  9. @drbrain

    Merge branch 'webrobots_when_404' of https://github.com/kitamomonga/m…

    drbrain authored
    …echanize into kitamomonga-webrobots_when_404
    
    * 'webrobots_when_404' of https://github.com/kitamomonga/mechanize:
      Mechanize#webrobots_http_get now handles 404 Not Found
  10. @drbrain
  11. @drbrain
  12. @drbrain
Commits on Apr 17, 2011
  1. @drbrain
  2. @drbrain
Commits on Apr 16, 2011
  1. @kitamomonga
Commits on Apr 14, 2011
  1. @kitamomonga

    Form#ignore_encoding_error, Util::ENCODING_ERRORS, Util::NEW_RUBY_ENC…

    kitamomonga authored
    …ODING, new tests for Util.from_native_charset
    
    Util::ENCODING_ERRORS. Array including encoding errors to rescue/ignore
    Util::NEW_RUBY_ENCODING. returns true if RUBY_VERSION is 1.9.0 or later
    Util.encode_to(). inner convert method (private)
    Form#ignore_encoding_error=. (was #enable_encoding_error=) default is false, every error raises
    add test for Util.from_native_charset to test/test_mechanize_util.rb
    remove some test from test/test_mechanize_form_encoding
    remove encoding option setting. it was not so useful for sending forms
    change Iconv.iconv().join to Iconv.conv(). It works in the same way
    loglevel of encoding error is now Logger::DEBUG
    Form#encoding is logged at Form#build_query in Logger::INFO
    
    Changes of this branch from tenderlove/mechanize/master:
      accept-charset support. If form has accept-charset="enc1", the form contents are encoded in enc1.
      Form#encoding=. change/set encoding of contents (i.e. UTF-8). default is accept-charset or Page#encoding.
      Form#encoding is logged on sending forms.
      all encoding errors raise and are logged on sending forms.
      Form#ignore_encoding_error=. set true if you want to suppress encoding errors on forms anyway.
      Util::ENCODING_ERRORS. includes encoding error classes to rescue/ignore.
      Util::NEW_RUBY_ENCODING. returns true if RUBY_VERSION is 1.9.0 or later.
      Util.encode_to(). inner convert method (private).
Commits on Apr 13, 2011
  1. @kitamomonga

    Mechanize 2.0.0 on Ruby 1.9.2 sends forms properly.

    kitamomonga authored
    support of <form accept-charset="enc">. Mechanize encodes form data string from UTF-8 to enc.
    Form#encoding= overwrites or sets accept-charset. Default is Page#encoding.
    All Encoding class error raises on Ruby 1.9.2. Set the correct data if you do not want errors.
    Form#encoding= accepts String#encode option on Ruby 1.9.2.
    Iconv::InvalidEncoding on Ruby 1.9.1 or earlier is logged and ignored.
    Iconv::IllegalSequence on Ruby 1.9.1 or earlier raises.
Commits on Apr 11, 2011
  1. @drbrain
  2. @drbrain

    Update manifest

    drbrain authored
  3. @drbrain
  4. @drbrain
  5. @drbrain
  6. @drbrain
  7. @drbrain
  8. @drbrain
  9. @drbrain
  10. @drbrain
  11. @drbrain
  12. @drbrain

    Remove require of uri_resolver

    drbrain authored
  13. @drbrain
  14. @drbrain
  15. @drbrain
  16. @drbrain
  17. @drbrain
  18. @drbrain
Something went wrong with that request. Please try again.