OSDN Git Service

Use pygments.rb fork with a custom formatter
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>
Sat, 10 Nov 2012 09:47:30 +0000 (10:47 +0100)
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>
Sat, 10 Nov 2012 09:47:30 +0000 (10:47 +0100)
Gemfile
Gemfile.lock

diff --git a/Gemfile b/Gemfile
index 84b557b..2a5b95b 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -33,7 +33,7 @@ gem 'grit_ext',      git: "https://github.com/gitlabhq/grit_ext.git",        ref
 gem "gitolite", '1.1.0'
 
 # Syntax highlighter
-gem "pygments.rb", "0.3.1"
+gem "pygments.rb",  git: "https://github.com/gitlabhq/pygments.rb.git", ref: '4db80c599067e2d5f23c5c243bf85b8ca0368ad4'
 
 # Language detection
 gem "github-linguist", "~> 2.3.4" , require: "linguist"
index 617c302..a78e737 100644 (file)
@@ -42,6 +42,15 @@ GIT
       rubyntlm (~> 0.1.1)
 
 GIT
+  remote: https://github.com/gitlabhq/pygments.rb.git
+  revision: 4db80c599067e2d5f23c5c243bf85b8ca0368ad4
+  ref: 4db80c599067e2d5f23c5c243bf85b8ca0368ad4
+  specs:
+    pygments.rb (0.3.2)
+      posix-spawn (~> 0.3.6)
+      yajl-ruby (~> 1.1.0)
+
+GIT
   remote: https://github.com/gitlabhq/yaml_db.git
   revision: 98e9a5dca43e3fedd3268c76a73af40d1bdf1dfd
   ref: 98e9a5dca43e3fedd3268c76a73af40d1bdf1dfd
@@ -266,9 +275,6 @@ GEM
       coderay (~> 1.0.5)
       method_source (~> 0.7.1)
       slop (>= 2.4.4, < 3)
-    pygments.rb (0.3.1)
-      posix-spawn (~> 0.3.6)
-      yajl-ruby (~> 1.1.0)
     pyu-ruby-sasl (0.0.3.3)
     quiet_assets (1.0.1)
       railties (~> 3.1)
@@ -465,7 +471,7 @@ DEPENDENCIES
   omniauth-twitter
   pg
   pry
-  pygments.rb (= 0.3.1)
+  pygments.rb!
   quiet_assets (= 1.0.1)
   rack-mini-profiler
   rails (= 3.2.8)