kbsecret 1.0.0.pre.2 → 1.0.0
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.
- checksums.yaml +4 -4
- data/bin/kbsecret +9 -2
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b48896be0bdab2f34678882fbf48c9236ecfb2f
|
|
4
|
+
data.tar.gz: a555f7ecc5792c845199008dd90e158e976fd8af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32a710517351e02757821354083e66e0ce9f1739d854fe4f501bfd8c2a611b06f1bf479a09240372b153ae8cccc484900554cc73b084c6963c5d957baf4f328d
|
|
7
|
+
data.tar.gz: fed8429911f424f7914e3ccd7ee9fcbadf0039eb6f284eb55d7b1a29a6bb9d294b10f08c1131962c046060fd23bd6de3c96433dd19f9110b60855d75f999d6bf
|
data/bin/kbsecret
CHANGED
|
@@ -140,11 +140,18 @@ def types_help
|
|
|
140
140
|
TYPES_HELP
|
|
141
141
|
end
|
|
142
142
|
|
|
143
|
-
def conf(*
|
|
143
|
+
def conf(*args)
|
|
144
144
|
KBSecret::CLI.die "You need to set $EDITOR!" unless ENV["EDITOR"]
|
|
145
|
+
|
|
146
|
+
file = if args.include?("-c") || args.include?("--commands")
|
|
147
|
+
KBSecret::Config::COMMAND_CONFIG_FILE
|
|
148
|
+
else
|
|
149
|
+
KBSecret::Config::CONFIG_FILE
|
|
150
|
+
end
|
|
151
|
+
|
|
145
152
|
# we need to run this through the shell, just in case the user has
|
|
146
153
|
# specified $EDITOR with arguments (e.g., subl -w)
|
|
147
|
-
exec "#{ENV["EDITOR"]} #{
|
|
154
|
+
exec "#{ENV["EDITOR"]} #{file}"
|
|
148
155
|
end
|
|
149
156
|
|
|
150
157
|
def conf_help
|
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: 1.0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- William Woodruff
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-01-
|
|
11
|
+
date: 2018-01-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aruba
|
|
@@ -275,9 +275,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
275
275
|
version: 2.3.0
|
|
276
276
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
277
|
requirements:
|
|
278
|
-
- - "
|
|
278
|
+
- - ">="
|
|
279
279
|
- !ruby/object:Gem::Version
|
|
280
|
-
version:
|
|
280
|
+
version: '0'
|
|
281
281
|
requirements: []
|
|
282
282
|
rubyforge_project:
|
|
283
283
|
rubygems_version: 2.6.13
|