keep 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/keep.gemspec +1 -1
- data/lib/keep.rb +1 -1
- data/lib/keep/disk.rb +2 -1
- metadata +3 -3
data/keep.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'keep'
|
16
|
-
s.version = '0.0.
|
16
|
+
s.version = '0.0.3'
|
17
17
|
s.date = '2011-02-18'
|
18
18
|
s.rubyforge_project = 'keep'
|
19
19
|
|
data/lib/keep.rb
CHANGED
data/lib/keep/disk.rb
CHANGED
@@ -47,10 +47,11 @@ class Keep
|
|
47
47
|
# key - a String value for the key of this Hash
|
48
48
|
# value - an Object that maps to the key, will be serialized
|
49
49
|
#
|
50
|
-
# Returns
|
50
|
+
# Returns the value..
|
51
51
|
def set(key,value)
|
52
52
|
data[key.to_s] = value
|
53
53
|
save
|
54
|
+
value
|
54
55
|
end
|
55
56
|
|
56
57
|
# Returns the value of the specified key.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: keep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Zach Holman
|