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

ruby-grape / grape / 4204
99%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix_before_each_no_method_error
DEFAULT BRANCH: master
Ran 27 Oct 2020 07:24AM UTC
Jobs 7
Files 101
Run time 27min
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
4204

push

travis-ci

dnesteryuk
fix a performance issue with dependent params

Fixes https://github.com/ruby-grape/grape/issues/2100

The reason was in `ActiveSupport::HashWithIndifferentAccess`, it
is super expensive.

When users use `Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder`
or `Grape::Extensions::Hashie::Mash::ParamBuilder` as a parameter builder
there is no change. However, users who use `Grape::Extensions::Hash::ParamBuilder`
must make sure an attribute to be dependent on must be a symbol.

    given :matrix do
      # block here
    end

12427 of 12532 relevant lines covered (99.16%)

14.26 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4204.2 (2.7.1, Gemfile) 27 Oct 2020 07:24AM UTC 0
99.15
Travis Job 4204.2
3 4204.3 (2.7.1, gemfiles/rack1.gemfile) 27 Oct 2020 07:24AM UTC 0
99.15
Travis Job 4204.3
4 4204.4 (2.7.1, gemfiles/rack2.gemfile) 27 Oct 2020 07:24AM UTC 0
99.15
Travis Job 4204.4
5 4204.5 (2.7.1, gemfiles/rack_edge.gemfile) 27 Oct 2020 07:50AM UTC 0
99.15
Travis Job 4204.5
6 4204.6 (2.7.1, gemfiles/rails_edge.gemfile) 27 Oct 2020 07:52AM UTC 0
99.15
Travis Job 4204.6
7 4204.7 (2.7.1, gemfiles/rails_5.gemfile) 27 Oct 2020 07:51AM UTC 0
99.15
Travis Job 4204.7
8 4204.8 (2.7.1, gemfiles/rails_6.gemfile) 27 Oct 2020 07:51AM UTC 0
99.15
Travis Job 4204.8
Source Files on build 4204
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4204
  • 8a2f9424 on github
  • Next Build on resolve_performace_issue_with_given (#4207)
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