-
Notifications
You must be signed in to change notification settings - Fork 471
/
Gemfile
43 lines (34 loc) · 1 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
# frozen_string_literal: true
source 'http://rubygems.org'
gemspec
gem 'grape', case version = ENV.fetch('GRAPE_VERSION', '< 3.0')
when 'HEAD'
{ git: 'https://github.com/ruby-grape/grape' }
else
version
end
gem ENV.fetch('MODEL_PARSER', nil) if ENV.key?('MODEL_PARSER')
group :development, :test do
gem 'bundler'
gem 'grape-entity'
gem 'pry', platforms: [:mri]
gem 'pry-byebug', platforms: [:mri]
grape_version = ENV.fetch('GRAPE_VERSION', '2.2.0')
if grape_version == 'HEAD' || Gem::Version.new(grape_version) >= Gem::Version.new('2.0.0')
gem 'rack', '>= 3.0'
else
gem 'rack', '< 3.0'
end
gem 'rack-cors'
gem 'rack-test'
gem 'rake'
gem 'rdoc'
gem 'rspec', '~> 3.9'
gem 'rubocop', '~> 1.50', require: false
unless ENV['MODEL_PARSER'] == 'grape-swagger-entity'
gem 'grape-swagger-entity', git: 'https://github.com/ruby-grape/grape-swagger-entity'
end
end
group :test do
gem 'simplecov', require: false
end