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

meanjs / mean / 2199
77%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2016 09:19PM UTC
Jobs 7
Files 40
Run time 8min
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
2199

push

travis-ci

mleanos
fix(users): GitHub strategy missing email (#1250)

Fixes an issue with an empty/missing/null Email coming from GitHub's
OAuth call response.

Also, introduces the `sparse` index option on the User model's Email
field. This will ensure that we can have multiple User documents without
the Email field.

Adds a server-side User model test for the sparse index setting on the
email field.

Confirms that User documents without the email field are not indexed,
illustrating the sparse option on the schema's email field works
properly.

Added the dropdb task to the Gulp test:client & test:server tasks, to
ensure we have a clean database & that any indexes are rebuilt; this
will ensure any Schema changes (in this case the email index is rebuilt using
the sparse index option) are reflected when the database is started again.

Added a UPGRADE.md for tracking important upgrade information for our
user's to be aware of, when we introduce potentially breaking changes.

Included an explanation of the Sparse index being added, and how to apply it
to an existing MEANJS application's database.

Adds a script for dropping the `email` field's index from the User
collection.

Related #1145

632 of 895 relevant lines covered (70.61%)

34.98 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
6
100.0
../modules/users/server/models/user.server.model.js
Jobs
ID Job ID Ran Files Coverage
2 2199.2 (NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8") 29 Apr 2016 09:21PM UTC 0
70.61
Travis Job 2199.2
3 2199.3 (NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8") 29 Apr 2016 09:22PM UTC 0
70.61
Travis Job 2199.3
4 2199.4 (NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8") 29 Apr 2016 09:21PM UTC 0
70.61
Travis Job 2199.4
5 2199.5 (NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8") 29 Apr 2016 09:19PM UTC 0
70.61
Travis Job 2199.5
6 2199.6 (NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8") 29 Apr 2016 09:25PM UTC 0
70.61
Travis Job 2199.6
7 2199.7 (NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8") 29 Apr 2016 09:26PM UTC 0
70.61
Travis Job 2199.7
8 2199.8 (NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8") 29 Apr 2016 09:27PM UTC 0
70.61
Travis Job 2199.8
Source Files on build 2199
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2199
  • 4906611c on github
  • Prev Build on master (#2194)
  • Next Build on master (#2201)
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