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

jgraichen / acfs / 407 / 5
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/url-encode-args
DEFAULT BRANCH: master
Ran 29 May 2016 01:04PM UTC
Files 46
Run time 2s
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:00PM UTC coverage: 96.165% (-0.3%) from 96.422%
2.2, 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

1028 of 1069 relevant lines covered (96.16%)

69.35 hits per line

Source Files on job 407.5 (2.2, 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 407
  • Travis Job 407.5
  • fcca77b3 on github
  • Prev Job for 2.2, gemfiles/Gemfile.rails-4-2 on types (#396.5)
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