lib/simctl/runtime.rb in simctl-1.6.8 vs lib/simctl/runtime.rb in simctl-1.6.10

- old
+ new

@@ -30,9 +30,9 @@ # Returns the latest available runtime # # @param name [String] type (ios, watchos, tvos) # @return [SimCtl::Runtime] the latest available runtime def self.latest(type) - Naturally.sort_by(SimCtl.list_runtimes.where(name: /#{type}/i), :version).last + Naturally.sort_by(SimCtl.list_runtimes.where(identifier: /#{type}/i), :version).last end end end