dis 1.1.10 → 1.1.11

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: 33601fc3f4ed58e0d18b4249612635b53eaebfa54ebe792d42b533ed03be3213
4
- data.tar.gz: cf97314b2109f8436df907c8ff0d7fd7830c7268e8b342263b021e0fe7608870
3
+ metadata.gz: 3a86353570fb3cc0e1beaade66c81c6f257589aae15311c0b8a9e4902cbd0e13
4
+ data.tar.gz: e3152f444d330fea8b18c8fd0aae990960a2ad9cdbbded148bd035a43c4d78d1
5
5
  SHA512:
6
- metadata.gz: 50f30260c5c27626d566cca3739bec2b3f4068e1c6f567517f6183849ea7a0fc6581ff7b0df7b04000eb4d44960be4bd3cbe789c1973bc80f80b707cca2a77e2
7
- data.tar.gz: f0977175392106d805449e417103cb1ebcc474cad1c35ad43adc0b6ae15539465342e4022816e64c290e62bfa8ecf300dbc5c5c0dc453cd13e5a41c0f0f0703c
6
+ metadata.gz: d927cea9f4e1549528e6052301a6d568355487955f20425024b38c059bf72c9e4aedc0c93c8e598ad2d9028877f61abb71ef7cef875f1edca44de4f4bce79314
7
+ data.tar.gz: 7c42f028029cf055f679542ebf476d1a6e100f1a03bb782f7f605c45b9f8569eba3eb32c55be99cf2e656255fb7c679f4d8bf2b440c2beac1ec27a820227b597
@@ -67,7 +67,7 @@ module Dis
67
67
  # Writes the data to a temporary file.
68
68
  def tempfile
69
69
  unless @tempfile
70
- @tempfile = Tempfile.new
70
+ @tempfile = Tempfile.new(binmode: true)
71
71
  @tempfile.write(@read || read_from(closest))
72
72
  @tempfile.open
73
73
  end
data/lib/dis/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dis
4
- VERSION = "1.1.10"
4
+ VERSION = "1.1.11"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inge Jørgensen