geminabox 0.13.10 → 0.13.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
  SHA1:
3
- metadata.gz: f99339127cb85329830327a63510708d16934887
4
- data.tar.gz: 3be76ef1c5d1a8bb88646dca5ecd0eebf7a58494
3
+ metadata.gz: 8b2bb3c5d8d6a8c04a70e5d84f57192a076843b3
4
+ data.tar.gz: fc364821e92a265b3982b734f5389d96ed848639
5
5
  SHA512:
6
- metadata.gz: a0db612f70e8ce4a700ba9732fa0bf0665ad4d5e823a59baa817914423aae259318669a8ce5497fbfdd7785268d28976dc916e559f0029c06793b219ee058da2
7
- data.tar.gz: 282ecfb7a179ee09c9e0671c45caf277938faec4c02823eb2ad7f06a5cecc867633468e836b1b730273612e14d92f8c221bb3a91c60a26d572966081e72c23d8
6
+ metadata.gz: d2e90fbc63596cfe2d2262602266cd41b92b39e838ac989d64c0125989eb152549e58efca776be2f4696d3c6b205f174a70ea37219ff22d596df88dc2546e684
7
+ data.tar.gz: ee6f8ca62696a00abc25a231fc266f252e15f0400208284596105c8218348565e760e877076db41c21ccbde5fc3b5ebd4d4b12488d9c6b5cadaba129b233b32d
@@ -57,7 +57,7 @@ module Geminabox
57
57
  def marshal_read(key_hash)
58
58
  read_int(key_hash) do |path|
59
59
  begin
60
- Marshal.load(File.open(path))
60
+ File.open(path) {|fp| Marshal.load(fp) }
61
61
  rescue Errno::ENOENT, EOFError
62
62
  # There is a possibility that the file is removed by another process.
63
63
  # Marshal.load raises EOFError if the file is removed after File.open(path) succeeds.
@@ -1,3 +1,3 @@
1
1
  module Geminabox
2
- VERSION = '0.13.10' unless defined? VERSION
2
+ VERSION = '0.13.11' unless defined? VERSION
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geminabox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.10
4
+ version: 0.13.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lea
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-11-13 00:00:00.000000000 Z
14
+ date: 2017-11-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: sinatra
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  version: '0'
168
168
  requirements: []
169
169
  rubyforge_project:
170
- rubygems_version: 2.6.13
170
+ rubygems_version: 2.5.1
171
171
  signing_key:
172
172
  specification_version: 4
173
173
  summary: Really simple rubygem hosting