kbsecret 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kbsecret/record/environment.rb +6 -0
- data/lib/kbsecret/session.rb +7 -0
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d72bbcad684c7ccd1d0d11b1e6062391c26057fb
|
4
|
+
data.tar.gz: 02df15f9ca2451eb178d0210bbfa32033961164d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b02f37c319a8992d2e1f25e5f469ae69bfc62866987c21f077dccbe7d35a76f3e98663a7b9b3777e1cc33a4d11dcbd52cdb91ec40900c20826292b79e60814d4
|
7
|
+
data.tar.gz: e76940853bd57798c6db1f0af8c4245633cd5542d6b2586000d995641f7ab2e81a82534134dead362893c74a8343df29d33513a40ea93f969ae8ff857b68855f
|
data/lib/kbsecret/session.rb
CHANGED
@@ -16,6 +16,13 @@ module KBSecret
|
|
16
16
|
# @return [String] the fully-qualified path of the session
|
17
17
|
attr_reader :path
|
18
18
|
|
19
|
+
# @param label [String, Symbol] the label of the session to initialize
|
20
|
+
# @return [Session]
|
21
|
+
# @see #initialize
|
22
|
+
def self.[](label)
|
23
|
+
new(label: label)
|
24
|
+
end
|
25
|
+
|
19
26
|
# @param label [String, Symbol] the label of the session to initialize
|
20
27
|
# @raise [Exceptions::SessionLoadError] if the session has no users or any invalid Keybase users
|
21
28
|
# @note This does not *create* a new session, but loads one already
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kbsecret
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Woodruff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aruba
|