cartodb-tools 0.0.3 → 0.0.4
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/lib/cartodb-tools/cli.rb +0 -4
- data/lib/cartodb-tools/version.rb +1 -1
- metadata +1 -1
data/lib/cartodb-tools/cli.rb
CHANGED
|
@@ -9,12 +9,8 @@ module CartodbTools
|
|
|
9
9
|
def import
|
|
10
10
|
raise unless File.exists? options[:file]
|
|
11
11
|
|
|
12
|
-
puts CartodbTools::Config.config
|
|
13
12
|
CartoDB::Init.start CartodbTools::Config.config
|
|
14
|
-
|
|
15
13
|
CartoDB::Connection.create_table options[:table_name], File.open(options[:file]), options[:geom_type]
|
|
16
|
-
|
|
17
|
-
puts CartoDB::Connection.table options[:table_name]
|
|
18
14
|
end
|
|
19
15
|
end
|
|
20
16
|
end
|