-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathGemfile
163 lines (140 loc) · 5.32 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
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
git_source(:gitlab) { |repo| "https://gitlab.com/#{repo}.git" }
# Update CircleCI config if Ruby version is bumped
ruby "3.3.7"
# Gems that are no longer in standard library as Ruby 3.4
gem "csv"
gem "observer"
gem "prime"
# Maybe these can be removed after 3.4 upgrade? Added to silence deprecation warnings
gem "rails"
gem "puma" # App server
gem "bcrypt" # encryption
gem "bootsnap" # Faster bootup
gem "pg" # Postgres
gem "paranoia" # soft delete
gem "pg_search"
gem "lograge" # Structure log data, put it in single lines to improve the functionality
gem "logstash-event" # Use logstash format for logging data
gem "rack-utf8_sanitizer" # prevent invalid UTF8 request errors
# Speed
gem "fast_blank", "~> 1.0"
gem "active_model_serializers", "~> 0.8.3" # NOTE: more recent versions are slower, see discourse Gemfile
gem "oj" # optimized json
gem "multi_json" # TODO: use this more
# Feature flagging
gem "flipper"
gem "flipper-active_record"
gem "flipper-ui"
# I18n - localization/translation
gem "i18n-country-translations"
gem "i18n-js"
gem "rails-i18n"
gem "translation"
# Redis and redis dependents
gem "redis"
gem "sidekiq" # Background job processing
gem "sidekiq-failures" # Sidekiq failure tracking and viewing
gem "redlock" # Locking
gem "faraday_middleware" # Manage faraday request flow
gem "geocoder" # Geolocation using external APIs
gem "haml" # Template language
gem "httparty" # http connection client
gem "pagy" # pagination
gem "kramdown" # Markdown
gem "money-rails", "~> 1.11"
gem "sitemap_generator", "~> 6"
# Making other files
gem "mini_magick" # Required for image processing
gem "carrierwave", "~> 2.2.6" # File uploader
# Using bikeindex fork to support rails 8
gem "carrierwave_backgrounder", github: "bikeindex/carrierwave_backgrounder" # background processing of images
gem "axlsx", "~> 3.0.0.pre" # Write Excel files (OrganizationExports), on pre b/c gem isn't otherwise updated
# gem "wicked_pdf" # TODO: PDFs are broken right now - commented out because they're unused
# gem "wkhtmltopdf-binary" # TODO: PDFs are broken right now - commented out because they're unused
gem "rqrcode", "0.10.1" # QR Codes
# API wrappers
gem "twitter" # Twitter. For rendering tweets
gem "twilio-ruby" # Twilio, for verifying phone numbers
gem "stripe" # Payments
gem "fog-aws" # Aws used with carrierwave for S3 to store images
gem "postmark-rails" # Transactional email
gem "MailchimpMarketing", github: "mailchimp/mailchimp-marketing-ruby" # Marketing emails
gem "facebookbusiness", github: "facebook/facebook-ruby-business-sdk", branch: "main" # For promoted alerts
# OAuth provider, Grape, associated parts of API V2
gem "api-pagination"
gem "doorkeeper" # OAuth providing
gem "doorkeeper-i18n" # Translations for doorkeeper
gem "grape" # API DSL
gem "grape_logging" # Grape logging. Also how we pass it to lograge. Always used, not just in Prod
# Secure things
gem "rack-throttle" # Rate limiting
gem "secure_headers", "~> 2.5.0"
# Frontend
gem "chartkick" # Display charts
gem "coderay" # Pretty print code
gem "coffee-rails"
gem "groupdate" # Required for charts
gem "premailer-rails" # Inline styles for email, also auto-generates text versions of emails
gem "sprockets-rails"
gem "dartsass-rails"
# new frontend
gem "importmap-rails" # New JS setup
gem "turbo-rails" # Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
gem "stimulus-rails" # Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
gem "tailwindcss-rails" # Use Tailwind CSS [https://github.com/rails/tailwindcss-rails]
gem "view_component" # view components!
gem "lookbook" # view_component preview
# Show performance metrics
gem "flamegraph", require: false
gem "memory_profiler", require: false
gem "rack-mini-profiler", require: ["prepend_net_http_patch"] # If you can't see it you can't make it better
gem "stackprof", require: false
gem "pghero" # PG Info
gem "responders"
gem "thor"
group :production do
gem "skylight" # Performance monitoring
gem "honeybadger" # Error monitoring
end
group :development do
gem "bullet"
# Extra faraday response logging. Used in exchange rate api client and external registry
# Commented out because of facebook upgrade
# gem "faraday-request_response_logger", github: "pramod-sharma/faraday-request_response_logger"
gem "guard", require: false
gem "guard-rspec", require: false
gem "letter_opener"
gem "rerun" # restart sidekiq processes in development on app change
gem "terminal-notifier"
gem "annotate_rb", github: "sethherr/annotate_rb", branch: "rename-annotate_rb"
end
group :development, :test do
gem "brakeman", require: false
gem "database_cleaner"
gem "dotenv-rails"
gem "factory_bot_rails"
gem "foreman"
gem "parallel_tests"
gem "pry-byebug"
gem "pry-rails"
gem "rspec"
gem "rspec-rails"
gem "rspec_junit_formatter" # For circle ci
gem "standard" # Ruby linter
# I18n - localization/translation
gem "i18n-tasks"
gem "i18n_generators"
end
group :test do
gem "rails-controller-testing"
gem "rspec-sidekiq"
gem "simplecov", require: false
gem "vcr" # Stub external HTTP requests
gem "webmock" # mocking for VCR
gem "rspec-retry", require: false # Retry flaky test failures on CI
gem "capybara" # For view components
gem "selenium-webdriver" # For capybara
end