-
Notifications
You must be signed in to change notification settings - Fork 39
/
Gemfile
214 lines (207 loc) · 8.92 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
# frozen_string_literal: true
source 'https://rubygems.org'
gem 'rails', '~> 7.1.4'
gem 'dotenv', '~> 3.1', '>= 3.1.2'
gem 'rake', '~> 13.0.6'
gem 'rack-contrib', '~> 2.5.0'
gem 'rails-observers', '~> 0.1.5'
gem 'responders', '~> 3.1.0'
gem 'mysql2', '~> 0.5.5'
gem 'curb', '~> 1.0.1'
gem 'haml', '~> 6'
gem 'will_paginate', '~> 3.3.1'
gem 'nokogiri', '~> 1.16'
gem 'authlogic', '~> 6.4', '>= 6.4.3'
gem 'omniauth_login_dot_gov', git: 'https://github.com/18f/omniauth_login_dot_gov', ref: '6e117a9c68b19a1fbc70533613b74b0d8affd641'
gem 'rack', '~> 2.2'
# It's not clear that this gem is still required. I'm leaving it for the time being,
# but we may be able to remove it in the future:
# https://github.com/omniauth/omniauth/issues/1031
gem 'omniauth-rails_csrf_protection', '~> 1.0.1'
gem 'omniauth', '~> 2.1.0'
gem 'redis', '~> 4.8.1'
gem 'redis-namespace', '~> 1.11.0'
gem 'redis-rails', '~> 5.0.2'
gem 'resque', '~> 2.6.0'
gem 'resque-priority', git: 'https://github.com/GSA/resque-priority.git'
gem 'resque-job_timeout', '~> 0.0.3'
gem 'resque-lock', '~> 1.1'
gem 'resque-scheduler', '~> 4.10.2'
# Paperclip is deprecated: https://cm-jira.usa.gov/browse/SRCH-702
# Using a third-party fork as an interim measure.
gem 'kt-paperclip', '~> 7.1.0'
gem 'aws-sdk-s3', '~> 1.102.0'
gem 'googlecharts', '~> 1.6.12'
gem 'flickraw', '~> 0.9.9'
gem 'mutex_m', '~> 0.2.0'
gem 'bigdecimal', '~> 3.1', '>= 3.1.8'
gem 'csv', '~> 3.3'
gem 'active_scaffold', '~> 3.7', '>= 3.7.6'
# # SRCH-3837: We need this change: https://github.com/activescaffold/active_scaffold/pull/666
# # for ruby 3, but all current releases require Rails < 6.2 (though main is looser).
# gem 'active_scaffold', git: 'https://github.com/activescaffold/active_scaffold', branch: 'master'
# SRCH-3846: We need the change PRed from this branch for ruby 3, but the latest gem release
# has yet to accept the PR: https://github.com/activescaffold/active_scaffold_export/pull/5
gem 'active_scaffold_export', git: 'https://github.com/technorama/active_scaffold_export', branch: 'rails3'
gem 'active_storage_validations', '~> 1.0', '>= 1.0.4'
gem 'recaptcha', '~> 5.16'
gem 'newrelic_rpm', '~> 9.10'
gem 'american_date', '~> 1.1.1'
# sassc-rails is now the Rails default. Consider replacing:
# https://guides.rubyonrails.org/asset_pipeline.html
gem 'sass-rails', '~> 6.0'
# Gem no longer being maintained. See https://cm-jira.usa.gov/browse/SRCH-694
gem 'google_visualr',
git: 'https://github.com/winston/google_visualr',
ref: '17b97114a345baadd011e7b442b9a6c91a2b7ab5'
gem 'faraday_middleware', '~> 0.14.0'
gem 'net-http-persistent', '~> 2.9.3'
gem 'rash_alt', '~> 0.4.12', require: 'rash'
gem 'geoip', '~> 1.6.4'
gem 'htmlentities', '~> 4.3.4' # deprecated - only used in Google web search
gem 'html_truncator', '~> 0.4.2'
gem 'addressable', '~> 2.8.0'
gem 'select2-rails', '~> 4.0.3'
gem 'turbolinks', '~> 5.2.1'
gem 'will_paginate-bootstrap', '~> 1.0.1'
gem 'virtus', '~> 1.0.5'
gem 'truncator', '~> 0.1.7'
gem 'validate_url', '= 0.2.0' # Newer versions use Addressable::URI for validation, which is more permissive than what we want
# The elasticsearch gems will be limited to 7.4 until we can remove or upgrade the
# omniauth_login_dot_gov gem, due to its dependency on faraday < 1:
# https://github.com/18F/omniauth_login_dot_gov/blob/main/omniauth_login_dot_gov.gemspec#L28
# We are temporarily using a custom branch in order to access the deprecation logging
# functionality that is available in the official 7.16 release.
gem 'elasticsearch', git: 'https://github.com/GSA/elasticsearch-ruby', branch: '7.4'
gem 'elasticsearch-xpack', '~> 7.4.0'
gem 'federal_register', '~> 0.6.3'
gem 'redcarpet', '~> 3.6'
gem 'google-api-client', '~> 0.53.0'
gem 'iso8601', '~> 0.10.1'
gem 'jbuilder', '~> 2.11.5'
gem 'typhoeus', '~> 1.3.0'
gem 'activerecord-validate_unique_child_attribute', require: 'active_record/validate_unique_child_attribute'
gem 'rack-cors', '~> 1.1.0', require: 'rack/cors'
gem 'hashie', '~> 5.0.0'
# retry_block is unsupported - consider replacing with retriable
gem 'retry_block', '~> 1.2.0'
gem 'colorize', '~> 0.8.1'
gem 'dogstatsd-ruby', '~> 3.2.0'
gem 'http', '~> 5.0'
gem 'robots_tag_parser', '~> 0.1.0'
gem 'loofah', '~> 2.19'
# Locking ref, as later versions (after being renamed & released as "medusa-crawler")
# include breaking changes
gem 'medusa', git: 'https://github.com/brutuscat/medusa-crawler', ref: '82299f2700ac56b4af2b14d707f35d6af466ad8e'
# Robotex is required by Medusa. Specifying fork until https://github.com/chriskite/robotex/issues/4
# is resolved
gem 'robotex', git: 'https://github.com/GSA/robotex'
gem 'saxerator', '~> 0.9.9'
gem 'counter_culture', '~> 2.9.0'
# after_commit_action needed to enable counter_culture's execute_after_commit option.
gem 'after_commit_action', '~> 1.1'
gem 'aasm', '~> 5.5'
gem 'active_scheduler', '~> 0.7.0'
gem 'retriable', '~> 3.1'
gem 'cld3', '~> 3.6.0'
gem 'activejob-uniqueness', '~> 0.2'
# Temporarily locking the version to resolve SRCH-3788.
# The fix for the bug in SRCH-3788 is NOT covered by automated specs.
# A spec will be added (if possible) per SRCH-3790
gem 'selenium-webdriver', '4.8.1'
gem 'webdrivers', '~> 5.0'
gem 'exception_notification', '~> 4.5'
gem 'dogapi', '~> 1.45'
# Temporary fix to remove warnings seen in Rails 7:
# https://github.com/ruby/net-protocol/issues/10
# This gem can be removed once we upgrade to Ruby 3.1.
gem 'net-http'
# Assets-related gems
gem 'coffee-rails', '~> 5.0.0'
gem 'uglifier', '~> 4.2.0'
gem 'compass-blueprint', '~> 1.0.0'
gem 'jquery-ui-rails', '~> 7.0.0'
gem 'jquery-rails', '~> 4.4.0'
gem 'twitter-typeahead-rails', '~> 0.11.1'
# Why do we have two versions of Font Awesome?
# One is for general use around the app, in places where
# web fonts are expected to work...
gem 'font-awesome-rails', '~> 4.7.0'
# ... and one is for the admin area only, where web fonts
# may be blocked due to government security policy. For
# this area we use a restricted subset of Font Awesome 4.3.x
# icons compiled into SVG/CSS+PNG using Grunticon. See
# https://github.com/gsa/font-awesome-grunticon-rails
# for instructions on how to add more icons to this set
gem 'sidekiq', '~> 7.1.3'
gem 'sidekiq-failures', '~> 1.0.0'
gem 'font-awesome-grunticon-rails', git: 'https://github.com/gsa/font-awesome-grunticon-rails', ref: '8ad9734a65f7e2d2de934bebe4ee7b460734f96e'
gem 'react-rails', '~> 3.0.0'
# Locking to prevent a version mismatch between the gem and the NPM package version
# See https://github.com/shakacode/shakapacker#upgrading
gem 'shakapacker', '~> 6.5.4'
gem 'cssbundling-rails', '~> 1.2' # Management of css (Less) files conversion
# Temporarily locking the 'mail' version until the next version of Rails is released
# https://github.com/rails/rails/pull/46650
gem 'mail', '~> 2.7.1'
gem 'feedjira', '~> 3.2'
gem 'bootsnap', require: false
gem 'rails_semantic_logger', '~> 4.14'
gem 'whenever', '~> 1.0', require: false
gem 'puma', '~> 5.6'
# Dummy Generator
gem 'faker', '~> 1.8'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
group :development do
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
# gem 'spring', '~> 3.1'
# Bumping searchgov_style? Be sure to update rubocop, if possible,
# and the Rubocop channel in .codeclimate.yml to match the updated rubocop version
gem 'searchgov_style', '~> 0.1', require: false
gem 'rubocop', '1.48.1', require: false
# Use console on exceptions pages [https://github.com/rails/web-console]
# gem 'web-console'
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
# gem "rack-mini-profiler"
# Deployment
gem 'capistrano', require: false
gem 'capistrano-rails', require: false
gem 'capistrano-rbenv', require: false
gem 'capistrano-resque', require: false
gem 'capistrano3-puma', require: false
end
group :development, :test do
gem 'rspec-rails', '~> 6.1', '>= 6.1.5'
gem 'rspec-its', '~> 1.3'
gem 'email_spec', '~> 2.2'
gem 'database_cleaner', '~> 2.0'
gem 'capybara', '~> 3.40'
gem 'launchy', '~> 2.5'
gem 'i18n-tasks', '~> 0.9.19'
gem 'pry-byebug', '~> 3.5'
gem 'pry-rails', '~> 0.3.6'
# For improved console readability:
# https://github.com/amazing-print/amazing_print
gem 'amazing_print', '~> 1.4'
gem 'debug'
end
group :test do
gem 'axe-core-capybara'
gem 'axe-core-cucumber'
gem 'capybara-screenshot'
gem 'cucumber-rails', '~> 2.4', require: false
gem 'cucumber', '~> 7.1', require: false
gem 'rails-controller-testing', '~> 1.0'
# resque-spec hasn't been supported since 2018. Consider replacing with equivalent
# functionality from rspec-rails: https://relishapp.com/rspec/rspec-rails/v/5-0/docs/job-specs/job-spec
gem 'resque_spec', '~> 0.18.0'
gem 'rspec_junit_formatter', '~> 0.4'
gem 'rspec-activemodel-mocks', '~> 1.1'
gem 'shoulda-kept-assign-to', '~> 1.1'
gem 'shoulda-matchers', '~> 5.0'
gem 'simplecov', '~> 0.17.0', require: false
gem 'vcr', '~> 6.2'
gem 'webmock', '~> 3.23', '>= 3.23.1'
end