logstash-filter-cache-redis 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/filters/cache_redis.rb +16 -1
- data/logstash-filter-cache-redis.gemspec +1 -1
- data/vendor/bundle/jruby/1.9/cache/concurrent-ruby-1.0.5-java.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/elasticsearch-5.0.4.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/elasticsearch-api-5.0.4.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/elasticsearch-transport-5.0.4.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/faraday-0.12.1.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/jruby-openssl-0.9.19-java.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/logstash-core-5.5.0-java.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/logstash-core-plugin-api-2.1.26-java.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/manticore-0.6.1-java.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/multi_json-1.12.1.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/multipart-post-2.0.0.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/rack-1.6.6.gem +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/CHANGELOG.md +387 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/LICENSE.txt +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/README.md +247 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent.rb +130 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/agent.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/array.rb +39 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/async.rb +445 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atom.rb +222 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/atomic_boolean.rb +122 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/atomic_fixnum.rb +139 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/atomic_reference.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic/java_count_down_latch.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic/mutex_atomic_boolean.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/mutex_count_down_latch.rb +43 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic/read_write_lock.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic/reentrant_read_write_lock.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic_reference/concurrent_update_error.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic_reference/direct_update.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomic_reference/jruby+truffle.rb +2 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic_reference/jruby.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic_reference/mutex_atomic.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic_reference/rbx.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/atomic_reference/ruby.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/atomics.rb +53 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/collection/copy_on_notify_observer_set.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/collection/copy_on_write_observer_set.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/collection/map/atomic_reference_map_backend.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/collection/map/mri_map_backend.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/collection/map/non_concurrent_map_backend.rb +141 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/collection/non_concurrent_priority_queue.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/concern/deprecation.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/concern/dereferenceable.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/concern/logging.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/concern/observable.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/configuration.rb +188 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/constants.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/dataflow.rb +80 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/delay.rb +197 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/edge.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/errors.rb +69 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/exchanger.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/abstract_executor_service.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/cached_thread_pool.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/executor_service.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/immediate_executor.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/indirect_immediate_executor.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/java_executor_service.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/java_single_thread_executor.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/java_thread_pool_executor.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/ruby_executor_service.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/ruby_single_thread_executor.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/safe_task_executor.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/serial_executor_service.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/serialized_execution.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/serialized_execution_delegator.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/simple_executor_service.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executor/single_thread_executor.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/timer_set.rb +175 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/executors.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/future.rb +138 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/hash.rb +36 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/immutable_struct.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/ivar.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/lazy_register.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/map.rb +240 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/maybe.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/mutable_struct.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/mvar.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/options.rb +42 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/promise.rb +547 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/settable_struct.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/synchronization.rb +31 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/synchronization/abstract_object.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/synchronization/abstract_struct.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/synchronization/condition.rb +58 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/synchronization/jruby_lockable_object.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/synchronization/jruby_object.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/synchronization/lock.rb +34 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/synchronization/mri_lockable_object.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/synchronization/mri_object.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/synchronization/object.rb +153 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/synchronization/rbx_lockable_object.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/synchronization/rbx_object.rb +48 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/synchronization/truffle_lockable_object.rb +9 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/synchronization/truffle_object.rb +31 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/synchronization/volatile.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/thread_safe/synchronized_delegator.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/thread_safe/util/adder.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/thread_safe/util/array_hash_rbx.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/thread_safe/util/cheap_lockable.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/thread_safe/util/striped64.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/thread_safe/util/volatile.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/thread_safe/util/xor_shift_random.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/timer_task.rb +331 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/tuple.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/utility/at_exit.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/utility/monotonic_time.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{concurrent-ruby-1.0.0-java → concurrent-ruby-1.0.5-java}/lib/concurrent/utility/native_extension_loader.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/utility/processor_counter.rb +160 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/version.rb +4 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent_ruby_ext.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/Gemfile +16 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/LICENSE.txt +13 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/README.md +102 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/Rakefile +48 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/elasticsearch.gemspec +68 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/lib/elasticsearch-ruby.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/lib/elasticsearch.rb +12 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/lib/elasticsearch/version.rb +3 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/test/integration/client_integration_test.rb +60 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/test/test_helper.rb +61 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-5.0.4/test/unit/wrapper_gem_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/Gemfile +16 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/LICENSE.txt +13 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/README.md +205 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/Rakefile +156 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/elasticsearch-api.gemspec +76 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch-api.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api.rb +67 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/abort_benchmark.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/benchmark.rb +62 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/bulk.rb +99 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/aliases.rb +73 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/allocation.rb +71 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/count.rb +65 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/fielddata.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/health.rb +53 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/help.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/indices.rb +82 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/master.rb +50 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/nodeattrs.rb +35 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/nodes.rb +63 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/pending_tasks.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/plugins.rb +36 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/recovery.rb +75 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/repositories.rb +42 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/segments.rb +39 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/shards.rb +79 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/snapshots.rb +47 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/tasks.rb +43 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/templates.rb +39 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cat/thread_pool.rb +64 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/clear_scroll.rb +24 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +29 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cluster/get_settings.rb +34 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cluster/health.rb +63 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +33 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cluster/put_settings.rb +30 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cluster/reroute.rb +48 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cluster/state.rb +63 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cluster/stats.rb +30 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/count.rb +73 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/count_percolate.rb +78 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/create.rb +34 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/delete.rb +62 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/delete_by_query.rb +105 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/delete_script.rb +31 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/delete_template.rb +21 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/exists.rb +63 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/explain.rb +84 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/field_caps.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/field_stats.rb +32 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/get.rb +74 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/get_script.rb +24 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/get_source.rb +67 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/get_template.rb +27 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/index.rb +104 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/analyze.rb +80 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/clear_cache.rb +67 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/close.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/create.rb +91 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/delete.rb +50 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/delete_alias.rb +36 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/delete_mapping.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/delete_template.rb +40 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/delete_warmer.rb +32 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/exists.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/exists_alias.rb +52 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/exists_template.rb +35 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/exists_type.rb +53 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/flush.rb +52 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/flush_synced.rb +35 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/forcemerge.rb +62 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/get.rb +50 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/get_alias.rb +52 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/get_aliases.rb +34 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +66 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/get_mapping.rb +57 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/get_settings.rb +70 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/get_template.rb +40 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/get_warmer.rb +60 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/open.rb +49 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/optimize.rb +74 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/put_alias.rb +41 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/put_mapping.rb +76 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/put_settings.rb +72 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/put_template.rb +40 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/put_warmer.rb +64 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/recovery.rb +42 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/refresh.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/rollover.rb +41 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/seal.rb +24 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/segments.rb +46 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/shard_stores.rb +34 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/shrink.rb +45 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/snapshot_index.rb +43 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/stats.rb +123 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/status.rb +60 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/update_aliases.rb +48 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/upgrade.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/indices/validate_query.rb +97 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/info.rb +19 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +29 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +32 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/ingest/simulate.rb +29 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/list_benchmarks.rb +27 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/mget.rb +76 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/mlt.rb +128 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/mpercolate.rb +59 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/msearch.rb +78 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/mtermvectors.rb +70 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/nodes/hot_threads.rb +48 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/nodes/info.rb +80 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/nodes/shutdown.rb +36 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/nodes/stats.rb +83 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/percolate.rb +106 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/ping.rb +31 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/put_script.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/put_template.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/reindex.rb +69 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/render_search_template.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/scroll.rb +65 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/search.rb +187 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/search_exists.rb +59 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/search_shards.rb +41 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/search_template.rb +61 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/snapshot/create.rb +48 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/snapshot/create_repository.rb +44 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/snapshot/delete.rb +46 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +43 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/snapshot/get.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/snapshot/get_repository.rb +47 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/snapshot/restore.rb +53 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/snapshot/status.rb +47 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +33 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/suggest.rb +46 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/tasks/cancel.rb +40 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/tasks/list.rb +47 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/termvectors.rb +97 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/update.rb +112 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/update_by_query.rb +128 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/namespace/cat.rb +20 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/namespace/cluster.rb +20 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/namespace/common.rb +27 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/namespace/indices.rb +20 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/namespace/ingest.rb +20 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/namespace/nodes.rb +20 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/namespace/snapshot.rb +20 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/namespace/tasks.rb +20 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/utils.rb +264 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/version.rb +5 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/integration/yaml_test_runner.rb +531 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/test_helper.rb +69 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/abort_benchmark_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/api_test.rb +28 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/benchmark_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/bulk_test.rb +133 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/aliases_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/allocation_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/count_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/fielddata_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/health_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/help_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/indices_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/master_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/nodeattrs_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/nodes_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/pending_tasks_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/plugins_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/recovery_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/repositories_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/segments_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/shards_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/snapshots_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/tasks_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/templates_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cat/thread_pool_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/clear_scroll_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/client_test.rb +31 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cluster/allocation_explain_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cluster/get_settings_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cluster/health_test.rb +47 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cluster/pending_tasks_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cluster/put_settings_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cluster/reroute_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cluster/state_test.rb +46 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/cluster/stats_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/count_percolate_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/count_test.rb +46 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/create_document_test.rb +47 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/delete_by_query_test.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/delete_document_test.rb +85 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/delete_script_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/delete_template_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/exists_document_test.rb +90 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/explain_document_test.rb +73 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/field_caps_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/field_stats_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/get_document_source_test.rb +71 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/get_document_test.rb +85 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/get_script_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/get_template_test.rb +41 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/hashie_test.rb +78 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/index_document_test.rb +92 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/analyze_test.rb +76 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/clear_cache_test.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/close_test.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/create_test.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/delete_alias_test.rb +47 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/delete_mapping_test.rb +56 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/delete_template_test.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/delete_test.rb +69 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/delete_warmer_test.rb +68 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/exists_alias_test.rb +73 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/exists_template_test.rb +59 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/exists_test.rb +71 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/exists_type_test.rb +73 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/flush_synced_test.rb +41 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/flush_test.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/forcemerge_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/get_alias_test.rb +44 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/get_aliases_test.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/get_field_mapping_test.rb +44 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/get_mapping_test.rb +62 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/get_settings_test.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/get_template_test.rb +43 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/get_test.rb +45 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/get_warmer_test.rb +44 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/open_test.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/optimize_test.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/put_alias_test.rb +59 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/put_mapping_test.rb +60 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/put_settings_test.rb +68 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/put_template_test.rb +57 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/put_warmer_test.rb +65 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/recovery_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/refresh_test.rb +64 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/rollover_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/seal_test.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/segments_test.rb +64 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/shard_stores_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/shrink_test.rb +33 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/snapshot_index_test.rb +64 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/stats_test.rb +76 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/status_test.rb +72 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/update_aliases_test.rb +42 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/upgrade_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/indices/validate_query_test.rb +84 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/info_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/ingest/delete_pipeline_test.rb +41 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/ingest/get_pipeline_test.rb +35 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/ingest/put_pipeline_test.rb +46 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/ingest/simulate_test.rb +35 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/json_builders_test.rb +64 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/list_benchmarks_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/mget_test.rb +79 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/mlt_test.rb +89 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/mpercolate_test.rb +51 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/msearch_test.rb +129 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/mtermvectors_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/nodes/hot_threads_test.rb +44 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/nodes/info_test.rb +75 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/nodes/shutdown_test.rb +45 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/nodes/stats_test.rb +65 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/percolate_test.rb +56 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/ping_test.rb +53 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/put_script_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/put_template_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/reindex_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/render_search_template_test.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/scroll_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/search_exists_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/search_shards_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/search_template_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/search_test.rb +116 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/snapshot/create_repository_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/snapshot/create_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/snapshot/delete_repository_test.rb +35 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/snapshot/delete_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/snapshot/get_repository_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/snapshot/get_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/snapshot/restore_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/snapshot/status_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/snapshot/verify_repository_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/suggest_test.rb +64 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/tasks/cancel_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/tasks/list_test.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/termvectors_test.rb +47 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/update_by_query_test.rb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/update_document_test.rb +85 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/test/unit/utils_test.rb +313 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/utils/Gemfile +9 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/utils/Thorfile +3 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/utils/thor/generate_api.rb +189 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/utils/thor/generate_source.rb +134 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/utils/thor/lister.rb +41 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/utils/thor/templates/ruby/method.erb +58 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/utils/thor/templates/ruby/test.erb +26 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.4/utils/thor/templates/ruby/test_helper.rb +71 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/Gemfile +16 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/LICENSE.txt +13 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/README.md +475 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/Rakefile +80 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/elasticsearch-transport.gemspec +80 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch-transport.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport.rb +30 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/client.rb +215 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/base.rb +344 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/connections/collection.rb +113 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/connections/connection.rb +141 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/connections/selector.rb +63 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/errors.rb +73 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/http/curb.rb +83 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/http/faraday.rb +53 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/http/manticore.rb +146 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/response.rb +21 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/serializer/multi_json.rb +36 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/sniffer.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/version.rb +5 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/integration/client_test.rb +237 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/integration/transport_test.rb +77 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/profile/client_benchmark_test.rb +125 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/test_helper.rb +76 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/client_test.rb +358 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/connection_collection_test.rb +130 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/connection_selector_test.rb +64 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/connection_test.rb +109 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/response_test.rb +15 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/serializer_test.rb +16 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/sniffer_test.rb +179 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/transport_base_test.rb +622 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/transport_curb_test.rb +110 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/transport_faraday_test.rb +199 -0
- data/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/transport_manticore_test.rb +137 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/LICENSE.md +20 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/README.md +354 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday.rb +243 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter.rb +53 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/em_http.rb +243 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/em_http_ssl_patch.rb +56 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/em_synchrony.rb +106 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb +66 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/excon.rb +80 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/httpclient.rb +128 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/net_http.rb +135 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/net_http_persistent.rb +50 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/patron.rb +76 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/rack.rb +58 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/test.rb +205 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/adapter/typhoeus.rb +123 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/autoload.rb +84 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/connection.rb +455 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/error.rb +63 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/middleware.rb +37 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/options.rb +372 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/parameters.rb +197 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/rack_builder.rb +213 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/request.rb +94 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/request/authorization.rb +41 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/request/basic_authentication.rb +13 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/request/instrumentation.rb +36 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/request/multipart.rb +68 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/request/retry.rb +164 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/request/token_authentication.rb +15 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/request/url_encoded.rb +36 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/response.rb +97 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/response/logger.rb +80 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/response/raise_error.rb +21 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/upload_io.rb +67 -0
- data/vendor/bundle/jruby/1.9/gems/faraday-0.12.1/lib/faraday/utils.rb +317 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/History.md +454 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/LICENSE.txt +37 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/Mavenfile +194 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/README.md +55 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/Rakefile +67 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/integration/1.47/pom.xml +15 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/integration/1.48/pom.xml +15 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/integration/1.49/pom.xml +15 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/integration/1.50/pom.xml +15 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/integration/Mavenfile +57 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/integration/pom.xml +122 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl/load.rb +41 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl/version.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl.rb +23 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl/bn.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl/buffering.rb +241 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl/cipher.rb +28 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl/config.rb +316 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl/digest.rb +32 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl/pkcs7.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl/ssl-internal.rb +112 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl/ssl.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl/x509-internal.rb +110 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl18/openssl/x509.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl19/openssl.rb +22 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl19/openssl/bn.rb +29 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl19/openssl/buffering.rb +449 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl19/openssl/cipher.rb +28 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl19/openssl/config.rb +472 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl19/openssl/digest.rb +32 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl19/openssl/ssl-internal.rb +119 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl19/openssl/ssl.rb +2 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl19/openssl/x509-internal.rb +115 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl19/openssl/x509.rb +2 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl21/openssl.rb +22 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl21/openssl/bn.rb +28 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl21/openssl/buffering.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl21/openssl/cipher.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl21/openssl/config.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl21/openssl/digest.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl21/openssl/ssl.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl21/openssl/x509.rb +119 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl22/openssl.rb +22 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl22/openssl/bn.rb +39 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl22/openssl/buffering.rb +456 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl22/openssl/cipher.rb +28 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl22/openssl/config.rb +313 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl22/openssl/digest.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl22/openssl/ssl.rb +330 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl22/openssl/x509.rb +139 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl23/openssl.rb +19 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl23/openssl/bn.rb +37 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl23/openssl/buffering.rb +451 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl23/openssl/cipher.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl23/openssl/config.rb +473 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl23/openssl/digest.rb +43 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl23/openssl/pkey.rb +37 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl23/openssl/ssl.rb +423 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl23/openssl/x509.rb +133 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jopenssl24.rb +112 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/jruby-openssl.rb +5 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/bn.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/buffering.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/cipher.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/config.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/digest.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/pkcs12.rb +103 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/pkcs7.rb +5 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/pkey.rb +5 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/ssl-internal.rb +7 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/ssl.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/x509-internal.rb +7 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/openssl/x509.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/org/bouncycastle/bcpkix-jdk15on/1.55/bcpkix-jdk15on-1.55.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/lib/org/bouncycastle/bcprov-jdk15on/1.55/bcprov-jdk15on-1.55.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.9.19-java/pom.xml +1080 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/gemspec_jars.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/com/fasterxml/jackson/core/jackson-annotations/2.7.0/jackson-annotations-2.7.0.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/com/fasterxml/jackson/core/jackson-core/2.7.4/jackson-core-2.7.4.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/com/fasterxml/jackson/core/jackson-databind/2.7.4/jackson-databind-2.7.4.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.7.4/jackson-dataformat-cbor-2.7.4.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.7.4/jackson-module-afterburner-2.7.4.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash-core.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash-core/logstash-core.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash-core/logstash-core.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash-core/version.rb +8 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash-core_jars.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/agent.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/app_helpers.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/command_factory.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/commands/base.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/commands/default_metadata.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/api/commands/hot_threads_reporter.rb +58 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/api/commands/node.rb +63 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/api/commands/stats.rb +116 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/commands/system/basicinfo_command.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/commands/system/plugins_command.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/errors.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/modules/base.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/modules/logging.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/modules/node.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/modules/node_stats.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/modules/plugins.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/modules/root.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/modules/stats.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/rack_app.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/api/service.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/build.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/codecs/base.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/config/config_ast.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/config/cpu_core_strategy.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/config/defaults.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/config/file.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/config/grammar.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/config/loader.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/config/mixin.rb +566 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/config/modules_common.rb +71 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/elasticsearch_client.rb +120 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/environment.rb +183 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/errors.rb +13 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/event.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/event_dispatcher.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/execution_context.rb +18 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/filter_delegator.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/filters/base.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/inputs/base.rb +138 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/inputs/threadable.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/collector.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/instrument/global_metrics.rb +13 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/metric.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/metric_store.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/metric_type.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/metric_type/base.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/metric_type/counter.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/metric_type/gauge.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/instrument/metric_type/mean.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/namespaced_metric.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/namespaced_null_metric.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/null_metric.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/periodic_poller/base.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/periodic_poller/cgroup.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/instrument/periodic_poller/jvm.rb +190 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/periodic_poller/load_average.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/periodic_poller/os.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/periodic_poller/pq.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/periodic_pollers.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/snapshot.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/instrument/wrapped_write_client.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/java_integration.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/json.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/logging.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/logging/json.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/logging/logger.rb +152 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/cli_parser.rb +74 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/elasticsearch_config.rb +22 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/elasticsearch_resource.rb +10 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/file_reader.rb +36 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/importer.rb +37 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/kibana_base_resource.rb +10 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/kibana_config.rb +104 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/kibana_resource.rb +10 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/logstash_config.rb +48 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/resource_base.rb +37 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/modules/scaffold.rb +44 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/namespace.rb +15 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/output_delegator.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/output_delegator_strategies/legacy.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/output_delegator_strategies/shared.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/output_delegator_strategies/single.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/output_delegator_strategy_registry.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/outputs/base.rb +123 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/patches.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/patches/bugfix_jruby_2558.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/patches/cabin.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/patches/clamp.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/patches/exception_to_json.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/patches/profile_require_calls.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/patches/puma.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/patches/rubygems.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/patches/stronger_openssl_defaults.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/pipeline.rb +649 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/pipeline_reporter.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/plugin.rb +142 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/plugins/hooks_registry.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/plugins/registry.rb +253 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/program.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/queue_factory.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/runner.rb +484 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/settings.rb +541 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/shutdown_watcher.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/string_interpolation.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/timestamp.rb +31 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/universal_plugin.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/buftok.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/byte_value.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/charset.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/util/dead_letter_queue_manager.rb +61 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/decorators.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/duration_formatter.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/util/environment_variables.rb +43 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/filetools.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/java_version.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/loggable.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/password.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/plugin_version.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/prctl.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/retryable.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/util/safe_uri.rb +175 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/socket_peer.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/util/thread_dump.rb +57 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/time_value.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/unicode_trimmer.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/util/worker_threads_default_printer.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/util/wrapped_acked_queue.rb +407 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/util/wrapped_synchronous_queue.rb +319 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/version.rb +14 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/logstash/webserver.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/lib/org/apache/logging/log4j/log4j-core/2.6.2/log4j-core-2.6.2.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/locales/en.yml +314 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/logstash-core.gemspec +60 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/conditionals_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/acked_queue_concurrent_stress_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/agent_spec.rb +588 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/api/commands/stats_spec.rb +52 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/api/errors_spec.rb +27 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/api/modules/logging_spec.rb +32 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/api/modules/node_plugins_spec.rb +32 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/api/modules/node_spec.rb +150 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/api/modules/node_stats_spec.rb +92 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/api/modules/plugins_spec.rb +54 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/api/modules/root_spec.rb +18 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java/spec/api/lib → logstash-core-5.5.0-java/spec/logstash/api}/rack_app_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/codecs/base_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/config/config_ast_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/config/cpu_core_strategy_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/config/defaults_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/config/loader_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/config/mixin_spec.rb +442 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/environment_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/event_dispatcher_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/event_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/execution_context_spec.rb +32 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/filter_delegator_spec.rb +162 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/filters/base_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/inputs/base_spec.rb +115 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/collector_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/metric_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/metric_store_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/metric_type/counter_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/metric_type/gauge_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/namespaced_metric_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/namespaced_null_metric_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/null_metric_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/periodic_poller/base_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/periodic_poller/cgroup_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/periodic_poller/jvm_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/periodic_poller/load_average_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/instrument/periodic_poller/os_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/instrument/wrapped_write_client_spec.rb +128 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/java_integration_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/json_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/legacy_ruby_event_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/legacy_ruby_timestamp_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/output_delegator_spec.rb +152 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/outputs/base_spec.rb +138 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/patches_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/pipeline_dlq_commit_spec.rb +107 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/pipeline_pq_file_spec.rb +141 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/pipeline_reporter_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/pipeline_spec.rb +905 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/plugin_spec.rb +378 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/plugins/hooks_registry_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/plugins/registry_spec.rb +82 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/queue_factory_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/runner_spec.rb +503 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/setting_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/settings/array_coercible_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/settings/bytes_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/settings/integer_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/settings/numeric_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/settings/port_range_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/settings/string_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/settings/time_value_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/settings/writable_directory_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/settings_spec.rb +240 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/shutdown_watcher_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/logstash/timestamp_spec.rb +35 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/accessors_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/buftok_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/byte_value_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/charset_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/duration_formatter_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/java_version_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/plugin_version_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/safe_uri_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/time_value_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/unicode_trimmer_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util/wrapped_synchronous_queue_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/util_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/logstash/webserver_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/static/i18n_spec.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/support/helpers.rb +95 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/support/matchers.rb +43 -0
- data/vendor/bundle/jruby/1.9/gems/{logstash-core-5.4.0-java → logstash-core-5.5.0-java}/spec/support/mocks_classes.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/support/shared_contexts.rb +38 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/spec/support/shared_examples.rb +108 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-plugin-api-2.1.26-java/lib/logstash-core-plugin-api/version.rb +1 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-plugin-api-2.1.26-java/logstash-core-plugin-api.gemspec +29 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/APACHE-LICENSE-2.0.txt +202 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/CHANGELOG.md +159 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/Gemfile +14 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/LICENSE.txt +20 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/README.md +309 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/Rakefile +55 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/ext/manticore/org/manticore/HttpDeleteWithEntity.java +27 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/ext/manticore/org/manticore/HttpGetWithEntity.java +27 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/ext/manticore/org/manticore/Manticore.java +88 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/gem-public_cert.pem +21 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/commons-codec/commons-codec/1.10/commons-codec-1.10.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/commons-logging/commons-logging/1.2/commons-logging-1.2.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/faraday/adapter/manticore.rb +111 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore.rb +60 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/client.rb +714 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/client/proxies.rb +58 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/cookie.rb +107 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/facade.rb +49 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/java_extensions.rb +20 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/response.rb +280 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/stubbed_response.rb +102 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/version.rb +3 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore_jars.rb +8 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/org/manticore/manticore-ext.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/manticore.gemspec +37 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/spec/manticore/client_proxy_spec.rb +98 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/spec/manticore/client_spec.rb +853 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/spec/manticore/cookie_spec.rb +36 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/spec/manticore/facade_spec.rb +46 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/spec/manticore/response_spec.rb +102 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/spec/manticore/stubbed_response_spec.rb +49 -0
- data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/spec/spec_helper.rb +146 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/CHANGELOG.md +245 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/CONTRIBUTING.md +46 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/LICENSE.md +20 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/README.md +121 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json.rb +161 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapter.rb +49 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapter_error.rb +15 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapters/gson.rb +20 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapters/jr_jackson.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapters/json_common.rb +23 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapters/json_gem.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapters/json_pure.rb +11 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapters/nsjsonserialization.rb +32 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapters/oj.rb +25 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapters/ok_json.rb +23 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/adapters/yajl.rb +19 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/convertible_hash_keys.rb +43 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/options.rb +39 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/options_cache.rb +29 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/parse_error.rb +17 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/vendor/okjson.rb +606 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/lib/multi_json/version.rb +17 -0
- data/vendor/bundle/jruby/1.9/gems/multi_json-1.12.1/multi_json.gemspec +20 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/Gemfile +14 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/History.txt +60 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/Manifest.txt +9 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/README.md +77 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/Rakefile +9 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/lib/composite_io.rb +108 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/lib/multipart_post.rb +9 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/lib/multipartable.rb +29 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/lib/net/http/post/multipart.rb +27 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/lib/parts.rb +96 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/multipart-post.gemspec +22 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/test/multibyte.txt +1 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/test/net/http/post/test_multipart.rb +110 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/test/test_composite_io.rb +115 -0
- data/vendor/bundle/jruby/1.9/gems/multipart-post-2.0.0/test/test_parts.rb +86 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/COPYING +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/HISTORY.md +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/KNOWN-ISSUES +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/README.rdoc +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/Rakefile +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/SPEC +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/bin/rackup +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/contrib/rack.png +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/contrib/rack.svg +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/contrib/rack_logo.svg +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/contrib/rdoc.css +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/example/lobster.ru +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/example/protectedlobster.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/example/protectedlobster.ru +0 -0
- data/vendor/bundle/jruby/1.9/gems/rack-1.6.6/lib/rack.rb +98 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/auth/abstract/handler.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/auth/abstract/request.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/auth/basic.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/auth/digest/md5.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/auth/digest/nonce.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/auth/digest/params.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/auth/digest/request.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/backports/uri/common_18.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/backports/uri/common_192.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/backports/uri/common_193.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/body_proxy.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/builder.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/cascade.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/chunked.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/commonlogger.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/conditionalget.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/config.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/content_length.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/content_type.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/deflater.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/directory.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/etag.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/file.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/handler.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/handler/cgi.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/handler/evented_mongrel.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/handler/fastcgi.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/handler/lsws.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/handler/mongrel.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/handler/scgi.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/handler/swiftiplied_mongrel.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/handler/thin.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/handler/webrick.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/head.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/lint.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/lobster.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/lock.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/logger.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/methodoverride.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/mime.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/rack-1.6.6/lib/rack/mock.rb +198 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/multipart.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/multipart/generator.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/multipart/parser.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/multipart/uploaded_file.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/nulllogger.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/recursive.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/reloader.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/request.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/response.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/rewindable_input.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/runtime.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/sendfile.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/server.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/session/abstract/id.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/session/cookie.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/session/memcache.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/session/pool.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/showexceptions.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/showstatus.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/static.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/tempfile_reaper.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/urlmap.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/utils.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/lib/rack/utils/okjson.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/rack-1.6.6/rack.gemspec +33 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/builder/anything.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/builder/comment.ru +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/builder/end.ru +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/builder/line.ru +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/builder/options.ru +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/assets/folder/test.js +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/assets/fonts/font.eot +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/assets/images/image.png +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/assets/index.html +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/assets/javascripts/app.js +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/assets/stylesheets/app.css +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/lighttpd.conf +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/rackup_stub.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/sample_rackup.ru +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/test +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/test+directory/test+file +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/test.fcgi +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/cgi/test.ru +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/gemloader.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/bad_robots +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/binary +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/content_type_and_no_filename +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/empty +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/fail_16384_nofile +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/file1.txt +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/filename_and_modification_param +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/filename_and_no_name +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/filename_with_escaped_quotes +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/filename_with_escaped_quotes_and_modification_param +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/filename_with_null_byte +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/filename_with_percent_escaped_quotes +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/filename_with_unescaped_percentages +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/filename_with_unescaped_percentages2 +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/filename_with_unescaped_percentages3 +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/filename_with_unescaped_quotes +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/ie +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/invalid_character +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/mixed_files +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/nested +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/none +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/semicolon +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/text +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/three_files_three_fields +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/multipart/webkit +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/rackup/config.ru +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/registering_handler/rack/handler/registering_myself.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_auth_basic.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_auth_digest.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_body_proxy.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_builder.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_cascade.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_cgi.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_chunked.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_commonlogger.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_conditionalget.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_config.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_content_length.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_content_type.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_deflater.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_directory.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_etag.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_fastcgi.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_file.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_handler.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_head.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_lint.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_lobster.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_lock.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_logger.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_methodoverride.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_mime.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/rack-1.6.6/test/spec_mock.rb +277 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_mongrel.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/rack-1.6.6/test/spec_multipart.rb +596 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_nulllogger.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_recursive.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_request.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_response.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_rewindable_input.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_runtime.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_sendfile.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_server.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_session_abstract_id.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_session_cookie.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_session_memcache.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_session_pool.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_showexceptions.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_showstatus.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_static.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_tempfile_reaper.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_thin.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_urlmap.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_utils.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_version.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/spec_webrick.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/static/another/index.html +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/static/index.html +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/testrequest.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/unregistered_handler/rack/handler/unregistered.rb +0 -0
- data/vendor/bundle/jruby/1.9/gems/{rack-1.6.8 → rack-1.6.6}/test/unregistered_handler/rack/handler/unregistered_long_one.rb +0 -0
- data/vendor/bundle/jruby/1.9/specifications/concurrent-ruby-1.0.5-java.gemspec +24 -0
- data/vendor/bundle/jruby/1.9/specifications/elasticsearch-5.0.4.gemspec +89 -0
- data/vendor/bundle/jruby/1.9/specifications/elasticsearch-api-5.0.4.gemspec +104 -0
- data/vendor/bundle/jruby/1.9/specifications/elasticsearch-transport-5.0.4.gemspec +104 -0
- data/vendor/bundle/jruby/1.9/specifications/faraday-0.12.1.gemspec +32 -0
- data/vendor/bundle/jruby/1.9/specifications/jruby-openssl-0.9.19-java.gemspec +40 -0
- data/vendor/bundle/jruby/1.9/specifications/logstash-core-5.5.0-java.gemspec +94 -0
- data/vendor/bundle/jruby/1.9/specifications/logstash-core-plugin-api-2.1.26-java.gemspec +33 -0
- data/vendor/bundle/jruby/1.9/specifications/manticore-0.6.1-java.gemspec +40 -0
- data/vendor/bundle/jruby/1.9/specifications/multi_json-1.12.1.gemspec +33 -0
- data/vendor/bundle/jruby/1.9/specifications/multipart-post-2.0.0.gemspec +22 -0
- data/vendor/bundle/jruby/1.9/specifications/rack-1.6.6.gemspec +39 -0
- metadata +1099 -562
- data/vendor/bundle/jruby/1.9/cache/concurrent-ruby-1.0.0-java.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/jrmonitor-0.4.2.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/logstash-core-5.4.0-java.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/logstash-core-plugin-api-2.1.24-java.gem +0 -0
- data/vendor/bundle/jruby/1.9/cache/rack-1.6.8.gem +0 -0
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/CHANGELOG.md +0 -323
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/README.md +0 -261
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent.rb +0 -130
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/array.rb +0 -39
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/async.rb +0 -445
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atom.rb +0 -221
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/abstract_thread_local_var.rb +0 -38
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/atomic_boolean.rb +0 -116
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/atomic_fixnum.rb +0 -133
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/atomic_reference.rb +0 -42
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/count_down_latch.rb +0 -77
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/cyclic_barrier.rb +0 -108
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/event.rb +0 -89
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/java_thread_local_var.rb +0 -50
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_atomic_fixnum.rb +0 -91
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_count_down_latch.rb +0 -43
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_semaphore.rb +0 -115
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/ruby_thread_local_var.rb +0 -172
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/semaphore.rb +0 -113
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/thread_local_var.rb +0 -102
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/jruby+truffle.rb +0 -1
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomics.rb +0 -52
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/map/non_concurrent_map_backend.rb +0 -144
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/map/synchronized_map_backend.rb +0 -86
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/obligation.rb +0 -219
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/configuration.rb +0 -153
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/dataflow.rb +0 -78
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/delay.rb +0 -196
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/edge.rb +0 -30
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/errors.rb +0 -46
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/fixed_thread_pool.rb +0 -206
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/ruby_thread_pool_executor.rb +0 -347
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/thread_pool_executor.rb +0 -81
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/timer_set.rb +0 -164
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/future.rb +0 -138
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/hash.rb +0 -35
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/map.rb +0 -180
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/options.rb +0 -44
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/promise.rb +0 -542
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/scheduled_task.rb +0 -318
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization.rb +0 -29
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/abstract_lockable_object.rb +0 -98
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/condition.rb +0 -55
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/lock.rb +0 -33
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/lockable_object.rb +0 -72
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/object.rb +0 -150
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/rbx_object.rb +0 -45
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util.rb +0 -14
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/timer_task.rb +0 -329
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/tvar.rb +0 -258
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/engine.rb +0 -48
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/processor_counter.rb +0 -156
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/version.rb +0 -4
- data/vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent_ruby_ext.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jrmonitor.gemspec +0 -25
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$1.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$2.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$3.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$4.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRubyUtils.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/HotThreadsMonitor$1.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/HotThreadsMonitor$ThreadReport.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/HotThreadsMonitor.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/MemoryMonitor$Report.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/MemoryMonitor$Type.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/MemoryMonitor.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/ProcessMonitor$Report.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/ProcessMonitor.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/SystemMonitor$Report.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/SystemMonitor.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubyMemoryReport.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubyProcessReport.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubySystemReport.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubyThreadsReport.class +0 -0
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/lib/jrmonitor.rb +0 -23
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/memory_monitor_spec.rb +0 -37
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/process_monitor_spec.rb +0 -40
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb +0 -27
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/thread_monitor_spec.rb +0 -105
- data/vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/spec/spec_helper.rb +0 -2
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash-core/logstash-core.jar +0 -0
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash-core/version.rb +0 -8
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/api/commands/hot_threads_reporter.rb +0 -58
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/api/commands/node.rb +0 -64
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/api/commands/stats.rb +0 -117
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/config/mixin.rb +0 -598
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/environment.rb +0 -172
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/errors.rb +0 -12
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/execution_context.rb +0 -10
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/inputs/base.rb +0 -136
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/instrument/metric_type/mean.rb +0 -33
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/instrument/periodic_poller/jvm.rb +0 -190
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/logging/logger.rb +0 -127
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/namespace.rb +0 -14
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/outputs/base.rb +0 -121
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/pipeline.rb +0 -635
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/plugin.rb +0 -141
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/plugins/registry.rb +0 -248
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/runner.rb +0 -444
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/settings.rb +0 -535
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/timestamp.rb +0 -27
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/util/safe_uri.rb +0 -56
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/util/thread_dump.rb +0 -55
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/util/wrapped_acked_queue.rb +0 -389
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/util/wrapped_synchronous_queue.rb +0 -305
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/version.rb +0 -14
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/locales/en.yml +0 -268
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/logstash-core.gemspec +0 -55
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/api/logging_spec.rb +0 -41
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/api/node_plugins_spec.rb +0 -33
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/api/node_spec.rb +0 -151
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/api/node_stats_spec.rb +0 -92
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/api/plugins_spec.rb +0 -53
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/api/root_spec.rb +0 -18
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/api/support/resource_dsl_methods.rb +0 -87
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/commands/stats.rb +0 -47
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/lib/errors_spec.rb +0 -27
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/api/spec_helper.rb +0 -111
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/agent_spec.rb +0 -656
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/config/mixin_spec.rb +0 -430
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/execution_context_spec.rb +0 -13
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/filter_delegator_spec.rb +0 -161
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/inputs/base_spec.rb +0 -115
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/instrument/wrapped_write_client_spec.rb +0 -113
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/output_delegator_spec.rb +0 -151
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/outputs/base_spec.rb +0 -138
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/pipeline_pq_file_spec.rb +0 -141
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/pipeline_spec.rb +0 -893
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/plugin_spec.rb +0 -378
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/plugins/registry_spec.rb +0 -65
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/runner_spec.rb +0 -400
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/settings_spec.rb +0 -149
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/logstash/timestamp_spec.rb +0 -29
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/support/helpers.rb +0 -16
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/support/matchers.rb +0 -30
- data/vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/spec/support/shared_examples.rb +0 -108
- data/vendor/bundle/jruby/1.9/gems/logstash-core-plugin-api-2.1.24-java/lib/logstash-core-plugin-api/version.rb +0 -1
- data/vendor/bundle/jruby/1.9/gems/logstash-core-plugin-api-2.1.24-java/logstash-core-plugin-api.gemspec +0 -29
- data/vendor/bundle/jruby/1.9/gems/rack-1.6.8/lib/rack.rb +0 -98
- data/vendor/bundle/jruby/1.9/gems/rack-1.6.8/lib/rack/mock.rb +0 -214
- data/vendor/bundle/jruby/1.9/gems/rack-1.6.8/rack.gemspec +0 -33
- data/vendor/bundle/jruby/1.9/gems/rack-1.6.8/test/spec_mock.rb +0 -297
- data/vendor/bundle/jruby/1.9/gems/rack-1.6.8/test/spec_multipart.rb +0 -600
- data/vendor/bundle/jruby/1.9/specifications/concurrent-ruby-1.0.0-java.gemspec +0 -24
- data/vendor/bundle/jruby/1.9/specifications/jrmonitor-0.4.2.gemspec +0 -0
- data/vendor/bundle/jruby/1.9/specifications/logstash-core-5.4.0-java.gemspec +0 -88
- data/vendor/bundle/jruby/1.9/specifications/logstash-core-plugin-api-2.1.24-java.gemspec +0 -33
- data/vendor/bundle/jruby/1.9/specifications/rack-1.6.8.gemspec +0 -39
data/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/ext/manticore/org/manticore/Manticore.java
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
package org.manticore;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
import java.io.InputStream;
|
5
|
+
import org.jruby.Ruby;
|
6
|
+
import org.jruby.RubyClass;
|
7
|
+
import org.jruby.RubyString;
|
8
|
+
import org.jruby.RubyObject;
|
9
|
+
import org.jruby.RubyModule;
|
10
|
+
import org.jruby.util.ByteList;
|
11
|
+
import org.jruby.anno.JRubyMethod;
|
12
|
+
import org.jruby.runtime.Block;
|
13
|
+
import org.jruby.runtime.ThreadContext;
|
14
|
+
import org.jruby.runtime.load.Library;
|
15
|
+
import org.jruby.runtime.ObjectAllocator;
|
16
|
+
import org.jruby.runtime.builtin.IRubyObject;
|
17
|
+
import org.apache.http.HttpEntity;
|
18
|
+
import org.apache.http.util.EntityUtils;
|
19
|
+
import org.apache.http.protocol.HTTP;
|
20
|
+
import org.jcodings.Encoding;
|
21
|
+
|
22
|
+
public class Manticore implements Library {
|
23
|
+
|
24
|
+
public void load(final Ruby ruby, boolean _dummy) {
|
25
|
+
RubyModule manticore = ruby.defineModule("Manticore");
|
26
|
+
RubyClass converter = ruby.defineClassUnder("EntityConverter", ruby.getObject(), new ObjectAllocator() {
|
27
|
+
public IRubyObject allocate(Ruby ruby, RubyClass rc) {
|
28
|
+
return new EntityConverter(ruby, rc);
|
29
|
+
}
|
30
|
+
}, manticore);
|
31
|
+
converter.defineAnnotatedMethods(EntityConverter.class);
|
32
|
+
}
|
33
|
+
|
34
|
+
public class EntityConverter extends RubyObject {
|
35
|
+
public EntityConverter(Ruby ruby, RubyClass rubyClass) {
|
36
|
+
super(ruby, rubyClass);
|
37
|
+
}
|
38
|
+
|
39
|
+
@JRubyMethod(name = "read_entity")
|
40
|
+
public IRubyObject readEntity(ThreadContext context, IRubyObject rEntity, Block block) throws IOException {
|
41
|
+
HttpEntity entity = (HttpEntity)rEntity.toJava(HttpEntity.class);
|
42
|
+
String charset = EntityUtils.getContentCharSet(entity);
|
43
|
+
if(charset == null) { charset = HTTP.DEFAULT_CONTENT_CHARSET; }
|
44
|
+
Encoding encoding;
|
45
|
+
try {
|
46
|
+
encoding = context.getRuntime().getEncodingService().getEncodingFromString(charset);
|
47
|
+
} catch(Throwable e) {
|
48
|
+
encoding = context.getRuntime().getEncodingService().getEncodingFromString(HTTP.DEFAULT_CONTENT_CHARSET);
|
49
|
+
}
|
50
|
+
|
51
|
+
if(block.isGiven()) {
|
52
|
+
return streamEntity(context, entity, encoding, block);
|
53
|
+
} else {
|
54
|
+
return readWholeEntity(context, entity, encoding);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
private IRubyObject readWholeEntity(ThreadContext context, HttpEntity entity, Encoding encoding) throws IOException {
|
59
|
+
ByteList bl = new ByteList(EntityUtils.toByteArray(entity), false);
|
60
|
+
return RubyString.newStringShared(context.getRuntime(), bl, encoding);
|
61
|
+
}
|
62
|
+
|
63
|
+
private IRubyObject streamEntity(ThreadContext context, HttpEntity entity, Encoding encoding, Block block) throws IOException {
|
64
|
+
InputStream instream = entity.getContent();
|
65
|
+
if (instream == null) { return null; }
|
66
|
+
String charset = EntityUtils.getContentCharSet(entity);
|
67
|
+
if(charset == null) { charset = HTTP.DEFAULT_CONTENT_CHARSET; }
|
68
|
+
|
69
|
+
int i = (int)entity.getContentLength();
|
70
|
+
if (i < 0) { i = 4096; }
|
71
|
+
|
72
|
+
if (charset == null) {
|
73
|
+
charset = HTTP.DEFAULT_CONTENT_CHARSET;
|
74
|
+
}
|
75
|
+
|
76
|
+
try {
|
77
|
+
byte[] tmp = new byte[4096];
|
78
|
+
int l;
|
79
|
+
while((l = instream.read(tmp)) != -1) {
|
80
|
+
block.call( context, RubyString.newString(context.getRuntime(), new ByteList(tmp, 0, l, true), encoding) );
|
81
|
+
}
|
82
|
+
} finally {
|
83
|
+
instream.close();
|
84
|
+
}
|
85
|
+
return context.nil;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDaDCCAlCgAwIBAgIBATANBgkqhkiG9w0BAQUFADA9MQ8wDQYDVQQDDAZjaGVh
|
3
|
+
bGQxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2NvbTAe
|
4
|
+
Fw0xNTAzMDQwNTA5MjhaFw0xNjAzMDMwNTA5MjhaMD0xDzANBgNVBAMMBmNoZWFs
|
5
|
+
ZDEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29tMIIB
|
6
|
+
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwcnX2yl+rbjUztC4V+iUJgWv
|
7
|
+
NPxqU4bQBaL+w00wVABWr04Hjg+cEkqiJ6A0kXxZIz5uXKhhvsaO50NvHfplVcUf
|
8
|
+
BxQabIfCS79xdvexXN0or3F5saatGaGa4cj/0uUHjX7w+K5MpEVfbjJp0uAKp62B
|
9
|
+
wUU2ilmn7EvZhEUPOMQi01t8z8OsOGc8kF2UtU1kGCxLV7eThWqu8CdXrux5E140
|
10
|
+
7SnFnPlnXNeHqwZdOMZzQ9PiTQAPCKO3AY0aBFQeG3wlFPqkcEjOrtV1h7werUwz
|
11
|
+
aNb4t5sAuu0f/9B646BOjiMgj1WeUlhgiAsaF5kVvLFNCxwS/xpcN3X01M2KdQID
|
12
|
+
AQABo3MwcTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUtFVpwfEG
|
13
|
+
78mBd2ulzsS+SlffdOcwGwYDVR0RBBQwEoEQY2hlYWxkQGdtYWlsLmNvbTAbBgNV
|
14
|
+
HRIEFDASgRBjaGVhbGRAZ21haWwuY29tMA0GCSqGSIb3DQEBBQUAA4IBAQApPK7H
|
15
|
+
4nM6IAzpeA1fYuBsH+Z7ENr2p02ElinUVZMiUmWsFjoZqDLWDWIHJnlJCwUZjnBb
|
16
|
+
gXpEFiKiS9XgkRmIOIb3fpD9M574vo/AyvAzvQHLCN7p86IFWQSTsAQptcPfQBL7
|
17
|
+
8yWPlXfbX6qxnLHrkjcSnRo61v4NqU+y6x4WEX6Dp90DK3mNLgk7kQk4GhBXevnV
|
18
|
+
4Mmxp+JAtISoamMfjldbJhCMkWaZUwDsdFzSfTXl7yg772IYZfICzD7eENPiIcmu
|
19
|
+
cnyabLOcGIKZNxvnSfwOuCBnjgoSOyJi/n48n1s+OPB/OmPJoWmhKu2DO4sUb4+K
|
20
|
+
/3Mhp5UWSl9SmDR1
|
21
|
+
-----END CERTIFICATE-----
|
Binary file
|
Binary file
|
@@ -0,0 +1,111 @@
|
|
1
|
+
require 'faraday'
|
2
|
+
|
3
|
+
module Faraday
|
4
|
+
class Adapter
|
5
|
+
class Manticore < Faraday::Adapter
|
6
|
+
dependency { require 'manticore' }
|
7
|
+
|
8
|
+
class ParallelManager
|
9
|
+
def client=(client)
|
10
|
+
@client ||= client
|
11
|
+
end
|
12
|
+
|
13
|
+
def run
|
14
|
+
@client.execute! if @client
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
self.supports_parallel = true
|
19
|
+
def self.setup_parallel_manager(options = {})
|
20
|
+
ParallelManager.new
|
21
|
+
end
|
22
|
+
|
23
|
+
def initialize(app, connection_options = {})
|
24
|
+
@connection_options = connection_options
|
25
|
+
super(app)
|
26
|
+
end
|
27
|
+
|
28
|
+
def client(env)
|
29
|
+
@client ||= begin
|
30
|
+
opts = {}
|
31
|
+
if ssl = env[:ssl].to_hash
|
32
|
+
opts[:ssl] = {}
|
33
|
+
opts[:ssl][:verify] = :disable if ssl[:verify] == false
|
34
|
+
opts[:ssl][:ca_file] = ssl[:ca_file]
|
35
|
+
opts[:ssl][:client_cert] = ssl[:client_cert]
|
36
|
+
opts[:ssl][:client_key] = ssl[:client_key]
|
37
|
+
end
|
38
|
+
conn_opts = @connection_options.dup
|
39
|
+
if conn_opts.key?(:ssl)
|
40
|
+
(opts[:ssl] ||= {}).merge! conn_opts.delete(:ssl)
|
41
|
+
end
|
42
|
+
opts.merge! conn_opts
|
43
|
+
::Manticore::Client.new(opts)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def call(env)
|
48
|
+
super
|
49
|
+
|
50
|
+
opts = {}
|
51
|
+
if env.key? :request_headers
|
52
|
+
opts[:headers] = env[:request_headers]
|
53
|
+
opts[:headers].reject! {|k, _| k.downcase == "content-length" } # Manticore computes Content-Length
|
54
|
+
end
|
55
|
+
body = read_body(env)
|
56
|
+
opts[:body] = body if body
|
57
|
+
|
58
|
+
if req = env[:request]
|
59
|
+
opts[:request_timeout] = opts[:socket_timeout] = opts[:connect_timeout] = req[:timeout] if req.key?(:timeout)
|
60
|
+
opts[:connect_timeout] = req[:open_timeout] if req.key?(:open_timeout)
|
61
|
+
if prx = req[:proxy]
|
62
|
+
opts[:proxy] = {
|
63
|
+
:url => prx[:uri].to_s,
|
64
|
+
:user => prx[:user],
|
65
|
+
:password => prx[:password]
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
cl = client(env)
|
71
|
+
if parallel?(env)
|
72
|
+
env[:parallel_manager].client = cl
|
73
|
+
cl = cl.async
|
74
|
+
end
|
75
|
+
|
76
|
+
last_exception = nil
|
77
|
+
|
78
|
+
req = cl.send(env[:method].to_s.downcase, env[:url].to_s, opts)
|
79
|
+
req.on_success do |response|
|
80
|
+
save_response(env, response.code, response.body || "", response.headers)
|
81
|
+
env[:response].finish(env) if parallel?(env)
|
82
|
+
end
|
83
|
+
|
84
|
+
req.on_failure do |err|
|
85
|
+
case err
|
86
|
+
when ::Manticore::Timeout
|
87
|
+
raise TimeoutError, err
|
88
|
+
when ::Manticore::SocketException, ::Java::JavaUtilConcurrent::ExecutionException
|
89
|
+
raise ConnectionFailed, err
|
90
|
+
when ::Manticore::ClientProtocolException
|
91
|
+
raise Faraday::ClientError, err
|
92
|
+
else
|
93
|
+
raise err
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
req.call unless parallel?(env)
|
98
|
+
@app.call env
|
99
|
+
end
|
100
|
+
|
101
|
+
def parallel?(env)
|
102
|
+
!env[:parallel_manager].nil?
|
103
|
+
end
|
104
|
+
|
105
|
+
def read_body(env)
|
106
|
+
env[:body].respond_to?(:read) ? env[:body].read : env[:body]
|
107
|
+
end
|
108
|
+
end
|
109
|
+
register_middleware nil, :manticore => :Manticore
|
110
|
+
end
|
111
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
require 'java'
|
2
|
+
require 'uri'
|
3
|
+
require 'cgi'
|
4
|
+
|
5
|
+
require_relative "./manticore_jars.rb"
|
6
|
+
require_relative "./org/manticore/manticore-ext"
|
7
|
+
|
8
|
+
org.manticore.Manticore.new.load(JRuby.runtime, false)
|
9
|
+
|
10
|
+
require_relative "./manticore/version"
|
11
|
+
|
12
|
+
# HTTP client with the body of a lion and the head of a man. Or more simply, the power of Java
|
13
|
+
# with the beauty of Ruby.
|
14
|
+
module Manticore
|
15
|
+
# General base class for all Manticore exceptions
|
16
|
+
class ManticoreException < StandardError; end
|
17
|
+
|
18
|
+
# Exception thrown if you attempt to read from a closed Response stream
|
19
|
+
class StreamClosedException < ManticoreException; end
|
20
|
+
|
21
|
+
# Friendly wrapper for various Java ClientProtocolExceptions
|
22
|
+
class ClientProtocolException < ManticoreException; end
|
23
|
+
|
24
|
+
# DNS resolution failure
|
25
|
+
class ResolutionFailure < ManticoreException; end
|
26
|
+
|
27
|
+
# Is something flat out malformed (bad port number?)
|
28
|
+
class InvalidArgumentException < ManticoreException; end
|
29
|
+
|
30
|
+
# The client has been closed so it's no longer usable
|
31
|
+
class ClientStoppedException < ManticoreException; end
|
32
|
+
|
33
|
+
# Socket breaks, etc
|
34
|
+
class SocketException < ManticoreException; end
|
35
|
+
|
36
|
+
# General Timeout exception thrown for various Manticore timeouts
|
37
|
+
class Timeout < ManticoreException; end
|
38
|
+
class SocketTimeout < Timeout; end
|
39
|
+
class ConnectTimeout < Timeout; end
|
40
|
+
|
41
|
+
# Did we miss an exception? We may still want to catch it
|
42
|
+
class UnknownException < ManticoreException; end
|
43
|
+
|
44
|
+
require_relative "./manticore/java_extensions"
|
45
|
+
require_relative './manticore/client/proxies'
|
46
|
+
require_relative './manticore/client'
|
47
|
+
require_relative './manticore/response'
|
48
|
+
require_relative './manticore/stubbed_response'
|
49
|
+
require_relative './manticore/cookie'
|
50
|
+
require_relative './manticore/facade'
|
51
|
+
|
52
|
+
include Facade
|
53
|
+
include_http_client
|
54
|
+
|
55
|
+
def self.disable_httpcomponents_logging!
|
56
|
+
props = Java::JavaLang::System.properties
|
57
|
+
props.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog")
|
58
|
+
props.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http", "error")
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,714 @@
|
|
1
|
+
require 'thread'
|
2
|
+
require 'base64'
|
3
|
+
require 'weakref'
|
4
|
+
|
5
|
+
module Manticore
|
6
|
+
# @!macro [new] http_method_shared
|
7
|
+
# @param url [String] URL to request
|
8
|
+
# @param options [Hash]
|
9
|
+
# @option options [Hash] query Hash of options to be added to the URL as part of the query string
|
10
|
+
# @option options [Hash] params Hash of options to pass as a request body. For GET, HEAD, and DELETE requests,
|
11
|
+
# :params will be treated as :query if :query is not present.
|
12
|
+
# @option options [Hash] headers Hash of options to pass as additional request headers
|
13
|
+
# @option options [String] proxy Proxy host in form: http://proxy.org:1234
|
14
|
+
# @option options [Hash] proxy Proxy host in form: {host: 'proxy.org'[, port: 80[, scheme: 'http']]}
|
15
|
+
# @option options [URI] proxy Proxy host as a URI object
|
16
|
+
# @option options [Integer] connect_timeout Request-specific connect timeout
|
17
|
+
# @option options [Integer] socket_timeout Request-specific socket timeout
|
18
|
+
# @option options [Integer] request_timeout Request-specific request timeout
|
19
|
+
# @option options [Integer] max_redirects Request-specific maximum redirect limit
|
20
|
+
# @option options [Boolean] follow_redirects Specify whether this request should follow redirects
|
21
|
+
# @option options [Hash] auth Specify authentication for the request
|
22
|
+
# @option options [String] auth[:user] Username to auth with
|
23
|
+
# @option options [String] auth[:password] Password to auth with
|
24
|
+
# @option options [Boolean] auth[:eager] Eagerly offer the Authorization header before the server challenges for it.
|
25
|
+
# You should not use this unless you know you specifically need it, as misuse
|
26
|
+
# of it can leak user credentials.
|
27
|
+
#
|
28
|
+
# @!macro [new] http_request_exceptions
|
29
|
+
# @raise [Manticore::Timeout] on socket, connection, or response timeout
|
30
|
+
# @raise [Manticore::SocketException] on internal socket exception (ie, unexpected socket closure)
|
31
|
+
# @raise [Manticore::ClientProtocolException] on protocol errors such as an SSL handshake failure or connection exception
|
32
|
+
# @raise [Manticore::ResolutionFailure] on DNS resolution failure
|
33
|
+
# @return [Response]
|
34
|
+
#
|
35
|
+
# @!macro [new] http_method_shared_async
|
36
|
+
# @example Simple usage
|
37
|
+
# client.$0("http://example.com/some/resource", params: {foo: "bar"}, headers: {"X-Custom-Header" => "whee"}).
|
38
|
+
# on_success {|response|
|
39
|
+
# # Do something with response.body, response.code, etc
|
40
|
+
# }.on_failure {|exception|
|
41
|
+
# # Handle request exception
|
42
|
+
# }
|
43
|
+
# client.execute!
|
44
|
+
#
|
45
|
+
# @!macro [new] http_method_shared_sync
|
46
|
+
# @example Simple usage
|
47
|
+
# body = client.$0("http://example.com/some/resource", params: {foo: "bar"}, headers: {"X-Custom-Header" => "whee"}).body
|
48
|
+
# @example Passing a block as the success handler:
|
49
|
+
# body = client.$0("http://example.com/some/resource", params: {foo: "bar"}, headers: {"X-Custom-Header" => "whee"}) {|response| response.body }
|
50
|
+
# @example Explicit success handler:
|
51
|
+
# body = client.$0("http://example.com/some/resource", params: {foo: "bar"}, headers: {"X-Custom-Header" => "whee"}).
|
52
|
+
# on_success {|response| response.body }
|
53
|
+
# @macro http_method_shared
|
54
|
+
# @macro http_request_exceptions
|
55
|
+
#
|
56
|
+
# @!macro [new] http_method_shared_async_with_body
|
57
|
+
# @macro http_method_shared_async
|
58
|
+
# @option options [String] body Body to pass with the request
|
59
|
+
#
|
60
|
+
# @!macro [new] http_method_shared_sync_with_body
|
61
|
+
# @macro http_method_shared_sync
|
62
|
+
# @option options [String] body Body to pass with the request
|
63
|
+
|
64
|
+
# Core Manticore client, with a backing {http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.html PoolingHttpClientConnectionManager}
|
65
|
+
class Client
|
66
|
+
include_package "org.apache.http.client.methods"
|
67
|
+
include_package "org.apache.http.client.entity"
|
68
|
+
include_package "org.apache.http.client.config"
|
69
|
+
include_package "org.apache.http.config"
|
70
|
+
include_package "org.apache.http.conn.socket"
|
71
|
+
include_package "org.apache.http.impl"
|
72
|
+
include_package "org.apache.http.impl.client"
|
73
|
+
include_package "org.apache.http.impl.conn"
|
74
|
+
include_package "org.apache.http.impl.auth"
|
75
|
+
include_package "org.apache.http.entity"
|
76
|
+
include_package "org.apache.http.message"
|
77
|
+
include_package "org.apache.http.params"
|
78
|
+
include_package "org.apache.http.protocol"
|
79
|
+
include_package "org.apache.http.auth"
|
80
|
+
include_package "java.util.concurrent"
|
81
|
+
include_package "org.apache.http.client.protocol"
|
82
|
+
include_package 'org.apache.http.conn.ssl'
|
83
|
+
include_package "java.security.cert"
|
84
|
+
include_package "java.security.spec"
|
85
|
+
include_package "java.security"
|
86
|
+
include_package "org.apache.http.client.utils"
|
87
|
+
java_import "org.apache.http.HttpHost"
|
88
|
+
java_import "javax.net.ssl.SSLContext"
|
89
|
+
java_import "org.manticore.HttpGetWithEntity"
|
90
|
+
java_import "org.manticore.HttpDeleteWithEntity"
|
91
|
+
java_import "org.apache.http.auth.UsernamePasswordCredentials"
|
92
|
+
|
93
|
+
# This is a class rather than a proc because the proc holds a closure around
|
94
|
+
# the instance of the Client that creates it.
|
95
|
+
class ExecutorThreadFactory
|
96
|
+
include ::Java::JavaUtilConcurrent::ThreadFactory
|
97
|
+
|
98
|
+
def newThread(runnable)
|
99
|
+
thread = Executors.defaultThreadFactory.newThread(runnable)
|
100
|
+
thread.daemon = true
|
101
|
+
return thread
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
include ProxiesInterface
|
106
|
+
|
107
|
+
# The default maximum pool size for requests
|
108
|
+
DEFAULT_MAX_POOL_SIZE = 50
|
109
|
+
|
110
|
+
DEFAULT_REQUEST_TIMEOUT = 60
|
111
|
+
DEFAULT_SOCKET_TIMEOUT = 10
|
112
|
+
DEFAULT_CONNECT_TIMEOUT = 10
|
113
|
+
DEFAULT_MAX_REDIRECTS = 5
|
114
|
+
DEFAULT_EXPECT_CONTINUE = false
|
115
|
+
DEFAULT_STALE_CHECK = false
|
116
|
+
|
117
|
+
attr_reader :client
|
118
|
+
|
119
|
+
# Create a new HTTP client with a backing request pool. if you pass a block to the initializer, the underlying
|
120
|
+
# {http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html HttpClientBuilder}
|
121
|
+
# and {http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/config/RequestConfig.Builder.html RequestConfig.Builder}
|
122
|
+
# will be yielded so that you can operate on them directly.
|
123
|
+
#
|
124
|
+
# @see http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html HttpClientBuilder
|
125
|
+
# @see http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/config/RequestConfig.Builder.html RequestConfig.Builder
|
126
|
+
# @example Simple instantiation and usage
|
127
|
+
# client = Manticore::Client.new
|
128
|
+
# client.get("http://www.google.com")
|
129
|
+
#
|
130
|
+
# @example Instantiation with a block
|
131
|
+
# client = Manticore::Client.new(socket_timeout: 5) do |http_client_builder, request_builder|
|
132
|
+
# http_client_builder.disable_redirect_handling
|
133
|
+
# end
|
134
|
+
#
|
135
|
+
# @param options [Hash] Client pool options
|
136
|
+
# @option options [String] user_agent The user agent used in requests.
|
137
|
+
# @option options [Integer] pool_max (50) The maximum number of active connections in the pool
|
138
|
+
# @option options [integer] pool_max_per_route (pool_max) Sets the maximum number of active connections for a given target endpoint
|
139
|
+
# @option options [boolean] cookies (true) enable or disable automatic cookie management between requests
|
140
|
+
# @option options [boolean] compression (true) enable or disable transparent gzip/deflate support
|
141
|
+
# @option options [integer] request_timeout (60) Sets the timeout for requests. Raises {Manticore::Timeout} on failure.
|
142
|
+
# @option options [integer] connect_timeout (10) Sets the timeout for connections. Raises Manticore::Timeout on failure.
|
143
|
+
# @option options [integer] socket_timeout (10) Sets SO_TIMEOUT for open connections. A value of 0 is an infinite timeout. Raises Manticore::Timeout on failure.
|
144
|
+
# @option options [boolean] tcp_no_delay (true) Enable or disable Nagle's algorithm
|
145
|
+
# @option options [integer] request_timeout (60) Sets the timeout for a given request. Raises Manticore::Timeout on failure.
|
146
|
+
# @option options [integer] max_redirects (5) Sets the maximum number of redirects to follow.
|
147
|
+
# @option options [integer] automatic_retries (3) Sets the number of times the client will automatically retry failed requests.
|
148
|
+
# @option options [boolean] retry_non_idempotent (false) If true, Manticore will automatically retry failed requests with non-idempotent verbs. Otherwise, it only automatically retries
|
149
|
+
# on GET, HEAD, PUT, DELETE, OPTIONS, and TRACE
|
150
|
+
# @option options [boolean] expect_continue (false) Enable support for HTTP 100
|
151
|
+
# @option options [boolean] stale_check (false) Enable support for stale connection checking. Adds overhead.
|
152
|
+
# @option options [integer] check_connection_timeout (2_000) Connections that haven't been used in this many milliseconds will be validated before being used. Set to a negative number to disable.
|
153
|
+
# @option options [String] proxy Proxy host in form: http://proxy.org:1234
|
154
|
+
# @option options [Hash] proxy Proxy host in form: {host: 'proxy.org'[, port: 80[, scheme: 'http'[, user: 'username@host', password: 'password']]]}
|
155
|
+
# @option options [Hash] proxy Proxy host in form: {url: 'http://proxy.org:1234'[, user: 'username@host', password: 'password']]]}
|
156
|
+
# @option options [URI] proxy Proxy host as a URI object
|
157
|
+
# @option options [Boolean] keepalive (true) Whether to allow connections to be reused. Defaults to true.
|
158
|
+
# @option options [Hash] ssl Hash of options for configuring SSL
|
159
|
+
# @option options [Array<String>] ssl[:protocols] (nil) A list of protocols that Manticore should accept
|
160
|
+
# @option options [Array<String>] ssl[:cipher_suites] (nil) A list of cipher suites that Manticore should accept
|
161
|
+
# @option options [Symbol] ssl[:verify] (:strict) Hostname verification setting. Set to `:disable` to turn off hostname verification. Setting to `:browser` will
|
162
|
+
# cause Manticore to accept a certificate for *.foo.com for all subdomains and sub-subdomains (eg a.b.foo.com).
|
163
|
+
# The default `:strict` is like `:browser` except it'll only accept a single level of subdomains for wildcards,
|
164
|
+
# eg `b.foo.com` will be accepted for a `*.foo.com` certificate, but `a.b.foo.com` will not be.
|
165
|
+
# @option options [String] ssl[:truststore] (nil) Path to a custom trust store to use the verifying SSL connections
|
166
|
+
# @option options [String] ssl[:truststore_password] (nil) Password used for decrypting the server trust store
|
167
|
+
# @option options [String] ssl[:truststore_type] (nil) Format of the trust store, ie "JKS" or "PKCS12". If left nil, the type will be inferred from the truststore filename.
|
168
|
+
# @option options [String] ssl[:keystore] (nil) Path to a custom key store to use for client certificate authentication
|
169
|
+
# @option options [String] ssl[:keystore_password] (nil) Password used for decrypting the client auth key store
|
170
|
+
# @option options [String] ssl[:keystore_type] (nil) Format of the key store, ie "JKS" or "PKCS12". If left nil, the type will be inferred from the keystore filename.
|
171
|
+
# @option options [String] ssl[:ca_file] (nil) OpenSSL-style path to an X.509 certificate to use to validate SSL certificates
|
172
|
+
# @option options [String] ssl[:client_cert] (nil) OpenSSL-style path to an X.509 certificate to use for client authentication
|
173
|
+
# @option options [String] ssl[:client_key] (nil) OpenSSL-style path to an RSA key to use for client authentication
|
174
|
+
# @option options [boolean] ssl[:track_state] (false) Turn on or off connection state tracking. This helps prevent SSL information from leaking across threads, but means that connections
|
175
|
+
# can't be shared across those threads. This should generally be left off unless you know what you're doing.
|
176
|
+
def initialize(options = {})
|
177
|
+
@finalizers = []
|
178
|
+
self.class.shutdown_on_finalize self, @finalizers
|
179
|
+
|
180
|
+
builder = client_builder
|
181
|
+
builder.set_user_agent options.fetch(:user_agent, "Manticore #{VERSION}")
|
182
|
+
@options = options
|
183
|
+
@use_cookies = options.fetch(:cookies, false)
|
184
|
+
builder.disable_cookie_management unless @use_cookies
|
185
|
+
builder.disable_content_compression if options.fetch(:compression, true) == false
|
186
|
+
builder.set_proxy get_proxy_host(options[:proxy]) if options.key?(:proxy)
|
187
|
+
|
188
|
+
builder.set_retry_handler LoggingStandardRetryHandler.new options.fetch(:automatic_retries, 3), options.fetch(:retry_non_idempotent, false)
|
189
|
+
|
190
|
+
# http://hc.apache.org/httpcomponents-client-ga/tutorial/html/advanced.html#stateful_conn
|
191
|
+
# By default this is used to prevent different contexts from accessing SSL data
|
192
|
+
# Since we're running this for JRuby which does not have context separation within the JVM
|
193
|
+
# We can disable this for connection reuse.
|
194
|
+
builder.disable_connection_state unless options.fetch(:ssl, {}).fetch(:track_state, false)
|
195
|
+
|
196
|
+
@keepalive = options.fetch(:keepalive, true)
|
197
|
+
if @keepalive == false
|
198
|
+
builder.set_connection_reuse_strategy {|response, context| false }
|
199
|
+
else
|
200
|
+
builder.set_connection_reuse_strategy DefaultConnectionReuseStrategy.new
|
201
|
+
end
|
202
|
+
|
203
|
+
socket_config_builder = SocketConfig.custom
|
204
|
+
socket_config_builder.set_so_timeout( options.fetch(:socket_timeout, DEFAULT_SOCKET_TIMEOUT) * 1000 )
|
205
|
+
socket_config_builder.set_tcp_no_delay( options.fetch(:tcp_no_delay, true) )
|
206
|
+
builder.set_default_socket_config socket_config_builder.build
|
207
|
+
|
208
|
+
builder.set_connection_manager pool(options)
|
209
|
+
|
210
|
+
request_config = RequestConfig.custom
|
211
|
+
request_config.set_connection_request_timeout options.fetch(:request_timeout, DEFAULT_REQUEST_TIMEOUT) * 1000
|
212
|
+
request_config.set_connect_timeout options.fetch(:connect_timeout, DEFAULT_CONNECT_TIMEOUT) * 1000
|
213
|
+
request_config.set_socket_timeout options.fetch(:socket_timeout, DEFAULT_SOCKET_TIMEOUT) * 1000
|
214
|
+
request_config.set_max_redirects options.fetch(:max_redirects, DEFAULT_MAX_REDIRECTS)
|
215
|
+
request_config.set_expect_continue_enabled options.fetch(:expect_continue, DEFAULT_EXPECT_CONTINUE)
|
216
|
+
request_config.set_stale_connection_check_enabled options.fetch(:stale_check, DEFAULT_STALE_CHECK)
|
217
|
+
request_config.set_circular_redirects_allowed false
|
218
|
+
|
219
|
+
yield builder, request_config if block_given?
|
220
|
+
|
221
|
+
builder.set_default_request_config request_config.build
|
222
|
+
@client = builder.build
|
223
|
+
finalize @client, :close
|
224
|
+
@options = options
|
225
|
+
@async_requests = []
|
226
|
+
@stubs = {}
|
227
|
+
end
|
228
|
+
|
229
|
+
# Return a hash of statistics about this client's HTTP connection pool
|
230
|
+
def pool_stats
|
231
|
+
stats = @pool.get_total_stats
|
232
|
+
{
|
233
|
+
max: stats.get_max,
|
234
|
+
leased: stats.get_leased,
|
235
|
+
pending: stats.get_pending,
|
236
|
+
available: stats.get_available
|
237
|
+
}
|
238
|
+
end
|
239
|
+
|
240
|
+
### Sync methods
|
241
|
+
|
242
|
+
# Perform a HTTP GET request
|
243
|
+
# @macro http_method_shared_sync
|
244
|
+
def get(url, options = {}, &block)
|
245
|
+
options = treat_params_as_query(options)
|
246
|
+
request HttpGetWithEntity, url, options, &block
|
247
|
+
end
|
248
|
+
|
249
|
+
# Perform a HTTP PUT request
|
250
|
+
# @macro http_method_shared_sync_with_body
|
251
|
+
def put(url, options = {}, &block)
|
252
|
+
request HttpPut, url, options, &block
|
253
|
+
end
|
254
|
+
|
255
|
+
# Perform a HTTP HEAD request
|
256
|
+
# @macro http_method_shared_sync
|
257
|
+
def head(url, options = {}, &block)
|
258
|
+
options = treat_params_as_query(options)
|
259
|
+
request HttpHead, url, options, &block
|
260
|
+
end
|
261
|
+
|
262
|
+
# Perform a HTTP POST request
|
263
|
+
# @macro http_method_shared_sync_with_body
|
264
|
+
def post(url, options = {}, &block)
|
265
|
+
request HttpPost, url, options, &block
|
266
|
+
end
|
267
|
+
|
268
|
+
# Perform a HTTP DELETE request
|
269
|
+
# @macro http_method_shared_sync
|
270
|
+
def delete(url, options = {}, &block)
|
271
|
+
options = treat_params_as_query(options)
|
272
|
+
request HttpDeleteWithEntity, url, options, &block
|
273
|
+
end
|
274
|
+
|
275
|
+
# Perform a HTTP OPTIONS request
|
276
|
+
# @macro http_method_shared_sync
|
277
|
+
def options(url, options = {}, &block)
|
278
|
+
request HttpOptions, url, options, &block
|
279
|
+
end
|
280
|
+
|
281
|
+
# Perform a HTTP PATCH request
|
282
|
+
# @macro http_method_shared_sync_with_body
|
283
|
+
def patch(url, options = {}, &block)
|
284
|
+
request HttpPatch, url, options, &block
|
285
|
+
end
|
286
|
+
|
287
|
+
%w(get put head post delete options patch).each do |func|
|
288
|
+
define_method "#{func}!" do |url, options, &block|
|
289
|
+
send(func, url, options, &block).call
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
# Perform an HTTP request, passing the method as a parameter
|
294
|
+
# @param method [String, Symbol] Method to call (get put head post options patch)
|
295
|
+
# @macro http_method_shared
|
296
|
+
# @macro http_request_exceptions
|
297
|
+
def http(method, url, options = {}, &block)
|
298
|
+
case method.to_s.downcase
|
299
|
+
when *%w(get put head post delete options patch)
|
300
|
+
send method, url, options, &block
|
301
|
+
else
|
302
|
+
raise "Invalid method: #{method}"
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
# Cause this client to return a stubbed response for this URL
|
307
|
+
# @param url [String] URL to stub for
|
308
|
+
# @param stubs [Hash] Hash of options to return for the stubbed response
|
309
|
+
def stub(url, stubs)
|
310
|
+
@stubs[url_as_regex(url)] = stubs
|
311
|
+
end
|
312
|
+
|
313
|
+
# Cause this client to unstubbed previously-stubbed URL
|
314
|
+
def unstub(url)
|
315
|
+
@stubs.delete(url_as_regex(url))
|
316
|
+
end
|
317
|
+
|
318
|
+
# Wipe all currently-set stubs.
|
319
|
+
def clear_stubs!
|
320
|
+
@stubs.clear
|
321
|
+
end
|
322
|
+
|
323
|
+
# Remove all pending asynchronous requests.
|
324
|
+
#
|
325
|
+
# @return nil
|
326
|
+
def clear_pending
|
327
|
+
@async_requests.clear
|
328
|
+
nil
|
329
|
+
end
|
330
|
+
|
331
|
+
# Execute all queued async requests
|
332
|
+
#
|
333
|
+
# @return [Array] An array of the responses from the requests executed.
|
334
|
+
def execute!
|
335
|
+
method = executor.java_method(:submit, [java.util.concurrent.Callable.java_class])
|
336
|
+
result = @async_requests.map {|r| method.call r }
|
337
|
+
@async_requests.clear
|
338
|
+
result.map do |future|
|
339
|
+
begin
|
340
|
+
future.get
|
341
|
+
rescue Java::JavaUtilConcurrent::ExecutionException => e
|
342
|
+
# These exceptions should be handled in on_failure blocks.
|
343
|
+
end
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
# Free resources associated with the CloseableHttpClient
|
348
|
+
def close
|
349
|
+
@client.close if @client
|
350
|
+
end
|
351
|
+
|
352
|
+
# Get at the underlying ExecutorService used to invoke asynchronous calls.
|
353
|
+
def executor
|
354
|
+
create_executor_if_needed
|
355
|
+
@executor
|
356
|
+
end
|
357
|
+
|
358
|
+
def self.shutdown_on_finalize(client, objs)
|
359
|
+
ObjectSpace.define_finalizer client, -> {
|
360
|
+
objs.each {|obj, args| obj.send(*args) rescue nil }
|
361
|
+
}
|
362
|
+
end
|
363
|
+
|
364
|
+
protected
|
365
|
+
|
366
|
+
# Takes an object and a message to pass to the object to destroy it. This is done rather than
|
367
|
+
# a proc to avoid creating a closure that would maintain a reference to this client, which
|
368
|
+
# would prevent the client from being cleaned up.
|
369
|
+
def finalize(object, args)
|
370
|
+
@finalizers << [WeakRef.new(object), Array(args)]
|
371
|
+
end
|
372
|
+
|
373
|
+
def url_as_regex(url)
|
374
|
+
if url.is_a?(String)
|
375
|
+
%r{^#{Regexp.escape url}$}
|
376
|
+
else
|
377
|
+
url
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
def client_builder
|
382
|
+
HttpClientBuilder.create
|
383
|
+
end
|
384
|
+
|
385
|
+
def pool_builder(options)
|
386
|
+
http_sf = PlainConnectionSocketFactory.new
|
387
|
+
|
388
|
+
if options[:ignore_ssl_validation]
|
389
|
+
$stderr.puts 'The options[:ignore_ssl_validation] setting is deprecated in favor of options[:ssl][:verify]'
|
390
|
+
options[:ssl] ||= {}
|
391
|
+
options[:ssl] = {:verify => !options.delete(:ignore_ssl_validation)}.merge(options[:ssl])
|
392
|
+
end
|
393
|
+
|
394
|
+
https_sf = ssl_socket_factory_from_options options.fetch(:ssl, {})
|
395
|
+
registry = RegistryBuilder.create.register("http", http_sf).register("https", https_sf).build
|
396
|
+
PoolingHttpClientConnectionManager.new(registry)
|
397
|
+
end
|
398
|
+
|
399
|
+
def pool(options = {})
|
400
|
+
@pool ||= begin
|
401
|
+
@max_pool_size = options.fetch(:pool_max, DEFAULT_MAX_POOL_SIZE)
|
402
|
+
pool_builder(options).tap do |cm|
|
403
|
+
cm.set_validate_after_inactivity options.fetch(:check_connection_timeout, 2_000)
|
404
|
+
cm.set_default_max_per_route options.fetch(:pool_max_per_route, @max_pool_size)
|
405
|
+
cm.set_max_total @max_pool_size
|
406
|
+
finalize cm, :shutdown
|
407
|
+
end
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
def create_executor_if_needed
|
412
|
+
return @executor if @executor
|
413
|
+
@executor = Executors.new_cached_thread_pool(ExecutorThreadFactory.new)
|
414
|
+
finalize @executor, :shutdown
|
415
|
+
end
|
416
|
+
|
417
|
+
def request(klass, url, options, &block)
|
418
|
+
req, context = request_from_options(klass, url, options)
|
419
|
+
async = options.delete(:async)
|
420
|
+
background = options.delete(:async_background)
|
421
|
+
create_executor_if_needed if (background || async)
|
422
|
+
response = response_object_for(req, context, &block)
|
423
|
+
|
424
|
+
if async
|
425
|
+
@async_requests << response
|
426
|
+
elsif background
|
427
|
+
response.background = true
|
428
|
+
end
|
429
|
+
|
430
|
+
if block_given? && (background || !async)
|
431
|
+
response.call
|
432
|
+
else
|
433
|
+
response
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
437
|
+
def response_object_for(request, context, &block)
|
438
|
+
request_uri = request.getURI.to_s
|
439
|
+
|
440
|
+
match_key = @stubs.keys.find { |k| request_uri.match(k) }
|
441
|
+
if match_key
|
442
|
+
StubbedResponse.new(self, request, context, &block).stub( @stubs[match_key] )
|
443
|
+
else
|
444
|
+
Response.new(self, request, context, &block)
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
def uri_from_url_and_options(url, options)
|
449
|
+
url = url.to_s if url.is_a?(URI)
|
450
|
+
builder = URIBuilder.new(url)
|
451
|
+
pairs = struct_to_name_value_pairs(options[:query])
|
452
|
+
builder.add_parameters pairs unless pairs.empty?
|
453
|
+
builder.to_string
|
454
|
+
end
|
455
|
+
|
456
|
+
def request_from_options(klass, url, options)
|
457
|
+
req = klass.new uri_from_url_and_options(url, options).to_s
|
458
|
+
|
459
|
+
if ( options[:params] || options[:body] || options[:entity]) && req.kind_of?(HttpEntityEnclosingRequestBase)
|
460
|
+
if options[:params]
|
461
|
+
pairs = struct_to_name_value_pairs(options[:params])
|
462
|
+
encoding = minimum_encoding_for options[:params].to_s
|
463
|
+
req.set_entity UrlEncodedFormEntity.new(pairs, encoding)
|
464
|
+
elsif options[:body]
|
465
|
+
if options[:body].encoding == Encoding::ASCII_8BIT
|
466
|
+
req.set_entity ByteArrayEntity.new(options[:body].to_java_bytes)
|
467
|
+
else
|
468
|
+
req.set_entity StringEntity.new(options[:body], minimum_encoding_for(options[:body]))
|
469
|
+
end
|
470
|
+
elsif options[:entity]
|
471
|
+
req.set_entity options[:entity]
|
472
|
+
end
|
473
|
+
end
|
474
|
+
|
475
|
+
req_options = @options.merge(options)
|
476
|
+
if options.key?(:proxy) || options.key?(:connect_timeout) || options.key?(:socket_timeout) || options.key?(:max_redirects) || options.key?(:follow_redirects)
|
477
|
+
config = RequestConfig.custom()
|
478
|
+
|
479
|
+
if req_options[:proxy]
|
480
|
+
config.set_proxy get_proxy_host(req_options[:proxy])
|
481
|
+
end
|
482
|
+
config.set_max_redirects req_options[:max_redirects] if req_options[:max_redirects]
|
483
|
+
config.set_redirects_enabled !!req_options[:follow_redirects] if req_options.fetch(:follow_redirects, nil) != nil
|
484
|
+
config.set_connect_timeout req_options[:connect_timeout] * 1000 if req_options[:connect_timeout]
|
485
|
+
config.set_socket_timeout req_options[:socket_timeout] * 1000 if req_options[:socket_timeout]
|
486
|
+
config.set_connection_request_timeout req_options[:request_timeout] * 1000 if req_options[:request_timeout]
|
487
|
+
req.set_config config.build
|
488
|
+
end
|
489
|
+
|
490
|
+
headers = []
|
491
|
+
# Support keepalive on HTTP/1.0 connections
|
492
|
+
headers.push BasicHeader.new("Connection", "Keep-Alive") if @keepalive
|
493
|
+
|
494
|
+
if options.key?(:headers)
|
495
|
+
options[:headers].each do |k, v|
|
496
|
+
Array(v).each do |_v|
|
497
|
+
headers.push BasicHeader.new(k, _v)
|
498
|
+
end
|
499
|
+
end
|
500
|
+
end
|
501
|
+
req.set_headers headers.to_java(BasicHeader) unless headers.empty?
|
502
|
+
|
503
|
+
context = HttpClientContext.new
|
504
|
+
proxy_user = req_options[:proxy].is_a?(Hash) && (req_options[:proxy][:user] || req_options[:proxy][:username])
|
505
|
+
auth_from_options(req, req_options, context) if req_options.key?(:auth) || proxy_user
|
506
|
+
|
507
|
+
if @use_cookies == :per_request
|
508
|
+
store = BasicCookieStore.new
|
509
|
+
context.setAttribute(ClientContext.COOKIE_STORE, store)
|
510
|
+
end
|
511
|
+
|
512
|
+
return req, context
|
513
|
+
end
|
514
|
+
|
515
|
+
def get_proxy_host(opt)
|
516
|
+
host = nil
|
517
|
+
if opt.is_a? String
|
518
|
+
uri = URI.parse(opt)
|
519
|
+
if uri.host
|
520
|
+
get_proxy_host uri
|
521
|
+
else
|
522
|
+
uri = URI.parse("http://#{opt}")
|
523
|
+
get_proxy_host uri
|
524
|
+
end
|
525
|
+
elsif opt.is_a? Hash
|
526
|
+
if opt.key?(:url)
|
527
|
+
get_proxy_host URI.parse(opt[:url])
|
528
|
+
elsif opt.key?(:host)
|
529
|
+
HttpHost.new(opt[:host], (opt[:port] || 80).to_i, opt[:scheme] || "http")
|
530
|
+
end
|
531
|
+
elsif opt.is_a? URI
|
532
|
+
opt.scheme ||= "http"
|
533
|
+
opt.port ||= 80
|
534
|
+
HttpHost.new(opt.host, opt.port, opt.scheme)
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
def auth_from_options(req, options, context)
|
539
|
+
proxy = options.fetch(:proxy, {})
|
540
|
+
|
541
|
+
proxy_user, proxy_pass = if proxy.is_a?(String)
|
542
|
+
proxy_uri = URI.parse(proxy)
|
543
|
+
[proxy_uri.user, proxy_uri.password]
|
544
|
+
else
|
545
|
+
[(proxy[:user] || proxy[:username]),
|
546
|
+
(proxy[:pass] || proxy[:password])]
|
547
|
+
end
|
548
|
+
|
549
|
+
|
550
|
+
if options[:auth] || proxy_user
|
551
|
+
provider = BasicCredentialsProvider.new
|
552
|
+
if options[:auth]
|
553
|
+
username = options[:auth][:user] || options[:auth][:username]
|
554
|
+
password = options[:auth][:pass] || options[:auth][:password]
|
555
|
+
provider.set_credentials AuthScope::ANY, UsernamePasswordCredentials.new(username, password)
|
556
|
+
|
557
|
+
if options[:auth][:eager]
|
558
|
+
uri = URI.parse req.uri.to_string
|
559
|
+
target = HttpHost.new(uri.host, uri.port, uri.scheme)
|
560
|
+
scheme = BasicScheme.new
|
561
|
+
|
562
|
+
cache = BasicAuthCache.new
|
563
|
+
cache.put target, scheme
|
564
|
+
context.set_auth_cache cache
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
if proxy_user
|
569
|
+
provider.set_credentials AuthScope.new(get_proxy_host(proxy)), UsernamePasswordCredentials.new(proxy_user, proxy_pass)
|
570
|
+
end
|
571
|
+
context.set_credentials_provider(provider)
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
def struct_to_name_value_pairs(value, namespace = nil)
|
576
|
+
case value
|
577
|
+
when nil
|
578
|
+
[]
|
579
|
+
when Hash
|
580
|
+
value.flat_map {|key, val| struct_to_name_value_pairs val, namespace ? "#{namespace}[#{key}]" : key }
|
581
|
+
when Array
|
582
|
+
value.flat_map {|val| struct_to_name_value_pairs val, namespace }
|
583
|
+
else
|
584
|
+
BasicNameValuePair.new(namespace, value.to_s)
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
# Apache HTTP assumes ISO_8859_1 for StringEntities; we'll try to be nice and pass that when possible
|
589
|
+
# so that it doesn't have to any multibyte work.
|
590
|
+
ISO_8859_1 = "ISO-8859-1".freeze
|
591
|
+
def minimum_encoding_for(string)
|
592
|
+
if string.ascii_only?
|
593
|
+
ISO_8859_1
|
594
|
+
else
|
595
|
+
string.encoding.to_s
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
# Configure the SSL Context
|
600
|
+
def ssl_socket_factory_from_options(ssl_options)
|
601
|
+
trust_store = trust_strategy = nil
|
602
|
+
|
603
|
+
verifier = SSLConnectionSocketFactory::STRICT_HOSTNAME_VERIFIER
|
604
|
+
case ssl_options.fetch(:verify, :strict)
|
605
|
+
when false, :disable, :none
|
606
|
+
trust_store = nil
|
607
|
+
trust_strategy = TrustSelfSignedStrategy.new
|
608
|
+
verifier = SSLConnectionSocketFactory::ALLOW_ALL_HOSTNAME_VERIFIER
|
609
|
+
when :browser
|
610
|
+
verifier = SSLConnectionSocketFactory::BROWSER_COMPATIBLE_HOSTNAME_VERIFIER
|
611
|
+
when true, :strict, :default
|
612
|
+
verifier = SSLConnectionSocketFactory::STRICT_HOSTNAME_VERIFIER
|
613
|
+
else
|
614
|
+
raise "Invalid value for :verify. Valid values are (:all, :browser, :default)"
|
615
|
+
end
|
616
|
+
|
617
|
+
context = SSLContexts.custom
|
618
|
+
setup_trust_store ssl_options, context, trust_strategy
|
619
|
+
setup_key_store ssl_options, context
|
620
|
+
|
621
|
+
SSLConnectionSocketFactory.new context.build, ssl_options[:protocols].to_java(:string), ssl_options[:cipher_suites].to_java(:string), verifier
|
622
|
+
end
|
623
|
+
|
624
|
+
def setup_trust_store(ssl_options, context, trust_strategy)
|
625
|
+
trust_store = get_store(:truststore, ssl_options) if ssl_options.key?(:truststore)
|
626
|
+
|
627
|
+
# Support OpenSSL-style ca_file. We don't support ca_path for now.
|
628
|
+
if ssl_options[:ca_file]
|
629
|
+
trust_store ||= blank_keystore
|
630
|
+
open(ssl_options[:ca_file]) do |fp|
|
631
|
+
cert_collection = CertificateFactory.get_instance("X509").generate_certificates(fp.to_inputstream).to_a
|
632
|
+
cert_collection.each do |cert|
|
633
|
+
trust_store.set_certificate_entry(cert.getSubjectX500Principal.name, cert)
|
634
|
+
end
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
638
|
+
context.load_trust_material(trust_store, trust_strategy)
|
639
|
+
end
|
640
|
+
|
641
|
+
KEY_EXTRACTION_REGEXP = /(?:^-----BEGIN(.* )PRIVATE KEY-----\n)(.*?)(?:-----END\1PRIVATE KEY.*$)/m
|
642
|
+
def setup_key_store(ssl_options, context)
|
643
|
+
key_store = get_store(:keystore, ssl_options) if ssl_options.key?(:keystore)
|
644
|
+
keystore_password = (ssl_options[:keystore_password] || "").to_java.toCharArray
|
645
|
+
|
646
|
+
# Support OpenSSL-style bare X.509 certs with an RSA key
|
647
|
+
# This is really dumb - we have to b64-decode the key ourselves, and we can only support PKCS8
|
648
|
+
if ssl_options[:client_cert] && ssl_options[:client_key]
|
649
|
+
key_store ||= blank_keystore
|
650
|
+
certs, key = nil, nil
|
651
|
+
open(ssl_options[:client_cert]) do |fp|
|
652
|
+
certs = CertificateFactory.get_instance("X509").generate_certificates(fp.to_inputstream).to_array([].to_java(Certificate))
|
653
|
+
end
|
654
|
+
|
655
|
+
# Add each of the keys in the given keyfile into the keystore.
|
656
|
+
open(ssl_options[:client_key]) do |fp|
|
657
|
+
key_parts = fp.read.scan(KEY_EXTRACTION_REGEXP)
|
658
|
+
key_parts.each do |type, b64key|
|
659
|
+
body = Base64.decode64 b64key
|
660
|
+
spec = PKCS8EncodedKeySpec.new(body.to_java_bytes)
|
661
|
+
type = type.strip
|
662
|
+
type = "RSA" if type == ""
|
663
|
+
key = KeyFactory.getInstance(type).generatePrivate(spec)
|
664
|
+
key_store.set_key_entry("key-#{Digest::SHA1.hexdigest(body)}", key, keystore_password, certs)
|
665
|
+
end
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
context.load_key_material(key_store, keystore_password) if key_store
|
670
|
+
end
|
671
|
+
|
672
|
+
def get_trust_store(options)
|
673
|
+
get_store :truststore, options
|
674
|
+
end
|
675
|
+
|
676
|
+
def get_key_store(options)
|
677
|
+
get_store :keystore, options
|
678
|
+
end
|
679
|
+
|
680
|
+
def get_store(prefix, options)
|
681
|
+
KeyStore.get_instance(options[:"#{prefix}_type"] || guess_store_type(options[prefix])).tap do |store|
|
682
|
+
instream = open(options[prefix], "rb").to_inputstream
|
683
|
+
store.load(instream, options.fetch(:"#{prefix}_password", nil).to_java.toCharArray)
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
687
|
+
def blank_keystore
|
688
|
+
KeyStore.get_instance(KeyStore.get_default_type).tap {|k| k.load(nil, nil) }
|
689
|
+
end
|
690
|
+
|
691
|
+
def guess_store_type(filename)
|
692
|
+
if filename.end_with?(".p12") || filename.end_with?(".pfx")
|
693
|
+
"pkcs12"
|
694
|
+
else
|
695
|
+
KeyStore.get_default_type
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
699
|
+
def treat_params_as_query(options)
|
700
|
+
if options.key?(:params) && !options.key?(:query)
|
701
|
+
options.dup.tap {|o| o[:query] = o.delete(:params) }
|
702
|
+
else
|
703
|
+
options
|
704
|
+
end
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
class LoggingStandardRetryHandler < Java::OrgApacheHttpImplClient::StandardHttpRequestRetryHandler
|
709
|
+
def retryRequest(exception, executionCount, context)
|
710
|
+
context.setAttribute "retryCount", executionCount
|
711
|
+
super(exception, executionCount, context)
|
712
|
+
end
|
713
|
+
end
|
714
|
+
end
|