[DRE-commits] [ruby-actionpack-3.2] 01/01: Fix invalid gemspec data in patch (again)

Antonio Terceiro terceiro at moszumanska.debian.org
Mon Dec 23 16:12:35 UTC 2013


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-actionpack-3.2.

commit 97e655b969bf8e921a62e11375d46c4886a184e3
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Dec 18 17:59:45 2013 -0300

    Fix invalid gemspec data in patch (again)
    
    debian/patches/0001-loosen_sprockets_dependency.patch: the problem was
    that when 2.2.1 is replaced by 2.2, the YAML parser thinks that 2.2 is a
    floating point number, but version numbers are supposed to be strings!
    So the fix is to puts quote around the 2.2 ('2.2'), forcing it to be
    parsed as a string.
---
 debian/changelog                                      | 13 +++++++++++++
 debian/patches/0001-loosen_sprockets_dependency.patch |  4 ++--
 debian/patches/0004-allow_newer_versions.patch        |  8 ++++----
 3 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d949c59..b0b7399 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+ruby-actionpack-3.2 (3.2.16-3) unstable; urgency=medium
+
+  * Fix invalid gemspec data in patch (again)
+    debian/patches/0001-loosen_sprockets_dependency.patch: the problem was
+    that when 2.2.1 is replaced by 2.2, the YAML parser thinks that 2.2 is a
+    floating point number, but version numbers are supposed to be strings!  So
+    the fix is to put quote around the 2.2 ('2.2'), forcing it to be parsed
+    as a string.
+    Closes: #732805
+  * debian/patches/0004-allow_newer_versions.patch: refresh
+
+ -- Antonio Terceiro <terceiro at debian.org>  Wed, 18 Dec 2013 18:01:29 -0300
+
 ruby-actionpack-3.2 (3.2.16-2) unstable; urgency=high
 
   * Allow to depend on ruby-rack (<< 1.4) to make backports easier
diff --git a/debian/patches/0001-loosen_sprockets_dependency.patch b/debian/patches/0001-loosen_sprockets_dependency.patch
index a18e2d8..c4e35dc 100644
--- a/debian/patches/0001-loosen_sprockets_dependency.patch
+++ b/debian/patches/0001-loosen_sprockets_dependency.patch
@@ -5,7 +5,7 @@
      - - "~>"
        - !ruby/object:Gem::Version
 -        version: 2.2.1
-+        version: 2.2
++        version: '2.2'
    type: :runtime
    prerelease: false
    version_requirements: !ruby/object:Gem::Requirement
@@ -13,7 +13,7 @@
      - - "~>"
        - !ruby/object:Gem::Version
 -        version: 2.2.1
-+        version: 2.2
++        version: '2.2'
  - !ruby/object:Gem::Dependency
    name: erubis
    requirement: !ruby/object:Gem::Requirement
diff --git a/debian/patches/0004-allow_newer_versions.patch b/debian/patches/0004-allow_newer_versions.patch
index b12fb01..15f3007 100644
--- a/debian/patches/0004-allow_newer_versions.patch
+++ b/debian/patches/0004-allow_newer_versions.patch
@@ -1,5 +1,5 @@
---- ruby-actionpack-3.2.orig/metadata.yml
-+++ ruby-actionpack-3.2/metadata.yml
+--- a/metadata.yml
++++ b/metadata.yml
 @@ -56,14 +56,14 @@ dependencies:
    name: builder
    requirement: !ruby/object:Gem::Requirement
@@ -24,7 +24,7 @@
 -    - - "~>"
 +    - - ">="
        - !ruby/object:Gem::Version
-         version: 2.2
+         version: '2.2'
    type: :runtime
    prerelease: false
    version_requirements: !ruby/object:Gem::Requirement
@@ -32,7 +32,7 @@
 -    - - "~>"
 +    - - ">="
        - !ruby/object:Gem::Version
-         version: 2.2
+         version: '2.2'
  - !ruby/object:Gem::Dependency
 @@ -140,14 +140,14 @@ dependencies:
    name: tzinfo

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-actionpack-3.2.git



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