X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9b98829c565a2aa487d21ecd7f9429c23d0cec20..28af12a0ba929c6ca40221d7cc361ed026c932f0:/services/api/Gemfile diff --git a/services/api/Gemfile b/services/api/Gemfile index 5134fc4ce8..9b401cc6ac 100644 --- a/services/api/Gemfile +++ b/services/api/Gemfile @@ -1,85 +1,73 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + source 'https://rubygems.org' -gem 'rails', '~> 3.2.0' +gem 'rails', '~> 5.2.0' +gem 'responders', '~> 2.0' -# Bundle edge Rails instead: -# gem 'rails', :git => 'git://github.com/rails/rails.git' +# Pin sprockets to < 4.0 to avoid issues when upgrading rails to 5.2 +# See: https://github.com/rails/sprockets-rails/issues/443 +gem 'sprockets', '~> 3.0' group :test, :development do - gem 'factory_girl_rails' - gem 'database_cleaner' - gem 'ruby-prof' + gem 'factory_bot_rails' + + # As of now (2019-03-27) There's an open issue about incompatibilities with + # newer versions of this gem: https://github.com/rails/rails-perftest/issues/38 + gem 'ruby-prof', '~> 0.15.0' + # Note: "require: false" here tells bunder not to automatically # 'require' the packages during application startup. Installation is # still mandatory. + gem 'test-unit', '~> 3.0', require: false gem 'simplecov', '~> 0.7.1', require: false gem 'simplecov-rcov', require: false gem 'mocha', require: false + gem 'byebug' + gem 'listen' end -# This might not be needed in :test and :development, but we load it -# anyway to make sure it always gets in Gemfile.lock and to help -# reveal install problems sooner rather than later. -gem 'pg' +gem 'pg', '~> 1.0' -# Start using multi_json once we are on Rails 3.2; -# Rails 3.1 has a dependency on multi_json < 1.3.0 but we need version 1.3.4 to -# fix bug https://github.com/collectiveidea/json_spec/issues/27 gem 'multi_json' gem 'oj' -# Gems used only for assets and not required -# in production environments by default. -group :assets do - gem 'sass-rails', '>= 3.2.0' - gem 'coffee-rails', '~> 3.2.0' - - # See https://github.com/sstephenson/execjs#readme for more supported runtimes - gem 'therubyracer' - - gem 'uglifier', '>= 1.0.3' -end - gem 'jquery-rails' -# To use ActiveModel has_secure_password -# gem 'bcrypt-ruby', '~> 3.0.0' - -# Use unicorn as the web server -# gem 'unicorn' - -# Deploy with Capistrano -# gem 'capistrano' - -# To use debugger -# gem 'ruby-debug' - -gem 'rvm-capistrano', :group => :test - gem 'acts_as_api' gem 'passenger' -gem 'omniauth', '1.1.1' -gem 'omniauth-oauth2', '1.1.1' +# Locking to 5.10.3 to workaround issue in 5.11.1 (https://github.com/seattlerb/minitest/issues/730) +gem 'minitest', '5.10.3' gem 'andand' -gem 'test_after_commit', :group => :test - -gem 'trollop' -gem 'faye-websocket' +gem 'optimist' -gem 'themes_for_rails' +gem 'themes_for_rails', git: 'https://github.com/arvados/themes_for_rails' -gem 'arvados', '>= 0.1.20150615153458' -gem 'arvados-cli', '>= 0.1.20151207150126' +# Import arvados gem. +gem 'arvados', '~> 2.1.5' +gem 'httpclient' -# pg_power lets us use partial indexes in schema.rb in Rails 3 -gem 'pg_power' - -gem 'puma' gem 'sshkey' gem 'safe_yaml' gem 'lograge' gem 'logstash-event' + +gem 'rails-observers' + +gem 'rails-perftest' +gem 'rails-controller-testing' + +# arvados-google-api-client and googleauth depend on signet, but +# signet 0.12 is incompatible with ruby 2.3. +gem 'signet', '< 0.12' + +# Install any plugin gems +Dir.glob(File.join(File.dirname(__FILE__), 'lib', '**', "Gemfile")) do |f| + eval(IO.read(f), binding) +end