File: fix_gem_import.patch

package info (click to toggle)
ruby-paint 0.8.6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 204 kB
  • ctags: 31
  • sloc: ruby: 546; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 1,140 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
Description: Fix gem import
 The gemspec was being removed from the installed files, which would not allow
 the gem import to work. Therefore, this patch just add this file back.

Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128@gmail.com>
Last-updated: 2016-07-14
Forwarded: not-needed 
Bug: not-needed

Index: ruby-paint/paint.gemspec
===================================================================
--- ruby-paint.orig/paint.gemspec
+++ ruby-paint/paint.gemspec
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
   s.summary     = "Terminal painter!"
   s.description = "Terminal painter / no string extensions / 256 color support / effect support / define custom shortcuts / basic usage: Paint['string', :red, :bright]"
   s.required_ruby_version     = '>= 1.8.7'
-  s.files = Dir.glob(%w[{lib,test,spec}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c}]) + %w{Rakefile paint.gemspec .gemtest}
+  s.files = Dir.glob(%w[{lib,test,spec}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c}]) + %w{Rakefile .gemtest}
   s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
   s.license = 'MIT'
   s.add_development_dependency 'rspec'