Merge branch '21448-menu-reorder'
[arvados.git] / services / api / Gemfile
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 source 'https://rubygems.org'
6
7 gem 'rails', '~> 7.0.0'
8 gem 'responders'
9 gem 'i18n'
10 gem 'sprockets-rails'
11
12 group :test, :development do
13   gem 'factory_bot_rails'
14   gem 'ruby-prof'
15   # Note: "require: false" here tells bunder not to automatically
16   # 'require' the packages during application startup. Installation is
17   # still mandatory.
18   gem 'test-unit', require: false
19   gem 'simplecov', require: false
20   gem 'simplecov-rcov', require: false
21   gem 'mocha', require: false
22   gem 'byebug'
23   gem 'listen'
24 end
25
26 gem 'pg', '~> 1.0'
27
28 gem 'multi_json'
29 gem 'oj'
30
31 gem 'jquery-rails'
32
33 gem 'acts_as_api'
34
35 gem 'passenger'
36
37 # Locking to 5.10.3 to workaround issue in 5.11.1 (https://github.com/seattlerb/minitest/issues/730)
38 gem 'minitest', '5.10.3'
39
40 gem 'andand'
41
42 gem 'optimist'
43
44 gem 'themes_for_rails', git: 'https://github.com/arvados/themes_for_rails'
45
46 gem 'arvados', '~> 2.7.0.rc1'
47 gem 'httpclient'
48
49 gem 'lograge'
50 gem 'logstash-event'
51
52 gem 'rails-observers'
53
54 gem 'rails-perftest'
55 gem 'rails-controller-testing'
56
57 gem 'webrick'
58
59 gem 'mini_portile2', '~> 2.8', '>= 2.8.1'
60
61 # If we're running on Ruby 2.x, we'll go down the `else` branch below.
62 plugin 'bundler-override' if RUBY_VERSION >= "3.0"
63 if bundler_override_paths = Bundler::Plugin.index.load_paths("bundler-override")
64   require File.join(bundler_override_paths[0], "bundler-override")
65   # Ruby 3.4 drops base64 as a default gem. Because of this, various other gems
66   # are starting to declare base64 as a dependency. However, locking one
67   # specific version of base64 makes it more difficult to support older Rubies
68   # that still have it as a default. See <https://dev.arvados.org/issues/21583>.
69   # Because we are focused on supporting distros with those older Rubies, we
70   # drop base64 dependencies here. These overrides can go away once we shift to
71   # supporting Ruby 3.4+.
72   override 'faraday', drop: ['base64']
73 else
74   # The plugin is not available, either because Ruby is too old or Bundler
75   # is installing it this run. That's fine as long as Bundler isn't updating
76   # Gemfile.lock. Unfortunately we can't know that for sure here, because
77   # bundler needs to read Gemfile in order to figure out whether it's going
78   # to update Gemfile.lock. Flagging the situation for the user is the best
79   # we can do.
80   Bundler.ui.warn("bundler-override plugin not available - do NOT commit any changes to Gemfile.lock")
81 end
82
83 # Install any plugin gems
84 Dir.glob(File.join(File.dirname(__FILE__), 'lib', '**', "Gemfile")) do |f|
85     eval(IO.read(f), binding)
86 end