Module: Munola

Defined in:
lib/munola.rb,
lib/munola/cli.rb,
lib/munola/channel.rb,
lib/munola/railtie.rb,
lib/munola/version.rb,
lib/munola/detector.rb,
lib/munola/catalogue.rb,
lib/munola/installer.rb,
lib/munola/providers_config.rb,
lib/generators/munola/install/install_generator.rb

Defined Under Namespace

Modules: CLI, Catalogue, Generators, ProvidersConfig Classes: Detector, Installer, Railtie, Resolver

Constant Summary collapse

CHANNEL =
Enola::Channel.new(
  name: "munola",
  release_base: "https://github.com/misabegovic/enola/releases/download",
  version: CHANNEL_VERSION,
  asset_prefix: "enola",
  tag_prefix: "munola-v"
).freeze
UPSTREAM_VERSION =

UPSTREAM_VERSION names the enola release this channel is built on, CHANNEL_VERSION the fork release the gem fetches.

"0.4.6"
CHANNEL_VERSION =
"0.4.6.1"
VERSION =
"0.6.1"

Class Method Summary collapse

Class Method Details

.channel_line(found = resolve) ⇒ Object



34
35
36
# File 'lib/munola/channel.rb', line 34

def self.channel_line(found = resolve)
  "munola #{VERSION}, channel #{CHANNEL_VERSION} on enola #{UPSTREAM_VERSION}; binary via #{found.source} (#{found.path})"
end

.resolveObject



30
31
32
# File 'lib/munola/channel.rb', line 30

def self.resolve
  Resolver.new(channel: CHANNEL).resolve
end