ztk 1.6.7 → 1.6.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.
Files changed (3) hide show
  1. data/lib/ztk/ssh/file.rb +0 -5
  2. data/lib/ztk/version.rb +1 -1
  3. metadata +3 -3
data/lib/ztk/ssh/file.rb CHANGED
@@ -30,11 +30,6 @@ module ZTK
30
30
  local_tempfile = Tempfile.new("tempfile-local")
31
31
  remote_tempfile = ::File.join("", "tmp", ::File.basename(Tempfile.new("tempfile-remote").path))
32
32
 
33
- ::File.open(local_tempfile, 'w') do |file|
34
- yield(file)
35
- file.respond_to?(:flush) and file.flush
36
- end
37
-
38
33
  !block.nil? and block.call(local_tempfile)
39
34
  local_tempfile.respond_to?(:flush) and local_tempfile.flush
40
35
 
data/lib/ztk/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module ZTK
2
2
 
3
3
  # ZTK Version String
4
- VERSION = "1.6.7"
4
+ VERSION = "1.6.8"
5
5
 
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ztk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.7
4
+ version: 1.6.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -275,7 +275,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
275
275
  version: '0'
276
276
  segments:
277
277
  - 0
278
- hash: 1194605774035367657
278
+ hash: -2047769207461564965
279
279
  required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  none: false
281
281
  requirements:
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  version: '0'
285
285
  segments:
286
286
  - 0
287
- hash: 1194605774035367657
287
+ hash: -2047769207461564965
288
288
  requirements: []
289
289
  rubyforge_project:
290
290
  rubygems_version: 1.8.25