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

ruby-grape / grape / 16249724556

13 Jul 2025 01:36PM UTC coverage: 98.197% (+0.001%) from 98.196%
16249724556

Pull #2582

github

web-flow
Merge 7b330f946 into 2dd0bd9d0
Pull Request #2582: Fix leaky slash when normalizing

3 of 3 new or added lines in 1 file covered. (100.0%)

3376 of 3438 relevant lines covered (98.2%)

50148.73 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/lib/grape/extensions/hashie/mash.rb
1
# frozen_string_literal: true
2

3
module Grape
44✔
4
  module Extensions
44✔
5
    module Hashie
44✔
6
      module Mash
44✔
7
        module ParamBuilder
44✔
8
          extend ::ActiveSupport::Concern
44✔
9

10
          included do
44✔
11
            Grape.deprecator.warn 'This concern has been deprecated. Use `build_with` with one of the following short_name (:hash, :hash_with_indifferent_access, :hashie_mash) instead.'
1✔
12
            namespace_inheritable(:build_params_with, :hashie_mash)
×
13
          end
14

15
          def build_params
44✔
16
            ::Hashie::Mash.new(rack_params).tap do |params|
×
17
              params.deep_merge!(grape_routing_args) if env.key?(Grape::Env::GRAPE_ROUTING_ARGS)
×
18
            end
19
          end
20
        end
21
      end
22
    end
23
  end
24
end
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