vimgolf 0.4.7 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24a1f46135142cd926424d0782923579bcb9ed4e
4
- data.tar.gz: 20f684042ab81a94cb8160c19f3132a0e66c80c7
3
+ metadata.gz: fa977b97d4db6d04b7f55abf4c6b672cd4694c8b
4
+ data.tar.gz: 07474b8eb02fca5466750c11ae4fa3bc1b5a3032
5
5
  SHA512:
6
- metadata.gz: e00d25e7183ede50b50fb09a36a051c5d4c4f20c69b7aca76ed6e7e0a3521d9b545448f87f073426623e0a5820f34e5aabba0fdda0f5db0f161bdfb3c0b01a80
7
- data.tar.gz: 5964d4d92b88122a4d2ddb6e0e472b70ec35eafaf866a3225e7694193770bcb021236efa81874b17c6f6086bd4e5037f24019f8c726c39a18199a6b5b064a4a0
6
+ metadata.gz: 945130f0b1a0d47727dfcebbde3855b0bc305deb52806367b850fcc581ff3d005aed6eea2ef9a0eebb0de48f440abe42529f7f887a81179990ad190ae183d853
7
+ data.tar.gz: da3aa69104147971b20f5741c3ceeb91cdc965f2a81e6fdae1f0e67fb864dda65d9b1bf664247587b3e8538a8ddf34a58525bf2b7625d2fe78dc509d0e0172d0
@@ -24,9 +24,13 @@ module VimGolf
24
24
  def work_files
25
25
  @vimrc_path = File.expand_path('../vimgolf.vimrc', __FILE__)
26
26
 
27
- # keep these temp files around so they don't close
27
+ # keep these Tempfile's around so they don't unlink
28
28
  @work = Tempfile.new(['vimgolf', ".#{@type}"])
29
29
  @log = Tempfile.new('golflog')
30
+ # close tmp files, but don't unlink
31
+ @work.close
32
+ @log.close
33
+
30
34
  @work_path = @work.path()
31
35
  @log_path = @log.path()
32
36
  end
@@ -1,3 +1,3 @@
1
1
  module Vimgolf
2
- VERSION = "0.4.7"
2
+ VERSION = "0.4.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vimgolf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Grigorik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-18 00:00:00.000000000 Z
11
+ date: 2015-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -127,7 +127,7 @@ metadata: {}
127
127
  post_install_message: |2
128
128
 
129
129
  ------------------------------------------------------------------------------
130
- Thank you for installing vimgolf-0.4.7.
130
+ Thank you for installing vimgolf-0.4.8.
131
131
 
132
132
  0.1.3: custom vimgolf .vimrc file to help level the playing field
133
133
  0.2.0: proxy support, custom diffs + proper vimscript parser/scoring