ory-oathkeeper-client 0.38.20.beta1 → 0.38.24.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/LICENSE +201 -0
- data/README.md +15 -18
- data/docs/ApiApi.md +198 -12
- data/docs/InlineResponse500.md +28 -0
- data/docs/JsonWebKey.md +12 -12
- data/lib/ory-oathkeeper-client/api/api_api.rb +181 -10
- data/lib/ory-oathkeeper-client/api_client.rb +4 -4
- data/lib/ory-oathkeeper-client/api_error.rb +4 -4
- data/lib/ory-oathkeeper-client/configuration.rb +4 -4
- data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +4 -5
- data/lib/ory-oathkeeper-client/models/health_status.rb +4 -5
- data/lib/ory-oathkeeper-client/models/{generic_error.rb → inline_response500.rb} +8 -15
- data/lib/ory-oathkeeper-client/models/json_web_key.rb +4 -16
- data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +4 -5
- data/lib/ory-oathkeeper-client/models/rule.rb +4 -4
- data/lib/ory-oathkeeper-client/models/rule_handler.rb +4 -5
- data/lib/ory-oathkeeper-client/models/rule_match.rb +4 -4
- data/lib/ory-oathkeeper-client/models/upstream.rb +4 -5
- data/lib/ory-oathkeeper-client/models/version.rb +4 -4
- data/lib/ory-oathkeeper-client/version.rb +5 -5
- data/lib/ory-oathkeeper-client.rb +5 -9
- data/ory-oathkeeper-client.gemspec +6 -6
- data/spec/api/api_api_spec.rb +40 -7
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/health_not_ready_status_spec.rb +4 -4
- data/spec/models/health_status_spec.rb +4 -4
- data/spec/models/{generic_error_spec.rb → inline_response500_spec.rb} +10 -10
- data/spec/models/json_web_key_set_spec.rb +4 -4
- data/spec/models/json_web_key_spec.rb +4 -4
- data/spec/models/rule_handler_spec.rb +4 -4
- data/spec/models/rule_match_spec.rb +4 -4
- data/spec/models/rule_spec.rb +4 -4
- data/spec/models/upstream_spec.rb +4 -4
- data/spec/models/version_spec.rb +4 -4
- data/spec/spec_helper.rb +4 -4
- data/vendor/bundle/ruby/2.5.0/cache/parallel-1.22.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/MIT-LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/lib/parallel/processor_count.rb +2 -3
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.22.1/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/lib/parallel.rb +84 -4
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/bin/ruby-parse +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/bin/ruby-rewrite +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/gauntlet_parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/all.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ast/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ast/processor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/base.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/builders/default.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/clobbering_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/color.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/context.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/current.rb +10 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/current_arg_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/deprecation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/diagnostic/engine.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/diagnostic.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer/dedenter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer/explanation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer/literal.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer/stack_state.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/macruby.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/max_numparam_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/meta.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby18.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby19.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby20.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby21.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby22.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby23.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby24.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby25.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby26.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby27.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby28.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby30.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby31.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby32.rb +8330 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/rubymotion.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/runner/ruby_parse.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/runner.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/buffer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/comment/associator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/comment.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/collection.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/condition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/constant.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/for.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/heredoc.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/index.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/keyword.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/method_definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/operator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/rescue_body.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/send.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/ternary.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/variable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/range.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/static_environment.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/variables_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/parser.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/Changelog.md +10 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_list_matcher.rb +2 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/example_methods.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/marshal_extension.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_expectation.rb +13 -3
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_double.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/mutate_const.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/object_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/order_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/proxy.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/space.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/standalone.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/targets.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/test_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/{parallel-1.21.0.gemspec → parallel-1.22.1.gemspec} +4 -4
- data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.0.0.gemspec → parser-3.1.1.0.gemspec} +4 -4
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.11.0.gemspec → rspec-mocks-3.11.1.gemspec} +5 -5
- metadata +143 -155
- data/docs/GenericError.md +0 -28
- data/docs/InlineResponse200.md +0 -18
- data/docs/InlineResponse2001.md +0 -18
- data/docs/InlineResponse503.md +0 -18
- data/docs/MetadataApi.md +0 -193
- data/lib/ory-oathkeeper-client/api/metadata_api.rb +0 -193
- data/lib/ory-oathkeeper-client/models/inline_response200.rb +0 -224
- data/lib/ory-oathkeeper-client/models/inline_response2001.rb +0 -224
- data/lib/ory-oathkeeper-client/models/inline_response503.rb +0 -226
- data/spec/api/metadata_api_spec.rb +0 -68
- data/spec/models/inline_response2001_spec.rb +0 -34
- data/spec/models/inline_response200_spec.rb +0 -34
- data/spec/models/inline_response503_spec.rb +0 -34
- data/vendor/bundle/ruby/2.5.0/cache/parallel-1.21.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/lib/parallel/version.rb +0 -4
@@ -1,12 +1,12 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
=begin
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper
|
5
5
|
|
6
|
-
#
|
6
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v0.38.
|
9
|
-
Contact: hi@ory.
|
8
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
9
|
+
Contact: hi@ory.am
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 5.4.0
|
12
12
|
|
@@ -22,8 +22,8 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.authors = ["ORY GmbH"]
|
23
23
|
s.email = ["opensource@ory.sh"]
|
24
24
|
s.homepage = "https://www.ory.sh"
|
25
|
-
s.summary = "
|
26
|
-
s.description = "
|
25
|
+
s.summary = "ORY Oathkeeper Ruby Gem"
|
26
|
+
s.description = "ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies."
|
27
27
|
s.license = "Apache-2.0"
|
28
28
|
s.required_ruby_version = ">= 2.4"
|
29
29
|
|
data/spec/api/api_api_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -44,7 +44,7 @@ describe 'ApiApi' do
|
|
44
44
|
end
|
45
45
|
|
46
46
|
# unit tests for get_rule
|
47
|
-
# Retrieve a
|
47
|
+
# Retrieve a rule
|
48
48
|
# Use this method to retrieve a rule from the storage. If it does not exist you will receive a 404 error.
|
49
49
|
# @param id
|
50
50
|
# @param [Hash] opts the optional parameters
|
@@ -55,8 +55,19 @@ describe 'ApiApi' do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
+
# unit tests for get_version
|
59
|
+
# Get service version
|
60
|
+
# This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
|
61
|
+
# @param [Hash] opts the optional parameters
|
62
|
+
# @return [Version]
|
63
|
+
describe 'get_version test' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
58
69
|
# unit tests for get_well_known_json_web_keys
|
59
|
-
# Lists
|
70
|
+
# Lists cryptographic keys
|
60
71
|
# This endpoint returns cryptographic keys that are required to, for example, verify signatures of ID Tokens.
|
61
72
|
# @param [Hash] opts the optional parameters
|
62
73
|
# @return [JsonWebKeySet]
|
@@ -66,8 +77,30 @@ describe 'ApiApi' do
|
|
66
77
|
end
|
67
78
|
end
|
68
79
|
|
80
|
+
# unit tests for is_instance_alive
|
81
|
+
# Check alive status
|
82
|
+
# This endpoint returns a 200 status code when the HTTP server is up running. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
|
83
|
+
# @param [Hash] opts the optional parameters
|
84
|
+
# @return [HealthStatus]
|
85
|
+
describe 'is_instance_alive test' do
|
86
|
+
it 'should work' do
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
# unit tests for is_instance_ready
|
92
|
+
# Check readiness status
|
93
|
+
# This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @return [HealthStatus]
|
96
|
+
describe 'is_instance_ready test' do
|
97
|
+
it 'should work' do
|
98
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
69
102
|
# unit tests for list_rules
|
70
|
-
# List
|
103
|
+
# List all rules
|
71
104
|
# This method returns an array of all rules that are stored in the backend. This is useful if you want to get a full view of what rules you have currently in place.
|
72
105
|
# @param [Hash] opts the optional parameters
|
73
106
|
# @option opts [Integer] :limit The maximum amount of rules returned.
|
data/spec/api_client_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for OryOathkeeperClient::
|
17
|
+
# Unit tests for OryOathkeeperClient::InlineResponse500
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe OryOathkeeperClient::
|
21
|
-
let(:instance) { OryOathkeeperClient::
|
20
|
+
describe OryOathkeeperClient::InlineResponse500 do
|
21
|
+
let(:instance) { OryOathkeeperClient::InlineResponse500.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(OryOathkeeperClient::
|
23
|
+
describe 'test an instance of InlineResponse500' do
|
24
|
+
it 'should create an instance of InlineResponse500' do
|
25
|
+
expect(instance).to be_instance_of(OryOathkeeperClient::InlineResponse500)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "code"' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
data/spec/models/rule_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
data/spec/models/version_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#ORY Oathkeeper
|
3
3
|
|
4
|
-
#
|
4
|
+
#ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
7
|
-
Contact: hi@ory.
|
6
|
+
The version of the OpenAPI document: v0.38.24-beta.1
|
7
|
+
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug
|
2
|
-
/usr/bin/ruby2.5 -r ./
|
2
|
+
/usr/bin/ruby2.5 -r ./siteconf20220406-3650-chixis.rb extconf.rb
|
3
3
|
creating Makefile
|
4
4
|
|
5
5
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug
|
@@ -16,4 +16,4 @@ linking shared-object byebug/byebug.so
|
|
16
16
|
|
17
17
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug
|
18
18
|
make "DESTDIR=" install
|
19
|
-
/usr/bin/install -c -m 0755 byebug.so ./.gem.
|
19
|
+
/usr/bin/install -c -m 0755 byebug.so ./.gem.20220406-3650-1b4ulxm/byebug
|
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c
|
2
|
-
/usr/bin/ruby2.5 -r ./
|
2
|
+
/usr/bin/ruby2.5 -r ./siteconf20220406-3650-1siq5gl.rb extconf.rb
|
3
3
|
/usr/lib/ruby/2.5.0/mkmf.rb:1554: warning: Insecure world writable dir /go/bin in PATH, mode 040777
|
4
4
|
checking for ffi_prep_closure_loc() in -lffi... yes
|
5
5
|
checking for ffi_prep_cif_var()... yes
|
@@ -41,4 +41,4 @@ linking shared-object ffi_c.so
|
|
41
41
|
|
42
42
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c
|
43
43
|
make "DESTDIR=" install
|
44
|
-
/usr/bin/install -c -m 0755 ffi_c.so ./.gem.
|
44
|
+
/usr/bin/install -c -m 0755 ffi_c.so ./.gem.20220406-3650-12yttyt
|
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
|
2
|
-
/usr/bin/ruby2.5 -r ./
|
2
|
+
/usr/bin/ruby2.5 -r ./siteconf20220406-3650-gh22hp.rb extconf.rb
|
3
3
|
creating Makefile
|
4
4
|
|
5
5
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
|
@@ -35,4 +35,4 @@ linking shared-object jaro_winkler/jaro_winkler_ext.so
|
|
35
35
|
|
36
36
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
|
37
37
|
make "DESTDIR=" install
|
38
|
-
/usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.
|
38
|
+
/usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20220406-3650-5mj9qn/jaro_winkler
|
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych
|
2
|
-
/usr/bin/ruby2.5 -r ./
|
2
|
+
/usr/bin/ruby2.5 -r ./siteconf20220406-3650-16fkl3u.rb extconf.rb
|
3
3
|
checking for yaml.h... no
|
4
4
|
checking for _WIN32... no
|
5
5
|
checking for dlfcn.h... yes
|
@@ -38,4 +38,4 @@ linking shared-object psych.so
|
|
38
38
|
|
39
39
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych
|
40
40
|
make "DESTDIR=" install
|
41
|
-
/usr/bin/install -c -m 0755 psych.so ./.gem.
|
41
|
+
/usr/bin/install -c -m 0755 psych.so ./.gem.20220406-3650-k9wcr7
|
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio
|
2
|
-
/usr/bin/ruby2.5 -r ./
|
2
|
+
/usr/bin/ruby2.5 -r ./siteconf20220406-3650-15z1jio.rb extconf.rb
|
3
3
|
checking for rb_io_extract_modeenc() in ruby/io.h... no
|
4
4
|
creating Makefile
|
5
5
|
|
@@ -13,4 +13,4 @@ linking shared-object stringio.so
|
|
13
13
|
|
14
14
|
current directory: /sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio
|
15
15
|
make "DESTDIR=" install
|
16
|
-
/usr/bin/install -c -m 0755 stringio.so ./.gem.
|
16
|
+
/usr/bin/install -c -m 0755 stringio.so ./.gem.20220406-3650-ugq80x
|
@@ -39,7 +39,7 @@ checked program was:
|
|
39
39
|
/* end */
|
40
40
|
|
41
41
|
"gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ADJMZV/ruby2.5-2.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.5 -lpthread -lgmp -ldl -lcrypt -lm -lc"
|
42
|
-
/usr/bin/ld: /tmp/
|
42
|
+
/usr/bin/ld: /tmp/ccwkXxz7.o: in function `t':
|
43
43
|
/sdk/clients/oathkeeper/ruby/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/conftest.c:16: undefined reference to `rb_io_extract_modeenc'
|
44
44
|
collect2: error: ld returned 1 exit status
|
45
45
|
checked program was:
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20220406-3650-1b4ulxm
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20220406-3650-1b4ulxm
|
36
36
|
sitedir = $(DESTDIR)/usr/local/lib/site_ruby
|
37
37
|
rubyarchdir = $(rubyarchprefix)/$(ruby_version)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20220406-3650-12yttyt
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20220406-3650-12yttyt
|
36
36
|
sitedir = $(DESTDIR)/usr/local/lib/site_ruby
|
37
37
|
rubyarchdir = $(rubyarchprefix)/$(ruby_version)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20220406-3650-5mj9qn
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20220406-3650-5mj9qn
|
36
36
|
sitedir = $(DESTDIR)/usr/local/lib/site_ruby
|
37
37
|
rubyarchdir = $(rubyarchprefix)/$(ruby_version)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
File without changes
|
@@ -1,11 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
require 'etc'
|
3
|
-
|
4
2
|
module Parallel
|
5
3
|
# TODO: inline this method into parallel.rb and kill physical_processor_count in next major release
|
6
4
|
module ProcessorCount
|
7
5
|
# Number of processors seen by the OS, used for process scheduling
|
8
6
|
def processor_count
|
7
|
+
require 'etc'
|
9
8
|
@processor_count ||= Integer(ENV['PARALLEL_PROCESSOR_COUNT'] || Etc.nprocessors)
|
10
9
|
end
|
11
10
|
|
@@ -19,7 +18,7 @@ module Parallel
|
|
19
18
|
when /linux/
|
20
19
|
cores = {} # unique physical ID / core ID combinations
|
21
20
|
phy = 0
|
22
|
-
|
21
|
+
File.read("/proc/cpuinfo").scan(/^physical id.*|^core id.*/) do |ln|
|
23
22
|
if ln.start_with?("physical")
|
24
23
|
phy = ln[/\d+/]
|
25
24
|
elsif ln.start_with?("core")
|
@@ -264,6 +264,9 @@ module Parallel
|
|
264
264
|
elsif options[:in_threads]
|
265
265
|
method = :in_threads
|
266
266
|
size = options[method]
|
267
|
+
elsif options[:in_ractors]
|
268
|
+
method = :in_ractors
|
269
|
+
size = options[method]
|
267
270
|
else
|
268
271
|
method = :in_processes
|
269
272
|
if Process.respond_to?(:fork)
|
@@ -285,6 +288,8 @@ module Parallel
|
|
285
288
|
work_direct(job_factory, options, &block)
|
286
289
|
elsif method == :in_threads
|
287
290
|
work_in_threads(job_factory, options.merge(count: size), &block)
|
291
|
+
elsif method == :in_ractors
|
292
|
+
work_in_ractors(job_factory, options.merge(count: size), &block)
|
288
293
|
else
|
289
294
|
work_in_processes(job_factory, options.merge(count: size), &block)
|
290
295
|
end
|
@@ -382,6 +387,72 @@ module Parallel
|
|
382
387
|
exception || results
|
383
388
|
end
|
384
389
|
|
390
|
+
def work_in_ractors(job_factory, options)
|
391
|
+
exception = nil
|
392
|
+
results = []
|
393
|
+
results_mutex = Mutex.new # arrays are not thread-safe on jRuby
|
394
|
+
|
395
|
+
callback = options[:ractor]
|
396
|
+
if block_given? || !callback
|
397
|
+
raise ArgumentError, "pass the code you want to execute as `ractor: [ClassName, :method_name]`"
|
398
|
+
end
|
399
|
+
|
400
|
+
# build
|
401
|
+
ractors = Array.new(options.fetch(:count)) do
|
402
|
+
Ractor.new do
|
403
|
+
loop do
|
404
|
+
got = receive
|
405
|
+
(klass, method_name), item, index = got
|
406
|
+
break if index == :break
|
407
|
+
begin
|
408
|
+
Ractor.yield [nil, klass.send(method_name, item), item, index]
|
409
|
+
rescue StandardError => e
|
410
|
+
Ractor.yield [e, nil, item, index]
|
411
|
+
end
|
412
|
+
end
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
# start
|
417
|
+
ractors.dup.each do |ractor|
|
418
|
+
if set = job_factory.next
|
419
|
+
item, index = set
|
420
|
+
instrument_start item, index, options
|
421
|
+
ractor.send [callback, item, index]
|
422
|
+
else
|
423
|
+
ractor.send([[nil, nil], nil, :break]) # stop the ractor
|
424
|
+
ractors.delete ractor
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
# replace with new items
|
429
|
+
while set = job_factory.next
|
430
|
+
item_next, index_next = set
|
431
|
+
done, (exception, result, item, index) = Ractor.select(*ractors)
|
432
|
+
if exception
|
433
|
+
ractors.delete done
|
434
|
+
break
|
435
|
+
end
|
436
|
+
instrument_finish item, index, result, options
|
437
|
+
results_mutex.synchronize { results[index] = (options[:preserve_results] == false ? nil : result) }
|
438
|
+
|
439
|
+
instrument_start item_next, index_next, options
|
440
|
+
done.send([callback, item_next, index_next])
|
441
|
+
end
|
442
|
+
|
443
|
+
# finish
|
444
|
+
ractors.each do |ractor|
|
445
|
+
(new_exception, result, item, index) = ractor.take
|
446
|
+
exception ||= new_exception
|
447
|
+
next if new_exception
|
448
|
+
instrument_finish item, index, result, options
|
449
|
+
results_mutex.synchronize { results[index] = (options[:preserve_results] == false ? nil : result) }
|
450
|
+
ractor.send([[nil, nil], nil, :break]) # stop the ractor
|
451
|
+
end
|
452
|
+
|
453
|
+
exception || results
|
454
|
+
end
|
455
|
+
|
385
456
|
def work_in_processes(job_factory, options, &blk)
|
386
457
|
workers = create_workers(job_factory, options, &blk)
|
387
458
|
results = []
|
@@ -426,6 +497,7 @@ module Parallel
|
|
426
497
|
end
|
427
498
|
end
|
428
499
|
end
|
500
|
+
|
429
501
|
exception || results
|
430
502
|
end
|
431
503
|
|
@@ -521,12 +593,20 @@ module Parallel
|
|
521
593
|
end
|
522
594
|
|
523
595
|
def with_instrumentation(item, index, options)
|
524
|
-
|
525
|
-
on_finish = options[:finish]
|
526
|
-
options[:mutex].synchronize { on_start.call(item, index) } if on_start
|
596
|
+
instrument_start(item, index, options)
|
527
597
|
result = yield
|
528
|
-
|
598
|
+
instrument_finish(item, index, result, options)
|
529
599
|
result unless options[:preserve_results] == false
|
530
600
|
end
|
601
|
+
|
602
|
+
def instrument_finish(item, index, result, options)
|
603
|
+
return unless on_finish = options[:finish]
|
604
|
+
options[:mutex].synchronize { on_finish.call(item, index, result) }
|
605
|
+
end
|
606
|
+
|
607
|
+
def instrument_start(item, index, options)
|
608
|
+
return unless on_start = options[:start]
|
609
|
+
options[:mutex].synchronize { on_start.call(item, index) }
|
610
|
+
end
|
531
611
|
end
|
532
612
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ast/processor.rb
RENAMED
File without changes
|
File without changes
|