-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathGemfile
More file actions
44 lines (40 loc) · 801 Bytes
/
Gemfile
File metadata and controls
44 lines (40 loc) · 801 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# frozen_string_literal: true
source 'http://rubygems.org'
gemspec
case version = ENV['MONGOID_VERSION'] || '9.0'
when /^9/
gem 'bigdecimal'
gem 'mongoid', '~> 9.0'
when /^8/
gem 'bigdecimal'
gem 'mongoid', '~> 8.0'
when /^7/
gem 'bigdecimal'
gem 'mongoid', '~> 7.0'
when /^6/
gem 'bigdecimal'
gem 'mongoid', '~> 6.0'
when /^5/
gem 'bigdecimal', '< 2'
gem 'mongoid', '~> 5.0'
when /^4/
gem 'bigdecimal', '< 2'
gem 'mongoid', '~> 4.0'
when /^3/
gem 'bigdecimal', '< 2'
gem 'mongoid', '~> 3.1'
else
gem 'bigdecimal'
gem 'mongoid', version
end
group :development, :test do
gem 'bundler'
gem 'danger'
gem 'danger-changelog'
gem 'danger-pr-comment'
gem 'rake'
gem 'rspec', '~> 3.0'
gem 'rubocop', '~> 1.84.1'
gem 'rubocop-rake'
gem 'rubocop-rspec'
end