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 +4 -4
- data/lib/pg_csv.rb +2 -2
- data/lib/pg_csv/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 09672330e1e4a4dea18143dba90abf87170b1ca7
|
4
|
+
data.tar.gz: fea75e3598b1e8fd401f7a9e3e99a2fddca71d7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
15
|
+
@local_options = opts
|
16
16
|
|
17
17
|
raise ":connection should be" unless connection
|
18
18
|
raise ":sql should be" unless sql
|
data/lib/pg_csv/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2015-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|