Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on May 24, 2012
  1. readme, gemfile

    authored
  2. update readme

    authored
  3. Merge pull request #17 from leehambley/improved-specs

    authored
    Improved specs
Commits on Mar 29, 2012
  1. Merge pull request #18 from michihuber/fix_user_lookup

    authored
    use Likeable.user_class instead of User when looking up a Like.user
  2. @michihuber
Commits on Mar 2, 2012
  1. @leehambley

    Improve the specs.

    leehambley authored
    Improve the specs by running 30, of the 34 against a `NullRedis`
    instance, a class with all methods returning a `NullObject`. This change
    found two places where assumptions were being made, without being
    mocked/stubbed correctly ("should not like by default", for example)
    
    The two places that were making assumptions about the starting state
    have now recieved explicit mocks/expectations to make clear the test
    intention.
    
    Added an `:integration` option to the specs which really need to talk to
    Redis, there are 4 of these. The new real-redis has been re-implemented
    as a Singleton class in `spec_helper.rb` where it is guaranteed to be
    shut down by installing an `at_exit { }` block. This implementation is
    mostly re-factored from the original.
    
    The RSpec configuration has been cleaned-up, the `build_user!`,
    `unload_user!` and related methods have been moved into a module, and
    are available inside the RSpec scope.
    
    The implementation of `CleanTestClassForLikeable` has been consolidated
    from two similar (also **Setup**`CleanTestClassForLikeable`)
    implementations in two different spec files, into one canonical
    implementation in the spec helper.
    
    The `Rakefile` is modified so that `rake` now defaults to running the
    specs asif one had typed `rake spec`.
  2. @leehambley
Commits on Mar 1, 2012
  1. Merge pull request #16 from leehambley/master

    authored
    Restore `README.md` to before SHA: 21f2f1a.
  2. @leehambley

    Restore `README.md` to before SHA: 21f2f1a.

    leehambley authored
    This was the `likeable has moved` commit, and the `README.md` got
    fatally wounded in the process.
Commits on Feb 26, 2012
  1. Merge pull request #15 from chdorner/unlike_check_exists

    authored
    Unlike check exists
Commits on Jan 30, 2012
  1. @chdorner
  2. @chdorner

    Adds after_unlike callback

    chdorner authored
Commits on Jan 19, 2012
  1. @bemurphy

    Finder adapters, fixes gh-4

    bemurphy authored
  2. @bemurphy
  3. @bemurphy
  4. @bemurphy

    Move id casting out to a proc in the adapters. This allows for string…

    bemurphy authored
    … id stores like mongo or couchdb.
  5. @bemurphy
  6. @bemurphy

    Regenerate gemspec, I forgot.

    bemurphy authored
  7. @bemurphy
  8. @bemurphy
  9. @bemurphy
Commits on Dec 17, 2011
  1. Version bump to 0.1.1

    authored
  2. [GH-11] fix find_one bug.

    authored
    Problem was caused by an incorrectly named variable, and not identified due to rails class reloading in development.
Commits on Nov 18, 2011
  1. likeable has moved

    authored
Commits on Nov 15, 2011
  1. Merge pull request #6 from kirs/master

    authored
    Fixed gemspec
  2. Version bump to 0.1.0

    authored
  3. remove unused method

    authored
Commits on Nov 14, 2011
  1. @kirs

    Fixed gemspec

    kirs authored
  2. Merge pull request #2 from bemurphy/master

    authored
    Some cleanup, and rescue NameError on User for Likeable.setup
Something went wrong with that request. Please try again.