leveldb 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48578e37fa490da4f33b59f2d858ebf384eaa6b1
4
- data.tar.gz: 396172ae4fd81be3c4a83284977a707d63f83ce2
3
+ metadata.gz: 123601bbef23ab13db9da5dd25db49eb0a477e09
4
+ data.tar.gz: 81d8c02992688dc995c3a8836dc41f18c56e233e
5
5
  SHA512:
6
- metadata.gz: 9f2e32505426b075e3df93420497f8139d6f48f37a23c6b9fc25cefd6d2e96b95494a69c470f2eff494f24490ba59e48bdae0332a31ced4c7111347e2261bc13
7
- data.tar.gz: 40668670e25b372676574c710be01f46bc451683c0a33f3f31a6ac2379a5ff0623340459f2d6ef9dba48fcc74a0de7f547ca52ade221bfc35ca4ff22ac750b3d
6
+ metadata.gz: 33f3b1a0dc7a8882ba275f33eaa407e3a9dad106d0eec444199ed1c93a7da0aa36db4acc58cb35b2506b66c56ab19a10a597976652189687d23e6accd83ea152
7
+ data.tar.gz: 25a569065c2f94b56a83171a4f10252de107fa323e2902e31d76f0255232aefdd9835c6e3ed131ecd93c22163c1a5a5369a5f7931039256c4c98141f03e2cb7c
data/README.md CHANGED
@@ -3,10 +3,31 @@
3
3
  LevelDB is a database library (C++, 350 kB) written at Google. It is an
4
4
  embedded database. LevelDB is a persistent ordered map.
5
5
 
6
- ## Documentation
7
-
6
+ > LevelDB stores keys and values in arbitrary byte arrays, and data is sorted by
7
+ > key. It supports batching writes, forward and backward iteration, and
8
+ > compression of the data via Google's Snappy compression library. Still,
9
+ > LevelDB is not a SQL database. (Wikipedia)
10
+
11
+ ## Features
12
+
13
+ * Keys and values are arbitrary byte arrays.
14
+ * Data is stored **sorted** by key.
15
+ * Callers can provide a (_soon_) **custom comparison** function to override the sort order.
16
+ * The basic operations are Put(key,value), Get(key), Delete(key).
17
+ * Multiple changes can be made in one **atomic batch**.
18
+ * Users can create a **transient snapshot** to get a consistent view of data.
19
+ * _Forward_ and _backward_ iteration is supported over the data.
20
+ * Data is automatically **compressed** using the **Snappy** compression library.
21
+ * External activity (file system operations etc.) is relayed through a virtual
22
+ interface so users can customize the operating system interactions.
23
+ * Detailed documentation about how to use the library is included
24
+ with the [source code](http://code.google.com/p/leveldb/).
25
+
26
+ ## Reading
27
+
28
+ * [LevelDB](http://code.google.com/p/leveldb/)
29
+ * [Great Reading](http://skipperkongen.dk/2013/02/14/having-a-look-at-leveldb/)
8
30
  * [Website](http://daddye.it/leveldb)
9
- * [Api Doc](http://daddye.it/leveldb/doc)
10
31
 
11
32
  ## Installation
12
33
 
@@ -1,3 +1,3 @@
1
1
  module LevelDB
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
data/lib/native.rb CHANGED
@@ -4,6 +4,8 @@ module LevelDB
4
4
  module Native
5
5
  include Fiddler
6
6
 
7
+ LIBPATHS.push File.expand_path('../../ext/leveldb', __FILE__)
8
+
7
9
  prefix 'leveldb_'
8
10
  dlload 'libleveldb'
9
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leveldb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - DAddYE