File: 0001-Fix-gemspec.patch

package info (click to toggle)
ruby-mustermann 3.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,224 kB
  • sloc: ruby: 7,746; makefile: 6
file content (31 lines) | stat: -rw-r--r-- 1,073 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
30
31
From: Antonio Terceiro <terceiro@debian.org>
Date: Sun, 5 Apr 2020 16:23:50 -0300
Subject: Fix gemspec

---
 mustermann/lib/mustermann/version.rb | 2 +-
 mustermann/mustermann.gemspec        | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

--- a/mustermann/lib/mustermann/version.rb
+++ b/mustermann/lib/mustermann/version.rb
@@ -1,4 +1,4 @@
 # frozen_string_literal: true
 module Mustermann
-  VERSION ||= '3.0.4'
+  VERSION = '3.0.4'
 end
--- a/mustermann/mustermann.gemspec
+++ b/mustermann/mustermann.gemspec
@@ -11,8 +11,9 @@ Gem::Specification.new do |s|
   s.description           = %q{A library implementing patterns that behave like regular expressions.}
   s.license               = 'MIT'
   s.required_ruby_version = '>= 2.6.0'
-  s.files                 = `git ls-files`.split("\n")
-  s.test_files            = `git ls-files -- {test,spec,features}/*`.split("\n")
+  s.files                 = Dir['**/*']
+  s.test_files            = Dir['spec/**/*']
+  s.executables           = []
 
   s.add_runtime_dependency('ruby2_keywords', '~> 0.0.1')
 end