mobilize-ssh 1.0.94 → 1.0.95
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mobilize-ssh/handlers/ssh.rb +2 -2
- data/lib/mobilize-ssh/version.rb +1 -1
- metadata +2 -2
@@ -44,8 +44,8 @@ module Mobilize
|
|
44
44
|
|
45
45
|
def Ssh.set_key_permissions(key_path)
|
46
46
|
#makes sure permissions are set as appropriate for ssh key
|
47
|
-
"
|
48
|
-
|
47
|
+
raise "could not find ssh key at #{key_path}" unless File.exists?(key_path)
|
48
|
+
File.chmod(0600,key_path) unless File.stat(key_path).mode.to_s(8)[3..5] == "600"
|
49
49
|
return true
|
50
50
|
end
|
51
51
|
|
data/lib/mobilize-ssh/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobilize-ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.95
|
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-01-
|
12
|
+
date: 2013-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mobilize-base
|