[DRE-commits] [ruby-em-redis] 01/03: add port_to_newer_redis.patch to make specs pass with ruby-server 2.8
Cédric Boutillier
boutil at moszumanska.debian.org
Wed Apr 23 09:26:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-em-redis.
commit be5fcf7d6fbd47420dc152f4a93be57be65fcab3
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Apr 23 11:08:32 2014 +0200
add port_to_newer_redis.patch to make specs pass with ruby-server 2.8
---
debian/patches/port_to_newer_redis.patch | 27 +++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 28 insertions(+)
diff --git a/debian/patches/port_to_newer_redis.patch b/debian/patches/port_to_newer_redis.patch
new file mode 100644
index 0000000..08bbea6
--- /dev/null
+++ b/debian/patches/port_to_newer_redis.patch
@@ -0,0 +1,27 @@
+Description: port to redis-server >= 2.6
+ Some INFO fields have been renamed
+ https://raw.github.com/antirez/redis/2.6/00-RELEASENOTES
+ last_save_time -> rdb_last_save_time
+ changes_since_last_save -> rdb_changes_since_last_save
+Author: Cédric Boutillier <boutil at debian.org>
+Forwared: https://github.com/madsimian/em-redis/pull/8
+Last-Update: 2014-04-23
+
+--- a/spec/redis_commands_spec.rb
++++ b/spec/redis_commands_spec.rb
+@@ -563,7 +563,7 @@
+ #
+ it "should provide info (INFO)" do
+ @r.info do |r|
+- [:last_save_time, :redis_version, :total_connections_received, :connected_clients, :total_commands_processed, :connected_slaves, :uptime_in_seconds, :used_memory, :uptime_in_days, :changes_since_last_save].each do |x|
++ [:rdb_last_save_time, :redis_version, :total_connections_received, :connected_clients, :total_commands_processed, :connected_slaves, :uptime_in_seconds, :used_memory, :uptime_in_days, :rdb_changes_since_last_save].each do |x|
+ r.keys.include?(x).should == true
+ end
+ done
+@@ -759,4 +759,4 @@
+ done
+ end
+ end
+-end
+\ No newline at end of file
++end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..14c297e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+port_to_newer_redis.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-em-redis.git
More information about the Pkg-ruby-extras-commits
mailing list