File: ruby-lsp.gemspec

package info (click to toggle)
ruby-ruby-lsp 0.26.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,676 kB
  • sloc: ruby: 35,294; javascript: 29; sh: 7; makefile: 4
file content (29 lines) | stat: -rw-r--r-- 1,085 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# frozen_string_literal: true

Gem::Specification.new do |s|
  s.name = "ruby-lsp"
  s.version = File.read("VERSION").strip
  s.authors = ["Shopify"]
  s.email = ["ruby@shopify.com"]
  s.metadata["allowed_push_host"] = "https://rubygems.org"
  s.metadata["documentation_uri"] = "https://shopify.github.io/ruby-lsp/"

  s.summary = "An opinionated language server for Ruby"
  s.description = "An opinionated language server for Ruby"
  s.homepage = "https://github.com/Shopify/ruby-lsp"
  s.license = "MIT"

  s.files = Dir.glob("lib/**/*.rb").grep_v(%r{^lib/ruby_indexer/test/}) +
    ["README.md", "VERSION", "LICENSE.txt"] +
    Dir.glob("static_docs/**/*.md")
  s.bindir = "exe"
  s.executables = ["ruby-lsp", "ruby-lsp-check", "ruby-lsp-launcher", "ruby-lsp-test-exec"]
  s.require_paths = ["lib"]

  # Dependencies must be kept in sync with the checks in the extension side on workspace.ts
  s.add_dependency("language_server-protocol", "~> 3.17.0")
  s.add_dependency("prism", ">= 1.2", "< 2.0")
  s.add_dependency("rbs", ">= 3", "< 5")

  s.required_ruby_version = ">= 3.0"
end