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

codeforamerica / ohana-api
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: mb-update-factory-bot
DEFAULT BRANCH: master
Repo Added 30 May 2013 02:33PM UTC
Files 122
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

LAST BUILD ON BRANCH 332-improve-import-errors
branch: 332-improve-import-errors
CHANGE BRANCH
x
Reset
  • 332-improve-import-errors
  • 10-user-agent
  • 104-search-for-many-languages
  • 164-fix-devise-bug
  • 185-org-autocomplete
  • 187-admin-languages
  • 188-highlight-error-fields
  • 200-remove-required-attribute
  • 238-update-readme
  • 25-api-keys
  • 304-csv-export
  • 308-add-new-program-button
  • 313-copy-service
  • 326-zip-csv-files
  • 336-import-fixes
  • 361-csv-memory
  • 41-enable-ssl
  • 69-create-app-link
  • add-additional-fields
  • add-admin-field-to-location
  • add-codeclimate-config
  • add-contacts-to-org
  • add-contacts-to-service
  • add-devise-paranoid
  • add-docker-support
  • add-gitattributes
  • add-interpretation-services
  • add-number_type-to-phones
  • add-phones-to-org
  • add-phones-to-service
  • add-profiling-gems
  • add-programs
  • add-schedules
  • add-sms-to-phone-number-type
  • added_fields
  • admin-interface
  • admin-subdomain
  • automatically-set-super-admin
  • bootstrap-tweaks
  • cache-gems-for-travis
  • category-assignment-via-CSV
  • csv-import
  • data-merge
  • disable-email-sending-during-db-seed
  • disable-state-validation-for-non-us
  • elasticsearch
  • expose-weekday-as-integer
  • fix-csv-import-script
  • fix-dashboard-spec
  • fix-devise-issues
  • fix-docker
  • fix-flickering-search-spec
  • fix-heroku-db-setup
  • fix-label-for-categories
  • fix-ranking-issue
  • fix-readme
  • fix-rubocop-offenses
  • fix-scss-offenses
  • full-text-search-for-org-name
  • holiday-schedules
  • holiday-schedules-admin
  • hound-config
  • inactive-services
  • installation-docs
  • latlon
  • master
  • mb-protected-attributes
  • mb-update-factory-bot
  • mb-update-gems
  • nearby
  • only-validate-presence-of-state-for-us-and-ca
  • optimize-admin-decorator
  • order-categories
  • pg-search
  • postgres
  • prevent-puma-connection-leakage
  • readme-updates
  • refactor-search
  • refactor-validators
  • remove-grape
  • remove-redis
  • remove-short-description-validations-137
  • remove-unused-code
  • remove-unused-http-headers
  • rename-fields
  • replace-location-emails-with-email
  • replace-location-urls-with-website
  • replace-mandrill-with-sendgrid
  • replace-pg-search
  • search-keyword-service-area
  • search-multiple-categories
  • select2-for-service-areas
  • service-area-filter
  • show-version-number-in-admin-interface
  • snyk-fix-80ad56c6
  • taxonomy-import
  • test
  • tweak-install-postgresql-words
  • update-README
  • update-bootstrap-sass
  • update-caching
  • update-dev-gems
  • update-devise
  • update-gems
  • update-gems-with-bummr
  • update-nearby-serializer
  • update-nokogiri
  • update-pundit
  • update-rails
  • update-readme
  • update-required-fields
  • update-root-endpoint
  • update-rubocop
  • update-ruby
  • update-ruby-and-bummr
  • update-sample-csvs
  • update-services
  • update-spec-setup
  • update-status-controller
  • update-uglifier
  • updates-seed-user-comments
  • updates-test-data
  • updates-test-data-infobox
  • upgrade-bootstrap
  • upgrade-rspec
  • upgrade-swagger
  • use-select2-tags-for-service-keywords
  • v0.3.1.0
  • v1.0
  • v1.1.0
  • v1.2.0
  • v2.0.0
  • v3.0.0
  • v3.1.0
  • wad-without-credentials

pending completion
981

push

travis-ci

monfresh
Improve import script error handling.

Based on user feedback, the error message for missing CSV headers didn't clearly inform the user that the file was not imported at all.

In this commit, I moved the CSV header validation to the FileChecker class, since the purpose of that class is to verify that the files themselves are valid.

The error messages now specify that CSV headers are required but missing, and that the file was not imported. The import is now aborted if a required file is missing or empty, or if the headers are invalid.

1661 of 1671 relevant lines covered (99.4%)

69.97 hits per line

Relevant lines Covered
Build:
Build:
1671 RELEVANT LINES 1661 COVERED LINES
69.97 HITS PER LINE
Source Files on 332-improve-import-errors
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
981 332-improve-import-errors Improve import script error handling. Based on user feedback, the error message for missing CSV headers didn't clearly inform the user that the file was not imported at all. In this commit, I moved the CSV header validation to the FileChecker cl... push 10 May 2015 04:04AM UTC monfresh travis-ci pending completion  
See All Builds (1061)
  • Repo on GitHub
  • CI Project
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

© 2025 Coveralls, Inc