Permalink
Commits on May 12, 2011
  1. Ensure callbacks are propagated to embedded associated documents.

    myronmarston committed May 12, 2011
    If an embedded child document has a before_save hook, we need to ensure this runs when the parent document is saved.
Commits on May 11, 2011
  1. Set the content-length or transfer-encoding appropriately for net/htt…

    seancribbs committed May 11, 2011
    …p when streaming a body. Fixes #162.
  2. Tweak the doc.

    seancribbs committed May 11, 2011
Commits on May 10, 2011
  1. Pull out that encoding blurb from the top of riak.rb, be proactive ab…

    seancribbs committed May 10, 2011
    …out encodings on 1.9.
  2. Copy release notes changes.

    seancribbs committed May 10, 2011
  3. Allow setting of JSON encoding options so that deeply nested objects …

    seancribbs committed May 10, 2011
    …can be encoded and decoded. Closes #142.
  4. Merge remote-tracking branch 'danhodge/pbc_improve_performance'

    seancribbs committed May 10, 2011
    Conflicts:
    	riak-client/lib/riak/client/beefcake_protobuffs_backend.rb
  5. Set TCP_NODELAY on beefcake sockets and send messages in a single wri…

    technorama committed May 10, 2011
    …te to reduce latency.
Commits on May 6, 2011
Commits on Apr 28, 2011
  1. Check some assumptions for association persistence specs so that we'l…

    myronmarston committed Apr 28, 2011
    …l get a failure if the example models change in a way that would make the examples invalid.
  2. Fix before_save callback so that parent -> children save cascade only…

    myronmarston committed Apr 28, 2011
    … applies to linked associations.
    
    There's no reason for it to apply to embedded associations.
  3. Remove unneeded (and incorrect) definition of #loaded_documents.

    myronmarston committed Apr 28, 2011
    I accidentally included this in my last commit.
  4. Add #has_changed_documents? to association proxy.

    myronmarston committed Apr 28, 2011
    This makes it easy to query the proxy to see if any docs have changed.  It also cleans up the definition of #dirty? quite a bit.
  5. x510 => x509, x509++

    adamhunter committed with seancribbs Apr 25, 2011
Commits on Apr 26, 2011
  1. Merged pull request #149 from seancribbs/fix_system_stack_error.

    myronmarston committed Apr 26, 2011
    Prevent infinite recursion in the association before_save hook.
  2. Prevent infinite recursion in the association before_save hook.

    myronmarston committed Apr 26, 2011
    I was getting infinite recursion with transitive links.  This is a bit of a hack, but it's localized and guarantees infinite recursion won't occur.
Commits on Apr 25, 2011
  1. Add TODO.

    myronmarston committed Apr 25, 2011
  2. Rename #has_changes? to #changed?.

    myronmarston committed Apr 25, 2011
    There's no need for separate methods.
  3. Fix failing integration spec.

    myronmarston committed Apr 25, 2011
    The mocking here was a bit fragile and probably shouldn't be used since it's an integration test.
  4. Add fast version of #include? to linked proxy.

    myronmarston committed Apr 21, 2011
    There's no need to load all the linked documents when checking membership.  We can just use the set of keys.
  5. Add #keys to linked proxy.

    myronmarston committed Apr 21, 2011
  6. Add Ripple::Document::Link.

    myronmarston committed Apr 22, 2011
    Instances of this class are links tied to a particular document and tag.  They benefit over a standard link is that they lazy-fetch the key from the document when needed (rather than needing the key up-front when the link object is created).
  7. Added #has_changes? which is like #changed? but it also takes into ac…

    myronmarston committed Apr 25, 2011
    …count the embedded doc hierarchy.
  8. Remove license from each file.

    duff committed Apr 25, 2011
    Rely on the project-wide LICENSE file.
Commits on Apr 24, 2011
Commits on Apr 21, 2011
  1. Add support for Set properties.

    myronmarston committed Apr 21, 2011
    Also added a spec demonstrating how to define custom times that will serialize/deserialize properly.  I mistakenly thought this wasn't yet supported.
    You type needs to have the following methods:
    
    * #as_json(options = {})
    * .ripple_cast(value)
    
    Closes #143.
Commits on Apr 19, 2011
  1. Merge branch 'net-http-timeouts'

    Kyle Kingsbury committed Apr 19, 2011