lib/xcode/install.rb in xcode-install-2.0.6 vs lib/xcode/install.rb in xcode-install-2.0.7
- old
+ new
@@ -296,10 +296,10 @@
end
end
links = links.map { |pre| Xcode.new_prerelease(pre[2].strip.gsub(/.*Xcode /, ''), pre[0], pre[3]) }
if links.count == 0
- rg = %r{Xcode.* beta.*<\/p>}
+ rg = %r{platform-title.*Xcode.* beta.*<\/p>}
scan = body.scan(rg)
if scan.count == 0
rg = %r{Xcode.* GM.*<\/p>}
scan = body.scan(rg)