chicago-etl 0.0.10 → 0.0.11
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.
- data/VERSION +1 -1
- data/chicago-etl.gemspec +2 -2
- data/lib/chicago/etl/sequel/load_data_infile.rb +2 -2
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.11
|
data/chicago-etl.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "chicago-etl"
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.11"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Roland Swingler"]
|
|
12
|
-
s.date = "2013-02-
|
|
12
|
+
s.date = "2013-02-26"
|
|
13
13
|
s.description = "ETL tools for Chicago"
|
|
14
14
|
s.email = "roland.swingler@gmail.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -109,7 +109,7 @@ module Chicago
|
|
|
109
109
|
# :character_set - the character set of the file, UTF8 default
|
|
110
110
|
# :format - either nil or :csv
|
|
111
111
|
def load_infile(path, columns, options={})
|
|
112
|
-
execute_dui(load_infile_sql(
|
|
112
|
+
execute_dui(load_infile_sql(path, columns, options))
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
def load_infile_sql(path, columns, options={})
|
|
@@ -127,7 +127,7 @@ module Chicago
|
|
|
127
127
|
#
|
|
128
128
|
# See load_infile for more options.
|
|
129
129
|
def load_csv_infile(path, columns, options={})
|
|
130
|
-
execute_dui(load_csv_infile_sql(
|
|
130
|
+
execute_dui(load_csv_infile_sql(path, columns, options))
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
def load_csv_infile_sql(path, columns, options={})
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chicago-etl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 9
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 11
|
|
10
|
+
version: 0.0.11
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Roland Swingler
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2013-02-
|
|
18
|
+
date: 2013-02-26 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|