stud 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stud/temporary.rb +1 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d61ca01aaea7a1e6b562d7c03b50a2d0cf1379d
4
- data.tar.gz: 55aeb2cdaa20574a2db50982c225129fb81b72ab
3
+ metadata.gz: 8a4b79f1e9525c9b5a8920995914b03ab592eae5
4
+ data.tar.gz: 69aa0f87e438be09646bb70735deab7182b0854c
5
5
  SHA512:
6
- metadata.gz: e2ec3dd44726a5c12f42199c2887fc9e644424c58733355447d095b684488d0974cca7e6d55e115e6c8b120324873acd548c559e34171189284cb4bb094e78ee
7
- data.tar.gz: 481b4e4b1e75dd949c67fd2dbb3b2e883fae13d292a351a1da26f0c572c2d10189ee6921119c77a3dae0108b6fd7eaae74f266ed8ef1497a5754ca5e89251fe4
6
+ metadata.gz: 7cf9c02aaff8a6e09611a961dcc6ee1f8955130c9b7102ea1a582d5b46a358c20fcb48d9c4fce9a661000ead4e567c560249efb781e516bf341dfc9d7a02909f
7
+ data.tar.gz: 4ed206e65a84d4416280094d42fc235fc2c8828d53d6b80a175fb77fe7f5358775d4cba0b392666e1d559e3995a6c458584f1b17bd86603c6a8fd370bae3eaad
@@ -27,6 +27,7 @@ module Stud
27
27
  begin
28
28
  block.call(file)
29
29
  ensure
30
+ file.close unless file.closed?
30
31
  File.unlink(file.path)
31
32
  end
32
33
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Sissel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-10 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  requirements: []
79
79
  rubyforge_project:
80
- rubygems_version: 2.2.2
80
+ rubygems_version: 2.4.3
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: stud - common code techniques