Sha256: f125fc5d62befefcdd59cf36b2b563c6b04c5f0bb8dcc87fb8802c730453d064

Contents?: true

Size: 1.03 KB

Versions: 40

Compression:

Stored size: 1.03 KB

Contents

#
# Author:: Patrick Wright (<patrick@chef.io>)
# Copyright:: Copyright (c) 2015 Chef, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require "mixlib/install/backend/package_router"

module Mixlib
  class Install
    class Backend
      def self.available_versions(options)
        backend(options).available_versions
      end

      def self.info(options)
        backend(options).info
      end

      def self.backend(options)
        Backend::PackageRouter.new(options)
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
mixlib-install-3.11.5 lib/mixlib/install/backend.rb
mixlib-install-3.11.2 lib/mixlib/install/backend.rb
mixlib-install-3.10.0 lib/mixlib/install/backend.rb
mixlib-install-3.9.4 lib/mixlib/install/backend.rb
mixlib-install-3.9.3 lib/mixlib/install/backend.rb
mixlib-install-3.9.0 lib/mixlib/install/backend.rb
mixlib-install-3.8.0 lib/mixlib/install/backend.rb
mixlib-install-3.7.0 lib/mixlib/install/backend.rb
mixlib-install-3.6.0 lib/mixlib/install/backend.rb
mixlib-install-3.5.1 lib/mixlib/install/backend.rb
mixlib-install-3.5.0 lib/mixlib/install/backend.rb
mixlib-install-3.4.0 lib/mixlib/install/backend.rb
mixlib-install-3.3.4 lib/mixlib/install/backend.rb
mixlib-install-3.3.3 lib/mixlib/install/backend.rb
mixlib-install-3.3.2 lib/mixlib/install/backend.rb
mixlib-install-3.3.1 lib/mixlib/install/backend.rb
mixlib-install-3.3.0 lib/mixlib/install/backend.rb
mixlib-install-3.2.2 lib/mixlib/install/backend.rb
mixlib-install-3.2.1 lib/mixlib/install/backend.rb
mixlib-install-3.2.0 lib/mixlib/install/backend.rb