cap-ssh-key-man 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ Usage
10
10
 
11
11
  1. Add `gem "cap-ssh-key-man"` in your Gemfile.
12
12
 
13
- 2. Add `require 'cap-ssh-key-man/tasks/sync'` to `config/deploy.rb` of your rails project.
13
+ 2. Add `require 'cap-ssh-key-man'` to `config/deploy.rb` of your rails project.
14
14
 
15
15
  3. Put all public ssh keys to `config/developer_ssh_keys` dir of your rails project.
16
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
@@ -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.2.0"
8
+ s.version = "1.2.1"
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"]
@@ -13,11 +13,11 @@ Gem::Specification.new do |s|
13
13
  s.description = %q{This tool is used to mass deploy ssh-keys to all your servers according to the capistrano config.}
14
14
  s.email = %q{hlxwell@gmail.com}
15
15
  s.extra_rdoc_files = [
16
- "README"
16
+ "README.md"
17
17
  ]
18
18
  s.files = [
19
19
  "Gemfile",
20
- "README",
20
+ "README.md",
21
21
  "Rakefile",
22
22
  "VERSION",
23
23
  "cap-ssh-key-man.gemspec",
@@ -17,6 +17,7 @@ module CapSshKeyMan
17
17
  def self.get_current_user_public_key_path
18
18
  omni_rsa_key_path = File.expand_path(File.join "~", ".ssh", "id_rsa.pub")
19
19
  omni_dsa_key_path = File.expand_path(File.join "~", ".ssh", "id_dsa.pub")
20
+
20
21
  current_user_key_path = nil
21
22
  current_user_key_path = omni_rsa_key_path if File.exist?(omni_rsa_key_path)
22
23
  current_user_key_path = omni_dsa_key_path if File.exist?(omni_dsa_key_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: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael He
@@ -85,10 +85,10 @@ executables: []
85
85
  extensions: []
86
86
 
87
87
  extra_rdoc_files:
88
- - README
88
+ - README.md
89
89
  files:
90
90
  - Gemfile
91
- - README
91
+ - README.md
92
92
  - Rakefile
93
93
  - VERSION
94
94
  - cap-ssh-key-man.gemspec