• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

allenwq / devise-multi_email / 217
96%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2019 11:49PM UTC
Jobs 6
Files 45
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
217

push

travis-ci

allenwq
<a href="https://github.com/allenwq/devise-multi_email/commit/<a class=hub.com/allenwq/devise-multi_email/commit/97a522f32c86abba89397b8343e39361485a7cae">97a522f32<a href="https://github.com/allenwq/devise-multi_email/commit/97a522f32c86abba89397b8343e39361485a7cae">&quot;&gt;Permit Devise.allow_unconfirmed_access to be nil (#44)

Devise currently permits indefinite unconfirmed access when
`Devise.allow_unconfirmed_access` is set to `nil`.

See:
https://github.com/plataformatec/devise/blob/</a><a class="double-link" href="https://github.com/allenwq/devise-multi_email/commit/<a class="double-link" href="https://github.com/allenwq/devise-multi_email/commit/14863ba4c92cd9781a961be0486f0ea7dfe84144">14863ba4c</a>">14863ba4c</a><a href="https://github.com/allenwq/devise-multi_email/commit/97a522f32c86abba89397b8343e39361485a7cae">/lib/generators/templates/devise.rb#L139-L140

However, at present setting this parameter to nil results in NoMethodErrors
when evaluating the following:

```
def email=(new_email)
  multi_email.change_primary_email_to(new_email, allow_unconfirmed: Devise.allow_unconfirmed_access_for &gt; 0.days)
end
```

This commit creates a new method that checks to ensure if the Devise
configuration permits any period in which an unconfirmed may log in
and uses it to determine whether or not an unconfirmed email address
may be added to a user.

2 of 2 new or added lines in 1 file covered. (100.0%)

1318 of 1383 relevant lines covered (95.3%)

148.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 217.1 (2.4, gemfiles/rails_5_2.gemfile) 09 Nov 2019 11:49PM UTC 0
95.34
Travis Job 217.1
2 217.2 (2.4, gemfiles/rails_5_1.gemfile) 09 Nov 2019 11:49PM UTC 0
95.34
Travis Job 217.2
3 217.3 (2.5, gemfiles/rails_5_2.gemfile) 09 Nov 2019 11:49PM UTC 0
95.34
Travis Job 217.3
4 217.4 (2.5, gemfiles/rails_5_1.gemfile) 09 Nov 2019 11:49PM UTC 0
95.34
Travis Job 217.4
5 217.5 (2.6, gemfiles/rails_5_2.gemfile) 09 Nov 2019 11:49PM UTC 0
95.32
Travis Job 217.5
6 217.6 (2.6, gemfiles/rails_5_1.gemfile) 09 Nov 2019 11:51PM UTC 0
95.32
Travis Job 217.6
Source Files on build 217
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #217
  • 97a522f3 on github
  • Prev Build on master (#213)
  • Next Build on master (#218)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc