couchbase-structures 0.0.1 → 0.0.2
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
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Brand New Gem, still in progress!
|
|
2
|
+
|
|
1
3
|
# CouchbaseStructures
|
|
2
4
|
|
|
3
5
|
TODO: Write a gem description
|
|
@@ -6,7 +8,7 @@ TODO: Write a gem description
|
|
|
6
8
|
|
|
7
9
|
Add this line to your application's Gemfile:
|
|
8
10
|
|
|
9
|
-
gem '
|
|
11
|
+
gem 'couchbase-structures'
|
|
10
12
|
|
|
11
13
|
And then execute:
|
|
12
14
|
|
|
@@ -14,7 +16,7 @@ And then execute:
|
|
|
14
16
|
|
|
15
17
|
Or install it yourself as:
|
|
16
18
|
|
|
17
|
-
$ gem install
|
|
19
|
+
$ gem install couchbase-structures
|
|
18
20
|
|
|
19
21
|
## Usage
|
|
20
22
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
require '
|
|
1
|
+
require 'couchbase_doc_store'
|
|
2
2
|
|
|
3
|
+
# haven't written this one yet... it's a copy of Stack code
|
|
3
4
|
module CouchbaseStructures
|
|
4
5
|
class SortedList
|
|
5
|
-
include
|
|
6
|
+
include CouchbaseDocStore
|
|
6
7
|
|
|
7
8
|
def initialize(key, sort_type = {})
|
|
8
9
|
|