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

solnic / virtus / 801
75%

Build:
DEFAULT BRANCH: master
Ran 03 Sep 2014 11:13PM UTC
Jobs 5
Files 32
Run time 4min
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
801

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

8 of 8 new or added lines in 4 files covered. (100.0%)

953 of 964 relevant lines covered (98.86%)

441.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 801.1 (1.9.3) 03 Sep 2014 11:13PM UTC 0
98.81
Travis Job 801.1
2 801.2 (2.0.0) 03 Sep 2014 11:13PM UTC 0
98.81
Travis Job 801.2
3 801.3 (2.1.2) 03 Sep 2014 11:13PM UTC 0
98.81
Travis Job 801.3
4 801.4 (jruby) 03 Sep 2014 11:17PM UTC 0
97.26
Travis Job 801.4
5 801.5 (rbx) 03 Sep 2014 11:15PM UTC 0
99.68
Travis Job 801.5
Source Files on build 801
  • Tree
  • List 0
  • Changed 111
  • Source Changed 20
  • Coverage Changed 111
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #801
  • Pull Request #292
  • PR Base - master (#800)
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