#4 Fix the tests.
Merged 2 years ago by snecker. Opened 2 years ago by pvalena.
rpms/ pvalena/rubygem-prawn rebase  into  master

file modified
-1
@@ -1,3 +1,2 @@ 

  /prawn-*.gem

  /prawn-*-data.txz

- /prawn-data.txz

file modified
+3 -2
@@ -11,8 +11,8 @@ 

  # Not all of data is shipped, but it's needed for the test suite.

  # You may check out it like so:

  # git clone --no-checkout https://github.com/prawnpdf/prawn.git

- # cd prawn && git archive -v -o prawn-data.txz 2.4.0 data spec/data

- Source1: %{gem_name}-data.txz

+ # cd prawn && git archive -v -o prawn-2.4.0-data.txz 2.4.0 data

+ Source1: %{gem_name}-%{version}-data.txz

  BuildRequires: ruby

  BuildRequires: ruby(release)

  BuildRequires: rubygems-devel >= 1.3.6
@@ -21,6 +21,7 @@ 

  BuildRequires: rubygem(pdf-reader) >= 1.4.0

  BuildRequires: rubygem(pdf-inspector) >= 1.2.1

  BuildRequires: rubygem(pdf-core) >= 0.9.0

+ BuildRequires: rubygem(bigdecimal)

  BuildArch: noarch

  

  %description

file modified
+1 -1
@@ -1,2 +1,2 @@ 

  SHA512 (prawn-2.4.0.gem) = 74025d1bdcb51da3808736f60f834a1964430f30d351c0fd16d6af7d8a9c302fa9bee50087a474528d319932c3d22132c5c900b0ce39503f0dce3ac650772df3

- SHA512 (prawn-data.txz) = fe684875a8e92ea09de36bbaf3c923100cd96f55d50e75241d09f7e22a0c9e3ed02351edfe819be002740fe87a3c056cc5cee60a69db7a5fa97b6637e4751837

+ SHA512 (prawn-2.4.0-data.txz) = 276e13b57efa6d7e8406d954588924e99e068b5d725e4f80f892d6df9c4ca011b18fbafeaa216fac53119dfbbd0899db5b5d9aaff0ddf117f9bf6fb73f3136d5

The current state does not build. I've fixed the data source and re-added the missing bigdecimal dependency (required in tests).

@pvalena thanks, my apologies I forgot to resolve this.

Pull-Request has been merged by snecker

2 years ago