AnyEvent-CouchDB

 view release on metacpan or  search on metacpan

.project  view on Meta::CPAN

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>anyevent-couchdb</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.epic.perleditor.perlbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.epic.perleditor.perlnature</nature>
	</natures>
</projectDescription>

Changes  view on Meta::CPAN

    with AnyEvent::CouchDB::Stream.

1.28 2011-10-25
  - stream module lacked functionality to prevent socket closing.
    closes RT #71601 (by http://benbot.myopenid.com (Mike Zedeler?))

1.27 2011-09-01
  - added a workaround for a strange bug in
    AnyEvent::CouchDB::Stream where strange characters
    would appear in between JSON objects in the stream.
  - added more people to the credits

1.26 2011-08-29
  - RT#70506 save_doc doesn't update attachment stubs
  - RT#70480 open_doc(undef) returns db status
  - RT#70425 AnyEvent::CouchDB::Stream enhancement

1.25 2011-07-13
  - support for https couches (by Luke Closs)

1.24 2011-04-13

MANIFEST  view on Meta::CPAN

.project
.shipit
bin/couchdb-push
Changes
edit
eg/async
eg/async-via-cb
eg/NOTES
eg/pager
eg/replicate.pl
lib/AnyEvent/CouchDB.pm
lib/AnyEvent/CouchDB/Database.pm
lib/AnyEvent/CouchDB/Exceptions.pm
lib/AnyEvent/CouchDB/Stream.pm
Makefile.PL

lib/AnyEvent/CouchDB/Database.pm  view on Meta::CPAN

    $cb
  );
  $cv;
}

sub bulk_docs {
  my ( $self, $docs, $options ) = @_;
  my ( $cv, $cb ) = cvcb( $options, undef, $self->json_encoder );

  my %props = (); ## _bulk_docs properties go to the request body
  foreach my $property (qw(all_or_nothing new_edits)) {
    if (my $value = delete $options->{$property}) {
      ## convert the respective value to the JSON boolean type
      $props{$property} = $value eq 'false' ? JSON::false() : JSON::true();
    }
  }

  http_request(
    POST    => $self->uri . '_bulk_docs',
    headers => $self->_build_headers($options),
    body    => $self->json( { %props, docs => $docs } ),



( run in 0.531 second using v1.01-cache-2.11-cpan-de7293f3b23 )