cartodb-tools 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,17 +35,18 @@ module CartodbTools
35
35
 
36
36
  CartoDB::Init.start CartodbTools::Config.config
37
37
 
38
- CartoDB::Connection.table(options[:table_name]).tap do |table|
39
- puts [].tap do |lines|
40
- lines << "-------------------------"
41
- lines << "id : #{table[:id]}"
42
- lines << "name : #{table[:name]}"
43
- lines << "privacy : #{table[:privacy]}"
44
- lines << "tags : #{table[:tags]}"
45
- lines << "-------------------------"
46
- lines = lines.concat(table[:schema].map {|item| "#{item[0]} #{item[1]}" })
47
- end.join("\n")
48
- end
38
+ table = CartoDB::Connection.table options[:table_name]
39
+
40
+ lines = []
41
+ lines << "-------------------------"
42
+ lines << "id : #{table[:id]}"
43
+ lines << "name : #{table[:name]}"
44
+ lines << "privacy : #{table[:privacy]}"
45
+ lines << "tags : #{table[:tags]}"
46
+ lines << "-------------------------"
47
+ lines = lines.concat(table[:schema].map {|item| "#{item[0]} #{item[1]}" })
48
+
49
+ puts lines.join("\n")
49
50
  end
50
51
  end
51
52
  end
@@ -1,3 +1,3 @@
1
1
  module CartodbTools
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cartodb-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: