lib/pdksync/rake_tasks.rb in pdksync-0.6.0 vs lib/pdksync/rake_tasks.rb in pdksync-0.8.0

- old
+ new

@@ -1,7 +1,7 @@ require 'pdksync' -require 'colorize' +require 'logger' desc 'Run full pdksync process, clone repository, pdk update, create pr. Additional title information can be added to the title, which will be appended before the reference section.' task :pdksync, [:additional_title] do |_task, args| args = { branch_name: 'pdksync_{ref}', commit_message: 'pdksync_{ref}', @@ -75,12 +75,12 @@ desc 'Display the current configuration of pdksync' task :show_config do config = PdkSync::Configuration.new puts 'Please note that you can override any of the configuration by using an additional file at `$HOME/.pdksync.yml`.'.bold.red - puts "\nPDKSync Configuration".bold.yellow + puts "\nPDKSync Configuration:".bold.yellow config.to_h.each do |key, value| - puts "- #{key}: ".bold + value.to_s.cyan + puts "- #{key}: " + value.to_s.light_blue end end desc "Fetch run results against traditional modules eg rake 'fetch_traditional_test_results'" task :test_results_jenkins, [:jenkins_server_url] do |_task, args|