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

jgraichen / acfs / 408
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/url-encode-args
DEFAULT BRANCH: master
Ran 29 May 2016 01:07PM UTC
Jobs 16
Files 46
Run time 2min
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
408

push

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.

58 of 58 new or added lines in 9 files covered. (100.0%)

1025 of 1059 relevant lines covered (96.79%)

1078.68 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/acfs/resource/attributes/base.rb
Jobs
ID Job ID Ran Files Coverage
1 408.1 (2.3.1, gemfiles/Gemfile.rails-4-2) 29 May 2016 01:07PM UTC 0
96.41
Travis Job 408.1
2 408.2 (2.3.1, gemfiles/Gemfile.rails-4-1) 29 May 2016 01:07PM UTC 0
96.41
Travis Job 408.2
3 408.3 (2.3.1, gemfiles/Gemfile.rails-4-0) 29 May 2016 01:08PM UTC 0
96.41
Travis Job 408.3
4 408.4 (2.3.1, gemfiles/Gemfile.rails-3-2) 29 May 2016 01:07PM UTC 0
96.69
Travis Job 408.4
5 408.5 (2.2, gemfiles/Gemfile.rails-4-2) 29 May 2016 01:07PM UTC 0
96.41
Travis Job 408.5
6 408.6 (2.2, gemfiles/Gemfile.rails-4-1) 29 May 2016 01:08PM UTC 0
96.41
Travis Job 408.6
7 408.7 (2.2, gemfiles/Gemfile.rails-4-0) 29 May 2016 01:08PM UTC 0
96.41
Travis Job 408.7
8 408.8 (2.2, gemfiles/Gemfile.rails-3-2) 29 May 2016 01:08PM UTC 0
96.69
Travis Job 408.8
9 408.9 (2.1, gemfiles/Gemfile.rails-4-2) 29 May 2016 01:08PM UTC 0
96.41
Travis Job 408.9
10 408.10 (2.1, gemfiles/Gemfile.rails-4-1) 29 May 2016 01:08PM UTC 0
96.41
Travis Job 408.10
11 408.11 (2.1, gemfiles/Gemfile.rails-4-0) 29 May 2016 01:09PM UTC 0
96.41
Travis Job 408.11
12 408.12 (2.1, gemfiles/Gemfile.rails-3-2) 29 May 2016 01:09PM UTC 0
96.69
Travis Job 408.12
13 408.13 (2.0, gemfiles/Gemfile.rails-4-2) 29 May 2016 01:09PM UTC 0
96.41
Travis Job 408.13
14 408.14 (2.0, gemfiles/Gemfile.rails-4-1) 29 May 2016 01:09PM UTC 0
96.41
Travis Job 408.14
15 408.15 (2.0, gemfiles/Gemfile.rails-4-0) 29 May 2016 01:09PM UTC 0
96.41
Travis Job 408.15
16 408.16 (2.0, gemfiles/Gemfile.rails-3-2) 29 May 2016 01:09PM UTC 0
96.69
Travis Job 408.16
Source Files on build 408
  • Tree
  • List 0
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #408
  • e5a5aab6 on github
  • Prev Build on types (#406)
  • Next Build on types (#410)
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