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

solnic / virtus / 801 / 2
75%
master: 75%

Build:
DEFAULT BRANCH: master
Ran 03 Sep 2014 11:13PM UTC
Files 32
Run time 16s
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

03 Sep 2014 11:11PM UTC coverage: 98.808% (+0.006%) from 98.802%
2.0.0

Pull #292

travis-ci

JanDintel
Implement the feature of allowing a default value when the attribute is assigned as nil:

- Replace the Virtus::Attribute::Accessor#defined? method for the #present? method in the Virtus::AttributeSet#skip_default? private method
- Replace the #instance_variable_defined? method for the Virtus::Attribute::Accessor#present? method in the Virtus::Attribute::LazyDefault#get method
- Update the README with the documentation of this feature

This fixes Github issue #291 (https://github.com/solnic/virtus/issues/291) and #172 (https://github.com/solnic/virtus/issues/172)
Pull Request #292: Allow a default value when the attribute is assigned as nil, with the :allow_nil option

912 of 923 relevant lines covered (98.81%)

110.55 hits per line

Source Files on job 801.2 (2.0.0)
  • Tree
  • List 0
  • Changed 21
  • Source Changed 4
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 801
  • Travis Job 801.2
  • 345f8b5f on github
  • Prev Job for 2.0.0 on master (#800.2)
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

© 2026 Coveralls, Inc