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

jgraichen / acfs / 405 / 6
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 29 May 2016 12:59PM UTC
Files 21
Run time 0s
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

29 May 2016 12:56PM UTC coverage: 40.12% (-56.3%) from 96.422%
2.2, gemfiles/Gemfile.rails-4-1

Pull #39

travis-ci

jgraichen
Rework resource types

* Drop `:allow_nil` and `:allow_blank`

  `:allow_nil` should be replaced by validations and `:allow_blank` broke
  much code with less to none use

* All type handle nil, empty and blank strings

  Primitive types cast to false, 0 or 0.0 while other types cast to nil (e.g. DateTime, etc)

Type casting is still strict, casting "123a" to integer will raise an
error and not return 123 like `#to_i`. List and dict types support more
type cohesion methods: `#serializable_hash`, `#to_hash`, `#to_h` on dict
and `#to_ary`, `#to_a` on list.
Pull Request #39: Rework resource types

201 of 501 relevant lines covered (40.12%)

0.42 hits per line

Source Files on job 405.6 (2.2, gemfiles/Gemfile.rails-4-1)
  • Tree
  • List 0
  • Changed 21
  • Source Changed 6
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 405
  • Travis Job 405.6
  • e9fbf6a9 on github
  • Prev Job for 2.2, gemfiles/Gemfile.rails-4-1 on master (#396.6)
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