ruby_gpg2 0.1.0.pre.19 → 0.1.0.pre.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ruby_gpg2/commands/mixins/with_captured_status.rb +6 -2
- data/lib/ruby_gpg2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b063ac19628beeedfd6e4f957c9c3683b5dbfe4f3d794ef246cd70748e435e6
|
4
|
+
data.tar.gz: f58f74d83d2b03b898c3516997d25990da4c87cb5ee09b16ff7940990a045ec7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d56db8bd3cc0e6ff358b4dfbf59c88ebcdf6d064317e70e79156d07693632e94c6118b3b17618d02b901c60c14399b811c59c3eddc47a9fe2eceadc4dc9f2c1
|
7
|
+
data.tar.gz: ce2600376c4f192ffd9eb914cb393bdc681f1a6f32a226b5b68a4f5d23f2b10b2cc6e04ce5890116fb8789801ffcb90b26671fb3fbf91c842f0439c243fd22dd
|
data/Gemfile.lock
CHANGED
@@ -8,7 +8,8 @@ module RubyGPG2
|
|
8
8
|
module WithCapturedStatus
|
9
9
|
def do_around(opts)
|
10
10
|
if opts[:with_status]
|
11
|
-
Tempfile.create
|
11
|
+
Tempfile.create(
|
12
|
+
'status-file', opts[:work_directory]) do |f|
|
12
13
|
yield opts.merge(status_file: f.path)
|
13
14
|
@status = File.read(f.path)
|
14
15
|
end
|
@@ -18,9 +19,12 @@ module RubyGPG2
|
|
18
19
|
end
|
19
20
|
|
20
21
|
def do_after(opts)
|
22
|
+
parse_status = opts[:parse_status].nil? ? true : opts[:parse_status]
|
21
23
|
if opts[:with_status]
|
22
24
|
super(opts.merge(
|
23
|
-
status:
|
25
|
+
status: parse_status ?
|
26
|
+
StatusOutput.parse(@status) :
|
27
|
+
@status))
|
24
28
|
else
|
25
29
|
super(opts)
|
26
30
|
end
|
data/lib/ruby_gpg2/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_gpg2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lino
|