RubyGems
npm
Organizations
Log in
Sign up
RubyGems
jugyo-kvs
Versions diffs
0.2.1 → 0.2.2
jugyo-kvs 0.2.1 → 0.2.2
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/kvs.rb
+2
-2
metadata
+1
-1
data/lib/kvs.rb
CHANGED
Viewed
@@ -1,14 +1,14 @@
1
1
require 'digest/sha1'
2
2
3
3
module KVS
4
-
VERSION = '0.2.
1
'
4
+
VERSION = '0.2.
2
'
5
5
6
6
class <<self
7
7
attr_accessor :dir
8
8
9
9
def <<(value)
10
10
key = key_gen(value)
11
-
self[
id
] = value
11
+
self[
key
] = value
12
12
key
13
13
end
14
14
metadata
CHANGED
Viewed
@@ -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.
1
4
+
version: 0.2.
2
5
5
platform: ruby
6
6
authors:
7
7
- jugyo