jugyo-kvs 0.2.2 → 0.2.3

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.
Files changed (3) hide show
  1. data/lib/kvs.rb +1 -1
  2. data/spec/kvs_spec.rb +4 -1
  3. metadata +1 -1
data/lib/kvs.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'digest/sha1'
2
2
 
3
3
  module KVS
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
 
6
6
  class <<self
7
7
  attr_accessor :dir
data/spec/kvs_spec.rb CHANGED
@@ -1,10 +1,13 @@
1
1
  $:.unshift File.dirname(__FILE__) + '/../lib'
2
2
  require 'kvs'
3
3
  require 'tmpdir'
4
+ require 'fileutils'
4
5
 
5
6
  describe KVS do
6
7
  before do
7
- @tmpdir = Dir.tmpdir
8
+ @tmpdir = Dir.tmpdir + '/kvs_test'
9
+ FileUtils.rm_rf(@tmpdir)
10
+ FileUtils.mkdir_p(@tmpdir)
8
11
  KVS.dir = @tmpdir
9
12
  end
10
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jugyo-kvs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - jugyo