Module: Gem
- Defined in:
- lib/generators/templates/application/common/merb_thor/common.rb
Defined Under Namespace
Classes: ArbitrarySearcher, DependencyInstaller, Installer, MultiPathSearcher, MultiSourceIndex, SpecFetcher, Specification, Uninstaller
Constant Summary
collapse
- BUNDLED_SPECS =
File.join(Dir.pwd, "gems", "specifications")
- MAIN_INDEX =
Gem::SourceIndex.from_gems_in(BUNDLED_SPECS)
- FALLBACK_INDEX =
Gem::SourceIndex.from_installed_gems
Class Method Summary
collapse
Class Method Details
.searcher ⇒ Object
15
16
17
|
# File 'lib/generators/templates/application/common/merb_thor/common.rb', line 15
def self.searcher
MultiPathSearcher.new
end
|
.source_index ⇒ Object
11
12
13
|
# File 'lib/generators/templates/application/common/merb_thor/common.rb', line 11
def self.source_index
MultiSourceIndex.new
end
|