eft 0.4.0 → 0.4.1

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: 801797fc4df36523e6baaad909c55c6cb0221d60
4
- data.tar.gz: f3496e92b58c74b9d1cfa9b3624e06c0f79b34b5
3
+ metadata.gz: 4e586b3cce46567293b3fa00bae5f31ff9c4a11c
4
+ data.tar.gz: a54104a4bcb6a1a12757a5446793371326493b13
5
5
  SHA512:
6
- metadata.gz: 208b327f0aa6d1ead392ca2682113dfea63807361abdc942f5e64417f9da5bf89763652926c8aaf2165524254aaa3c8b1d1dc1094f43321c5ab53bba3808a508
7
- data.tar.gz: 8ea0d807d62731ffaca846db012209d848cd05f4f97a94131e3c47fcc184cb694bd9bff84603938d00c6e44c276704daa862cddc0bd6bd5eddf3d540c2d18784
6
+ metadata.gz: ebb43392c1caaf42f8d0b34b9e64e3fb03346d0defeb9463882ffb3ba9aa97211b620b001906332f5d0c05901fa52d539a01d67b863f6e2933b605fc69c64a34
7
+ data.tar.gz: a59ed9e8f98789d6883977985b9567e5dfc626e9ee728b47d2aa753b723034031555f184608913d4d736fc32cf53b63ec27c09af767dc03b63521b526035b2e9
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Date : 2014-02-20
6
6
 
7
7
  Copyright : Copyright (C) 2014 Felix C. Stegerman
8
- Version : v0.4.0
8
+ Version : v0.4.1
9
9
 
10
10
  []: }}}1
11
11
 
@@ -6,8 +6,6 @@ Gem::Specification.new do |s|
6
6
  s.summary = 'ruby + whiptail'
7
7
 
8
8
  s.description = <<-END.gsub(/^ {4}/, '')
9
- ruby + whiptail
10
-
11
9
  Eft is a ruby dsl that wraps whiptail to display dialog boxes.
12
10
  END
13
11
 
data/lib/eft.rb CHANGED
@@ -9,7 +9,7 @@
9
9
  #
10
10
  # -- ; }}}1
11
11
 
12
- require 'tempfile'
12
+ require 'tmpdir'
13
13
 
14
14
  require 'obfusk/util/run'
15
15
  require 'obfusk/util/term'
@@ -313,7 +313,11 @@ module Eft
313
313
  if file
314
314
  b[file]
315
315
  else
316
- Tempfile.open('eft') { |f| f.write text; f.close; b[f.path] }
316
+ Dir.mktmpdir do |dir|
317
+ open("#{dir}/eft", 'w') do |f|
318
+ f.write text; f.close; b[f.path]
319
+ end
320
+ end
317
321
  end
318
322
  end # }}}1
319
323
 
@@ -1,4 +1,4 @@
1
1
  module Eft
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  DATE = '2014-02-20'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix C. Stegerman
@@ -14,33 +14,31 @@ dependencies:
14
14
  name: obfusk-util
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: |
42
- ruby + whiptail
43
-
44
42
  Eft is a ruby dsl that wraps whiptail to display dialog boxes.
45
43
  email:
46
44
  - flx@obfusk.net
@@ -48,13 +46,13 @@ executables: []
48
46
  extensions: []
49
47
  extra_rdoc_files: []
50
48
  files:
51
- - .yardopts
49
+ - ".yardopts"
52
50
  - README.md
53
51
  - Rakefile
54
52
  - eft.gemspec
55
53
  - example.rb
56
- - lib/eft/version.rb
57
54
  - lib/eft.rb
55
+ - lib/eft/version.rb
58
56
  homepage: https://github.com/obfusk/eft
59
57
  licenses:
60
58
  - LGPLv3+
@@ -65,12 +63,12 @@ require_paths:
65
63
  - lib
66
64
  required_ruby_version: !ruby/object:Gem::Requirement
67
65
  requirements:
68
- - - '>='
66
+ - - ">="
69
67
  - !ruby/object:Gem::Version
70
68
  version: 1.9.1
71
69
  required_rubygems_version: !ruby/object:Gem::Requirement
72
70
  requirements:
73
- - - '>='
71
+ - - ">="
74
72
  - !ruby/object:Gem::Version
75
73
  version: '0'
76
74
  requirements: []
@@ -80,3 +78,4 @@ signing_key:
80
78
  specification_version: 4
81
79
  summary: ruby + whiptail
82
80
  test_files: []
81
+ has_rdoc: