datacatalog-importer 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/datacatalog-importer.gemspec +1 -1
- data/lib/utility.rb +2 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/utility.rb
CHANGED
@@ -65,14 +65,14 @@ module DataCatalog
|
|
65
65
|
def self.parse_csv_from_uri(uri)
|
66
66
|
puts "Fetching #{uri}..."
|
67
67
|
open(uri, headers) do |io|
|
68
|
-
|
68
|
+
FasterCSV.parse(io)
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
72
|
def self.parse_html_from_uri(uri)
|
73
73
|
puts "Fetching #{uri}..."
|
74
74
|
open(uri, headers) do |io|
|
75
|
-
|
75
|
+
Nokogiri::HTML::Document.parse(io)
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|