Sha256: 9373951207c93cbe23f3d65919a25db6ba24d622556cc512ed15a37c14e87c45

Contents?: true

Size: 324 Bytes

Versions: 28

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true
require 'rails/generators'

class Hyrax::HealthCheckGenerator < Rails::Generators::Base
  desc """
    Installs Hyrax's default health check endpoints at `/healthz`.
  """

  source_root File.expand_path('../templates', __FILE__)

  def add_to_gemfile
    gem 'okcomputer', '~> 1.18'
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hyrax-3.2.0 lib/generators/hyrax/health_check_generator.rb
hyrax-3.1.0 lib/generators/hyrax/health_check_generator.rb
hyrax-3.0.2 lib/generators/hyrax/health_check_generator.rb
hyrax-3.0.1 lib/generators/hyrax/health_check_generator.rb
hyrax-3.0.0 lib/generators/hyrax/health_check_generator.rb
hyrax-3.0.0.pre.rc4 lib/generators/hyrax/health_check_generator.rb
hyrax-3.0.0.pre.rc3 lib/generators/hyrax/health_check_generator.rb
hyrax-3.0.0.pre.rc2 lib/generators/hyrax/health_check_generator.rb