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

lotus / validations
98%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v0.4.0
DEFAULT BRANCH: master
Repo Added 24 Oct 2014 07:40AM CUT
Files 11
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

LAST BUILD ON BRANCH attributes-with-key-strings-integration
branch: attributes-with-key-strings-integration
CHANGE BRANCH
x
Reset
  • attributes-with-key-strings-integration
  • 0.1.x
  • 0.2.x
  • 0.3.x
  • 0.4.x
  • add-rubies-to-travis
  • entity-compatibility
  • error-messages
  • expose-attributes
  • fix-nested-attributes-hash-serialization
  • ignore-blank-values-for-format-validation
  • master
  • non-whitelisted-attributes
  • rbx-2-3-0
  • revert-60-fix-nested-attributes-hash-serialization
  • ruby-2-2
  • test-jruby-9000
  • v0.2.0
  • v0.2.1
  • v0.2.2
  • v0.2.3
  • v0.2.4
  • v0.3.0
  • v0.3.1
  • v0.3.2
  • v0.3.3
  • v0.4.0
  • validations-each

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

Relevant lines Covered
Build:
Build:
195 RELEVANT LINES 192 COVERED LINES
330.81 HITS PER LINE
Source Files on attributes-with-key-strings-integration
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
70 attributes-with-key-strings-integration 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.... push 18 Nov 2014 11:28AM CUT jodosha travis-ci pending completion  
See All Builds (236)
  • Repo 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

© 2025 Coveralls, Inc