Skip to content

Commit e26d7f4

Browse files
committed
Fix has has
1 parent 24d7e9d commit e26d7f4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/grape/extensions/active_support/hash_with_indifferent_access.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module ParamBuilder
88
extend ::ActiveSupport::Concern
99

1010
included do
11-
Grape.deprecator.warn 'This concern has has been deprecated. Use `build_with` with one of the following short_name (:hash, :hash_with_indifferent_access, :hashie_mash) instead.'
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.'
1212
namespace_inheritable(:build_params_with, :hash_with_indifferent_access)
1313
end
1414

lib/grape/extensions/hash.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module ParamBuilder
77
extend ::ActiveSupport::Concern
88

99
included do
10-
Grape.deprecator.warn 'This concern has has been deprecated. Use `build_with` with one of the following short_name (:hash, :hash_with_indifferent_access, :hashie_mash) instead.'
10+
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.'
1111
namespace_inheritable(:build_params_with, :hash)
1212
end
1313

spec/grape/extensions/param_builders/hash_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
end
1111

1212
let(:message) do
13-
'This concern has has been deprecated. Use `build_with` with one of the following short_name (:hash, :hash_with_indifferent_access, :hashie_mash) instead.'
13+
'This concern has been deprecated. Use `build_with` with one of the following short_name (:hash, :hash_with_indifferent_access, :hashie_mash) instead.'
1414
end
1515

1616
it 'raises a deprecation' do

spec/grape/extensions/param_builders/hash_with_indifferent_access_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
end
1111

1212
let(:message) do
13-
'This concern has has been deprecated. Use `build_with` with one of the following short_name (:hash, :hash_with_indifferent_access, :hashie_mash) instead.'
13+
'This concern has been deprecated. Use `build_with` with one of the following short_name (:hash, :hash_with_indifferent_access, :hashie_mash) instead.'
1414
end
1515

1616
it 'raises a deprecation' do

0 commit comments

Comments
 (0)