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

lotus / validations / 70 / 2
98%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v0.4.0
DEFAULT BRANCH: master
Ran 18 Nov 2014 11:29AM UTC
Files 7
Run time 4s
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

18 Nov 2014 11:24AM UTC coverage: 99.438%. First build
2.1.0

push

travis-ci

jodosha
Accepts strings as keys, only for declared attributes

Example:
  require 'lotus/validations'

  class Signin
    include Lotus::Validations

    attribute :email,    presence: true
    attribute :password, presence: true
  end

  signin = Signin.new('email' => 'user@example.org', 'password' => '123', 'unknown' => 'blah')
  signin.valid? # => true
  signin.to_h   # => { :email => 'user@example.org', :password => '123' }

177 of 178 relevant lines covered (99.44%)

67.58 hits per line

Source Files on job 70.2 (2.1.0)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 70
  • Travis Job 70.2
  • 9ba4cc5c on github
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