Sha256: 3b18850467c4464ddafea4de8b676be6952a622d23e43df4a371b6698df54895

Contents?: true

Size: 675 Bytes

Versions: 3

Compression:

Stored size: 675 Bytes

Contents

# frozen_string_literal: true

require 'wireless'

module StartupTime
  # shared dependencies required by multiple components
  Services = Wireless.new do
    # the component responsible for managing the build directory
    once(:builder) { Builder.new }

    # a hash which maps test IDs (e.g. "scala") to group names
    # (e.g. "compiled, jvm, slow")
    once(:ids_to_groups) { Registry.ids_to_groups }

    # an interface to the tests configured in resources/tests.yaml
    once(:registry) { Registry.new }

    # the tests which remain after the --only and --omit filters have been
    # applied
    once(:selected_tests) { |wl| wl[:registry].selected_tests }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
startup-time-1.1.1 lib/startup_time/services.rb
startup-time-1.1.0 lib/startup_time/services.rb
startup-time-1.0.0 lib/startup_time/services.rb