[DRE-commits] [ruby-graffiti] 01/04: Add patches

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Wed Dec 25 10:41:41 UTC 2013


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

tsfgnu-guest pushed a commit to branch master
in repository ruby-graffiti.

commit ea828bda3f6056c1153cd5715889305bb30a2621
Author: Hleb Valoshka <375GNU at Gmail.COM>
Date:   Wed Dec 25 13:29:19 2013 +0300

    Add patches
---
 .../0001-Set-correct-version-in-gemspec.patch      | 20 ++++++++++++++++++
 ...002-Do-not-use-booleans-mapped-to-integer.patch | 24 ++++++++++++++++++++++
 debian/patches/series                              |  2 ++
 3 files changed, 46 insertions(+)

diff --git a/debian/patches/0001-Set-correct-version-in-gemspec.patch b/debian/patches/0001-Set-correct-version-in-gemspec.patch
new file mode 100644
index 0000000..ee92b0a
--- /dev/null
+++ b/debian/patches/0001-Set-correct-version-in-gemspec.patch
@@ -0,0 +1,20 @@
+From: Hleb Valoshka <375GNU at Gmail.COM>
+Date: Wed, 25 Dec 2013 13:24:52 +0300
+Subject: Set correct version in gemspec
+
+---
+ graffiti.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/graffiti.gemspec b/graffiti.gemspec
+index 2082efc..d54b2cb 100644
+--- a/graffiti.gemspec
++++ b/graffiti.gemspec
+@@ -1,6 +1,6 @@
+ Gem::Specification.new do |spec|
+   spec.name        = 'graffiti'
+-  spec.version     = '2.1'
++  spec.version     = '2.2'
+   spec.author      = 'Dmitry Borodaenko'
+   spec.email       = 'angdraug at debian.org'
+   spec.homepage    = 'https://github.com/angdraug/graffiti'
diff --git a/debian/patches/0002-Do-not-use-booleans-mapped-to-integer.patch b/debian/patches/0002-Do-not-use-booleans-mapped-to-integer.patch
new file mode 100644
index 0000000..afa8fdf
--- /dev/null
+++ b/debian/patches/0002-Do-not-use-booleans-mapped-to-integer.patch
@@ -0,0 +1,24 @@
+From: Hleb Valoshka <375GNU at Gmail.COM>
+Date: Wed, 25 Dec 2013 13:28:50 +0300
+Subject: Do not use booleans mapped to integer
+
+While SQLite recommends booleans be stored as integers Graffiti assumes
+they are stored as 't'/'f' as in previous versions of Sequel.
+---
+ test/ts_graffiti.rb | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/test/ts_graffiti.rb b/test/ts_graffiti.rb
+index 1111424..99601d1 100644
+--- a/test/ts_graffiti.rb
++++ b/test/ts_graffiti.rb
+@@ -390,7 +390,8 @@ ORDER BY c.published_date DESC"
+   end
+ 
+   def create_mock_db
+-    db = Sequel.sqlite(:quote_identifiers => false)
++    db = Sequel.sqlite(:quote_identifiers => false,
++                       :integer_booleans  => false)
+ 
+     db.create_table(:resource) do
+       primary_key :id
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..99a952c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Set-correct-version-in-gemspec.patch
+0002-Do-not-use-booleans-mapped-to-integer.patch

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



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