pit 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +2 -0
- data/Rakefile +1 -1
- data/lib/pit.rb +1 -1
- data/test/pit_test.rb +2 -0
- metadata +1 -1
data/ChangeLog
CHANGED
data/Rakefile
CHANGED
@@ -17,7 +17,7 @@ DESCRIPTION = "pit: account management tool"
|
|
17
17
|
RUBYFORGE_PROJECT = "lowreal"
|
18
18
|
HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
|
19
19
|
BIN_FILES = %w( pit )
|
20
|
-
VERS = "0.0.
|
20
|
+
VERS = "0.0.3"
|
21
21
|
|
22
22
|
|
23
23
|
REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
|
data/lib/pit.rb
CHANGED
data/test/pit_test.rb
CHANGED
@@ -38,6 +38,8 @@ class PitTest < Test::Unit::TestCase
|
|
38
38
|
Pit.set("test", :data => {"username"=>"foo","password"=>"bar"})
|
39
39
|
assert_equal "foo", Pit.get("test")["username"]
|
40
40
|
assert_equal "bar", Pit.get("test")["password"]
|
41
|
+
|
42
|
+
assert_equal "foo", Pit.set("test", :data => {"username"=>"foo","password"=>"bar"})["username"]
|
41
43
|
end
|
42
44
|
|
43
45
|
def test_switch
|