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

activeadmin / activeadmin / 3903 / 6
59%
master: 79%

Build:
Build:
LAST BUILD BRANCH: backport_phantomjs_removal
DEFAULT BRANCH: master
Ran 25 Jan 2015 10:26PM UTC
Files 156
Run time 1min
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

25 Jan 2015 10:16PM UTC coverage: 57.906%. First build
2.2.0, RAILS=3.2.14

Pull #3760

travis-ci

Ryan Dlugosz
Add parens to method calls used as arg defaults, fix #3733

Ruby 2.2 included a [bug fix](https://bugs.ruby-lang.org/issues/9593)
that impacts methods which call other methods as defaults for some of
their arguments, e.g., `def bar(foo=foo)`. The fix is to include
parenthesis on the method call, `def bar(foo=foo())`. A similar patch
was [recently
made](https://github.com/rails/rails/commit/e88da370f)
to Rails to support Ruby 2.2.

I only found two instances of method calls that used the problematic
syntax. Failing tests revealed these methods; the following regex did
not find other instances: `def.+\((\S+)\s*=\s*\1\)`.

Additionally, because test-unit is not included with Ruby 2.2 (and is
required for ActiveSupport 3.2.x), it has been explicitly included in
the Gemfile in the Rails 3.1|2 section.

Tests pass. The JSLint test was not executed because I did not have a
JRE set up; I don't think this test is relevant to the issue at hand.

Include Ruby 2.2.0 in Travis config

Add test-unit for Rails 3.0 builds also
Pull Request #3760:

1974 of 3409 relevant lines covered (57.91%)

2.73 hits per line

Source Files on job 3903.6 (2.2.0, RAILS=3.2.14)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3903
  • Travis Job 3903.6
  • 9d2215b6 on github
  • Next Job for 2.2.0, RAILS=3.2.14 on 0-6-stable (#3904.8)
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