Commit d1781d3b1174b49da6d61f65d351ba40bdbc5314
1 parent
0ee296d1
Exists in
spb-stable
and in
3 other branches
Get rid of pygments.rb dependency
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
18 additions
and
23 deletions
Show diff stats
Gemfile
@@ -29,7 +29,7 @@ gem 'omniauth-github' | @@ -29,7 +29,7 @@ gem 'omniauth-github' | ||
29 | 29 | ||
30 | # Extracting information from a git repository | 30 | # Extracting information from a git repository |
31 | # Provide access to Gitlab::Git library | 31 | # Provide access to Gitlab::Git library |
32 | -gem "gitlab_git", "~> 4.0.0" | 32 | +gem "gitlab_git", "~> 4.1.0" |
33 | 33 | ||
34 | # Ruby/Rack Git Smart-HTTP Server Handler | 34 | # Ruby/Rack Git Smart-HTTP Server Handler |
35 | gem 'gitlab-grack', '~> 2.0.0.pre', require: 'grack' | 35 | gem 'gitlab-grack', '~> 2.0.0.pre', require: 'grack' |
@@ -37,14 +37,11 @@ gem 'gitlab-grack', '~> 2.0.0.pre', require: 'grack' | @@ -37,14 +37,11 @@ gem 'gitlab-grack', '~> 2.0.0.pre', require: 'grack' | ||
37 | # LDAP Auth | 37 | # LDAP Auth |
38 | gem 'gitlab_omniauth-ldap', '1.0.3', require: "omniauth-ldap" | 38 | gem 'gitlab_omniauth-ldap', '1.0.3', require: "omniauth-ldap" |
39 | 39 | ||
40 | -# Syntax highlighter | ||
41 | -gem "gitlab-pygments.rb", '~> 0.5.4', require: 'pygments.rb' | ||
42 | - | ||
43 | # Git Wiki | 40 | # Git Wiki |
44 | -gem "gitlab-gollum-lib", "~> 1.0.2", require: 'gollum-lib' | 41 | +gem "gitlab-gollum-lib", "~> 1.1.0", require: 'gollum-lib' |
45 | 42 | ||
46 | # Language detection | 43 | # Language detection |
47 | -gem "gitlab-linguist", "~> 2.9.6", require: "linguist" | 44 | +gem "gitlab-linguist", "~> 2.9.6", require: "linguist", git: 'https://gitlab.com/gitlab-org/linguist.git', ref: 'b337f7013333863503a8a7894cceb568478fda66' |
48 | 45 | ||
49 | # API | 46 | # API |
50 | gem "grape", "~> 0.6.1" | 47 | gem "grape", "~> 0.6.1" |
Gemfile.lock
@@ -5,6 +5,16 @@ GIT | @@ -5,6 +5,16 @@ GIT | ||
5 | specs: | 5 | specs: |
6 | github-markup (0.7.6) | 6 | github-markup (0.7.6) |
7 | 7 | ||
8 | +GIT | ||
9 | + remote: https://gitlab.com/gitlab-org/linguist.git | ||
10 | + revision: b337f7013333863503a8a7894cceb568478fda66 | ||
11 | + ref: b337f7013333863503a8a7894cceb568478fda66 | ||
12 | + specs: | ||
13 | + gitlab-linguist (2.9.6) | ||
14 | + charlock_holmes (~> 0.6.6) | ||
15 | + escape_utils (~> 0.2.4) | ||
16 | + mime-types (~> 1.19) | ||
17 | + | ||
8 | GEM | 18 | GEM |
9 | remote: https://rubygems.org/ | 19 | remote: https://rubygems.org/ |
10 | specs: | 20 | specs: |
@@ -158,11 +168,10 @@ GEM | @@ -158,11 +168,10 @@ GEM | ||
158 | gitlab-flowdock-git-hook (0.4.2.2) | 168 | gitlab-flowdock-git-hook (0.4.2.2) |
159 | gitlab-grit (>= 2.4.1) | 169 | gitlab-grit (>= 2.4.1) |
160 | multi_json | 170 | multi_json |
161 | - gitlab-gollum-lib (1.0.2) | 171 | + gitlab-gollum-lib (1.1.0) |
162 | github-markdown (~> 0.5.3) | 172 | github-markdown (~> 0.5.3) |
163 | github-markup (>= 0.7.5, < 1.0.0) | 173 | github-markup (>= 0.7.5, < 1.0.0) |
164 | gitlab-grit (~> 2.6.1) | 174 | gitlab-grit (~> 2.6.1) |
165 | - gitlab-pygments.rb (~> 0.5.4) | ||
166 | nokogiri (~> 1.5.9) | 175 | nokogiri (~> 1.5.9) |
167 | sanitize (~> 2.0.3) | 176 | sanitize (~> 2.0.3) |
168 | stringex (~> 1.5.1) | 177 | stringex (~> 1.5.1) |
@@ -173,19 +182,10 @@ GEM | @@ -173,19 +182,10 @@ GEM | ||
173 | diff-lcs (~> 1.1) | 182 | diff-lcs (~> 1.1) |
174 | mime-types (~> 1.15) | 183 | mime-types (~> 1.15) |
175 | posix-spawn (~> 0.3.6) | 184 | posix-spawn (~> 0.3.6) |
176 | - gitlab-linguist (2.9.6) | ||
177 | - charlock_holmes (~> 0.6.6) | ||
178 | - escape_utils (~> 0.2.4) | ||
179 | - gitlab-pygments.rb (~> 0.5.4) | ||
180 | - mime-types (~> 1.19) | ||
181 | - gitlab-pygments.rb (0.5.4) | ||
182 | - posix-spawn (~> 0.3.6) | ||
183 | - yajl-ruby (~> 1.1.0) | ||
184 | - gitlab_git (4.0.0) | 185 | + gitlab_git (4.1.0) |
185 | activesupport (~> 4.0.0) | 186 | activesupport (~> 4.0.0) |
186 | gitlab-grit (~> 2.6.1) | 187 | gitlab-grit (~> 2.6.1) |
187 | gitlab-linguist (~> 2.9.5) | 188 | gitlab-linguist (~> 2.9.5) |
188 | - gitlab-pygments.rb (~> 0.5.4) | ||
189 | gitlab_meta (6.0) | 189 | gitlab_meta (6.0) |
190 | gitlab_omniauth-ldap (1.0.3) | 190 | gitlab_omniauth-ldap (1.0.3) |
191 | net-ldap (~> 0.3.1) | 191 | net-ldap (~> 0.3.1) |
@@ -543,7 +543,6 @@ GEM | @@ -543,7 +543,6 @@ GEM | ||
543 | websocket-driver (0.3.1) | 543 | websocket-driver (0.3.1) |
544 | xpath (2.0.0) | 544 | xpath (2.0.0) |
545 | nokogiri (~> 1.3) | 545 | nokogiri (~> 1.3) |
546 | - yajl-ruby (1.1.0) | ||
547 | 546 | ||
548 | PLATFORMS | 547 | PLATFORMS |
549 | ruby | 548 | ruby |
@@ -578,11 +577,10 @@ DEPENDENCIES | @@ -578,11 +577,10 @@ DEPENDENCIES | ||
578 | gemoji (~> 1.3.0) | 577 | gemoji (~> 1.3.0) |
579 | github-markup (~> 0.7.4)! | 578 | github-markup (~> 0.7.4)! |
580 | gitlab-flowdock-git-hook (~> 0.4.2) | 579 | gitlab-flowdock-git-hook (~> 0.4.2) |
581 | - gitlab-gollum-lib (~> 1.0.2) | 580 | + gitlab-gollum-lib (~> 1.1.0) |
582 | gitlab-grack (~> 2.0.0.pre) | 581 | gitlab-grack (~> 2.0.0.pre) |
583 | - gitlab-linguist (~> 2.9.6) | ||
584 | - gitlab-pygments.rb (~> 0.5.4) | ||
585 | - gitlab_git (~> 4.0.0) | 582 | + gitlab-linguist (~> 2.9.6)! |
583 | + gitlab_git (~> 4.1.0) | ||
586 | gitlab_meta (= 6.0) | 584 | gitlab_meta (= 6.0) |
587 | gitlab_omniauth-ldap (= 1.0.3) | 585 | gitlab_omniauth-ldap (= 1.0.3) |
588 | gon (~> 5.0.0) | 586 | gon (~> 5.0.0) |