lib/bisu.rb in bisu-1.10.2 vs lib/bisu.rb in bisu-2.0.0

- old
+ new

@@ -6,10 +6,11 @@ require 'bisu/object_extension' require 'bisu/config' require 'bisu/source/google_sheet' require 'bisu/source/one_sky' require 'bisu/source/url' +require 'bisu/source/tolgee' require 'bisu/dictionary' require 'bisu/localizer' require 'bisu/version' module Bisu @@ -62,9 +63,11 @@ Bisu::Source::GoogleSheet.new(config[:url], config[:keys_column]) when "one_sky" Bisu::Source::OneSky.new(config[:api_key], config[:api_secret], config[:project_id], config[:file_name]) when "url" Bisu::Source::Url.new(config[:url]) + when "tolgee" + Bisu::Source::Tolgee.new(config[:api_key], config[:host]) end source = source.to_i18 save_to_path = options[:dictionary_save_path]