-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathGemfile
327 lines (243 loc) · 9.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
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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
source 'https://rubygems.org'
gem 'rails', '~>5.0'
gem 'activerecord-session_store'
### BLACKLIGHT (begin) ###
gem 'blacklight', '~>6.0'
# gem 'blacklight', path: '/Users/marquis/src/blacklight'
gem 'blacklight-marc'
# local testing...
# gem 'blacklight_range_limit', path: '/Users/marquis/src/blacklight_range_limit'
gem 'blacklight_range_limit'
### BLACKLIGHT (end) ###
gem 'rsolr', '>= 1.0'
# gem 'rsolr', path: "/Users/marquis/src/rsolr"
# # Enable HTTP connection re-use within RSolr (Faraday)
# gem 'net-http-persistent'
# basic library to parse, create and manage MARC records
gem 'marc'
# MARC indexing in pure ruby
gem 'traject'
# # Try U.Mich's more detailed format classifier
# gem 'traject_umich_format'
# Only used for Google Maps location pages
gem 'rest-client'
gem 'gmaps4rails'
# pagination
gem 'kaminari'
# Authentication
# gem 'devise', '~> 4.4.0'
gem 'devise'
# gem 'cul_omniauth'
# gem 'cul_omniauth', git: 'https://github.com/cul/cul_omniauth', branch: 'rails-5'
gem 'cul_omniauth', git: 'https://github.com/cul/cul_omniauth', branch: 'cas-5.3'
# Client-side JS timeouts
gem 'auto-session-timeout'
# Authorization
# gem 'cancan'
gem 'cancancan'
gem 'json'
# # Rails 5 requirement
# gem 'listen'
# Only in server environments - not localhost desktop
group :clio_dev, :clio_test, :clio_prod, :clio_batch_dev, :clio_batch_test, :clio_batch_prod do
gem 'mysql2'
end
# Some things we want to see in development and in-action on
# the LERP servers, but not in production.
group :development, :clio_dev do
# "MiniProfiler allows you to see the speed of a request on the page"
# http://railscasts.com/episodes/368-miniprofiler
# Disable while we straighten out the Bootstrap 3 style issues.
# gem 'rack-mini-profiler'
end
# No - rely on server environment
# # include JS runtime via bundler - server environment is unreliable
# gem 'therubyracer'
gem 'httpclient'
# pin to 1.10.x, newer versions require glibc 2.14, which our CentOS 6 servers don't have
# gem 'nokogiri', '~>1.10.0'
gem 'nokogiri'
# "I had to lock the Loofah gem. It appears they released a version requiring a newer version of Nokogiri, but didn’t update the dependency requirement."
# https://www.ruby-forum.com/t/i-am-using-ruby-version-2-3-8-and-rails-version-5-2-6-to-develop-my-application-since-yesterday-i-am-getting-the-error-i-tried-to-find-the-occurrence-of-this-nokogiri-html4-in-my-application-but-i-didnt-find-any-of-the-occurrence-like-this/263852/4
gem 'loofah', '~>2.19.1'
# HTML replacement language
gem 'haml'
# CSS replacement language
gem 'sass'
# nope, not ready for this
# # use Redis for our cache store
# gem 'redis-rails'
# fork local branch, to add network timeouts
# gem 'summon'
gem 'summon', git: 'https://github.com/cul/summon.git'
# Point to local copy during development...
# gem 'summon', :path => "/Users/marquis/src/summon"
# Turn off - no longer useful
# # used to email exceptions to developers
# gem 'exception_notification'
# Lookup Columbia user details
gem 'net-ldap'
# Fetch feed files from ReCAP
gem 'net-sftp'
# Fetch files from other CUL hosts
gem 'net-scp'
# Talk to SCSB REST API
# pin faraday (LIBSYS-2941)
# gem 'faraday', '1.0.0'
# Updated to 1.4 on July 1, revered to 1.0 on August 18th, 2021
# gem 'faraday'
# 11/21/2022 - try to unpin, Faraday is well past 1.x.x
gem 'faraday'
# For, e.g., Google Custom Search API
# Our code seems to break beyond 0.36?
# gem 'google-api-client', '0.36'
gem 'google-api-client'
# 10/15 - not giving us insight beyond our debug_timestamp info
# # 3/15, comment out for now to simplify output,
# # we can turn it back on when we want it again.
# # 9/15 - let's try to improve things a bit more
# # application monitoring tool
# gem 'newrelic_rpm'
# "Rack middleware which cleans up invalid UTF8 characters"
gem 'rack-utf8_sanitizer'
# gives us jQuery and jQuery-ujs, but not jQuery UI
# (blacklight_range_limit brings this in anyway - no way to switch to CDN)
gem 'jquery-rails'
# JQuery UI gives extra functionality, including draggable
gem 'jquery-ui-rails'
# Assets processing
# gem 'sass-rails'
# sass-rails 6.x uses sassc, which won't build on our CentOS 6 VMs
gem 'sass-rails', '~> 5.0'
gem 'coffee-rails'
gem 'uglifier'
# pin to 3.3, because 3.4 requires sassc, which won't build on our CenTOS 6 VMs
# gem 'bootstrap-sass', '~> 3.3.0'
gem 'bootstrap-sass', '~> 3.0'
# Best Bets CRUD externalized
# # JSON APIs, for Best Bets, etc.
# gem 'jbuilder'
# Typeahead - for Best Bets, etc.
gem 'twitter-typeahead-rails'
# # Cross-Origin Resource Sharing for Best Bets JSON
# gem 'rack-cors', require: 'rack/cors'
# To build slugs for saved-list URLs
gem 'stringex'
# Never used, not needed
# # Allow recovery for deleted Saved Lists
# gem 'paper_trail'
# I seriously have to do this?
gem 'rack'
# https://github.com/kickstarter/rack-attack
# A DSL for blocking & throttling abusive clients
gem 'rack-attack'
# Too much spam using our record emailer
gem 'recaptcha', require: 'recaptcha/rails'
# works with Traject to extract id numbers from MARC
gem 'library_stdnums'
# normalize call-numbers for sorting - soggy starr, xlsx download
gem 'lcsort'
# keep cron scheduling within application
gem 'whenever', require: false
# DataTables, for pretty log screens
gem 'jquery-datatables-rails'
# Browser Detection - used to exclude IE from ES6
gem 'browser'
# appears fixed, as of 2/19/2019
# # UNIX-5942 - work around spotty CUIT DNS
# gem 'resolv-hosts-dynamic'
# # Code profiling, and we want to do this on the servers
# # "This gem is MRI-specific. It does not support jruby"
# gem 'ruby-prof', platforms: :mri
# Streaming download of XLSX
gem 'xlsxtream'
# For FOIA downloads from AWS S3 bucket
gem 'aws-sdk-s3', '~> 1'
# 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
# Upgrade to Capistrano 3.x
# http://capistranorb.com/documentation/upgrading/
gem 'capistrano', require: false
# Rails and Bundler integrations were moved out from Capistrano 3
gem 'capistrano-rails', require: false
gem 'capistrano-bundler', require: false
# "idiomatic support for your preferred ruby version manager"
gem 'capistrano-rvm', require: false
# The `deploy:restart` hook for passenger applications is now in a separate gem
# Just add it to your Gemfile and require it in your Capfile.
gem 'capistrano-passenger', require: false
# Capistrano now needs these two on newer desktops???
gem 'ed25519'
gem 'bcrypt_pbkdf'
# browser-based live debugger and REPL
# HAML REPL breaks in 2.7.0/2.7.1 ???
# gem 'better_errors', '~> 2.6.0'
# maybe fixed now...
gem 'better_errors'
gem 'binding_of_caller'
# For code-level debugging in console
gem 'byebug'
# "A fist full of code metrics"
# gem 'metric_fu'
# Profiling experiments
# https://www.coffeepowered.net/2013/08/02/ruby-prof-for-rails/
# gem 'request_profiler', :git => "git://github.com/justinweiss/request_profiler.git"
end
group :test, :development do
gem 'thin'
# Only use this on localhost, mysql in server envirohnments
gem 'sqlite3'
# pin to 1.3.x - Rails 5.2.2 can't talk to sqlite3 1.4, when Rails moves up, remove constraint
# gem "sqlite3", "~> 1.3.6"
# Rspec for testing
gem 'rspec-rails'
gem 'rspec-activemodel-mocks'
end
group :test do
gem 'factory_bot_rails'
# Copy Stanford's approach to Solr relevancy testing
gem 'rspec-solr'
# REMOVE capybara for now - we want to move to Selenium
#
# # pin to 2.x to avoid having to install/use puma
gem 'capybara', '~>2.0'
#
# # Which Capybara driver for JS support?
gem 'capybara-webkit'
# Used for some Javascript testing that fails w/WebKit
# but... we don't care much about those bits actually.
# # dependent on localhost's browser configs
# gem 'selenium-webdriver'
# "A helper for launching cross-platform applications
# in a fire and forget manner."
# Required to enable capybara's save_and_open_page() method
gem 'launchy'
# # reset database tables between test runs
# gem 'database_cleaner'
# Not doing anything with profiling just now, but when we get back to it,
# reread: https://www.coffeepowered.net/2013/08/02/ruby-prof-for-rails/
# gem 'ruby-prof'
# # code coverage
# gem 'simplecov'
# CI servers want XML output from rspecs
# gem 'ci_reporter'
# Travis needs this.
# http://docs.travis-ci.com/user/languages/ruby/
gem 'rake'
# # Travis can use this to send coverage data over to Code Climate
# # http://docs.travis-ci.com/user/code-climate/
# # https://codeclimate.com/repos/556c823fe30ba007ad0069ee/coverage_setup
# gem "codeclimate-test-reporter", require: nil
# # Coveralls for Code Coverage
# # https://coveralls.zendesk.com/hc/en-us/articles/201769485-Ruby-Rails
# gem 'coveralls', require: false
# We stopped using this a while ago
# # # Record API responses, use saved responses for tests
# # gem 'vcr'
# # gem 'webmock'
# assert_template has been extracted to a gem. To continue using it,
# add `gem 'rails-controller-testing'` to your Gemfile.
gem 'rails-controller-testing'
end