lib/bukin/providers/bukget.rb in bukin-0.3.0 vs lib/bukin/providers/bukget.rb in bukin-0.4.0
- old
+ new
@@ -34,11 +34,11 @@
version_data = versions.find {|version_data| jar_extension?(version_data)}
if version_data
data[:version] = version_data['version']
data[:download] = version_data['download']
else
- puts info
- raise Bukin::InstallError, "The plugin #{name} (#{version}) has no jar files available for download"
+ data[:version] = versions.first['version']
+ data[:download] = versions.first['download']
end
data
end