Sha256: 515bde64432de76beecc9866c0d8383c84d5e1569ad0de8538e711d2f40247d2
Contents?: true
Size: 462 Bytes
Versions: 3
Compression:
Stored size: 462 Bytes
Contents
module KeepUp # Searches possibly remote gem index o find potential dependency updates. class RemoteIndex def search(dependency) remote_index.search(Bundler::Dependency.new(dependency.name, nil)) end def remote_definition @remote_definition ||= Bundler::Definition.build('Gemfile', 'Gemfile.lock', true).tap(&:resolve_remotely!) end def remote_index @remote_index ||= remote_definition.index end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
keep_up-0.3.0 | lib/keep_up/remote_index.rb |
keep_up-0.2.0 | lib/keep_up/remote_index.rb |
keep_up-0.1.0 | lib/keep_up/remote_index.rb |