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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39535b9c177165d658eeeab7b43592dbf2deb05575b3fec1ecb1502ec564b555
4
- data.tar.gz: 8a7a53cc3d078fa0f9b26279f91f59cb521271b5d67d34fc006f81dabc326dca
3
+ metadata.gz: 767e5966382c899d19561eb09eb1a623e6d70b3f7351d1af074a3ff5a07900a9
4
+ data.tar.gz: 52cc6b65943e3c5e02450f3479d6be987ca1c8253b393b5796d2455dc670970a
5
5
  SHA512:
6
- metadata.gz: 4a0e825551c8ec3fef0fca053352791d4d0747c22cf6fcf190af60e6a2e482bfced0c00623adb5c6a2671879d561337d1c2c6f16e82e034443653f25a3e0ed10
7
- data.tar.gz: '0846c248faf4471db8a408a56101ac1ca543418365393b312c85492f281e3d3e085c8b25a7008c7075dad8e9e358e0aea8845e8336b1ef0eae0945aee9fffcf4'
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
- processor.fetch_data source, options
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
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Cli
3
- VERSION = "1.9.1".freeze
3
+ VERSION = "1.9.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.