rocksdb-ffi 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 418f08a08ef63ebd020e564c356caffe4b1a0d5b7369671f593c688f3fe1a71a
4
+ data.tar.gz: 3eeafe7ffc7fc2ca09e97a21584e3d6a90dabf788373fc9205b99bd1cf724bd8
5
+ SHA512:
6
+ metadata.gz: 5473bb61e2338c41efedb1af337640d6ca070395c87f933bab5ce3117807594301eebf55cfbbb6a9eb8f12828de267e1ef300ead98797ba10f1a733210334f34
7
+ data.tar.gz: 0171a8b32370ff31edff39398e27d1af0a81d98e267cf40494268f08faefd54f010c217c9db7513864e33ffb2fc716aff2eac56b147a3225271aa560b51f38f4
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,136 @@
1
+ AllCops:
2
+ NewCops: enable
3
+ TargetRubyVersion: 2.5
4
+ SuggestExtensions: false
5
+
6
+ Gemspec/RequireMFA:
7
+ Enabled: false
8
+
9
+ Layout/EmptyLineBetweenDefs:
10
+ EmptyLineBetweenClassDefs: false
11
+
12
+ Gemspec/RequiredRubyVersion:
13
+ Enabled: false
14
+
15
+ Style/ExplicitBlockArgument:
16
+ Enabled: false
17
+
18
+ Style/HashTransformValues:
19
+ Enabled: false
20
+
21
+ Style/HashTransformKeys:
22
+ Enabled: false
23
+
24
+ Style/HashEachMethods:
25
+ Enabled: true
26
+
27
+ Lint/RedundantRequireStatement:
28
+ Enabled: false
29
+
30
+ Layout/ArgumentAlignment:
31
+ EnforcedStyle: with_fixed_indentation
32
+
33
+ Layout/FirstArrayElementIndentation:
34
+ EnforcedStyle: consistent
35
+
36
+ Style/PercentLiteralDelimiters:
37
+ Enabled: false
38
+
39
+ Style/SpecialGlobalVars:
40
+ EnforcedStyle: use_english_names
41
+
42
+ Security/Eval:
43
+ Enabled: false
44
+
45
+ Style/WordArray:
46
+ EnforcedStyle: brackets
47
+
48
+ Style/ClassAndModuleChildren:
49
+ Enabled: false
50
+
51
+ Style/TrivialAccessors:
52
+ Enabled: false
53
+
54
+ Style/Alias:
55
+ Enabled: false
56
+
57
+ Style/StringLiteralsInInterpolation:
58
+ EnforcedStyle: double_quotes
59
+
60
+ Metrics/ClassLength:
61
+ Enabled: false
62
+
63
+ Naming/MethodParameterName:
64
+ Enabled: false
65
+
66
+ Style/SymbolArray:
67
+ EnforcedStyle: brackets
68
+
69
+ Layout/RescueEnsureAlignment:
70
+ Enabled: false
71
+
72
+ Layout/LineLength:
73
+ Enabled: false
74
+
75
+ Metrics/MethodLength:
76
+ Enabled: false
77
+
78
+ Metrics/ModuleLength:
79
+ Enabled: false
80
+
81
+ Style/ZeroLengthPredicate:
82
+ Enabled: false
83
+
84
+ Metrics/PerceivedComplexity:
85
+ Enabled: false
86
+
87
+ Metrics/AbcSize:
88
+ Enabled: false
89
+
90
+ Metrics/CyclomaticComplexity:
91
+ Enabled: false
92
+
93
+ Metrics/BlockLength:
94
+ Enabled: false
95
+
96
+ Metrics/BlockNesting:
97
+ Enabled: false
98
+
99
+ Style/NumericPredicate:
100
+ Enabled: false
101
+
102
+ Naming/AccessorMethodName:
103
+ Enabled: false
104
+
105
+ Naming/MemoizedInstanceVariableName:
106
+ Enabled: false
107
+
108
+ Style/StringLiterals:
109
+ EnforcedStyle: double_quotes
110
+
111
+ Style/Documentation:
112
+ Enabled: false
113
+
114
+ Naming/ConstantName:
115
+ Enabled: false
116
+
117
+ Style/MutableConstant:
118
+ Enabled: false
119
+
120
+ Layout/MultilineMethodCallIndentation:
121
+ EnforcedStyle: indented
122
+
123
+ Layout/ParameterAlignment:
124
+ EnforcedStyle: with_fixed_indentation
125
+
126
+ Lint/UnusedMethodArgument:
127
+ Enabled: false
128
+
129
+ Style/IfUnlessModifier:
130
+ Enabled: false
131
+
132
+ Style/RedundantBegin:
133
+ Enabled: false
134
+
135
+ Naming/FileName:
136
+ Enabled: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # CHANGELOG
2
+
3
+ ## v0.1.0
4
+
5
+ * Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at benjamin.vetter@wlw.de. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in rocksdb-ffi.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+ gem "rspec", "~> 3.0"
10
+ gem "rubocop"
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Benjamin Vetter
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,80 @@
1
+ # rocksdb-ffi
2
+
3
+ RocksDB for ruby using FFI
4
+
5
+ ## Installation
6
+
7
+ Install rocksdb and then install the gem and add to the application's Gemfile
8
+ by executing:
9
+
10
+ ```
11
+ $ bundle add rocksdb-ffi
12
+ ```
13
+
14
+ If bundler is not being used to manage dependencies, install the gem by executing:
15
+
16
+ ```
17
+ $ gem install rocksdb-ffi
18
+ ```
19
+
20
+ ## Usage
21
+
22
+ rocksdb-ffi exposes the basic functionality of rocksdb.
23
+
24
+ ```ruby
25
+ rocksdb = RocksDB.new("/path/to/db") # or RocksDB.open("/path/to/db")
26
+
27
+ rocksdb.put("key", "value")
28
+
29
+ rocksdb.delete("key")
30
+
31
+ rocksdb.each do |key, value| # or rocksdb.each_pair do ...
32
+ # ...
33
+ end
34
+
35
+ rocksdb.each_key do |key|
36
+ # ...
37
+ end
38
+
39
+ rocksdb.close
40
+
41
+ rocksdb.open("/path/to/other/db")
42
+ ```
43
+
44
+ The library is tested against ruby 3.0/3.1/3.2 and rocksdb 7.2. That's it for now!
45
+
46
+ ## Thread-safety
47
+
48
+ Please check out the RocksDB FAQ regarding thread-safety as the same applies to
49
+ rocksdb-ffi: https://github.com/aayushKumarJarvis/rocks-wiki/blob/master/RocksDB-FAQ.md
50
+
51
+ ## Development
52
+
53
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
54
+ `rake spec` to run the tests. You can also run `bin/console` for an interactive
55
+ prompt that will allow you to experiment.
56
+
57
+ To install this gem onto your local machine, run `bundle exec rake install`. To
58
+ release a new version, update the version number in `version.rb`, and then run
59
+ `bundle exec rake release`, which will create a git tag for the version, push
60
+ git commits and the created tag, and push the `.gem` file to
61
+ [rubygems.org](https://rubygems.org).
62
+
63
+ ## Contributing
64
+
65
+ Bug reports and pull requests are welcome on GitHub at
66
+ https://github.com/mrkamel/rocksdb-ffi. This project is intended to be a
67
+ safe, welcoming space for collaboration, and contributors are expected to
68
+ adhere to the [code of
69
+ conduct](https://github.com/mrkamel/rocksdb-ffi/blob/main/CODE_OF_CONDUCT.md).
70
+
71
+ ## License
72
+
73
+ The gem is available as open source under the terms of the
74
+ [MIT License](https://opensource.org/licenses/MIT).
75
+
76
+ ## Code of Conduct
77
+
78
+ Everyone interacting in the rocksdb-ffi project's codebases, issue trackers,
79
+ chat rooms and mailing lists is expected to follow the
80
+ [code of conduct](https://github.com/mrkamel/rocksdb-ffi/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RocksDB
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rocksdb"
data/lib/rocksdb.rb ADDED
@@ -0,0 +1,197 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rocksdb/version"
4
+ require "ffi"
5
+
6
+ class RocksDB
7
+ module Lib
8
+ extend FFI::Library
9
+
10
+ ffi_lib "rocksdb"
11
+
12
+ attach_function :rocksdb_options_create, [], :pointer
13
+ attach_function :rocksdb_options_destroy, [:pointer], :void
14
+ attach_function :rocksdb_options_set_create_if_missing, [:pointer, :uchar], :void
15
+ attach_function :rocksdb_open, [:pointer, :string, :strptr], :pointer
16
+ attach_function :rocksdb_close, [:pointer], :void
17
+ attach_function :rocksdb_writeoptions_create, [], :pointer
18
+ attach_function :rocksdb_writeoptions_destroy, [:pointer], :void
19
+ attach_function :rocksdb_put, [:pointer, :pointer, :string, :size_t, :string, :size_t, :pointer], :void
20
+ attach_function :rocksdb_readoptions_create, [], :pointer
21
+ attach_function :rocksdb_readoptions_destroy, [:pointer], :void
22
+ attach_function :rocksdb_get, [:pointer, :pointer, :string, :size_t, :pointer, :pointer], :pointer
23
+ attach_function :rocksdb_delete, [:pointer, :pointer, :string, :size_t, :pointer], :void
24
+ attach_function :rocksdb_create_iterator, [:pointer, :pointer], :pointer
25
+ attach_function :rocksdb_iter_valid, [:pointer], :uchar
26
+ attach_function :rocksdb_iter_seek_to_first, [:pointer], :void
27
+ attach_function :rocksdb_iter_next, [:pointer], :void
28
+ attach_function :rocksdb_iter_key, [:pointer, :pointer], :pointer
29
+ attach_function :rocksdb_iter_value, [:pointer, :pointer], :pointer
30
+ attach_function :rocksdb_iter_destroy, [:pointer], :void
31
+ attach_function :rocksdb_flush, [:pointer, :pointer, :pointer], :void
32
+ attach_function :rocksdb_flushoptions_create, [], :pointer
33
+ attach_function :rocksdb_flushoptions_destroy, [:pointer], :void
34
+ attach_function :rocksdb_free, [:pointer], :void
35
+
36
+ def self.auto_close(closed_state)
37
+ proc do |db|
38
+ Lib.rocksdb_close(db) unless closed_state.value
39
+ end
40
+ end
41
+ end
42
+
43
+ class Error < StandardError; end
44
+ class ClosedError < Error; end
45
+
46
+ class ClosedState
47
+ attr_accessor :value
48
+
49
+ def initialize(value)
50
+ @value = value
51
+ end
52
+ end
53
+
54
+ ENCODING = "UTF-8"
55
+
56
+ def initialize(path)
57
+ # For performance reasons, we create and re-use these options
58
+
59
+ @create_options = FFI::AutoPointer.new(Lib.rocksdb_options_create, Lib.method(:rocksdb_options_destroy))
60
+ Lib.rocksdb_options_set_create_if_missing(@create_options, 1)
61
+
62
+ @read_options = FFI::AutoPointer.new(Lib.rocksdb_readoptions_create, Lib.method(:rocksdb_readoptions_destroy))
63
+ @write_options = FFI::AutoPointer.new(Lib.rocksdb_writeoptions_create, Lib.method(:rocksdb_writeoptions_destroy))
64
+ @flush_options = FFI::AutoPointer.new(Lib.rocksdb_flushoptions_create, Lib.method(:rocksdb_flushoptions_destroy))
65
+
66
+ # To automatically close the database during cleanup we need an object, but
67
+ # for fast checking we use the literal
68
+
69
+ @closed_state = ClosedState.new(true)
70
+ @closed = true
71
+
72
+ open(path) # rubocop:disable Security/Open
73
+ end
74
+
75
+ def self.open(path)
76
+ new(path)
77
+ end
78
+
79
+ def open(path)
80
+ close
81
+
82
+ error = FFI::MemoryPointer.new(:pointer, 1)
83
+ @db = FFI::AutoPointer.new(Lib.rocksdb_open(@create_options, path, error), Lib.auto_close(@closed_state))
84
+ check_error(error)
85
+
86
+ @closed_state.value = false
87
+ @closed = false
88
+ end
89
+
90
+ def flush
91
+ raise(ClosedError, "Database is closed") if @closed
92
+
93
+ error = FFI::MemoryPointer.new(:pointer, 1)
94
+ Lib.rocksdb_flush(@db, @flush_options, error)
95
+ check_error(error)
96
+ end
97
+
98
+ def put(key, value)
99
+ raise(ClosedError, "Database is closed") if @closed
100
+
101
+ error = FFI::MemoryPointer.new(:pointer, 1)
102
+ Lib.rocksdb_put(@db, @write_options, key, key.bytesize, value, value.bytesize, error)
103
+ check_error(error)
104
+ end
105
+
106
+ def get(key)
107
+ raise(ClosedError, "Database is closed") if @closed
108
+
109
+ length = FFI::MemoryPointer.new(:size_t, 1)
110
+ error = FFI::MemoryPointer.new(:pointer, 1)
111
+ res = Lib.rocksdb_get(@db, @read_options, key, key.bytesize, length, error)
112
+ check_error(error)
113
+
114
+ return if res.null?
115
+
116
+ read_string(res, length)
117
+ end
118
+
119
+ def delete(key)
120
+ raise(ClosedError, "Database is closed") if @closed
121
+
122
+ error = FFI::MemoryPointer.new(:pointer, 1)
123
+ Lib.rocksdb_delete(@db, @write_options, key, key.bytesize, error)
124
+ check_error(error)
125
+ end
126
+
127
+ def close
128
+ return if @closed
129
+
130
+ Lib.rocksdb_close(@db)
131
+
132
+ @closed_state.value = true
133
+ @closed = true
134
+ end
135
+
136
+ def each
137
+ raise(ClosedError, "Database is closed") if @closed
138
+
139
+ return enum_for(__method__) unless block_given?
140
+
141
+ iterate do |iterator|
142
+ key_length = FFI::MemoryPointer.new(:size_t, 1)
143
+ key = read_string(Lib.rocksdb_iter_key(iterator, key_length), key_length)
144
+
145
+ value_length = FFI::MemoryPointer.new(:size_t, 1)
146
+ value = read_string(Lib.rocksdb_iter_value(iterator, value_length), value_length)
147
+
148
+ yield(key, value)
149
+ end
150
+ end
151
+
152
+ alias_method :each_pair, :each
153
+
154
+ def each_key
155
+ raise(ClosedError, "Database is closed") if @closed
156
+
157
+ return enum_for(__method__) unless block_given?
158
+
159
+ iterate do |iterator|
160
+ key_length = FFI::MemoryPointer.new(:size_t, 1)
161
+ key = read_string(Lib.rocksdb_iter_key(iterator, key_length), key_length)
162
+
163
+ yield(key)
164
+ end
165
+ end
166
+
167
+ private
168
+
169
+ def iterate
170
+ iterator = Lib.rocksdb_create_iterator(@db, @read_options)
171
+
172
+ begin
173
+ Lib.rocksdb_iter_seek_to_first(iterator)
174
+
175
+ while Lib.rocksdb_iter_valid(iterator) != 0
176
+ yield(iterator)
177
+
178
+ Lib.rocksdb_iter_next(iterator)
179
+ end
180
+ ensure
181
+ Lib.rocksdb_iter_destroy(iterator)
182
+ end
183
+ end
184
+
185
+ def check_error(error)
186
+ pointer = error.read_pointer
187
+ return if pointer.null?
188
+
189
+ message = pointer.read_string.force_encoding(ENCODING)
190
+ Lib.rocksdb_free(pointer)
191
+ raise(Error, message)
192
+ end
193
+
194
+ def read_string(pointer, length_pointer)
195
+ pointer.read_string(length_pointer.read(:size_t)).force_encoding(ENCODING)
196
+ end
197
+ end
metadata ADDED
@@ -0,0 +1,71 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rocksdb-ffi
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Benjamin Vetter
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-03-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ffi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: RocksDB for ruby using FFI
28
+ email:
29
+ - benjamin.vetter@wlw.de
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".rspec"
35
+ - ".rubocop.yml"
36
+ - CHANGELOG.md
37
+ - CODE_OF_CONDUCT.md
38
+ - Gemfile
39
+ - LICENSE.txt
40
+ - README.md
41
+ - Rakefile
42
+ - lib/rocksdb-ffi.rb
43
+ - lib/rocksdb.rb
44
+ - lib/rocksdb/version.rb
45
+ homepage: https://github.com/mrkamel/rocksdb-ffi
46
+ licenses:
47
+ - MIT
48
+ metadata:
49
+ homepage_uri: https://github.com/mrkamel/rocksdb-ffi
50
+ source_code_uri: https://github.com/mrkamel/rocksdb-ffi
51
+ changelog_uri: https://github.com/mrkamel/rocksdb-ffi/blob/master/CHANGELOG.md
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 2.6.0
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubygems_version: 3.3.3
68
+ signing_key:
69
+ specification_version: 4
70
+ summary: RocksDB for ruby using FFI
71
+ test_files: []