File: 0001-gemspec-drop-git-usage.patch

package info (click to toggle)
ruby-rubocop-ast 1.49.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,768 kB
  • sloc: ruby: 17,017; yacc: 90; makefile: 9
file content (21 lines) | stat: -rw-r--r-- 687 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
From: Antonio Terceiro <asa@terceiro.xyz>
Date: Thu, 16 Jul 2020 11:50:06 -0300
Subject: gemspec: drop git usage

Last-Update: 2022-12-07

--- a/rubocop-ast.gemspec
+++ b/rubocop-ast.gemspec
@@ -14,11 +14,7 @@ Gem::Specification.new do |s|
   DESCRIPTION
 
   s.email = 'rubocop@googlegroups.com'
-  s.files = `git ls-files lib LICENSE.txt README.md`
-            .lines(chomp: true) + %w[
-              lib/rubocop/ast/node_pattern/parser.racc.rb
-              lib/rubocop/ast/node_pattern/lexer.rex.rb
-            ]
+  s.files = Dir['lib/**/*.rb']
   s.extra_rdoc_files = ['LICENSE.txt', 'README.md']
   s.homepage = 'https://github.com/rubocop/rubocop-ast'
   s.licenses = ['MIT']