pg_csv 0.1.8 → 0.1.9

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: 3b49169c6d5e9601a21b8da94f6894c82b86aedc
4
- data.tar.gz: 5977fc12efe086311c4203ba259b4bb31ad60b9c
3
+ metadata.gz: 09672330e1e4a4dea18143dba90abf87170b1ca7
4
+ data.tar.gz: fea75e3598b1e8fd401f7a9e3e99a2fddca71d7a
5
5
  SHA512:
6
- metadata.gz: 4d2bc55b716a156cb155216912b09ae920764463142207aad4aa9bbe8d6014a31633213af308273706b4e4ca854b739b61f2f54df30f70b8eaa7d7b70f15253e
7
- data.tar.gz: b2a33e4e655978b64b9b4bdc7157ccd165ec6f1578a4a29f57dc582c913271be207b0fcf440af097577b700da676ccf09a51befd969c64adab579e23b62cd96f
6
+ metadata.gz: 17a74b7e1367170b748384afac2692740cf2f03d0c2c413cf8bd27a8fcae723b169eea387161281434f04061294c7cf050a6d804d1b23b6a0bbfc52b871e98d9
7
+ data.tar.gz: bc0ba5581e055af22016ce07850da0ec109439b1b08448e6cde652764870c702924759eadb91a0bccfb11cdd180b2a7a974d03859574b64f8e0560cf26624777
data/lib/pg_csv.rb CHANGED
@@ -6,13 +6,13 @@ class PgCsv
6
6
  module Base
7
7
 
8
8
  def initialize(opts = {})
9
- @options = opts.symbolize_keys
9
+ @options = opts
10
10
  end
11
11
 
12
12
  # do export :to - filename or stream
13
13
  def export(to = nil, opts = {}, &row_proc)
14
14
  @row_proc = row_proc
15
- @local_options = opts.symbolize_keys
15
+ @local_options = opts
16
16
 
17
17
  raise ":connection should be" unless connection
18
18
  raise ":sql should be" unless sql
@@ -1,3 +1,3 @@
1
1
  class PgCsv
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Makarchev Konstantin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-08 00:00:00.000000000 Z
11
+ date: 2015-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg