borrower 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/borrower/path.rb CHANGED
@@ -22,7 +22,7 @@ module Borrower
22
22
  # @return [Boolean]
23
23
  def exists? path
24
24
  if remote? path
25
- return ( fetch_from_remote(path).msg == "OK" )
25
+ return ( fetch_from_remote(path).msg.include? "OK" )
26
26
  else
27
27
  return File.exists? path
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module Borrower
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: borrower
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-14 00:00:00.000000000 Z
12
+ date: 2013-06-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-ssh