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 CHANGED
@@ -16,4 +16,12 @@ Usage
16
16
 
17
17
  4. Execute `cap sshkey:deploy`
18
18
 
19
- Done.
19
+ Done.
20
+
21
+ Author
22
+ ======
23
+ Michael He
24
+
25
+ http://www.tui8.com
26
+
27
+ http://github.com/hlxwell
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cap-ssh-key-man}
8
- s.version = "1.1.0"
8
+ s.version = "1.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael He"]
@@ -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: 19
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 1.1.0
10
+ version: 1.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael He