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

jgraichen / acfs / 409 / 13
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 29 May 2016 01:12PM UTC
Files 46
Run time 1s
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 01:06PM UTC coverage: 96.445% (+0.02%) from 96.422%
2.0, gemfiles/Gemfile.rails-4-2

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

1031 of 1069 relevant lines covered (96.45%)

69.31 hits per line

Source Files on job 409.13 (2.0, gemfiles/Gemfile.rails-4-2)
  • Tree
  • List 0
  • Changed 16
  • Source Changed 9
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 409
  • Travis Job 409.13
  • 535d03bb on github
  • Prev Job for 2.0, gemfiles/Gemfile.rails-4-2 on master (#396.13)
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