[DRE-commits] [ruby-gollum-lib] 01/01: update in gollum-lib.rb as well

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Dec 12 08:39:58 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-gollum-lib.

commit 7a01feeb4037dd67ae776d4327e86489d3f6b53c
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Dec 12 14:08:04 2015 +0530

    update in gollum-lib.rb as well
---
 debian/changelog                |  6 ++++++
 debian/patches/use-rugged.patch | 13 +++++++++++++
 2 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 383aa24..f8d50d4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-gollum-lib (4.1.0-3) unstable; urgency=medium
+
+  * Make rugged_adapter default in gollum-lib.rb as well 
+
+ -- Pirate Praveen <praveen at debian.org>  Sat, 12 Dec 2015 14:07:58 +0530
+
 ruby-gollum-lib (4.1.0-2) unstable; urgency=medium
 
   * Fix gollum-rugged_adapter version 
diff --git a/debian/patches/use-rugged.patch b/debian/patches/use-rugged.patch
index 6fa9e0b..8b083a4 100644
--- a/debian/patches/use-rugged.patch
+++ b/debian/patches/use-rugged.patch
@@ -39,3 +39,16 @@ Index: ruby-gollum-lib/metadata.yml
  - !ruby/object:Gem::Dependency
    name: rouge
    requirement: !ruby/object:Gem::Requirement
+Index: ruby-gollum-lib/lib/gollum-lib.rb
+===================================================================
+--- ruby-gollum-lib.orig/lib/gollum-lib.rb
++++ ruby-gollum-lib/lib/gollum-lib.rb
+@@ -4,7 +4,7 @@ require 'digest/md5'
+ require 'digest/sha1'
+ require 'ostruct'
+ 
+-DEFAULT_ADAPTER = RUBY_PLATFORM == 'java' ? 'rjgit_adapter' : 'grit_adapter'
++DEFAULT_ADAPTER = RUBY_PLATFORM == 'java' ? 'rjgit_adapter' : 'rugged_adapter'
+ 
+ if defined?(Gollum::GIT_ADAPTER)
+   require "#{Gollum::GIT_ADAPTER.downcase}_adapter"

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



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