Sha256: 2572c59d2643197768654e562594d3d3a33009cf8de468a3a00c57bb8eb21818

Contents?: true

Size: 317 Bytes

Versions: 18

Compression:

Stored size: 317 Bytes

Contents

module BPM
  class Repository
    attr_accessor :creds

    def initialize
      self.creds = Credentials.new
    end

    def logged_in?
      !self.creds.api_key.nil?
    end

    def dependency_for(packages)
      LibGems::Dependency.new(/(#{packages.join('|')})/, LibGems::Requirement.default)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bpm-1.0.0 lib/bpm/repository.rb
bpm-1.0.0.rc.4 lib/bpm/repository.rb
bpm-1.0.0.rc.3 lib/bpm/repository.rb
bpm-1.0.0.rc.2 lib/bpm/repository.rb
bpm-1.0.0.rc.1 lib/bpm/repository.rb
bpm-1.0.0.beta.13 lib/bpm/repository.rb
bpm-1.0.0.beta.12 lib/bpm/repository.rb
bpm-1.0.0.beta.11 lib/bpm/repository.rb
bpm-1.0.0.beta.10 lib/bpm/repository.rb
bpm-1.0.0.beta.9 lib/bpm/repository.rb
bpm-1.0.0.beta.8 lib/bpm/repository.rb
bpm-1.0.0.beta.6 lib/bpm/repository.rb
bpm-1.0.0.beta.5 lib/bpm/repository.rb
bpm-1.0.0.beta.4 lib/bpm/repository.rb
bpm-0.1.4 lib/bpm/repository.rb
bpm-0.1.3 lib/bpm/repository.rb
bpm-0.1.2 lib/bpm/repository.rb
bpm-0.1.0 lib/bpm/repository.rb