lib/mixlib/install/backend.rb in mixlib-install-0.8.0.alpha.7 vs lib/mixlib/install/backend.rb in mixlib-install-0.8.0.alpha.8
- old
+ new
@@ -16,18 +16,19 @@
# limitations under the License.
#
require "mixlib/install/backend/omnitruck"
require "mixlib/install/backend/artifactory"
+require "mixlib/install/backend/bintray"
module Mixlib
class Install
class Backend
def self.info(options)
- backend = if options.for_omnitruck?
- Backend::Omnitruck.new(options)
- elsif options.for_artifactory?
+ backend = if options.for_artifactory?
Backend::Artifactory.new(options)
+ else
+ Backend::Omnitruck.new(options)
end
backend.info
end
end