cap-ssh-key-man 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +9 -1
- data/VERSION +1 -1
- data/cap-ssh-key-man.gemspec +1 -1
- data/lib/cap-ssh-key-man/tasks/sync.rb +1 -1
- metadata +3 -3
data/README
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/cap-ssh-key-man.gemspec
CHANGED
@@ -8,7 +8,7 @@ Capistrano::Configuration.instance(true).load do
|
|
8
8
|
|
9
9
|
puts "Deploying authorized_keys ..."
|
10
10
|
tmp_authorized_keys_path = File.join(".", "tmp", "authorized_keys")
|
11
|
-
put File.read(tmp_authorized_keys_path), File.join("/home/#{user}", "authorized_keys")
|
11
|
+
put File.read(tmp_authorized_keys_path), File.join("/home/#{user}", ".ssh", "authorized_keys")
|
12
12
|
|
13
13
|
# delete temp file after use it.
|
14
14
|
FileUtils.rm tmp_authorized_keys_path
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cap-ssh-key-man
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 1.
|
10
|
+
version: 1.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael He
|