X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a12864a31d5569c74ed32157d5fe928a1c2563b7..a048d6957ff6284c4234198ed9b868bff07d057f:/services/api/Gemfile diff --git a/services/api/Gemfile b/services/api/Gemfile index 39f217f100..25e441bfca 100644 --- a/services/api/Gemfile +++ b/services/api/Gemfile @@ -1,12 +1,15 @@ -source 'https://rubygems.org' +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 -gem 'rails', '~> 3.2' +source 'https://rubygems.org' -# Bundle edge Rails instead: -# gem 'rails', :git => 'git://github.com/rails/rails.git' +gem 'rails', '~> 4.2' +gem 'responders', '~> 2.0' +gem 'protected_attributes' group :test, :development do - gem 'factory_girl_rails' + gem 'factory_bot_rails' gem 'database_cleaner' gem 'ruby-prof' # Note: "require: false" here tells bunder not to automatically @@ -18,48 +21,37 @@ group :test, :development do gem 'mocha', require: false end +# We need this dependency because of crunchv1 +gem 'arvados-cli' + +# We'll need to update related code prior to Rails 5. +# See: https://github.com/rails/activerecord-deprecated_finders +gem 'activerecord-deprecated_finders', require: 'active_record/deprecated_finders' + # pg is the only supported database driver. -gem 'pg' +# Note: Rails 4.2 is not compatible with pg 1.0 +# (See: https://github.com/rails/rails/pull/31671) +gem 'pg', '~> 0.18' -# 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' - gem 'coffee-rails', '~> 3.2' - - # See https://github.com/sstephenson/execjs#readme for more supported runtimes - gem 'therubyracer' - - gem 'uglifier', '~> 2.0' -end +# for building assets +gem 'sass-rails', '~> 4.0' +gem 'coffee-rails', '~> 4.0' +gem 'therubyracer' +gem 'uglifier', '~> 2.0' 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' +# Restricted because omniauth >= 1.5.0 requires Ruby >= 2.1.9: +gem 'omniauth', '~> 1.4.0' gem 'omniauth-oauth2', '~> 1.1' gem 'andand' @@ -69,21 +61,19 @@ gem 'test_after_commit', :group => :test gem 'trollop' gem 'faye-websocket' -gem 'themes_for_rails' - -gem 'arvados', '>= 0.1.20150615153458' -gem 'arvados-cli', '>= 0.1.20161017193526' +gem 'themes_for_rails', git: 'https://github.com/curoverse/themes_for_rails' -# pg_power lets us use partial indexes in schema.rb in Rails 3 -gem 'pg_power' +gem 'arvados', '>= 1.3.1.20190301212059' +gem 'httpclient' -gem 'puma', '~> 2.0' gem 'sshkey' gem 'safe_yaml' gem 'lograge' gem 'logstash-event' +gem 'rails-observers' + # Install any plugin gems -Dir.glob(File.join(File.dirname(__FILE__), 'lib', '**', "Gemfile")) do |gemfile| - eval(IO.read(gemfile), binding) +Dir.glob(File.join(File.dirname(__FILE__), 'lib', '**', "Gemfile")) do |f| + eval(IO.read(f), binding) end