relaton-index 0.2.8 → 0.2.10

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: 013462bffab557a0102a174a665c5fe0c1a78cefd860082dfd9fdb7c330e3d27
4
- data.tar.gz: 161bd750ee80fd5322c937c1ad3bafa02dbcfbe66556ca3364b9d050e0f3cbd9
3
+ metadata.gz: fd00856841523d16b10daef68948e9259e9a3f0ad752f090ecb1a5e88fa2568b
4
+ data.tar.gz: 253363dec31c9d76bea3259cfe87f92524750538f4a0f54a5796fbf70a3d4cff
5
5
  SHA512:
6
- metadata.gz: 22736c54089b201ab2bb6ddf1d49c5ef440f1aa7c2190166e1634108da7068a08f57329612828c691da969fb6d2f66ece14e48c0cc64a6db08c4aa097fc3734b
7
- data.tar.gz: 1094171dfbcc9df8ed45c2db949768c0cc29fa17a9ba92d560a7d90445f370dfa48bfecc02065aaee63262406bc974f11889e90a13f20d8bea947f9c06340b12
6
+ metadata.gz: 27fa98c022fb0fec7531b00bf890fdea6518da1dec676931b9f5c6298e3d8f817017822ee69e72b43ac74a33ccf6bf0be0fc43da1a88098d85c2f3145b8c9af3
7
+ data.tar.gz: 122fda9cd67da9bf721f500be998beb9613c13c5ea92806da9fa1205215f94e160cdb652cc3361ff4a85d0680f8f25aebbd0e4148b7721ffc6ac9fec6d5c8a3a
@@ -130,6 +130,8 @@ module Relaton
130
130
  def fetch_and_save
131
131
  resp = URI(url).open
132
132
  zip = Zip::InputStream.new resp
133
+ resp.close if resp.respond_to? :close
134
+ resp.unlink if resp.is_a? Tempfile
133
135
  entry = zip.get_next_entry
134
136
  index = YAML.safe_load(entry.get_input_stream.read, permitted_classes: [Symbol])
135
137
  save index
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Relaton
4
4
  module Index
5
- VERSION = "0.2.8"
5
+ VERSION = "0.2.10"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-index
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-08 00:00:00.000000000 Z
11
+ date: 2024-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip