gofer 0.2.4 → 0.2.5
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.
- data/HISTORY.md +4 -0
- data/README.md +1 -1
- data/lib/gofer/host.rb +1 -1
- data/lib/gofer/version.rb +1 -1
- data/spec/gofer/integration_spec.rb +3 -3
- metadata +3 -5
data/HISTORY.md
CHANGED
data/README.md
CHANGED
data/lib/gofer/host.rb
CHANGED
data/lib/gofer/version.rb
CHANGED
@@ -109,14 +109,14 @@ describe Gofer do
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
-
describe :
|
112
|
+
describe :exist? do
|
113
113
|
it "should return true if a path or file exists" do
|
114
114
|
raw_ssh "touch #{in_tmpdir 'exists'}"
|
115
|
-
@host.
|
115
|
+
@host.exist?(in_tmpdir 'exists').should be true
|
116
116
|
end
|
117
117
|
|
118
118
|
it "should return false if a path does not exist" do
|
119
|
-
@host.
|
119
|
+
@host.exist?(in_tmpdir 'doesnotexist').should be false
|
120
120
|
end
|
121
121
|
end
|
122
122
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gofer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael Pearson
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-06-02 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: net-ssh
|
@@ -60,7 +59,6 @@ files:
|
|
60
59
|
- lib/gofer/version.rb
|
61
60
|
- spec/gofer/integration_spec.rb
|
62
61
|
- spec/spec_helper.rb
|
63
|
-
has_rdoc: true
|
64
62
|
homepage: https://github.com/mipearson/gofer
|
65
63
|
licenses: []
|
66
64
|
|
@@ -84,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
82
|
requirements: []
|
85
83
|
|
86
84
|
rubyforge_project:
|
87
|
-
rubygems_version: 1.
|
85
|
+
rubygems_version: 1.8.3
|
88
86
|
signing_key:
|
89
87
|
specification_version: 3
|
90
88
|
summary: run commands on remote servers using SSH
|