-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGemfile
264 lines (192 loc) · 8.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
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "3.3.6"
gem "rake"
gem "blueprinter"
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem "rails", "~> 7.2"
# Use postgresql as the database for Active Record
gem "pg", "~> 1.1"
# Use Puma as the app server
gem "puma", "~> 5.0"
# Use SCSS for stylesheets
# gem "sass-rails", ">= 6"
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem "jbuilder", "~> 2.7"
# Use Redis adapter to run Action Cable in production
gem "redis", "~> 4.0", require: ["redis", "redis/connection/hiredis"]
gem "hiredis" # a more effective comms
# Use PgSearch for Postgres multi-table search
gem "pg_search", "~> 2.3.5"
# Use pagy to paginate ActiveRecord relations
gem "pagy", "~> 5.6"
# Use Active Model has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# use sidekiq for job queueing
gem "sidekiq", "~> 6"
# Use Active Storage variant
# gem 'image_processing', '~> 1.2'
# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", ">= 1.4.4", require: false
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem "byebug", platforms: [:mri, :mingw, :x64_mingw]
# Bullet is a gem to find and detect N+1 queries in development
gem "bullet"
# RuboCop is an excellent linter, we keep it in `test` for CI
gem "rubocop", require: false
gem "rubocop-rails", require: false # Rails specific styles
gem "rubocop-rails_config", require: false # More Rails stuff
gem "rubocop-performance", require: false # Performance checks
gem "rubocop-sorbet", require: false # Check Sorbet
gem "rubocop-minitest", require: false # For checking tests
gem "minitest-hooks" # Used to apply stubs to each test
gem "hotwire-livereload" # Live reload for JS, HTML and CSS devlopment
gem "memory_profiler"
gem "ruby-lsp"
gem "rack-mini-profiler"
gem "stackprof"
# An LSP
gem "solargraph"
gem "tapioca", require: false
end
group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem "web-console", ">= 4.2.0"
# Display performance information such as SQL time and flame graphs for each request in your browser.
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
gem "listen", "~> 3.3"
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem "spring"
# Sorbet is a type-checker for Ruby. We prefer statically-defined types when possible
gem "sorbet"
# This is required for Ruby 3 from Sorbet
gem "sorted_set"
# Tmuxinator lets us set up standard development environments easily
gem "tmuxinator"
# We use Yard for all of our documentation
gem "yard", require: false
# Brakeman checks for security vulnerabilities
gem "brakeman", require: false
# Renaming stuff is annoying
gem "rails_refactor"
# SSL Management for local development
gem "sslocal"
end
group :test do
# Adds support for Capybara system testing and selenium driver
gem "capybara", ">= 3.26"
gem "test-prof", "~> 1.0"
end
gem "selenium-webdriver"
# Easy installation and use of web drivers to run system tests with browsers
gem "webdrivers"
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
# Commenting out because we're not using Windows or JRuby and this throws a warning during bundler.
# gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# The production runtime for sorbet
gem "sorbet-runtime"
gem "cbor", "0.5.9.8"
# For validating URL, the fork adds array of urls validation as well (yes, the difference in URL
# and gem name is on purpose)
gem "validate_url"
# Figaro lets us configure and require environment variable at boot, instead of getting stuck with a
# bad deployment
gem "figaro"
# Typhoneus handles URL request to outside websites extremely efficiently
gem "typhoeus"
# A headless chrome browser for interacting with website
gem "ferrum", "~> 0.11"
# Some basic OS checks, specifically to check to configure our scrapers for dev/prod
gem "os"
# Shrine is a better alternative to ActiveStorage for handling file attachments and the like
gem "shrine", git: "https://github.com/shrinerb/shrine", branch: "master"
# A differential-hash library for image perceptual hashing. Surprisingly maintained.
# We don't have it versioned locked because it's been almost a year since one was released, but
# there's been plenty of commits
# gem "dhash-vips", git: "https://github.com/nakilon/dhash-vips/", tag: "v0.1.1.2"
gem "eikon"
# Stremio-ffmpeg use the ffmpeg library to process our video files
gem "streamio-ffmpeg"
# Scraper gems
# Local testing
# gem "zorki", "0.1.0", path: "~/Repositories/zorki" # instagram
# gem "birdsong", "0.1.0", path: "~/Repositories/birdsong" # twitter
gem "zorki", git: "https://github.com/cguess/zorki"
gem "birdsong", git: "https://github.com/cguess/birdsong"
gem "forki", git: "https://github.com/TechAndCheck/forki"
gem "youtubearchiver", git: "https://github.com/TechAndCheck/YoutubeArchiver"
gem "terrapin"
# A progress bar for our Rake tasks
gem "ruby-progressbar"
# For validating JSON input on the API
gem "json_schemer"
# Devise is used for authentication and user management
gem "devise", "~> 4.9"
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
gem "importmap-rails"
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
gem "stimulus-rails"
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
gem "turbo-rails"
gem "sprockets-rails", require: "sprockets/railtie"
gem "pry-byebug"
# Add the ability to load `.env` files on launch
gem "dotenv-rails"
# Code coverage so we can check if our tests actually cover everything
gem "simplecov", require: false
# Used to store our files in S3
gem "aws-sdk-s3"
# Generates a country selector for forms
# Also adds and uses the `countries` gem
gem "country_select", "~> 10.0"
# Used for sending email through Mailgun
gem "mailgun-ruby", "~> 1.2"
# Rolify is used for user roles
gem "rolify", "~> 6.0"
# We are temporarily using TailwindCSS to scaffold some layout
gem "tailwindcss-rails", "~> 2.0"
# We use SCSS to write more CSS more concisely
gem "dartsass-rails", "~> 0.4.0"
# Comma lets us generate CSV-formatted data from ActiveRecord models
gem "comma", "~>4.7.0"
# Webauthn Enabling
gem "webauthn", git: "https://github.com/cedarcode/webauthn-ruby", tag: "v3.0.0.alpha2"
# For TOTP one-time passcode (Firefox doesn't support passkeys)
gem "rotp", "~> 6.2"
# For generating the QRCode from the TOTP setup string
gem "rqrcode", "~> 2.0"
# One-off settings that are easy to manage and persistent
gem "rails-settings-cached", "~> 2.9"
# Error reporting
gem "honeybadger", "~> 5.2"
# Add the ability to flatten a JSON object to a CSV
gem "decombobulate", git: "https://github.com/cguess/discombobulate"
# To zip files easily for export upload
gem "rubyzip"
# Seems as if terrapin needs this
gem "curb", git: "https://github.com/taf2/curb"
# For some reason this is now necessary?
gem "debug"
# Scraping web sites
gem "tanakai"
# For regular scraping
gem "mechanize"
# Better logging printing
gem "amazing_print"
# gem "rails_semantic_logger"
gem "flipper", "~> 1.2"
gem "flipper-active_record", "~> 1.2"
# Scraping management
# This is a reversion to fix a bug because async was apparently massively updated in a
# point release and it breaks neo4j-ruby-driver
gem "async", "2.12.0"
# Note, v12beta.2 is the latest version of activegraph BUT does not work with the latest version of neo4j-ruby-driver
gem "activegraph", git: "https://github.com/neo4jrb/activegraph", tag: "v11.5.0.beta.2" # For example, see https://rubygems.org/gems/activegraph/versions for the latest versions
gem "neo4j-ruby-driver"
# Caching
gem "actionpack-action_caching"
gem "dalli" # For memcached caching
# OLLama categorization
gem "ollama-ai", git: "https://github.com/cguess/ollama-ai", branch: "basic-auth"
gem "acts-as-taggable-on" # For caegorization