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

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

Build:
DEFAULT BRANCH: master
Ran 03 Sep 2014 11:17PM 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: 97.265% (-0.5%) from 97.8%
jruby

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

889 of 914 relevant lines covered (97.26%)

21.51 hits per line

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