Sha256: 45bedbee301c761c75b31d276552f4da5504e56a1550b64b9e4011e3f72be066

Contents?: true

Size: 343 Bytes

Versions: 8

Compression:

Stored size: 343 Bytes

Contents

module KnifeCookbookDependencies
  class MetaCookbook
    attr_reader :name, :dependencies

    def initialize(name, dependencies)
      @name = name
      @dependencies = dependencies
    end

    def versions
      @v ||= [DepSelector::Version.new('1.0.0')]
    end

    def latest_constrained_version
      versions.first
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
knife_cookbook_dependencies_over_http-0.0.8.3 lib/kcd/metacookbook.rb
knife_cookbook_dependencies_over_http-0.0.8.2 lib/kcd/metacookbook.rb
knife_cookbook_dependencies_over_http-0.0.8.1 lib/kcd/metacookbook.rb
knife_cookbook_dependencies_over_http-0.0.8 lib/kcd/metacookbook.rb
knife_cookbook_dependencies-0.0.8 lib/kcd/metacookbook.rb
knife_cookbook_dependencies-0.0.7 lib/kcd/metacookbook.rb
knife_cookbook_dependencies-0.0.6 lib/kcd/metacookbook.rb
knife_cookbook_dependencies-0.0.5 lib/kcd/metacookbook.rb