rocksdb-ruby 0.2.3 → 1.0.0

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.
@@ -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.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isamu Arimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-25 00:00:00.000000000 Z
11
+ date: 2019-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,44 +28,44 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
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'
54
+ version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec-core
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '3.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '3.0'
69
69
  description:
70
70
  email:
71
71
  - isamu.a@gmail.com
@@ -76,6 +76,8 @@ extra_rdoc_files: []
76
76
  files:
77
77
  - ".gitignore"
78
78
  - ".travis.yml"
79
+ - ".travis/after_failure.sh"
80
+ - ".travis/install.sh"
79
81
  - Gemfile
80
82
  - LICENSE.txt
81
83
  - README.md
@@ -93,6 +95,7 @@ files:
93
95
  - ext/rocksdb/rocksdb_status_rb.h
94
96
  - lib/rocksdb.rb
95
97
  - lib/rocksdb/ruby.rb
98
+ - lib/rocksdb/ruby/deprecated.rb
96
99
  - lib/rocksdb/ruby/version.rb
97
100
  - rocksdb-ruby.gemspec
98
101
  - spec/db_null_spec.rb