Permalink
Switch branches/tags
Commits on Jun 19, 2013
Commits on Jun 17, 2013
Commits on Jun 16, 2013
  1. Make code ruby 1.8 compatible

    mnoack committed Jun 16, 2013
  2. Switch to simplecov for code coverage, set minimum as current (49%)

    mnoack committed Jun 16, 2013
    * Add .travis.yml to test coverage and 4 major ruby versions
Commits on Jun 15, 2013
  1. Fix remaining tests

    mnoack committed Jun 15, 2013
Commits on Jun 14, 2013
  1. Add method by_distance which simplifies closest/farthest

    mnoack committed Jun 14, 2013
    Also allows to find closest/farthest X records, e.g. closests 3 records via by_distance.first(3)
  2. Simplify sort_by_distance_from and avoid adding accessors on objects

    mnoack committed Jun 14, 2013
    * Deprecate as it's destructive and adds little/no value over a simple sort_by
  3. Merge pull request #24 from jackruss/master

    mnoack committed Jun 14, 2013
    allow versions of Rails above 3.0.x
  4. Default rake test to sqlite (sqlite doesn't require setup)

    mnoack committed Jun 14, 2013
    * Useful for travis-ci.org and contributors
  5. Enable tests to be run without database setup (via sqlite3)

    mnoack committed Jun 14, 2013
    * e.g. bundle exec rake test DB=sqlite
  6. Avoid mocha deprecations

    mnoack committed Jun 14, 2013
    *** Mocha deprecation warning: Change `require 'mocha'` to `require 'mocha/setup'`.
    *** Mocha deprecation warning: Test::Unit or MiniTest must be loaded *before* Mocha.
    *** Mocha deprecation warning: If you're integrating with a test library other than Test::Unit or MiniTest, you should use `require 'mocha/api'` instead of `require 'mocha'`.
  7. Use correct test pattern

    mnoack committed Jun 14, 2013
  8. Use new rdoc task path

    mnoack committed Jun 14, 2013
  9. Merge pull request #36 from wspruijt/master

    mnoack committed Jun 14, 2013
    Documentation correction: :km should be :kms
Commits on May 29, 2013
Commits on Mar 16, 2012
Commits on Jan 31, 2012
  1. Merge pull request #11 from sionide21/master

    jlecour committed Jan 31, 2012
    Sqlite Support. There are some tests in this but I could not verify them.
  2. Merge pull request #13 from apocalyptiq/patch-1

    jlecour committed Jan 31, 2012
    mistake - "buy" instead of "by"
Commits on Oct 6, 2011
  1. Version 0.1.5

    jlecour committed Oct 6, 2011
    * Dependencies less strict, especially Bundler
Commits on May 29, 2011
  1. mistake - "buy" instead of "by"

    Szymon Przybył committed May 29, 2011
Commits on Apr 20, 2011
Commits on Apr 11, 2011
  1. Add sqlite to tests

    sionide21 committed Apr 11, 2011
Commits on Mar 15, 2011
  1. Apparently rails reopens sql pretty frequently

    sionide21 committed Mar 15, 2011
    There is probably a more elegant solution but this works well enough for
    now.
  2. SQLite Support

    sionide21 committed Mar 15, 2011
    Used callbacks to enable sqlite to perform cnecessary calculations.
Commits on Feb 17, 2011
  1. Bump version number

    jlecour committed Feb 17, 2011