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 CHANGED
@@ -13,7 +13,7 @@ gem install jcouchbase
13
13
  usage
14
14
  =====
15
15
 
16
- require 'couchbase'
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
+
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jcouchbase'
3
- s.version = '0.1.3'
4
- s.date = '2012-08-28'
3
+ s.version = '0.1.4'
4
+ s.date = '2012-08-29'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = ["Jeremy J Brenner"]
7
7
  s.email = ["jeremyjbrenner@gmail.com"]
@@ -1,3 +1,3 @@
1
1
  class Couchbase
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
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.3
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-28 00:00:00.000000000 Z
12
+ date: 2012-08-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: require_all