rocksdb-jruby 1.0.0.pre1-java → 1.0.0.pre2-java

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: 42224f630c10b4ee4386571d75a39b2a975075d4
4
- data.tar.gz: 0d79cc9cd99c5b6571798b1aef465140dd6bb26b
3
+ metadata.gz: e42eaee7f5ae38c6491452c5aa43fdee5abfd0a5
4
+ data.tar.gz: c683b4c8b3ed31cb3c3855fb361cc4cdf834ee67
5
5
  SHA512:
6
- metadata.gz: 224859b0f15ec776af7c4a7511b843c2cd0a56733e4acc84cae51be9f73729f26585d65d19ec75e446a6ef73c74b3388e292d973795ccd64553d6c5611bb0b5f
7
- data.tar.gz: d42525d1efe903f8427269d0f221b9360ca76ed3079bf7543d036571db5b1d4acd823d2949c31a0d349d22082599e33a797aaba80c5f2243aae4e15b6482117e
6
+ metadata.gz: 25689dd7f3f10ada808d62365d0ea4029575e757414ab0dfd534944c90095437692dd23de93eaca9894463bf678a0b1d08b0c84dcb9b5c3b14134a62385d17cb
7
+ data.tar.gz: bc3446e7a575052b7d5a2e25b6c4ab8fe6df21d934fd8cb0ec49b6769cd871e2dafc0af49657c759b425504b25976e92ec3759ed3e2d341374a890f26447226e
data/README.md CHANGED
@@ -48,6 +48,9 @@ snapshot = db.snapshot
48
48
  db.put('foo', 'baz')
49
49
  puts snapshot.get('foo') # => 'bar'
50
50
  puts db.get('foo') # => 'baz'
51
+
52
+ # compactions
53
+ db.compact_range(from: 'foo', to: 'foo08')
51
54
  ```
52
55
 
53
56
  ## How to build and run the tests
@@ -76,5 +76,13 @@ module RocksDb
76
76
  # @yieldparam [String] value a value
77
77
  # @return [Enumerable] an enumerable of the same keys and values as the
78
78
  # call would have yielded if a block was given
79
+
80
+ # @!method compact_range(options={})
81
+ # Compact the whole, or a range of the keyspace
82
+ #
83
+ # @param [Hash] options
84
+ # @option options [String] :from (nil) the start of the range to compact
85
+ # @option options [String] :to (nil) the end of the range to compact
86
+ # @return [nil]
79
87
  end
80
88
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module RocksDb
4
- VERSION = '1.0.0.pre1'
4
+ VERSION = '1.0.0.pre2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocksdb-jruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre1
4
+ version: 1.0.0.pre2
5
5
  platform: java
6
6
  authors:
7
7
  - Theo Hultberg