fix Gemfile syntax errors

This commit is contained in:
Praveen Arimbrathodiyil 2016-11-03 18:18:01 +05:30
parent 2bba569340
commit f8281d6503
2 changed files with 17 additions and 21 deletions

View file

@ -1,10 +1,8 @@
We should be able to update minor versions of stable libs without breaking We should be able to update minor versions of stable libs without breaking
gitlab Gemfile gitlab Gemfile
Index: gitlab/Gemfile --- a/Gemfile
=================================================================== +++ b/Gemfile
--- gitlab.orig/Gemfile
+++ gitlab/Gemfile
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
source 'https://rubygems.org' source 'https://rubygems.org'
@ -26,7 +24,7 @@ Index: gitlab/Gemfile
# Supported DBs # Supported DBs
gem 'mysql2', '~> 0.3.16', group: :mysql gem 'mysql2', '~> 0.3.16', group: :mysql
@@ -18,22 +18,22 @@ gem 'pg', '~> 0.18.2', group: :postgres @@ -18,22 +18,22 @@
# Authentication libraries # Authentication libraries
gem 'devise', '~> 4.2' gem 'devise', '~> 4.2'
@ -61,7 +59,7 @@ Index: gitlab/Gemfile
gem 'jwt' gem 'jwt'
# Spam and anti-bot protection # Spam and anti-bot protection
@@ -41,9 +41,9 @@ gem 'recaptcha', '~> 3.0', require: 'rec @@ -41,9 +41,9 @@
gem 'akismet', '~> 2.0' gem 'akismet', '~> 2.0'
# Two-factor authentication # Two-factor authentication
@ -73,7 +71,7 @@ Index: gitlab/Gemfile
gem 'u2f', '~> 0.2.1' gem 'u2f', '~> 0.2.1'
# Browser detection # Browser detection
@@ -51,12 +51,12 @@ gem 'browser', '~> 2.2' @@ -51,12 +51,12 @@
# Extracting information from a git repository # Extracting information from a git repository
# Provide access to Gitlab::Git library # Provide access to Gitlab::Git library
@ -88,7 +86,7 @@ Index: gitlab/Gemfile
# Git Wiki # Git Wiki
# Required manually in config/initializers/gollum.rb to control load order # Required manually in config/initializers/gollum.rb to control load order
@@ -64,7 +64,7 @@ gem 'gollum-lib', '~> 4.2', require: fal @@ -64,7 +64,7 @@
gem 'gollum-rugged_adapter', '~> 0.4.2', require: false gem 'gollum-rugged_adapter', '~> 0.4.2', require: false
# Language detection # Language detection
@ -97,7 +95,7 @@ Index: gitlab/Gemfile
# API # API
gem 'grape', '~> 0.15.0' gem 'grape', '~> 0.15.0'
@@ -75,7 +75,7 @@ gem 'rack-cors', '~> 0.4.0', require: @@ -75,7 +75,7 @@
gem 'kaminari', '~> 0.17.0' gem 'kaminari', '~> 0.17.0'
# HAML # HAML
@ -106,7 +104,7 @@ Index: gitlab/Gemfile
# Files attachments # Files attachments
gem 'carrierwave', '~> 0.10.0' gem 'carrierwave', '~> 0.10.0'
@@ -96,39 +96,39 @@ gem 'fog-rackspace', '~> 0.1.1' @@ -96,39 +96,39 @@
gem 'unf', '~> 0.1.4' gem 'unf', '~> 0.1.4'
# Seed data # Seed data
@ -158,7 +156,7 @@ Index: gitlab/Gemfile
# Issue tags # Issue tags
gem 'acts-as-taggable-on', '~> 4.0' gem 'acts-as-taggable-on', '~> 4.0'
@@ -136,39 +136,39 @@ gem 'acts-as-taggable-on', '~> 4.0' @@ -136,39 +136,39 @@
# Background jobs # Background jobs
gem 'sidekiq', '~> 4.2' gem 'sidekiq', '~> 4.2'
gem 'sidekiq-cron', '~> 0.4.0' gem 'sidekiq-cron', '~> 0.4.0'
@ -206,7 +204,7 @@ Index: gitlab/Gemfile
# Asana integration # Asana integration
gem 'asana', '~> 0.4.0' gem 'asana', '~> 0.4.0'
@@ -177,64 +177,64 @@ gem 'asana', '~> 0.4.0' @@ -177,64 +177,64 @@
gem 'ruby-fogbugz', '~> 0.2.1' gem 'ruby-fogbugz', '~> 0.2.1'
# d3 # d3
@ -277,7 +275,7 @@ Index: gitlab/Gemfile
-gem 'jquery-rails', '~> 4.1.0' -gem 'jquery-rails', '~> 4.1.0'
-gem 'jquery-ui-rails', '~> 5.0.0' -gem 'jquery-ui-rails', '~> 5.0.0'
+gem 'gon', '~> 6.1' +gem 'gon', '~> 6.1'
+gem 'jquery-atwho-rails', '~> 1.3' '>= 1.3.2' +gem 'jquery-atwho-rails', '~> 1.3', '>= 1.3.2'
+gem 'jquery-rails', '~> 4.1' +gem 'jquery-rails', '~> 4.1'
+gem 'jquery-ui-rails', '~> 5.0' +gem 'jquery-ui-rails', '~> 5.0'
gem 'request_store', '~> 1.3' gem 'request_store', '~> 1.3'
@ -298,7 +296,7 @@ Index: gitlab/Gemfile
# Metrics # Metrics
group :metrics do group :metrics do
@@ -324,7 +324,7 @@ end @@ -324,7 +324,7 @@
gem 'newrelic_rpm', '~> 3.16' gem 'newrelic_rpm', '~> 3.16'
@ -307,7 +305,7 @@ Index: gitlab/Gemfile
gem 'mail_room', '~> 0.8.1' gem 'mail_room', '~> 0.8.1'
@@ -333,18 +333,18 @@ gem 'email_reply_parser', '~> 0.5.8' @@ -333,18 +333,18 @@
gem 'ruby-prof', '~> 0.16.2' gem 'ruby-prof', '~> 0.16.2'
## CI ## CI

View file

@ -1,13 +1,11 @@
Index: gitlab/Gemfile --- a/Gemfile
=================================================================== +++ b/Gemfile
--- gitlab.orig/Gemfile @@ -25,7 +25,7 @@
+++ gitlab/Gemfile
@@ -25,7 +25,7 @@ gem 'omniauth-auth0', '~> 1.4',
gem 'omniauth-azure-oauth2', '~> 0.0.6' gem 'omniauth-azure-oauth2', '~> 0.0.6'
gem 'omniauth-bitbucket', '~> 0.0.2' gem 'omniauth-bitbucket', '~> 0.0.2'
gem 'omniauth-cas3', '~> 1.1', '>= 1.1.2' gem 'omniauth-cas3', '~> 1.1', '>= 1.1.2'
-gem 'omniauth-facebook', '~> 4.0' -gem 'omniauth-facebook', '~> 4.0'
+gem 'omniauth-facebook', '>= 3.0', '<< 5.0' +gem 'omniauth-facebook', '>= 3.0', '< 5.0'
gem 'omniauth-github', '~> 1.1', '>= 1.1.1' gem 'omniauth-github', '~> 1.1', '>= 1.1.1'
gem 'omniauth-gitlab', '~> 1.0' gem 'omniauth-gitlab', '~> 1.0'
gem 'omniauth-google-oauth2', '~> 0.4.1' gem 'omniauth-google-oauth2', '~> 0.4.1'