forked from theforeman/smart_proxy_dynflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
44 lines (36 loc) · 981 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
source 'https://rubygems.org'
gemspec :name => 'smart_proxy_dynflow_core'
group :development do
gem 'pry'
end
group :test do
gem 'smart_proxy_dynflow', :path => '.'
gem 'smart_proxy', :git => "https://github.com/theforeman/smart-proxy", :branch => "develop"
if RUBY_VERSION < '2.1'
gem 'public_suffix', '< 3'
gem 'rubocop', '< 0.51.0'
gem 'rainbow', '< 3'
else
gem 'rubocop', '~> 0.52.1'
gem 'public_suffix'
end
if RUBY_VERSION < '2.2'
gem 'rack-test', '< 0.8'
else
gem 'rack-test'
end
end
if RUBY_VERSION < '2.2'
gem 'sinatra', '< 2'
gem 'rack', '>= 1.1', '< 2.0.0'
else
gem 'sinatra'
gem 'rack', '>= 1.1'
end
# load bundler.d
Dir["#{File.dirname(__FILE__)}/bundler.d/*.rb"].each do |bundle|
self.instance_eval(Bundler.read_file(bundle))
end
# load local gemfile
local_gemfile = File.join(File.dirname(__FILE__), 'Gemfile.local.rb')
self.instance_eval(Bundler.read_file(local_gemfile)) if File.exist?(local_gemfile)