keep 0.0.2 → 0.0.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 (4) hide show
  1. data/keep.gemspec +1 -1
  2. data/lib/keep.rb +1 -1
  3. data/lib/keep/disk.rb +2 -1
  4. metadata +3 -3
@@ -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.2'
16
+ s.version = '0.0.3'
17
17
  s.date = '2011-02-18'
18
18
  s.rubyforge_project = 'keep'
19
19
 
@@ -7,7 +7,7 @@ require 'keep/disk'
7
7
  require 'keep/yaml'
8
8
 
9
9
  class Keep
10
- VERSION = '0.0.2'
10
+ VERSION = '0.0.3'
11
11
 
12
12
  # The path to the configuration file.
13
13
  attr_reader :path
@@ -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 whether the save was successful.
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Zach Holman