forked from fatfreecrm/fat_free_crm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
106 lines (93 loc) · 2.7 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# frozen_string_literal: true
source 'https://rubygems.org'
# Uncomment the database that you have configured in config/database.yml
# ----------------------------------------------------------------------
case ENV['CI'] && ENV['DB']
when 'sqlite'
gem 'sqlite3', '~> 1.4.0'
when 'mysql'
gem 'mysql2'
when 'postgres'
gem 'pg'
else
gem 'pg'
end
# Removes a gem dependency
def remove(name)
@dependencies.reject! { |d| d.name == name }
end
# Replaces an existing gem dependency (e.g. from gemspec) with an alternate source.
def gem(name, *args)
remove(name)
super
end
# Bundler no longer treats runtime dependencies as base dependencies.
# The following code restores this behaviour.
# (See https://github.com/carlhuda/bundler/issues/1041)
spec = Bundler.load_gemspec(File.expand_path('fat_free_crm.gemspec', __dir__))
spec.runtime_dependencies.each do |dep|
gem dep.name, *dep.requirement.as_list
end
# Remove premailer auto-require
gem 'premailer', require: false
# Remove fat_free_crm dependency, to stop it from being auto-required too early.
remove 'fat_free_crm'
group :development do
# don't load these gems in travis
unless ENV["CI"]
gem 'capistrano'
gem 'capistrano-bundler'
gem 'capistrano-rails'
gem 'capistrano-rvm'
gem 'guard'
gem 'guard-rspec'
gem 'guard-rails'
gem 'rb-inotify', require: false
gem 'rb-fsevent', require: false
gem 'rb-fchange', require: false
gem 'brakeman', require: false
end
end
group :development, :test do
gem 'rails-controller-testing'
gem 'rspec-rails'
gem 'rspec-activemodel-mocks'
gem 'headless'
gem 'byebug'
gem 'pry-rails' unless ENV["CI"]
gem 'factory_bot_rails', '~> 6.0'
gem 'rubocop'
gem 'rainbow'
gem 'puma' # used by capybara 3
end
group :test do
gem 'capybara'
gem 'selenium-webdriver'
gem 'webdrivers'
gem 'database_cleaner'
gem 'zeus', platform: :ruby unless ENV["CI"]
gem 'timecop'
gem 'sqlite3', '~> 1.4.0'
end
group :heroku do
gem 'rails_12factor'
gem 'puma'
end
gem 'responds_to_parent', git: 'https://github.com/CloCkWeRX/responds_to_parent.git', branch: 'patch-2' # Temporarily pointed at git until https://github.com/zendesk/responds_to_parent/pull/7 is released
gem 'acts_as_commentable', git: 'https://github.com/fatfreecrm/acts_as_commentable.git', branch: 'rails-61' # Our fork
gem 'sassc-rails'
gem 'coffee-rails'
gem 'uglifier'
gem 'execjs'
# gem 'therubyracer', platform: :ruby unless ENV["CI"]
gem 'mini_racer'
gem 'nokogiri', '>= 1.8.1'
gem 'activemodel-serializers-xml'
gem 'bootsnap', require: false
gem 'devise', '~>4.6'
gem 'devise-i18n'
gem "devise-encryptable"
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
gem 'activejob'
gem 'ransack_ui'
gem 'bootstrap', '5.0.0'