From nobody Thu Nov 21 13:47:09 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XvKKV3xqjz5d5xT; Thu, 21 Nov 2024 13:47:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XvKKV0SWgz4Y8p; Thu, 21 Nov 2024 13:47:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732196830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RHt7emNywdSA4Di3HKPzjciB3YOUpYDHD0HtvCvfGl4=; b=BBrKCALCdzxlwn9HqCD/LWGJNNOALsAnNa9D7Nss2UREoe5lJXjqVDEJlkJ79Eeeyae7q1 oyrm6AkuVN/H57YmRUWxhxnT6qUflKk7rjr/l07jOuJkWG3y2ICt19hFNu0FvFMde81Mbk gMIPgQVvNHQ/WJR3+yKSvq7Tw1OH3SPFikoBGWbU8xqC9fStzavcRYgw3uvHiPqN8u6PDu y5qGOw3RNSOdEvd4VEiI25ysmJgLyWylpAFpwf07SWQw0FHu0uGMw4K2vnGuh+5Rxak+r6 biZxG6Ow7hxQODFSb3c38RT7C/qlJUxV9KCGb6kjx4S4Yehc6jPWMy6HPB41tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732196830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RHt7emNywdSA4Di3HKPzjciB3YOUpYDHD0HtvCvfGl4=; b=mWI/xlICVTtKKMo4/rqIwsUkSMYUpnIB6jgNCdrzcqw30MqXVXNu2AsgXkttTlERszPbME YwNhUK+WAG2Gm2WMYvpyMxRSGUNEEPJZ3bc5Ntz5svFc8L0hU8ruQZjbzzajBOX1BeljP9 JRGBNY/ygDkQC2Tlf1y8Zic24lFUJWlOGEKPhv1kxOuvEgwt+snfZ/dWiyKoA9UFHbLJsL hiUQ+67HVykvu/76r3eAuvgBZUoX2bRqHKlor/KL4Vs8rv5T+RMK8DilDqihuvGaR/tlSK UsAFTUyIrsH4Z8QzA/IwOAKlN+c67wTB4VP0/YWqqNcNdHxbhEMZU+dpkHaSag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732196830; a=rsa-sha256; cv=none; b=xCwypn11A2VU4ga3g6hdKoJBWcC1jBvfgkTYswblIR9kudxTUBYWD1NUWnzPna+5Rx03Xq VQlU9VutFFXJ1qE/XB9E68RJcbRa9tj8LHTk1ID7C0TMTXSIo/Y0hG8ycPh4DLG1hPiloJ YaCEqOs52T3vke/JBQ6JJMXH/iWi3+iJ/O9a7LZeUAmHW7q+bjglYEgDchfQ6A+IHAZp5Z saT9btbMJW1wCaqjY7gEtreTC+a9Vs9Qivea2f8mewMqFx04ZFw12sRK/AQAt1ERWw/hG1 KPP5dIcWw+Ujs5Kkb6JH0jDAnwd5CV/OwlB8MymqkIiwz5CKfPT26wQ3IQIwHA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XvKKV044BzhTy; Thu, 21 Nov 2024 13:47:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4ALDl9P3029772; Thu, 21 Nov 2024 13:47:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4ALDl9WB029769; Thu, 21 Nov 2024 13:47:09 GMT (envelope-from git) Date: Thu, 21 Nov 2024 13:47:09 GMT Message-Id: <202411211347.4ALDl9WB029769@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: c46f9a831cdf - main - devel/rubygem-ruby-lsp-rails: Update to 0.3.26 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c46f9a831cdf401064b440698480541d98d90fc2 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c46f9a831cdf401064b440698480541d98d90fc2 commit c46f9a831cdf401064b440698480541d98d90fc2 Author: Po-Chuan Hsieh AuthorDate: 2024-11-21 13:30:03 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-11-21 13:39:25 +0000 devel/rubygem-ruby-lsp-rails: Update to 0.3.26 Changes: https://github.com/Shopify/ruby-lsp-rails/releases --- devel/rubygem-ruby-lsp-rails/Makefile | 3 +- devel/rubygem-ruby-lsp-rails/distinfo | 6 +- devel/rubygem-ruby-lsp-rails/files/patch-ruby-lsp | 128 ---------------------- 3 files changed, 4 insertions(+), 133 deletions(-) diff --git a/devel/rubygem-ruby-lsp-rails/Makefile b/devel/rubygem-ruby-lsp-rails/Makefile index 8a1c28002cc1..851b195dcc83 100644 --- a/devel/rubygem-ruby-lsp-rails/Makefile +++ b/devel/rubygem-ruby-lsp-rails/Makefile @@ -1,6 +1,5 @@ PORTNAME= ruby-lsp-rails -PORTVERSION= 0.3.21 -PORTREVISION= 1 +PORTVERSION= 0.3.26 CATEGORIES= devel rubygems MASTER_SITES= RG diff --git a/devel/rubygem-ruby-lsp-rails/distinfo b/devel/rubygem-ruby-lsp-rails/distinfo index 7c80fefac430..4510e87bfbf7 100644 --- a/devel/rubygem-ruby-lsp-rails/distinfo +++ b/devel/rubygem-ruby-lsp-rails/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1729927063 -SHA256 (rubygem/ruby-lsp-rails-0.3.21.gem) = 8a56466510a1c2c2f171460972aab532544d539cabbea57eb922f8250eb7f6b7 -SIZE (rubygem/ruby-lsp-rails-0.3.21.gem) = 18944 +TIMESTAMP = 1731679764 +SHA256 (rubygem/ruby-lsp-rails-0.3.26.gem) = f58e92c17a78a7df27bd563b32cc1557400fcd5e7f1d0c782ca272b9b34b6351 +SIZE (rubygem/ruby-lsp-rails-0.3.26.gem) = 20480 diff --git a/devel/rubygem-ruby-lsp-rails/files/patch-ruby-lsp b/devel/rubygem-ruby-lsp-rails/files/patch-ruby-lsp deleted file mode 100644 index ddc43ba2304d..000000000000 --- a/devel/rubygem-ruby-lsp-rails/files/patch-ruby-lsp +++ /dev/null @@ -1,128 +0,0 @@ -Obtained from: https://github.com/Shopify/ruby-lsp-rails/commit/77650f0303da7bd0ff7ce718721f3fef767e16de - https://github.com/Shopify/ruby-lsp-rails/commit/3a01040ac964764cf672c4c59f3b7d92da8f015a - ---- lib/ruby_lsp/ruby_lsp_rails/addon.rb.orig 2024-11-04 01:43:34 UTC -+++ lib/ruby_lsp/ruby_lsp_rails/addon.rb -@@ -53,7 +53,7 @@ module RubyLsp - @outgoing_queue << Notification.window_log_message("Activating Ruby LSP Rails add-on v#{VERSION}") - - register_additional_file_watchers(global_state: global_state, outgoing_queue: outgoing_queue) -- @global_state.index.register_enhancement(IndexingEnhancement.new) -+ @global_state.index.register_enhancement(IndexingEnhancement.new(@global_state.index)) - - # Start booting the real client in a background thread. Until this completes, the client will be a NullClient - @client_mutex.unlock -@@ -128,7 +128,7 @@ module RubyLsp - - sig { params(global_state: GlobalState, outgoing_queue: Thread::Queue).void } - def register_additional_file_watchers(global_state:, outgoing_queue:) -- return unless global_state.supports_watching_files -+ return unless global_state.client_capabilities.supports_watching_files - - outgoing_queue << Request.new( - id: "ruby-lsp-rails-file-watcher", ---- lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb.orig 2024-11-04 01:43:34 UTC -+++ lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb -@@ -3,13 +3,11 @@ module RubyLsp - - module RubyLsp - module Rails -- class IndexingEnhancement -+ class IndexingEnhancement < RubyIndexer::Enhancement - extend T::Sig -- include RubyIndexer::Enhancement - - sig do - override.params( -- index: RubyIndexer::Index, - owner: T.nilable(RubyIndexer::Entry::Namespace), - node: Prism::CallNode, - file_path: String, -@@ -19,16 +17,16 @@ module RubyLsp - ), - ).void - end -- def on_call_node(index, owner, node, file_path, code_units_cache) -+ def on_call_node_enter(owner, node, file_path, code_units_cache) - return unless owner - - name = node.name - - case name - when :extend -- handle_concern_extend(index, owner, node) -+ handle_concern_extend(owner, node) - when :has_one, :has_many, :belongs_to, :has_and_belongs_to_many -- handle_association(index, owner, node, file_path, code_units_cache) -+ handle_association(owner, node, file_path, code_units_cache) - end - end - -@@ -36,7 +34,6 @@ module RubyLsp - - sig do - params( -- index: RubyIndexer::Index, - owner: RubyIndexer::Entry::Namespace, - node: Prism::CallNode, - file_path: String, -@@ -46,7 +43,7 @@ module RubyLsp - ), - ).void - end -- def handle_association(index, owner, node, file_path, code_units_cache) -+ def handle_association(owner, node, file_path, code_units_cache) - arguments = node.arguments&.arguments - return unless arguments - -@@ -64,7 +61,7 @@ module RubyLsp - loc = RubyIndexer::Location.from_prism_location(name_arg.location, code_units_cache) - - # Reader -- index.add(RubyIndexer::Entry::Method.new( -+ @index.add(RubyIndexer::Entry::Method.new( - name, - file_path, - loc, -@@ -76,7 +73,7 @@ module RubyLsp - )) - - # Writer -- index.add(RubyIndexer::Entry::Method.new( -+ @index.add(RubyIndexer::Entry::Method.new( - "#{name}=", - file_path, - loc, -@@ -90,12 +87,11 @@ module RubyLsp - - sig do - params( -- index: RubyIndexer::Index, - owner: RubyIndexer::Entry::Namespace, - node: Prism::CallNode, - ).void - end -- def handle_concern_extend(index, owner, node) -+ def handle_concern_extend(owner, node) - arguments = node.arguments&.arguments - return unless arguments - -@@ -105,7 +101,7 @@ module RubyLsp - module_name = node.full_name - next unless module_name == "ActiveSupport::Concern" - -- index.register_included_hook(owner.name) do |index, base| -+ @index.register_included_hook(owner.name) do |index, base| - class_methods_name = "#{owner.name}::ClassMethods" - - if index.indexed?(class_methods_name) ---- ruby-lsp-rails.gemspec.orig 2024-11-04 01:43:34 UTC -+++ ruby-lsp-rails.gemspec -@@ -21,6 +21,6 @@ Gem::Specification.new do |s| - - s.specification_version = 4 - -- s.add_runtime_dependency(%q.freeze, [">= 0.20.0".freeze, "< 0.21.0".freeze]) -+ s.add_runtime_dependency(%q.freeze, [">= 0.21.2".freeze, "< 0.22.0".freeze]) - end -