forked from honeybadger-io/honeybadger-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Appraisals
98 lines (83 loc) · 2.41 KB
/
Appraisals
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
appraise 'standalone' do
end
if RUBY_PLATFORM !~ /java/
appraise 'binding_of_caller' do
gem 'binding_of_caller'
end
end
appraise 'rack-1' do
# Old (pre-2.0) Rack, works on all Rubies.
gem 'rack', '< 2.0'
end
appraise 'sinatra-1' do
gem 'sinatra', '< 2.0'
gem 'rack-test'
end
appraise 'delayed_job' do
gem 'delayed_job', '< 4.1.2' # See https://github.com/collectiveidea/delayed_job/pull/931
end
appraise 'resque' do
gem 'resque'
gem 'mock_redis'
end
appraise 'rails3.2' do
gem 'rails', '~> 3.2.12'
gem 'better_errors', require: false, platforms: [:ruby_20, :ruby_21]
gem 'rack-mini-profiler', require: false
gem 'capistrano', '~> 2.0'
gem 'rspec-rails'
gem 'test-unit', '~> 3.0'
end
appraise 'rails4.0' do
gem 'rails', '~> 4.0.0'
gem 'better_errors', require: false, platforms: [:ruby_20, :ruby_21]
gem 'rack-mini-profiler', require: false
gem 'rspec-rails'
end
appraise 'rails4.1' do
gem 'rails', '~> 4.1.4'
gem 'better_errors', require: false, platforms: [:ruby_20, :ruby_21]
gem 'rack-mini-profiler', require: false
gem 'rspec-rails'
end
appraise 'rails4.2' do
gem 'rails', '~> 4.2.4'
gem 'better_errors', require: false, platforms: [:ruby_20, :ruby_21]
gem 'rack-mini-profiler', require: false
gem 'rspec-rails'
end
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.2.2')
appraise 'rails5.0' do
gem 'rails', '~> 5.0.0'
gem 'better_errors', require: false, platforms: [:ruby_20, :ruby_21]
gem 'rack-mini-profiler', require: false
gem 'rspec-rails'
end
# The latest officially supported Rails/Rack release
appraise 'rails5.1' do
gem 'rails', '~> 5.1.0'
gem 'better_errors', require: false, platforms: [:ruby_20, :ruby_21]
gem 'rack-mini-profiler', require: false
gem 'rspec-rails'
end
# Rails edge
appraise 'rails' do
gem 'rails', github: 'rails/rails'
gem 'rack', github: 'rack/rack'
gem 'arel', github: 'rails/arel'
gem 'capistrano', '~> 3.0'
gem 'better_errors', require: false, platforms: [:ruby_20, :ruby_21]
gem 'rspec-rails'
# Listen is a soft-dependency in Rails 5. Guard requires listen (which makes
# it present when generating a new Rails app), so Rails expects it to be
# there. See https://github.com/rails/rails/pull/24066
gem 'listen'
end
appraise 'rack' do
gem 'rack', '>= 2.0.0'
end
appraise 'sinatra' do
gem 'sinatra', '~> 2.0.0.beta1'
gem 'rack-test'
end
end