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.27 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.26 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.25 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.24 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.23 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.22 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.21 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.20 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.19 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.18 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.17 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.16 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.15 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.14 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.13 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.12 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.11 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.10 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.9 lib/ruby_lsp_rails/railtie.rb
ruby-lsp-rails-0.3.8 lib/ruby_lsp_rails/railtie.rb