rocksdb-ruby 0.2.2 → 1.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/spec/spec_helper.rb CHANGED
@@ -1,8 +1,24 @@
1
1
  require 'rubygems'
2
2
  require 'bundler/setup'
3
+ require 'tmpdir'
3
4
 
4
5
  $: << File.dirname(__FILE__) + '/../ext/rocksdb'
5
6
 
6
7
  RSpec.configure do |config|
7
- # some (optional) config here
8
+ config.formatter = :documentation
9
+ config.filter_run_when_matching :focus
10
+
11
+ def temp_db_path
12
+ return @_temp_db_path if defined? @_temp_db_path
13
+ @_temp_db_path = Dir.mktmpdir("rocksdb-ruby")
14
+ end
15
+
16
+ def cleanup_temp_db_path
17
+ FileUtils.remove_entry @_temp_db_path
18
+ remove_instance_variable :@_temp_db_path
19
+ end
20
+
21
+ config.after(:example) do
22
+ cleanup_temp_db_path
23
+ end
8
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocksdb-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isamu Arimoto
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-20 00:00:00.000000000 Z
11
+ date: 2021-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,29 +30,43 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '12.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '12.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '3.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
55
- description:
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-core
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ description:
56
70
  email:
57
71
  - isamu.a@gmail.com
58
72
  executables: []
@@ -62,6 +76,8 @@ extra_rdoc_files: []
62
76
  files:
63
77
  - ".gitignore"
64
78
  - ".travis.yml"
79
+ - ".travis/after_failure.sh"
80
+ - ".travis/install.sh"
65
81
  - Gemfile
66
82
  - LICENSE.txt
67
83
  - README.md
@@ -79,6 +95,7 @@ files:
79
95
  - ext/rocksdb/rocksdb_status_rb.h
80
96
  - lib/rocksdb.rb
81
97
  - lib/rocksdb/ruby.rb
98
+ - lib/rocksdb/ruby/deprecated.rb
82
99
  - lib/rocksdb/ruby/version.rb
83
100
  - rocksdb-ruby.gemspec
84
101
  - spec/db_null_spec.rb
@@ -91,7 +108,7 @@ homepage: https://github.com/isamu/rocksdb-ruby
91
108
  licenses:
92
109
  - MIT
93
110
  metadata: {}
94
- post_install_message:
111
+ post_install_message:
95
112
  rdoc_options: []
96
113
  require_paths:
97
114
  - ext
@@ -107,9 +124,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
124
  - !ruby/object:Gem::Version
108
125
  version: '0'
109
126
  requirements: []
110
- rubyforge_project:
111
- rubygems_version: 2.5.1
112
- signing_key:
127
+ rubyforge_project:
128
+ rubygems_version: 2.7.6
129
+ signing_key:
113
130
  specification_version: 4
114
131
  summary: A simple RocksDB library for Ruby
115
132
  test_files: