Commit d199de044425ad73caa031627c714b7010d76e3f
1 parent
282b8045
Exists in
master
and in
4 other branches
Use gitlab-pygments gem
Showing
2 changed files
with
8 additions
and
11 deletions
Show diff stats
Gemfile
@@ -36,7 +36,7 @@ gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap" | @@ -36,7 +36,7 @@ gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap" | ||
36 | gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db" | 36 | gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db" |
37 | 37 | ||
38 | # Syntax highlighter | 38 | # Syntax highlighter |
39 | -gem "pygments.rb", git: "https://github.com/gitlabhq/pygments.rb.git", branch: "master" | 39 | +gem "gitlab-pygments.rb", '~> 0.3.2', require: 'pygments.rb' |
40 | 40 | ||
41 | # Language detection | 41 | # Language detection |
42 | gem "github-linguist", "~> 2.3.4" , require: "linguist" | 42 | gem "github-linguist", "~> 2.3.4" , require: "linguist" |
Gemfile.lock
@@ -15,15 +15,6 @@ GIT | @@ -15,15 +15,6 @@ GIT | ||
15 | charlock_holmes (~> 0.6.9) | 15 | charlock_holmes (~> 0.6.9) |
16 | 16 | ||
17 | GIT | 17 | GIT |
18 | - remote: https://github.com/gitlabhq/pygments.rb.git | ||
19 | - revision: db1da0343adf86b49bdc3add04d02d2e80438d38 | ||
20 | - branch: master | ||
21 | - specs: | ||
22 | - pygments.rb (0.3.2) | ||
23 | - posix-spawn (~> 0.3.6) | ||
24 | - yajl-ruby (~> 1.1.0) | ||
25 | - | ||
26 | -GIT | ||
27 | remote: https://github.com/gitlabhq/raphael-rails.git | 18 | remote: https://github.com/gitlabhq/raphael-rails.git |
28 | revision: cb2c92a040b9b941a5f1aa1ea866cc26e944fe58 | 19 | revision: cb2c92a040b9b941a5f1aa1ea866cc26e944fe58 |
29 | specs: | 20 | specs: |
@@ -163,6 +154,9 @@ GEM | @@ -163,6 +154,9 @@ GEM | ||
163 | diff-lcs (~> 1.1) | 154 | diff-lcs (~> 1.1) |
164 | mime-types (~> 1.15) | 155 | mime-types (~> 1.15) |
165 | posix-spawn (~> 0.3.6) | 156 | posix-spawn (~> 0.3.6) |
157 | + gitlab-pygments.rb (0.3.2) | ||
158 | + posix-spawn (~> 0.3.6) | ||
159 | + yajl-ruby (~> 1.1.0) | ||
166 | gitlab_meta (5.0) | 160 | gitlab_meta (5.0) |
167 | gitlab_omniauth-ldap (1.0.2) | 161 | gitlab_omniauth-ldap (1.0.2) |
168 | net-ldap (~> 0.2.2) | 162 | net-ldap (~> 0.2.2) |
@@ -285,6 +279,9 @@ GEM | @@ -285,6 +279,9 @@ GEM | ||
285 | coderay (~> 1.0.5) | 279 | coderay (~> 1.0.5) |
286 | method_source (~> 0.8) | 280 | method_source (~> 0.8) |
287 | slop (~> 3.3.1) | 281 | slop (~> 3.3.1) |
282 | + pygments.rb (0.4.2) | ||
283 | + posix-spawn (~> 0.3.6) | ||
284 | + yajl-ruby (~> 1.1.0) | ||
288 | pyu-ruby-sasl (0.0.3.3) | 285 | pyu-ruby-sasl (0.0.3.3) |
289 | quiet_assets (1.0.1) | 286 | quiet_assets (1.0.1) |
290 | railties (~> 3.1) | 287 | railties (~> 3.1) |
@@ -476,6 +473,7 @@ DEPENDENCIES | @@ -476,6 +473,7 @@ DEPENDENCIES | ||
476 | github-markup (~> 0.7.4) | 473 | github-markup (~> 0.7.4) |
477 | gitlab-grack (~> 1.0.0) | 474 | gitlab-grack (~> 1.0.0) |
478 | gitlab-grit (~> 1.0.0) | 475 | gitlab-grit (~> 1.0.0) |
476 | + gitlab-pygments.rb (~> 0.3.2) | ||
479 | gitlab_meta (= 5.0) | 477 | gitlab_meta (= 5.0) |
480 | gitlab_omniauth-ldap (= 1.0.2) | 478 | gitlab_omniauth-ldap (= 1.0.2) |
481 | gitlab_yaml_db (= 1.0.0) | 479 | gitlab_yaml_db (= 1.0.0) |
@@ -503,7 +501,6 @@ DEPENDENCIES | @@ -503,7 +501,6 @@ DEPENDENCIES | ||
503 | pg | 501 | pg |
504 | poltergeist (= 1.1.0) | 502 | poltergeist (= 1.1.0) |
505 | pry | 503 | pry |
506 | - pygments.rb! | ||
507 | quiet_assets (~> 1.0.1) | 504 | quiet_assets (~> 1.0.1) |
508 | rack-mini-profiler | 505 | rack-mini-profiler |
509 | rails (= 3.2.12) | 506 | rails (= 3.2.12) |