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

lotus / validations / 70
98%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v0.4.0
DEFAULT BRANCH: master
Ran 18 Nov 2014 11:28AM UTC
Jobs 7
Files 7
Run time 8min
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
70

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' }

192 of 195 relevant lines covered (98.46%)

330.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 70.1 (2.0.0) 18 Nov 2014 11:28AM UTC 0
99.44
Travis Job 70.1
2 70.2 (2.1.0) 18 Nov 2014 11:29AM UTC 0
99.44
Travis Job 70.2
3 70.3 (2.1.1) 18 Nov 2014 11:30AM UTC 0
99.44
Travis Job 70.3
4 70.4 (2.1.2) 18 Nov 2014 11:28AM UTC 0
99.44
Travis Job 70.4
5 70.5 (2.1.3) 18 Nov 2014 11:27AM UTC 0
99.44
Travis Job 70.5
7 70.7 (jruby, JRUBY_OPTS="--2.0") 18 Nov 2014 11:30AM UTC 0
98.94
Travis Job 70.7
8 70.8 (jruby-head, JRUBY_OPTS="--2.1") 18 Nov 2014 11:36AM UTC 0
0.0
Travis Job 70.8
Source Files on build 70
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #70
  • 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