Use gitlab-pygments gem
This commit is contained in:
parent
282b804556
commit
d199de0444
2 changed files with 8 additions and 11 deletions
2
Gemfile
2
Gemfile
|
@ -36,7 +36,7 @@ gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap"
|
||||||
gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db"
|
gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db"
|
||||||
|
|
||||||
# Syntax highlighter
|
# Syntax highlighter
|
||||||
gem "pygments.rb", git: "https://github.com/gitlabhq/pygments.rb.git", branch: "master"
|
gem "gitlab-pygments.rb", '~> 0.3.2', require: 'pygments.rb'
|
||||||
|
|
||||||
# Language detection
|
# Language detection
|
||||||
gem "github-linguist", "~> 2.3.4" , require: "linguist"
|
gem "github-linguist", "~> 2.3.4" , require: "linguist"
|
||||||
|
|
17
Gemfile.lock
17
Gemfile.lock
|
@ -14,15 +14,6 @@ GIT
|
||||||
grit_ext (0.6.2)
|
grit_ext (0.6.2)
|
||||||
charlock_holmes (~> 0.6.9)
|
charlock_holmes (~> 0.6.9)
|
||||||
|
|
||||||
GIT
|
|
||||||
remote: https://github.com/gitlabhq/pygments.rb.git
|
|
||||||
revision: db1da0343adf86b49bdc3add04d02d2e80438d38
|
|
||||||
branch: master
|
|
||||||
specs:
|
|
||||||
pygments.rb (0.3.2)
|
|
||||||
posix-spawn (~> 0.3.6)
|
|
||||||
yajl-ruby (~> 1.1.0)
|
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: https://github.com/gitlabhq/raphael-rails.git
|
remote: https://github.com/gitlabhq/raphael-rails.git
|
||||||
revision: cb2c92a040b9b941a5f1aa1ea866cc26e944fe58
|
revision: cb2c92a040b9b941a5f1aa1ea866cc26e944fe58
|
||||||
|
@ -163,6 +154,9 @@ GEM
|
||||||
diff-lcs (~> 1.1)
|
diff-lcs (~> 1.1)
|
||||||
mime-types (~> 1.15)
|
mime-types (~> 1.15)
|
||||||
posix-spawn (~> 0.3.6)
|
posix-spawn (~> 0.3.6)
|
||||||
|
gitlab-pygments.rb (0.3.2)
|
||||||
|
posix-spawn (~> 0.3.6)
|
||||||
|
yajl-ruby (~> 1.1.0)
|
||||||
gitlab_meta (5.0)
|
gitlab_meta (5.0)
|
||||||
gitlab_omniauth-ldap (1.0.2)
|
gitlab_omniauth-ldap (1.0.2)
|
||||||
net-ldap (~> 0.2.2)
|
net-ldap (~> 0.2.2)
|
||||||
|
@ -285,6 +279,9 @@ GEM
|
||||||
coderay (~> 1.0.5)
|
coderay (~> 1.0.5)
|
||||||
method_source (~> 0.8)
|
method_source (~> 0.8)
|
||||||
slop (~> 3.3.1)
|
slop (~> 3.3.1)
|
||||||
|
pygments.rb (0.4.2)
|
||||||
|
posix-spawn (~> 0.3.6)
|
||||||
|
yajl-ruby (~> 1.1.0)
|
||||||
pyu-ruby-sasl (0.0.3.3)
|
pyu-ruby-sasl (0.0.3.3)
|
||||||
quiet_assets (1.0.1)
|
quiet_assets (1.0.1)
|
||||||
railties (~> 3.1)
|
railties (~> 3.1)
|
||||||
|
@ -476,6 +473,7 @@ DEPENDENCIES
|
||||||
github-markup (~> 0.7.4)
|
github-markup (~> 0.7.4)
|
||||||
gitlab-grack (~> 1.0.0)
|
gitlab-grack (~> 1.0.0)
|
||||||
gitlab-grit (~> 1.0.0)
|
gitlab-grit (~> 1.0.0)
|
||||||
|
gitlab-pygments.rb (~> 0.3.2)
|
||||||
gitlab_meta (= 5.0)
|
gitlab_meta (= 5.0)
|
||||||
gitlab_omniauth-ldap (= 1.0.2)
|
gitlab_omniauth-ldap (= 1.0.2)
|
||||||
gitlab_yaml_db (= 1.0.0)
|
gitlab_yaml_db (= 1.0.0)
|
||||||
|
@ -503,7 +501,6 @@ DEPENDENCIES
|
||||||
pg
|
pg
|
||||||
poltergeist (= 1.1.0)
|
poltergeist (= 1.1.0)
|
||||||
pry
|
pry
|
||||||
pygments.rb!
|
|
||||||
quiet_assets (~> 1.0.1)
|
quiet_assets (~> 1.0.1)
|
||||||
rack-mini-profiler
|
rack-mini-profiler
|
||||||
rails (= 3.2.12)
|
rails (= 3.2.12)
|
||||||
|
|
Loading…
Reference in a new issue