Sha256: 484257884e6399c6a275b6b50cb1a3737eb674c45312567d6f55b9942ec56986

Contents?: true

Size: 574 Bytes

Versions: 28

Compression:

Stored size: 574 Bytes

Contents

# typed: strict
# frozen_string_literal: true

require "rails"

module RubyLsp
  module Rails
    class Railtie < ::Rails::Railtie
      config.ruby_lsp_rails = ActiveSupport::OrderedOptions.new

      initializer "ruby_lsp_rails.setup" do |_app|
        config.after_initialize do |_app|
          unless config.ruby_lsp_rails.server.nil?
            ActiveSupport::Deprecation.new.warn("The `ruby_lsp_rails.server` configuration option is no longer " \
              "needed and will be removed in a future release.")
          end
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ruby-lsp-rails-0.3.7 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.6 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.5 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.4 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.3 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.2 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.1 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.0 lib/ruby_lsp_rails/railtie.rb