sshakery 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/sshakery/auth_keys.rb +4 -2
- data/lib/sshakery/version.rb +1 -1
- metadata +4 -4
data/lib/sshakery/auth_keys.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
+
module Sshakery
|
1
2
|
##
|
2
3
|
# == AuthKeys
|
3
4
|
# The AuthKeys class is the main part of this gem and is responsible
|
4
5
|
# for reading from and writing to an authorized_keys file.
|
5
|
-
|
6
|
+
|
7
|
+
class AuthKeys
|
6
8
|
# atomic writes
|
7
9
|
require 'tempfile'
|
8
10
|
require 'fileutils'
|
@@ -472,5 +474,5 @@ class Sshakery::AuthKeys
|
|
472
474
|
return false if not self.valid?
|
473
475
|
return self.saved
|
474
476
|
end
|
475
|
-
|
477
|
+
end
|
476
478
|
end
|
data/lib/sshakery/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sshakery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- hattwj
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-11-
|
18
|
+
date: 2012-11-10 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: minitest
|