-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGemfile
30 lines (28 loc) · 801 Bytes
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
source 'https://rubygems.org'
gemspec
gem 'rake'
gem 'gig'
gem 'minitest', '~> 5.0'
gem 'minitest-around'
gem 'minitest-reporters'
gem 'simplecov'
gem 'simplecov-lcov'
gem 'sinatra', '~> 1.0'
gem 'rack', '~> 1.0'
gem 'rack-accept'
gem 'rack-test'
gem 'webrick'
gem 'api_hammer'
activerecord_version =
RUBY_ENGINE == 'truffleruby' ? '>= 6' : # TODO rm why is truffleruby using 5.x without this?
RUBY_ENGINE == 'jruby' ? '< 7.1' : # TODO rm. some incompatibility with activerecord-jdbc-adapter at 7.1
nil
gem('activerecord', *activerecord_version)
platform(:mri, :truffleruby) do
gem 'sqlite3', '~> 1.4' # loosen this in accordance with active_record/connection_adapters/sqlite3_adapter.rb
end
platform(:jruby) do
gem 'activerecord-jdbcsqlite3-adapter'
end
gem 'database_cleaner'
gem 'yard'