pg_data_encoder 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,9 @@ module PgDataEncoder
43
43
  def setup_io
44
44
  if @options[:use_tempfile] == true
45
45
  @io = Tempfile.new("copy_binary", :encoding => 'ascii-8bit')
46
- @io.unlink
46
+ unless @options[:skip_unlink] == true
47
+ @io.unlink
48
+ end
47
49
  else
48
50
  @io = StringIO.new
49
51
  end
@@ -1,3 +1,3 @@
1
1
  module PgDataEncoder
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_data_encoder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-30 00:00:00.000000000 Z
12
+ date: 2014-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -131,3 +131,4 @@ test_files:
131
131
  - spec/fixtures/trueclass.dat
132
132
  - spec/spec_helper.rb
133
133
  - spec/verify_data_formats_spec.rb
134
+ has_rdoc: