Switch branches/tags
Nothing to show
Commits on Jun 14, 2011
Commits on Jun 3, 2011
  1. Improving debug information and comments

    Ruben Nine
    Ruben Nine committed Jun 3, 2011
  2. Running proxy in a thread so we have better control over slow proxy r…

    Ruben Nine
    Ruben Nine committed Jun 3, 2011
Commits on Jun 2, 2011
  1. Try a regular get if proxy list is empty

    Ruben Nine
    Ruben Nine committed Jun 2, 2011
  2. Adding support for proxied requests to GoogleMaps

    Ruben Nine
    Ruben Nine committed Jun 2, 2011
  3. remove api key

    stuartchaney committed Jun 2, 2011
Commits on May 24, 2011
  1. delete swps

    stuartchaney committed May 24, 2011
Commits on May 4, 2010
  1. Bump version to 0.4.1

    mcmire committed May 4, 2010
  2. Fix tests

    mcmire committed May 4, 2010
  3. Removed deprecated WWW constant from WWW::Mechanize, in response to

    crispinheneise authored and mcmire committed Apr 30, 2010
    !!!!! DEPRECATION NOTICE !!!!!
    The WWW constant is deprecated, please switch to the new top-level Mechanize
    constant.  WWW will be removed in Mechanize version 2.0
    You've referenced the WWW constant from /opt/local/lib/ruby/gems/1.8/gems/address_standardization-0.4.0/lib/address_standardization/melissa_data.rb:25:in `get_live_response', please
    switch the "WWW" to "Mechanize".  Thanks!
      Pew Pew Pew
    (cherry picked from commit b383cc0)
Commits on Feb 2, 2010
  1. Require the right gem for tests and make sure we check dev dependenci…

    mcmire committed Feb 2, 2010
    …es are installed when running tests
Commits on Jan 5, 2010
  1. Release 0.4.0.

    mcmire committed Jan 5, 2010
  2. Update README

    mcmire committed Jan 5, 2010
  3. * Add debug mode that will print stuff like which URLs we're hitting …

    mcmire committed Jan 5, 2010
    …and response bodies and such as to the console
    * Fix test mode being a true value by default
  4. API changes; add a global test mode.

    mcmire committed Jan 5, 2010
    API changes:
      * There's now just a global Address class. Each service returns an instance of
        Address instead of Service::Address.
      * Each service now inherits from AbstractService.
      * You now say Service.standardize_address(...) instead of just
    Test mode:
      * Naturally, test mode is disabled and both services will return live results
        by default. When test mode is enabled, both services will return a canned
        response instead, regardless of input.
      * In addition to controlling test mode you can also control whether this
        canned response represents success or failure. Whereas the test mode is
        global, the canned response setting is per-service. A successful canned
        response simply returns the input you give it; a failure canned response
        just returns nil. A successful response is returned by default.
    Here's an example that shows both changes in action:
      AddressStandardization.test_mode = true
      AddressStandardization::GoogleMaps.standardize_address(:street => "111 Merry Ln.", :city => "Falstaff", :state => "OR")
      #=> (address as usual)
      AddressStandardization.test_mode = false
      AddressStandardization::GoogleMaps.canned_response = :success
      AddressStandardization::GoogleMaps.standardize_address(:street => "111 Merry Ln.", :city => "Falstaff", :state => "OR")
      #=> => "111 Merry Ln.", :city => "Falstaff", :state => "OR")
      AddressStandardization::GoogleMaps.canned_response = :failure
      AddressStandardization::GoogleMaps.standardize_address(:street => "111 Merry Ln.", :city => "Falstaff", :state => "OR")
      #=> nil
Commits on Jan 3, 2010
  1. * Collapse the MelissaData adapter into one class, make the API consi…

    mcmire committed Jan 3, 2010
    …stent with that of GoogleMaps
    * Ensure that .standardize in both adapters works whether the hash you give it has string keys or symbol keys
  2. Speed up the MelissaData adapter a bit by going straight to the resul…

    mcmire committed Jan 3, 2010
    …ts page instead of passing through the form first. Closes #5.
Commits on Jan 2, 2010
  1. * Hide the debug lines for now, we'll add them back later

    mcmire committed Jan 2, 2010
    * Ensure that we are requiring files correctly and not loading rubygems needlessly
  2. * Fix MelissaData adapter as the screenscraping no longer worked due …

    mcmire committed Jan 2, 2010
    …to changes in the form on the site itself. Release version 0.3.
    * Fix GoogleMaps tests so they work
Commits on Jan 23, 2009
Commits on Jan 22, 2009
  1. Add .gitignore

    mcmire committed Jan 22, 2009