@@ -248,13 +248,13 @@ def get_binding(value)
248248 {
249249 double_quote_xml_attribute_values : true
250250 } . each do |old_param , new_value |
251- # @deprecated Will be removed in v2.1 .0
251+ # @deprecated Will be removed in v3.0 .0
252252 define_method ( old_param ) do
253253 removed_deprecation ( old_param , new_value )
254254 new_value
255255 end
256256
257- # @deprecated Will be removed in v2.1 .0
257+ # @deprecated Will be removed in v3.0 .0
258258 define_method ( :"#{ old_param } =" ) do |_ |
259259 removed_deprecation ( old_param , new_value )
260260 new_value
@@ -268,13 +268,13 @@ def get_binding(value)
268268 assertion_consumer_logout_service_url : :single_logout_service_url ,
269269 assertion_consumer_logout_service_binding : :single_logout_service_binding
270270 } . each do |old_param , new_param |
271- # @deprecated Will be removed in v2.1 .0
271+ # @deprecated Will be removed in v3.0 .0
272272 define_method ( old_param ) do
273273 replaced_deprecation ( old_param , new_param )
274274 send ( new_param )
275275 end
276276
277- # @deprecated Will be removed in v2.1 .0
277+ # @deprecated Will be removed in v3.0 .0
278278 define_method ( :"#{ old_param } =" ) do |value |
279279 replaced_deprecation ( old_param , new_param )
280280 send ( :"#{ new_param } =" , value )
@@ -318,86 +318,86 @@ def get_sp_digest_method
318318 end
319319 end
320320
321- # @deprecated Will be removed in v2.1 .0
321+ # @deprecated Will be removed in v3.0 .0
322322 def idp_cert_fingerprint = ( value )
323323 idp_cert_fingerprint_deprecation
324324 @idp_cert_fingerprint = value
325325 end
326326
327- # @deprecated Will be removed in v2.1 .0
327+ # @deprecated Will be removed in v3.0 .0
328328 def idp_cert_fingerprint_algorithm = ( value )
329329 idp_cert_fingerprint_deprecation
330330 @idp_cert_fingerprint_algorithm = value
331331 end
332332
333- # @deprecated Will be removed in v2.1 .0
333+ # @deprecated Will be removed in v3.0 .0
334334 def certificate_new
335335 certificate_new_deprecation
336336 @certificate_new
337337 end
338338
339- # @deprecated Will be removed in v2.1 .0
339+ # @deprecated Will be removed in v3.0 .0
340340 def certificate_new = ( value )
341341 certificate_new_deprecation
342342 @certificate_new = value
343343 end
344344
345- # @deprecated Will be removed in v2.1 .0
345+ # @deprecated Will be removed in v3.0 .0
346346 def compress_request
347347 compress_deprecation ( 'compress_request' , 'idp_sso_service_binding' )
348348 defined? ( @compress_request ) ? @compress_request : true
349349 end
350350
351- # @deprecated Will be removed in v2.1 .0
351+ # @deprecated Will be removed in v3.0 .0
352352 def compress_request = ( value )
353353 compress_deprecation ( 'compress_request' , 'idp_sso_service_binding' )
354354 @compress_request = value
355355 end
356356
357- # @deprecated Will be removed in v2.1 .0
357+ # @deprecated Will be removed in v3.0 .0
358358 def compress_response
359359 compress_deprecation ( 'compress_response' , 'idp_slo_service_binding' )
360360 defined? ( @compress_response ) ? @compress_response : true
361361 end
362362
363- # @deprecated Will be removed in v2.1 .0
363+ # @deprecated Will be removed in v3.0 .0
364364 def compress_response = ( value )
365365 compress_deprecation ( 'compress_response' , 'idp_slo_service_binding' )
366366 @compress_response = value
367367 end
368368
369369 private
370370
371- # @deprecated Will be removed in v2.1 .0
371+ # @deprecated Will be removed in v3.0 .0
372372 def removed_deprecation ( old_param , new_value )
373- Logging . deprecate "`RubySaml::Settings##{ old_param } ` is deprecated and will be removed in RubySaml 2.1 .0. " \
373+ Logging . deprecate "`RubySaml::Settings##{ old_param } ` is deprecated and will be removed in RubySaml 3.0 .0. " \
374374 "It no longer has any effect, and will behave as if always set to #{ new_value . inspect } ."
375375 end
376376
377- # @deprecated Will be removed in v2.1 .0
377+ # @deprecated Will be removed in v3.0 .0
378378 def replaced_deprecation ( old_param , new_param )
379- Logging . deprecate "`RubySaml::Settings##{ old_param } ` is deprecated and will be removed in RubySaml 2.1 .0. " \
379+ Logging . deprecate "`RubySaml::Settings##{ old_param } ` is deprecated and will be removed in RubySaml 3.0 .0. " \
380380 "Please set the same value to `RubySaml::Settings##{ new_param } ` instead."
381381 end
382382
383- # @deprecated Will be removed in v2.1 .0
383+ # @deprecated Will be removed in v3.0 .0
384384 def idp_cert_fingerprint_deprecation
385385 Logging . deprecate '`RubySaml::Settings#idp_cert_fingerprint` and `#idp_cert_fingerprint_algorithm` are ' \
386- 'deprecated and will be removed in RubySaml v2.1 .0. Please provide the full IdP certificate in ' \
386+ 'deprecated and will be removed in RubySaml v3.0 .0. Please provide the full IdP certificate in ' \
387387 '`RubySaml::Settings#idp_cert` instead.'
388388 end
389389
390- # @deprecated Will be removed in v2.1 .0
390+ # @deprecated Will be removed in v3.0 .0
391391 def certificate_new_deprecation
392- Logging . deprecate '`RubySaml::Settings#certificate_new` is deprecated and will be removed in RubySaml v2.1 .0. ' \
392+ Logging . deprecate '`RubySaml::Settings#certificate_new` is deprecated and will be removed in RubySaml v3.0 .0. ' \
393393 'Please set `RubySaml::Settings#sp_cert_multi` instead. ' \
394394 'Please refer to documentation as `sp_cert_multi` has a different value type.'
395395 end
396396
397- # @deprecated Will be removed in v2.1 .0
397+ # @deprecated Will be removed in v3.0 .0
398398 def compress_deprecation ( old_param , new_param )
399399 Logging . deprecate "`RubySaml::Settings##{ old_param } ` is deprecated and no longer functional. " \
400- 'It will be removed in RubySaml 2.1 .0. ' \
400+ 'It will be removed in RubySaml 3.0 .0. ' \
401401 "Its functionality is now handled by `RubySaml::Settings##{ new_param } ` instead: " \
402402 '"HTTP-Redirect" will always be compressed, and "HTTP-POST" will always be uncompressed.'
403403 end
0 commit comments