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

YorickPeterse / ruby-lint / 101
98%
master: %

Build:
Build:
LAST BUILD BRANCH: report-entry-comparable
DEFAULT BRANCH: master
Ran 16 Jul 2013 07:44PM UTC
Jobs 4
Files 42
Run time –
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
101

push

travis-ci

YorickPeterse
Add classes/modules to themselves.

When creating a new class or module the definition should be added as a child
definition to itself. This allows classes/modules to refer to themselves
without having to rely on the outer scope.

Consider the following code:

    class Foo
      Foo
    end

Before this patch the following process would happen in order to retrieve the
Foo constant on the 2nd line:

    search in current scope -> search in outer scope -> find constant

After this patch the following happens instead:

    search in current scope -> find constant

This in turn means that analysis classes such as Analysis::UndefinedVariables
no longer spit out warnings about the name of a constant being undefined as
said name is now available in the scope.

This commit fixes #35.

1284 of 1308 relevant lines covered (98.17%)

706.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 101.1 (1.9.3) 16 Jul 2013 07:44PM UTC 0
98.32
Travis Job 101.1
2 101.2 (2.0.0) 16 Jul 2013 07:45PM UTC 0
98.32
Travis Job 101.2
3 101.3 (rbx-19mode) 16 Jul 2013 07:44PM UTC 0
99.19
Travis Job 101.3
4 101.4 (jruby-19mode) 16 Jul 2013 07:45PM UTC 0
97.45
Travis Job 101.4
Source Files on build 101
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #101
  • 3904d0fa on github
  • Prev Build on develop (#100)
  • Next Build on develop (#102)
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