Subject: bug#44913: closed (Re: [bug#44913] [PATCH] gnu: ruby-rubocop-ast: Update to 1.2.0.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 25 Feb 2021 22:54:02 +0000

Your bug report

#44913: [PATCH] gnu: ruby-rubocop-ast: Update to 1.2.0.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
44913: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44913
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#44913] [PATCH] gnu: ruby-rubocop-ast: Update to 1.2.0.
From: Björn Höfling <[email-masked]>
To: Tomás Ortín Fernández via Guix-patches via <[email-masked]>
Cc: Tomás Ortín Fernández <[email-masked]>, [email-masked], Leo Famulari <[email-masked]>
Date: Thu, 25 Feb 2021 23:53:37 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, 27 Nov 2020 23:22:44 +0100
Tomás Ortín Fernández via Guix-patches via <[email-masked]> wrote:

> * gnu/packages/ruby.scm (ruby-rubocop-ast): Update to 1.2.0.

This package was updated to 1.4.1 in commit

6e3a85192ca48a749858c8c7f128c5ec59c2ff89

Closing this patch.

Björn

Subject: [PATCH] gnu: ruby-rubocop-ast: Update to 1.2.0.
From: Tomás Ortín Fernández <[email-masked]>
To: [email-masked]
Date: Fri, 27 Nov 2020 23:22:44 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/ruby.scm (ruby-rubocop-ast): Update to 1.2.0.
---
gnu/packages/ruby.scm | 25 +++++--------------------
1 file changed, 5 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ae2da01f63..fc69f4db05 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6823,32 +6823,17 @@ inspired by the Sinatra microframework style of specifying actions:
 (define-public ruby-rubocop-ast
   (package
     (name "ruby-rubocop-ast")
-    (version "0.3.0")
+    (version "1.2.0")
     (source
      (origin
-       (method git-fetch)               ;no test suite in distributed gem
-       (uri (git-reference
-             (url "https://github.com/rubocop-hq/rubocop-ast")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
+       (method url-fetch)
+       (uri (rubygems-uri "rubocop-ast" version))
        (sha256
         (base32
-         "1ycf6qcj8nbzk2js72priim4642lkn56w5kbny1nlryjkckxgm04"))))
+         "0q0kdi89ad7dd1xmzrdf5ikk32bllzr68hf4x8fd7azcv5jnch2l"))))
     (build-system ruby-build-system)
     (arguments
-     `(#:test-target "spec"
-       #:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'disable-bundler
-                    (lambda _
-                      (substitute* "Rakefile"
-                        (("Bundler\\.setup.*") "nil\n"))
-                      #t))
-                  (replace 'replace-git-ls-files
-                    (lambda _
-                      (substitute* "rubocop-ast.gemspec"
-                        (("`git ls-files(.*)`" _ files)
-                         (format #f "`find ~a -type f| sort`" files)))
-                      #t)))))
+     '(#:tests? #f)) ; tests not included in gem
     (native-inputs
      `(("ruby-bump" ,ruby-bump)
        ("ruby-rspec" ,ruby-rspec)))