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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df0b9ee2a84c8dd0c62d4144fd19f121bfd5fe224ab868ecdfc69c1defbc220f
4
- data.tar.gz: 1cdb7985e466380912a53f7714c16a3561d91d28d2dbd2ca1a1738654b79c08f
3
+ metadata.gz: 1b063ac19628beeedfd6e4f957c9c3683b5dbfe4f3d794ef246cd70748e435e6
4
+ data.tar.gz: f58f74d83d2b03b898c3516997d25990da4c87cb5ee09b16ff7940990a045ec7
5
5
  SHA512:
6
- metadata.gz: 1bdb40b2d7e24886fc12d9327fc64cf54a1eb4960ebb2f6e4c80f5fc38aa03926bc9f52e3d64e11e4bc090c35a12cba369fefe85eb36f2b1b4118974202e035e
7
- data.tar.gz: 30ff8200b4a908083eda056b9a803be9d1a8f6c179cb6f4b0693e96ce0faf7126f88a306900d4429de8867356719177d9e968056c8a9e138e5db72ccf333ef64
6
+ metadata.gz: 6d56db8bd3cc0e6ff358b4dfbf59c88ebcdf6d064317e70e79156d07693632e94c6118b3b17618d02b901c60c14399b811c59c3eddc47a9fe2eceadc4dc9f2c1
7
+ data.tar.gz: ce2600376c4f192ffd9eb914cb393bdc681f1a6f32a226b5b68a4f5d23f2b10b2cc6e04ce5890116fb8789801ffcb90b26671fb3fbf91c842f0439c243fd22dd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_gpg2 (0.1.0.pre.19)
4
+ ruby_gpg2 (0.1.0.pre.20)
5
5
  lino (= 1.3.0)
6
6
 
7
7
  GEM
@@ -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 do |f|
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: StatusOutput.parse(@status)))
25
+ status: parse_status ?
26
+ StatusOutput.parse(@status) :
27
+ @status))
24
28
  else
25
29
  super(opts)
26
30
  end
@@ -1,3 +1,3 @@
1
1
  module RubyGPG2
2
- VERSION = '0.1.0.pre.19'
2
+ VERSION = '0.1.0.pre.20'
3
3
  end
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.19
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-03 00:00:00.000000000 Z
11
+ date: 2020-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lino