mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
1192c76f62
If `Confirmable#confirmation_sent_at` is equal to `0.days.ago`, then `confirmation_period_valid?` will be deemed valid even if the setting is configured to disable this outright. To prevent this error, we explicitly check the configuration setting to be `0.days.ago`.
40 lines
697 B
Ruby
40 lines
697 B
Ruby
# frozen_string_literal: true
|
|
|
|
source "https://rubygems.org"
|
|
|
|
gemspec
|
|
|
|
gem "rails", "~> 5.2"
|
|
gem "omniauth", "~> 1.3"
|
|
gem "oauth2"
|
|
gem "omniauth-oauth2"
|
|
gem "rdoc"
|
|
|
|
gem "activemodel-serializers-xml", github: "rails/activemodel-serializers-xml"
|
|
|
|
gem "rails-controller-testing"
|
|
|
|
gem "responders", "~> 2.4"
|
|
|
|
group :test do
|
|
gem "omniauth-facebook"
|
|
gem "omniauth-openid"
|
|
gem "timecop"
|
|
gem "webrat", "0.7.3", require: false
|
|
gem "mocha", "~> 1.1", require: false
|
|
end
|
|
|
|
platforms :jruby do
|
|
gem "activerecord-jdbc-adapter"
|
|
gem "activerecord-jdbcsqlite3-adapter"
|
|
gem "jruby-openssl"
|
|
end
|
|
|
|
platforms :ruby do
|
|
gem "sqlite3"
|
|
end
|
|
|
|
# TODO:
|
|
# group :mongoid do
|
|
# gem "mongoid", "~> 4.0.0"
|
|
# end
|