lib/run_loop/xctools.rb in run_loop-1.2.9 vs lib/run_loop/xctools.rb in run_loop-1.3.0

- old
+ new

@@ -68,11 +68,10 @@ # @return [Boolean] `true` if the current Xcode version is >= 6.2 def xcode_version_gte_63? @xcode_gte_63 ||= xcode_version >= v63 end - # Are we running Xcode 6.2 or above? # # @return [Boolean] `true` if the current Xcode version is >= 6.2 def xcode_version_gte_62? @xcode_gte_62 ||= xcode_version >= v62 @@ -137,10 +136,10 @@ # # @note Relies on Xcode beta versions having and app bundle named Xcode-Beta.app # @return [Boolean] True if the Xcode version is beta. def xcode_is_beta? @xcode_is_beta ||= lambda { - (xcode_developer_dir =~ /Xcode-Beta.app/) != nil + (xcode_developer_dir =~ /Xcode-[Bb]eta.app/) != nil }.call end # Method for interacting with instruments. #