sshkey 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/sshkey.rb +1 -1
  2. data/lib/sshkey/version.rb +1 -1
  3. metadata +1 -1
data/lib/sshkey.rb CHANGED
@@ -10,7 +10,7 @@ class SSHKey
10
10
 
11
11
  def self.generate(options = {})
12
12
  type = options[:type] || "rsa"
13
- case type
13
+ case type.downcase
14
14
  when "rsa" then SSHKey.new(OpenSSL::PKey::RSA.generate(2048).to_pem, options)
15
15
  when "dsa" then SSHKey.new(OpenSSL::PKey::DSA.generate(2048).to_pem, options)
16
16
  else
@@ -1,3 +1,3 @@
1
1
  class SSHKey
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sshkey
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.0
5
+ version: 1.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Miller