cap-util 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cap-util/fake_cap.rb +2 -2
- data/lib/cap-util/version.rb +1 -1
- data/test/fake_cap_tests.rb +3 -6
- data/test/rake_task_tests.rb +1 -1
- data/test/shared_path_tests.rb +1 -1
- metadata +4 -4
data/lib/cap-util/fake_cap.rb
CHANGED
data/lib/cap-util/version.rb
CHANGED
data/test/fake_cap_tests.rb
CHANGED
@@ -15,14 +15,11 @@ module CapUtil
|
|
15
15
|
should have_imeths :run, :fetch, :role
|
16
16
|
should have_readers :roles, :cmds_run
|
17
17
|
|
18
|
-
should "store off
|
18
|
+
should "store off cmds that have been run" do
|
19
19
|
assert_empty subject.cmds_run
|
20
20
|
|
21
|
-
subject.run(
|
22
|
-
assert_equal
|
23
|
-
|
24
|
-
subject.run
|
25
|
-
assert_equal [], subject.cmds_run.last
|
21
|
+
subject.run('a_cmd', 1)
|
22
|
+
assert_equal 'a_cmd', subject.cmds_run.last
|
26
23
|
end
|
27
24
|
|
28
25
|
end
|
data/test/rake_task_tests.rb
CHANGED
data/test/shared_path_tests.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cap-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kelly Redding
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2013-01-15 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: assert
|