lib/gym/manager.rb in gym-1.1.4 vs lib/gym/manager.rb in gym-1.1.5
- old
+ new
@@ -9,29 +9,9 @@
end
private
def print_summary
- config = Gym.config
- rows = []
- rows << ["Project", config[:project]] if config[:project]
- rows << ["Workspace", config[:workspace]] if config[:workspace]
- rows << ["Scheme", config[:scheme]] if config[:scheme]
- rows << ["Configuration", config[:configuration]] if config[:configuration]
-
- if PackageCommandGenerator.generator == PackageCommandGeneratorXcode7
- rows << ["Export Method", config[:export_method]]
- end
-
- rows << ["Archive Path", config[:archive_path]] if config[:archive_path]
- rows << ["Platform", Gym.project.ios? ? "iOS" : "Mac"]
- rows << ["Xcode Path", Xcode.xcode_path.gsub("/Contents/Developer", "")]
-
- puts ""
- puts Terminal::Table.new(
- title: "Building Application 🚀".green,
- rows: rows
- )
- puts ""
+ FastlaneCore::PrintTable.print_values(config: Gym.config, hide_keys: [], title: "Summary for gym #{Gym::VERSION}")
end
end
end