[DRE-maint] Bug#866198: this patch fixed dh-make-ruby

Pirate Praveen praveen at onenetbeyond.org
Wed Jun 28 11:43:55 UTC 2017


On 06/28/2017 04:23 PM, Antonio Terceiro wrote:
> AFAICS these lines have exactly the same effect.

debian directory was not getting created before this change.

But the actual fix was that made it build was

--- a/mustermann.gemspec
+++ b/mustermann.gemspec
@@ -3,7 +3,7 @@

 Gem::Specification.new do |s|
   s.name                  = "mustermann"
-  s.version               = Mustermann::VERSION
+  s.version               = Mustermann.version
   s.authors               = ["Konstantin Haase", "Zachary Scott"]
   s.email                 = "sinatrarb at googlegroups.com"
   s.homepage              = "https://github.com/sinatra/mustermann"
--- a/lib/mustermann/version.rb
+++ b/lib/mustermann/version.rb
@@ -1,4 +1,7 @@
 # frozen_string_literal: true
 module Mustermann
   VERSION ||= '1.0.0'
+  def self.version
+    VERSION
+  end
 end

If someone can confirm this fix, I will send this upstream.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20170628/a6bacb64/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list