jcouchbase 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +22 -1
- data/jcouchbase.gemspec +2 -2
- data/lib/jcouchbase/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -13,7 +13,7 @@ gem install jcouchbase
|
|
13
13
|
usage
|
14
14
|
=====
|
15
15
|
|
16
|
-
require '
|
16
|
+
require 'jcouchbase'
|
17
17
|
|
18
18
|
c = Couchbase.new('http://xocouch01.localcloud:8091/pools', 'default', 'secretpassword' )
|
19
19
|
|
@@ -23,3 +23,24 @@ p c['mykey']
|
|
23
23
|
|
24
24
|
c.shutdown
|
25
25
|
|
26
|
+
links
|
27
|
+
=====
|
28
|
+
|
29
|
+
Couchbase: http://www.couchbase.com
|
30
|
+
|
31
|
+
Java Library: http://www.couchbase.com/develop/java/next
|
32
|
+
|
33
|
+
API Reference
|
34
|
+
=============
|
35
|
+
|
36
|
+
jcouchbase exposes access to the methods from the java api:
|
37
|
+
shutdown add append delete asyncCAS asyncDecr asyncGetAndTouch asyncGet asyncGetBulk asyncGet asyncGets asyncIncr cas decr delete getAndTouch getBulk get gets getStats incr prepend replace set touch
|
38
|
+
|
39
|
+
Reference here:
|
40
|
+
http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html
|
41
|
+
|
42
|
+
In addition I have added [] and []= methods for convenience of getting and setting keys.
|
43
|
+
|
44
|
+
c['key'] = { 'blah' => 'blah', 'foo' => 'bar' }
|
45
|
+
p c['key']
|
46
|
+
|
data/jcouchbase.gemspec
CHANGED
data/lib/jcouchbase/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jcouchbase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: require_all
|