forked from elastic/apm-agent-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
46 lines (38 loc) · 797 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# frozen_string_literal: true
source 'https://rubygems.org'
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
gemspec
gem 'elasticsearch'
gem 'fakeredis', require: nil
gem 'json-schema'
gem 'mongo'
gem 'pry'
gem 'rack-test'
gem 'redis', require: nil
gem 'rspec'
gem 'rubocop'
gem 'sequel'
gem 'sidekiq'
gem 'timecop'
gem 'webmock'
gem 'yard'
gem 'yarjuf'
if RUBY_PLATFORM == 'java'
gem 'jdbc-sqlite3'
else
gem 'sqlite3'
end
framework, *version = ENV.fetch('FRAMEWORK', 'rails').split('-')
version = version.join('-')
case version
when 'master'
gem framework, github: "#{framework}/#{framework}"
when /.+/
gem framework, "~> #{version}.0"
else
gem framework
end
group :bench do
gem 'ruby-prof', platforms: %i[ruby]
gem 'stackprof', platforms: %i[ruby]
end