cybrid_api_id_ruby 0.68.60 → 0.68.61

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -5
  4. data/cybrid_api_id_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_id_ruby/api/bank_applications_idp_api.rb +1 -1
  6. data/lib/cybrid_api_id_ruby/api/customer_tokens_idp_api.rb +1 -1
  7. data/lib/cybrid_api_id_ruby/api/organization_applications_idp_api.rb +1 -1
  8. data/lib/cybrid_api_id_ruby/api_client.rb +1 -1
  9. data/lib/cybrid_api_id_ruby/api_error.rb +1 -1
  10. data/lib/cybrid_api_id_ruby/configuration.rb +1 -1
  11. data/lib/cybrid_api_id_ruby/models/application_idp_model.rb +1 -1
  12. data/lib/cybrid_api_id_ruby/models/application_list_idp_model.rb +1 -1
  13. data/lib/cybrid_api_id_ruby/models/application_with_secret_all_of_idp_model.rb +1 -1
  14. data/lib/cybrid_api_id_ruby/models/application_with_secret_idp_model.rb +1 -1
  15. data/lib/cybrid_api_id_ruby/models/customer_token_idp_model.rb +1 -1
  16. data/lib/cybrid_api_id_ruby/models/post_bank_application_idp_model.rb +1 -1
  17. data/lib/cybrid_api_id_ruby/models/post_customer_token_idp_model.rb +1 -1
  18. data/lib/cybrid_api_id_ruby/models/post_organization_application_idp_model.rb +1 -1
  19. data/lib/cybrid_api_id_ruby/version.rb +2 -2
  20. data/lib/cybrid_api_id_ruby.rb +1 -1
  21. data/spec/api/bank_applications_idp_api_spec.rb +1 -1
  22. data/spec/api/customer_tokens_idp_api_spec.rb +1 -1
  23. data/spec/api/organization_applications_idp_api_spec.rb +1 -1
  24. data/spec/api_client_spec.rb +1 -1
  25. data/spec/configuration_spec.rb +1 -1
  26. data/spec/models/application_idp_model_spec.rb +1 -1
  27. data/spec/models/application_list_idp_model_spec.rb +1 -1
  28. data/spec/models/application_with_secret_all_of_idp_model_spec.rb +1 -1
  29. data/spec/models/application_with_secret_idp_model_spec.rb +1 -1
  30. data/spec/models/customer_token_idp_model_spec.rb +1 -1
  31. data/spec/models/post_bank_application_idp_model_spec.rb +1 -1
  32. data/spec/models/post_customer_token_idp_model_spec.rb +1 -1
  33. data/spec/models/post_organization_application_idp_model_spec.rb +1 -1
  34. data/spec/spec_helper.rb +1 -1
  35. data/vendor/bundle/ruby/3.2.0/cache/parser-3.2.2.1.gem +0 -0
  36. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
  37. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/gem_make.out +5 -5
  38. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.4/gem_make.out +5 -5
  39. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/gem_make.out +5 -5
  40. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.6/gem_make.out +5 -5
  41. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/builders/default.rb +13 -24
  42. data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.1/lib/parser/ruby28.rb +8047 -0
  43. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/version.rb +1 -1
  44. data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.2.2.0.gemspec → parser-3.2.2.1.gemspec} +4 -4
  45. metadata +82 -81
  46. data/vendor/bundle/ruby/3.2.0/cache/parser-3.2.2.0.gem +0 -0
  47. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/LICENSE.txt +0 -0
  48. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/bin/ruby-parse +0 -0
  49. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/bin/ruby-rewrite +0 -0
  50. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/gauntlet_parser.rb +0 -0
  51. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/all.rb +0 -0
  52. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ast/node.rb +0 -0
  53. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ast/processor.rb +0 -0
  54. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/base.rb +0 -0
  55. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/clobbering_error.rb +0 -0
  56. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/color.rb +0 -0
  57. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/context.rb +0 -0
  58. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/current.rb +0 -0
  59. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/current_arg_stack.rb +0 -0
  60. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/deprecation.rb +0 -0
  61. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/diagnostic/engine.rb +0 -0
  62. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/diagnostic.rb +0 -0
  63. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/lexer/dedenter.rb +0 -0
  64. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/lexer/explanation.rb +0 -0
  65. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/lexer/literal.rb +0 -0
  66. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/lexer/stack_state.rb +0 -0
  67. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/lexer-F0.rb +0 -0
  68. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/lexer-F1.rb +0 -0
  69. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/lexer-strings.rb +0 -0
  70. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/macruby.rb +0 -0
  71. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/max_numparam_stack.rb +0 -0
  72. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/messages.rb +0 -0
  73. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/meta.rb +0 -0
  74. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/rewriter.rb +0 -0
  75. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby18.rb +0 -0
  76. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby19.rb +0 -0
  77. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby20.rb +0 -0
  78. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby21.rb +0 -0
  79. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby22.rb +0 -0
  80. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby23.rb +0 -0
  81. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby24.rb +0 -0
  82. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby25.rb +0 -0
  83. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby26.rb +0 -0
  84. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby27.rb +0 -0
  85. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby30.rb +0 -0
  86. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby31.rb +0 -0
  87. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby32.rb +0 -0
  88. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/ruby33.rb +0 -0
  89. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/rubymotion.rb +0 -0
  90. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/runner/ruby_parse.rb +0 -0
  91. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/runner/ruby_rewrite.rb +0 -0
  92. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/runner.rb +0 -0
  93. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/buffer.rb +0 -0
  94. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/comment/associator.rb +0 -0
  95. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/comment.rb +0 -0
  96. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/collection.rb +0 -0
  97. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/condition.rb +0 -0
  98. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/constant.rb +0 -0
  99. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/definition.rb +0 -0
  100. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/for.rb +0 -0
  101. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/heredoc.rb +0 -0
  102. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/index.rb +0 -0
  103. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/keyword.rb +0 -0
  104. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/method_definition.rb +0 -0
  105. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/objc_kwarg.rb +0 -0
  106. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/operator.rb +0 -0
  107. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/rescue_body.rb +0 -0
  108. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/send.rb +0 -0
  109. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/ternary.rb +0 -0
  110. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map/variable.rb +0 -0
  111. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/map.rb +0 -0
  112. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/range.rb +0 -0
  113. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/rewriter/action.rb +0 -0
  114. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/rewriter.rb +0 -0
  115. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/tree_rewriter/action.rb +0 -0
  116. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/source/tree_rewriter.rb +0 -0
  117. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/static_environment.rb +0 -0
  118. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/syntax_error.rb +0 -0
  119. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/tree_rewriter.rb +0 -0
  120. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser/variables_stack.rb +0 -0
  121. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/lib/parser.rb +0 -0
  122. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.2.0 → parser-3.2.2.1}/parser.gemspec +0 -0
@@ -538,34 +538,23 @@ module Parser
538
538
  end
539
539
 
540
540
  def associate(begin_t, pairs, end_t)
541
- 0.upto(pairs.length - 1) do |i|
542
- (i + 1).upto(pairs.length - 1) do |j|
543
- pair_i = pairs[i]
544
- pair_j = pairs[j]
541
+ key_set = Set.new
545
542
 
546
- next if pair_i.type != :pair || pair_j.type != :pair
543
+ pairs.each do |pair|
544
+ next unless pair.type.eql?(:pair)
547
545
 
548
- key1, = *pair_i
549
- key2, = *pair_j
546
+ key, = *pair
550
547
 
551
- do_warn = false
552
-
553
- # keys have to be simple nodes, MRI ignores equal composite keys like
554
- # `{ a(1) => 1, a(1) => 1 }`
555
- case key1.type
556
- when :sym, :str, :int, :float
557
- if key1 == key2
558
- do_warn = true
559
- end
560
- when :rational, :complex, :regexp
561
- if @parser.version >= 31 && key1 == key2
562
- do_warn = true
563
- end
564
- end
548
+ case key.type
549
+ when :sym, :str, :int, :float
550
+ when :rational, :complex, :regexp
551
+ next unless @parser.version >= 31
552
+ else
553
+ next
554
+ end
565
555
 
566
- if do_warn
567
- diagnostic :warning, :duplicate_hash_key, nil, key2.loc.expression
568
- end
556
+ unless key_set.add?(key)
557
+ diagnostic :warning, :duplicate_hash_key, nil, key.loc.expression
569
558
  end
570
559
  end
571
560