seekrit 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/seekrit/interactor.rb +1 -8
- metadata +4 -4
data/lib/seekrit/interactor.rb
CHANGED
@@ -12,10 +12,7 @@ module Seekrit
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def show(names)
|
15
|
-
names.
|
16
|
-
data = store[name]
|
17
|
-
puts(name, data, '')
|
18
|
-
end
|
15
|
+
puts *names.map{ |n| [n, store[n] || "(None)", ""].compact }.flatten
|
19
16
|
end
|
20
17
|
|
21
18
|
def edit(names)
|
@@ -83,10 +80,6 @@ module Seekrit
|
|
83
80
|
File.open(RANDOM_SOURCE){ |io| io.read(num_bytes) }
|
84
81
|
end
|
85
82
|
|
86
|
-
def puts(*args)
|
87
|
-
$stderr.puts(*args)
|
88
|
-
end
|
89
|
-
|
90
83
|
def external_editor(data, &blk)
|
91
84
|
tempfile = Tempfile.new('seekrit')
|
92
85
|
tempfile << data
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seekrit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Paul Battley
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-15 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|