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

sds / slim-lint / 26
100%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2015 05:11AM UTC
Jobs 7
Files 64
Run time 2min
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
26

push

travis-ci

sds
Wrap Sexp atoms in Atom class

One of the issues we're already seeing is the need to explicitly check
whether a Sexp is an expression or an atom. Rather than have to do this
check every time, we create an `Atom` class which wraps the literal
value and defines `==` and `match?` methods so it acts like a Sexp where
it matters.

This allows us to simplify logic to not concern ourselves with whether
an object is an expression or an atom--the underlying helpers will do
the differentiation for us.

As part of this change, a number of other areas were changed so things
worked--delegating methods to the underlying value requires a slight
change in strategy when doing regex matches, for example.

We also add some tests for the `Sexp` class.

174 of 174 new or added lines in 10 files covered. (100.0%)

1708 of 1776 relevant lines covered (96.17%)

112.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
spec/slim_lint/atom_spec.rb
Jobs
ID Job ID Ran Files Coverage
1 26.1 (1.9.3) 25 Apr 2015 05:11AM UTC 0
96.32
Travis Job 26.1
2 26.2 (2.0) 25 Apr 2015 05:11AM UTC 0
96.32
Travis Job 26.2
3 26.3 (2.1) 25 Apr 2015 05:11AM UTC 0
96.32
Travis Job 26.3
4 26.4 (2.2) 25 Apr 2015 05:11AM UTC 0
96.32
Travis Job 26.4
5 26.5 (jruby-19mode) 25 Apr 2015 05:11AM UTC 0
96.18
Travis Job 26.5
6 26.6 (rbx-2) 25 Apr 2015 05:13AM UTC 0
98.23
Travis Job 26.6
7 26.7 (ruby-head) 25 Apr 2015 05:12AM UTC 0
54.01
Travis Job 26.7
Source Files on build 26
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #26
  • 62c8038f on github
  • Prev Build on master (#25)
  • Next Build on master (#27)
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