Sha256: 9373951207c93cbe23f3d65919a25db6ba24d622556cc512ed15a37c14e87c45

Contents?: true

Size: 324 Bytes

Versions: 25

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

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 lib/generators/hyrax/health_check_generator.rb
hyrax-5.0.0 lib/generators/hyrax/health_check_generator.rb
hyrax-5.0.0.rc3 lib/generators/hyrax/health_check_generator.rb
hyrax-5.0.0.rc2 lib/generators/hyrax/health_check_generator.rb
hyrax-5.0.0.rc1 lib/generators/hyrax/health_check_generator.rb
hyrax-3.6.0 lib/generators/hyrax/health_check_generator.rb
hyrax-4.0.0 lib/generators/hyrax/health_check_generator.rb
hyrax-4.0.0.rc3 lib/generators/hyrax/health_check_generator.rb
hyrax-4.0.0.rc2 lib/generators/hyrax/health_check_generator.rb
hyrax-4.0.0.rc1 lib/generators/hyrax/health_check_generator.rb
hyrax-3.5.0 lib/generators/hyrax/health_check_generator.rb
hyrax-4.0.0.beta2 lib/generators/hyrax/health_check_generator.rb
hyrax-3.4.2 lib/generators/hyrax/health_check_generator.rb
hyrax-4.0.0.beta1 lib/generators/hyrax/health_check_generator.rb
hyrax-3.4.1 lib/generators/hyrax/health_check_generator.rb
hyrax-3.4.0 lib/generators/hyrax/health_check_generator.rb
hyrax-3.3.0 lib/generators/hyrax/health_check_generator.rb
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