forked from activeadmin/activeadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
76 lines (62 loc) · 3.04 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
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
source 'https://rubygems.org'
gemspec
require File.expand_path 'spec/support/detect_rails_version', File.dirname(__FILE__)
rails_version = detect_rails_version
gem 'rails', rails_version
gem 'jquery-ui-rails', rails_version[0] == '3' ? '~> 4.0' : '~> 5.0'
gem 'test-unit', '~> 3.0' if rails_version[0] == '3'
if rails_version == '> 5.x'
# Note: when updating this list, be sure to also update the README
gem 'ransack', github: 'activerecord-hackery/ransack'
gem 'kaminari', github: 'amatsuda/kaminari', branch: '0-17-stable'
gem 'draper', github: 'audionerd/draper', branch: 'rails5', ref: 'e816e0e587'
gem 'formtastic', github: 'justinfrench/formtastic'
gem 'activemodel-serializers-xml', github: 'rails/activemodel-serializers-xml' # drapergem/draper#697
gem 'rack-mini-profiler', github: 'MiniProfiler/rack-mini-profiler'
gem 'database_cleaner', github: 'DatabaseCleaner/database_cleaner'
gem 'activerecord-jdbc-adapter', github: 'jruby/activerecord-jdbc-adapter', platforms: :jruby
end
gem 'mime-types', '< 3' # Remove this line when we drop support for Ruby 1.9
# Optional dependencies
gem 'cancan'
gem 'devise', rails_version == '> 5.x' ? '> 4.x' : '~> 3.5'
gem 'draper' if rails_version != '> 5.x'
gem 'pundit'
# Utility gems used in both development & test environments
gem 'rake', require: false
gem 'parallel_tests'
# Debugging
gem 'pry' # Easily debug from your console with `binding.pry`
group :development do
# Debugging
gem 'better_errors' # Web UI to debug exceptions. Go to /__better_errors to access the latest one
gem 'binding_of_caller', platforms: :mri # Retrieve the binding of a method's caller in MRI Ruby >= 1.9.2
# Performance
gem 'rack-mini-profiler' if rails_version != '> 5.x' # Inline app profiler. See ?pp=help for options.
gem 'flamegraph', platforms: :mri # Flamegraph visualiztion: ?pp=flamegraph
# Documentation
gem 'yard' # Documentation generator
gem 'redcarpet', platforms: :mri # Markdown implementation (for yard)
gem 'kramdown', platforms: :jruby # Markdown implementation (for yard)
end
group :test do
gem 'capybara'
gem 'simplecov', require: false # Test coverage generator. Go to /coverage/ after running tests
gem 'coveralls', require: false # Test coverage website. Go to https://coveralls.io
gem 'cucumber-rails', require: false
gem 'cucumber', '1.3.20'
gem 'database_cleaner' if rails_version != '> 5.x'
gem 'guard-rspec', require: false
gem 'listen', '~> 2.7', platforms: :ruby_19
gem 'jasmine'
gem 'phantomjs', '1.9.8.0' # Same version as Travis CI's pre-installed version
gem 'jslint_on_rails'
gem 'launchy'
gem 'rails-i18n' # Provides default i18n for many languages
gem 'rspec-rails', '>= 3.5.0.beta1'
gem 'i18n-spec'
gem 'shoulda-matchers', '<= 2.8.0'
gem 'sqlite3', platforms: :mri
gem 'activerecord-jdbcsqlite3-adapter', platforms: :jruby if rails_version != '> 5.x'
gem 'poltergeist'
end