relaton-cli 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton/cli/data_fetcher.rb +4 -1
- data/lib/relaton/cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 767e5966382c899d19561eb09eb1a623e6d70b3f7351d1af074a3ff5a07900a9
|
4
|
+
data.tar.gz: 52cc6b65943e3c5e02450f3479d6be987ca1c8253b393b5796d2455dc670970a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b57a654bf1eb73955fab8fdbc4b80d87f3d0bce522824e40d2ddbb16ea48975ce575f9974721483fa3e87a769ca1d5a71e8b7eeb9526c8ba3fdd28014443d14
|
7
|
+
data.tar.gz: fffae10fa7a938ccad785600bf61d4bca0d7cf65f7e7467ea1e8f39ee4debf46f74312d0aa6e292eb947d8fe27ef7ea1b6b972b78f4f2f8a41a56017e4de3680
|
@@ -3,7 +3,10 @@ module Relaton
|
|
3
3
|
module DataFetcher
|
4
4
|
def fetch(source, options)
|
5
5
|
processor = Relaton::Registry.instance.find_processor_by_dataset source
|
6
|
-
|
6
|
+
opts = {}
|
7
|
+
opts[:output] = options[:output] if options[:output]
|
8
|
+
opts[:format] = options[:format] if options[:format]
|
9
|
+
processor.fetch_data source, opts
|
7
10
|
end
|
8
11
|
|
9
12
|
extend DataFetcher
|
data/lib/relaton/cli/version.rb
CHANGED