Sha256: 0ab6538493696ce02bf8857fba4878a61359f4e47be9983dc364dbc31233b1b0
Contents?: true
Size: 665 Bytes
Versions: 29
Compression:
Stored size: 665 Bytes
Contents
# frozen_string_literal: true module Diffend # Module responsible for building local context module LocalContext class << self # Build diffend, host, packages, and platform specific information # # @param config [Diffend::Config] # @param definition [::Bundler::Definition] definition for your source # # @return [Hash] payload for diffend endpoint def call(config, definition) { 'diffend' => Diffend.call(config), 'host' => Host.call, 'packages' => Packages.call(config.command, definition), 'platform' => Platform.call }.freeze end end end end
Version data entries
29 entries across 29 versions & 2 rubygems