Reject email addresses that known to be undeliverable during signup. Some users signup with invalid email addresses, which causes the welcome email (which contains the email confirmation link) to bounce. Too many bounces hurt our ability to send mail. We check that an email address is undeliverable by checking if the domain has a mail server and if the server returns an invalid address error when attempting to send mail. This isn't foolproof since some servers don't return an error if the address doesn't exist. If the checks fail we know the address is bad, but if the checks pass that doesn't guarantee the address is good. However, this is still good enough to filter out bad addresses for popular providers like Gmail and Microsoft that do return nonexistent address errors. The address existence check requires being able to connect to mail servers over port 25. This may fail if your network blocks port 25, which many home ISPs and hosting providers do by default.
95 lines
2.0 KiB
Ruby
95 lines
2.0 KiB
Ruby
source 'https://rubygems.org/'
|
|
|
|
gem 'dotenv-rails', :require => "dotenv/rails-now"
|
|
|
|
gem "rails", "~> 6.0"
|
|
gem "pg"
|
|
gem "delayed_job"
|
|
gem "delayed_job_active_record"
|
|
gem "simple_form"
|
|
gem "mechanize"
|
|
gem "whenever", :require => false
|
|
gem "sanitize"
|
|
gem 'ruby-vips'
|
|
gem 'net-sftp'
|
|
gem 'diff-lcs', :require => "diff/lcs/array"
|
|
gem 'bcrypt', :require => "bcrypt"
|
|
gem 'capistrano', '~> 3.10'
|
|
gem 'capistrano-rails'
|
|
gem 'capistrano-rbenv'
|
|
gem 'streamio-ffmpeg'
|
|
gem 'rubyzip', :require => "zip"
|
|
gem 'stripe'
|
|
gem 'aws-sdk-sqs', '~> 1'
|
|
gem 'responders'
|
|
gem 'dtext_rb', git: "https://github.com/evazion/dtext_rb.git", require: "dtext"
|
|
gem 'memoist'
|
|
gem 'daemons'
|
|
gem 'oauth2'
|
|
gem 'bootsnap'
|
|
gem 'addressable'
|
|
gem 'httparty'
|
|
gem 'rakismet'
|
|
gem 'recaptcha', require: "recaptcha/rails"
|
|
gem 'activemodel-serializers-xml'
|
|
gem 'jquery-rails'
|
|
gem 'webpacker', '>= 4.0.x'
|
|
gem 'rake'
|
|
gem 'retriable'
|
|
gem 'redis'
|
|
gem 'request_store'
|
|
gem 'builder'
|
|
# gem 'did_you_mean' # github.com/yuki24/did_you_mean/issues/117
|
|
gem 'puma'
|
|
gem 'scenic'
|
|
gem 'ipaddress'
|
|
gem 'http'
|
|
gem 'activerecord-hierarchical_query'
|
|
gem 'pundit'
|
|
gem 'mail'
|
|
|
|
# needed for looser jpeg header compat
|
|
gem 'ruby-imagespec', :require => "image_spec", :git => "https://github.com/r888888888/ruby-imagespec.git", :branch => "exif-fixes"
|
|
|
|
group :production, :staging do
|
|
gem 'unicorn', :platforms => :ruby
|
|
gem 'capistrano3-unicorn'
|
|
end
|
|
|
|
group :production do
|
|
gem 'unicorn-worker-killer'
|
|
gem 'newrelic_rpm'
|
|
gem 'capistrano-deploytags', '~> 1.0.0', require: false
|
|
end
|
|
|
|
group :development do
|
|
gem 'sinatra'
|
|
gem 'meta_request'
|
|
gem 'rack-mini-profiler'
|
|
gem 'stackprof'
|
|
gem 'flamegraph'
|
|
gem 'memory_profiler'
|
|
end
|
|
|
|
group :development, :test do
|
|
gem 'awesome_print'
|
|
gem 'pry-byebug'
|
|
gem 'pry-rails'
|
|
gem 'pry-inline'
|
|
gem 'listen'
|
|
end
|
|
|
|
group :test do
|
|
gem "shoulda-context"
|
|
gem "shoulda-matchers"
|
|
gem "factory_bot"
|
|
gem "mocha"
|
|
gem "ffaker"
|
|
gem "simplecov", :require => false
|
|
gem "webmock"
|
|
gem "minitest-ci"
|
|
gem "mock_redis"
|
|
gem "capybara"
|
|
gem "selenium-webdriver"
|
|
end
|