Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on May 9, 2009
  1. added bulk_load macro

    Chris Anderson authored
Commits on Apr 28, 2009
  1. @mattetti
  2. @will @mattetti

    Specs now clean up after themselves by deleting the test databases

    will authored mattetti committed
    Signed-off-by: Matt Aimonetti <mattaimonetti@gmail.com>
  3. @mattetti

    Make "property :foo, :default => false" work

    Mutwin Kraus authored mattetti committed
      Before a default value of false was treated like a default of nil,
      which is not the same.
    
    Signed-off-by: Matt Aimonetti <mattaimonetti@gmail.com>
  4. @mattetti

    Improvements for ExtendedDocument initializer

    Mutwin Kraus authored mattetti committed
      * Tries to send arg= to the Document before setting the attribute
    
    Signed-off-by: Matt Aimonetti <mattaimonetti@gmail.com>
  5. @yohei @mattetti

    fixed a bug with CastedModel constructer calling Hash#initialize(ifnone)

    yohei authored mattetti committed
    Signed-off-by: Matt Aimonetti <mattaimonetti@gmail.com>
Commits on Apr 16, 2009
  1. version support note

    Chris Anderson authored
Commits on Apr 1, 2009
  1. @gbuesing @mattetti

    Hash#=== monkeypatch: don't add special behavior to subclasses, i.e. …

    gbuesing authored mattetti committed
    …CouchRest documents
  2. @gbuesing @mattetti

    Adding Rails-related monkeypatches file, which isn't required by defa…

    gbuesing authored mattetti committed
    …ult. Contains fixes for Rails routing and Rails form error compatibility.
Commits on Mar 31, 2009
  1. Revert "Server URI can now include a prefix to the database name"

    Chris Anderson authored
    This reverts commit 14acd95.
  2. @candlerb @mattetti

    Remove unnecessary design_doc_fresh test

    candlerb authored mattetti committed
  3. @candlerb @mattetti

    Move design_doc_* attributes into DesignDoc mixin

    candlerb authored mattetti committed
  4. @candlerb @mattetti
Commits on Mar 27, 2009
  1. @mattetti

    updated the gemspec

    mattetti authored
  2. @adamhjk @mattetti

    Adding a Gem Package rake (rake package) task, along with rake instal…

    adamhjk authored mattetti committed
    …l (to install the gem after building)
  3. @mattetti
  4. @mattetti
  5. @gbuesing @mattetti

    Add call to super in CouchRest::Validation.inherited hook, so that Ex…

    gbuesing authored mattetti committed
    …tendedDocument.inherited isn't bypassed. This reveals a failing test: Subclassing an ExtendedDocument should inherit default property values
  6. @gbuesing @mattetti

    Make design_doc non-inheritable. Fixes bug where views added to a chi…

    gbuesing authored mattetti committed
    …ld class were propagated to the parent and siblings. Child class "all" view map function now checks in guard clause for child class name instead of parent name
  7. @gbuesing @mattetti

    Don't make design_doc_slug_cache and design_doc_fresh inheritable, be…

    gbuesing authored mattetti committed
    …cause these settings should be specific to the class
  8. @candlerb @mattetti

    Server URI can now include a prefix to the database name

    candlerb authored mattetti committed
  9. @candlerb @mattetti

    Escape slash in database name

    candlerb authored mattetti committed
  10. @mattetti

    Merge commit 'candlerb/candlerb/design-doc' into candlerb-merge

    mattetti authored
    * commit 'candlerb/candlerb/design-doc':
      Update handler for old versions of couchdb
      ClassProxy provides class-level methods on a dynamically chosen database.
      Remove obsolete 'move' methods
      Tidying up spec, remove unnecessary assignments to local variable
      Multiple database support for ExtendedDocument.
      Typo in comment
      Move design_doc attributes to Mixins::DesignDoc
  11. @candlerb
  12. @candlerb

    ClassProxy provides class-level methods on a dynamically chosen datab…

    candlerb authored
    …ase.
    
    Examples:
    
      db = CouchRest::Database.new(...)
      articles = Article.on(db)
    
      articles.all { ... }
      articles.by_title { ... }
    
      u = articles.get("someid")
    
      u = articles.new(:title => "I like plankton")
      u.save    # saved on the correct database
  13. @candlerb
  14. @candlerb
  15. @candlerb

    Multiple database support for ExtendedDocument.

    candlerb authored
    New optional parameters are available to select the database:
    
    Mixins::DocumentQueries
      * get <id>, <db>
      * all :database => <db>
      * first :database => <db>
    
    Mixins::Views
      * view <name>, :database => <db>
      * all_design_doc_versions <db>
      * cleanup_design_docs! <db>
    
    Mixins::DesignDoc
      * refresh_design_doc now only updates the design_doc _id and removes _rev
      * call save_design_doc to save and update the design_doc
      * call save_design_doc_on <db> to save the design doc on a given
        database without modifying the model's design_doc object
    
    Design (core/design.rb)
      * new method view_on <db>, ...
    
    Bug fixes:
      * design_doc_slug in mixins/design_doc.rb was using an empty document
        to calculate the slug each time
      * method_missing in core/extended_document.rb now passes a block through
Commits on Mar 26, 2009
  1. @candlerb

    Typo in comment

    candlerb authored
  2. @candlerb
Commits on Mar 25, 2009
  1. @mattetti
  2. @gbuesing @mattetti

    ValidationErrors#on: allow String field_name

    gbuesing authored mattetti committed
  3. @gbuesing @mattetti

    Validation inheritance: do deeper dup so that child classes don't add…

    gbuesing authored mattetti committed
    … to the parent's validations
Commits on Mar 23, 2009
  1. fixed gemspec

    Chris Anderson authored
Something went wrong with that request. Please try again.