Giter Site home page Giter Site logo

jchris / couchrest Goto Github PK

View Code? Open in Web Editor NEW
399.0 2.0 77.0 3.31 MB

A RESTful CouchDB client based on Heroku's RestClient and Couch.js - you want the version at http://github.com/couchrest/couchrest

Home Page: http://github.com/couchrest/couchrest

couchrest's Introduction

couchrest's People

Contributors

adamhjk avatar antonyblakey avatar candlerb avatar deepj avatar gbuesing avatar igal avatar jchris avatar kirel avatar mattetti avatar nanodeath avatar ndarilek avatar orangewolf avatar quirkey avatar rafaelss avatar ratbeard avatar roidrage avatar sporkd avatar tapajos avatar tc avatar topfunky avatar viniciusteles avatar wagenet avatar wasnotrice avatar wildchild avatar will avatar yohei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

couchrest's Issues

Fails when CouchDB lists are used

On line 87 of design_doc.rb, it assumes that if the design doc was saved, it has views. This is not always the case, especially if you use CouchDB lists and push them to the design doc before CouchDB can push the views.

Can we override couchrest-type?

Hi,

I want to use couchrest to integrate with an existing CouchDB system, where we use 'doctype' as the 'type' identifier for documents.

The string 'couchrest-type' seems to be hard coded in - could this be made configurable? It could still default to couchrest-type for backwards compatability.

Cheers

Attachment Names containing slashes, won't work correctly

When putting standalone attachments to a document that are named like "folder/filename.txt" the CGI.escape escapes the slashes. This way you cannot produce paths like http://host/dbname/doc_id/folder/filename.txt which would be great since couchdb itself supports it (while futon fails).

I fiddled a bit with the escaping of attachment names, but now a single test is failing
"POST document with attachment (with funky name)" within the database_spec.rb (specifically line 417, when fetching the attachment by name).

I don't know how to fix this without breaking compatiblity with other stuff.

Any suggestions?

base64 error with ruby1.9

on Ubuntu 9.04 jaunty with ruby 1.9.0 (2008-06-20 revision 17482) I get the error :
/var/lib/gems/1.9.0/gems/couchrest-0.33/lib/couchrest/core/database.rb:2:in require': no such file to load -- base64 (LoadError) from /var/lib/gems/1.9.0/gems/couchrest-0.33/lib/couchrest/core/database.rb:2:in<top (required)>'
from /var/lib/gems/1.9.0/gems/couchrest-0.33/lib/couchrest/core/server.rb:53:in database' from /var/lib/gems/1.9.0/gems/couchrest-0.33/lib/couchrest/core/server.rb:59:indatabase!'
from /var/lib/gems/1.9.0/gems/couchrest-0.33/lib/couchrest.rb:138:in database!' from /usr/local/aimpl-version/aimpl/scripts/make_pl.rb:6:in

'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.