fastlane/lib/fastlane/fastlane_require.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/fastlane_require.rb in fastlane-2.75.0.beta.20180109010003
- old
+ new
@@ -22,11 +22,11 @@
end
require "rubygems/command_manager"
installer = Gem::CommandManager.instance[:install]
- UI.important "Installing Ruby gem '#{gem_name}'..."
+ UI.important("Installing Ruby gem '#{gem_name}'...")
spec_name = self.find_gem_name(gem_name)
UI.important("Found gem \"#{spec_name}\" instead of the required name \"#{gem_name}\"") if spec_name != gem_name
return if Helper.test?
@@ -63,10 +63,10 @@
return gems.first
end
def format_gem_require_name(gem_name)
# from "fastlane-plugin-xcversion" to "fastlane/plugin/xcversion"
- gem_name = gem_name.tr("-", "/") if gem_name.start_with? "fastlane-plugin-"
+ gem_name = gem_name.tr("-", "/") if gem_name.start_with?("fastlane-plugin-")
return gem_name
end
end
end