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
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,240 @@
|
|
1
|
+
require 'thread'
|
2
|
+
require 'concurrent/constants'
|
3
|
+
require 'concurrent/synchronization'
|
4
|
+
|
5
|
+
module Concurrent
|
6
|
+
# @!visibility private
|
7
|
+
module Collection
|
8
|
+
|
9
|
+
# @!visibility private
|
10
|
+
MapImplementation = if Concurrent.java_extensions_loaded?
|
11
|
+
# noinspection RubyResolve
|
12
|
+
JRubyMapBackend
|
13
|
+
elsif defined?(RUBY_ENGINE)
|
14
|
+
case RUBY_ENGINE
|
15
|
+
when 'ruby'
|
16
|
+
require 'concurrent/collection/map/mri_map_backend'
|
17
|
+
MriMapBackend
|
18
|
+
when 'rbx'
|
19
|
+
require 'concurrent/collection/map/atomic_reference_map_backend'
|
20
|
+
AtomicReferenceMapBackend
|
21
|
+
when 'jruby+truffle'
|
22
|
+
require 'concurrent/collection/map/atomic_reference_map_backend'
|
23
|
+
AtomicReferenceMapBackend
|
24
|
+
else
|
25
|
+
warn 'Concurrent::Map: unsupported Ruby engine, using a fully synchronized Concurrent::Map implementation' if $VERBOSE
|
26
|
+
require 'concurrent/collection/map/synchronized_map_backend'
|
27
|
+
SynchronizedMapBackend
|
28
|
+
end
|
29
|
+
else
|
30
|
+
MriMapBackend
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# `Concurrent::Map` is a hash-like object and should have much better performance
|
35
|
+
# characteristics, especially under high concurrency, than `Concurrent::Hash`.
|
36
|
+
# However, `Concurrent::Map `is not strictly semantically equivalent to a ruby `Hash`
|
37
|
+
# -- for instance, it does not necessarily retain ordering by insertion time as `Hash`
|
38
|
+
# does. For most uses it should do fine though, and we recommend you consider
|
39
|
+
# `Concurrent::Map` instead of `Concurrent::Hash` for your concurrency-safe hash needs.
|
40
|
+
#
|
41
|
+
# > require 'concurrent'
|
42
|
+
# >
|
43
|
+
# > map = Concurrent::Map.new
|
44
|
+
class Map < Collection::MapImplementation
|
45
|
+
|
46
|
+
# @!macro [new] map_method_is_atomic
|
47
|
+
# This method is atomic. Atomic methods of `Map` which accept a block
|
48
|
+
# do not allow the `self` instance to be used within the block. Doing
|
49
|
+
# so will cause a deadlock.
|
50
|
+
|
51
|
+
# @!method put_if_absent
|
52
|
+
# @!macro map_method_is_atomic
|
53
|
+
|
54
|
+
# @!method compute_if_absent
|
55
|
+
# @!macro map_method_is_atomic
|
56
|
+
|
57
|
+
# @!method compute_if_present
|
58
|
+
# @!macro map_method_is_atomic
|
59
|
+
|
60
|
+
# @!method compute
|
61
|
+
# @!macro map_method_is_atomic
|
62
|
+
|
63
|
+
# @!method merge_pair
|
64
|
+
# @!macro map_method_is_atomic
|
65
|
+
|
66
|
+
# @!method replace_pair
|
67
|
+
# @!macro map_method_is_atomic
|
68
|
+
|
69
|
+
# @!method replace_if_exists
|
70
|
+
# @!macro map_method_is_atomic
|
71
|
+
|
72
|
+
# @!method get_and_set
|
73
|
+
# @!macro map_method_is_atomic
|
74
|
+
|
75
|
+
# @!method delete
|
76
|
+
# @!macro map_method_is_atomic
|
77
|
+
|
78
|
+
# @!method delete_pair
|
79
|
+
# @!macro map_method_is_atomic
|
80
|
+
|
81
|
+
def initialize(options = nil, &block)
|
82
|
+
if options.kind_of?(::Hash)
|
83
|
+
validate_options_hash!(options)
|
84
|
+
else
|
85
|
+
options = nil
|
86
|
+
end
|
87
|
+
|
88
|
+
super(options)
|
89
|
+
@default_proc = block
|
90
|
+
end
|
91
|
+
|
92
|
+
def [](key)
|
93
|
+
if value = super # non-falsy value is an existing mapping, return it right away
|
94
|
+
value
|
95
|
+
# re-check is done with get_or_default(key, NULL) instead of a simple !key?(key) in order to avoid a race condition, whereby by the time the current thread gets to the key?(key) call
|
96
|
+
# a key => value mapping might have already been created by a different thread (key?(key) would then return true, this elsif branch wouldn't be taken and an incorrent +nil+ value
|
97
|
+
# would be returned)
|
98
|
+
# note: nil == value check is not technically necessary
|
99
|
+
elsif @default_proc && nil == value && NULL == (value = get_or_default(key, NULL))
|
100
|
+
@default_proc.call(self, key)
|
101
|
+
else
|
102
|
+
value
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
alias_method :get, :[]
|
107
|
+
alias_method :put, :[]=
|
108
|
+
|
109
|
+
# @!macro [attach] map_method_not_atomic
|
110
|
+
# The "fetch-then-act" methods of `Map` are not atomic. `Map` is intended
|
111
|
+
# to be use as a concurrency primitive with strong happens-before
|
112
|
+
# guarantees. It is not intended to be used as a high-level abstraction
|
113
|
+
# supporting complex operations. All read and write operations are
|
114
|
+
# thread safe, but no guarantees are made regarding race conditions
|
115
|
+
# between the fetch operation and yielding to the block. Additionally,
|
116
|
+
# this method does not support recursion. This is due to internal
|
117
|
+
# constraints that are very unlikely to change in the near future.
|
118
|
+
def fetch(key, default_value = NULL)
|
119
|
+
if NULL != (value = get_or_default(key, NULL))
|
120
|
+
value
|
121
|
+
elsif block_given?
|
122
|
+
yield key
|
123
|
+
elsif NULL != default_value
|
124
|
+
default_value
|
125
|
+
else
|
126
|
+
raise_fetch_no_key
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# @!macro map_method_not_atomic
|
131
|
+
def fetch_or_store(key, default_value = NULL)
|
132
|
+
fetch(key) do
|
133
|
+
put(key, block_given? ? yield(key) : (NULL == default_value ? raise_fetch_no_key : default_value))
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
# @!macro map_method_is_atomic
|
138
|
+
def put_if_absent(key, value)
|
139
|
+
computed = false
|
140
|
+
result = compute_if_absent(key) do
|
141
|
+
computed = true
|
142
|
+
value
|
143
|
+
end
|
144
|
+
computed ? nil : result
|
145
|
+
end unless method_defined?(:put_if_absent)
|
146
|
+
|
147
|
+
def value?(value)
|
148
|
+
each_value do |v|
|
149
|
+
return true if value.equal?(v)
|
150
|
+
end
|
151
|
+
false
|
152
|
+
end
|
153
|
+
|
154
|
+
def keys
|
155
|
+
arr = []
|
156
|
+
each_pair {|k, v| arr << k}
|
157
|
+
arr
|
158
|
+
end unless method_defined?(:keys)
|
159
|
+
|
160
|
+
def values
|
161
|
+
arr = []
|
162
|
+
each_pair {|k, v| arr << v}
|
163
|
+
arr
|
164
|
+
end unless method_defined?(:values)
|
165
|
+
|
166
|
+
def each_key
|
167
|
+
each_pair {|k, v| yield k}
|
168
|
+
end unless method_defined?(:each_key)
|
169
|
+
|
170
|
+
def each_value
|
171
|
+
each_pair {|k, v| yield v}
|
172
|
+
end unless method_defined?(:each_value)
|
173
|
+
|
174
|
+
alias_method :each, :each_pair unless method_defined?(:each)
|
175
|
+
|
176
|
+
def key(value)
|
177
|
+
each_pair {|k, v| return k if v == value}
|
178
|
+
nil
|
179
|
+
end unless method_defined?(:key)
|
180
|
+
alias_method :index, :key if RUBY_VERSION < '1.9'
|
181
|
+
|
182
|
+
def empty?
|
183
|
+
each_pair {|k, v| return false}
|
184
|
+
true
|
185
|
+
end unless method_defined?(:empty?)
|
186
|
+
|
187
|
+
def size
|
188
|
+
count = 0
|
189
|
+
each_pair {|k, v| count += 1}
|
190
|
+
count
|
191
|
+
end unless method_defined?(:size)
|
192
|
+
|
193
|
+
def marshal_dump
|
194
|
+
raise TypeError, "can't dump hash with default proc" if @default_proc
|
195
|
+
h = {}
|
196
|
+
each_pair {|k, v| h[k] = v}
|
197
|
+
h
|
198
|
+
end
|
199
|
+
|
200
|
+
def marshal_load(hash)
|
201
|
+
initialize
|
202
|
+
populate_from(hash)
|
203
|
+
end
|
204
|
+
|
205
|
+
undef :freeze
|
206
|
+
|
207
|
+
# @!visibility private
|
208
|
+
DEFAULT_OBJ_ID_STR_WIDTH = 0.size == 4 ? 7 : 14 # we want to look "native", 7 for 32-bit, 14 for 64-bit
|
209
|
+
# override default #inspect() method: firstly, we don't want to be spilling our guts (i-vars), secondly, MRI backend's
|
210
|
+
# #inspect() call on its @backend i-var will bump @backend's iter level while possibly yielding GVL
|
211
|
+
def inspect
|
212
|
+
id_str = (object_id << 1).to_s(16).rjust(DEFAULT_OBJ_ID_STR_WIDTH, '0')
|
213
|
+
"#<#{self.class.name}:0x#{id_str} entries=#{size} default_proc=#{@default_proc.inspect}>"
|
214
|
+
end
|
215
|
+
|
216
|
+
private
|
217
|
+
def raise_fetch_no_key
|
218
|
+
raise KeyError, 'key not found'
|
219
|
+
end
|
220
|
+
|
221
|
+
def initialize_copy(other)
|
222
|
+
super
|
223
|
+
populate_from(other)
|
224
|
+
end
|
225
|
+
|
226
|
+
def populate_from(hash)
|
227
|
+
hash.each_pair {|k, v| self[k] = v}
|
228
|
+
self
|
229
|
+
end
|
230
|
+
|
231
|
+
def validate_options_hash!(options)
|
232
|
+
if (initial_capacity = options[:initial_capacity]) && (!initial_capacity.kind_of?(Integer) || initial_capacity < 0)
|
233
|
+
raise ArgumentError, ":initial_capacity must be a positive Integer"
|
234
|
+
end
|
235
|
+
if (load_factor = options[:load_factor]) && (!load_factor.kind_of?(Numeric) || load_factor <= 0 || load_factor > 1)
|
236
|
+
raise ArgumentError, ":load_factor must be a number between 0 and 1"
|
237
|
+
end
|
238
|
+
end
|
239
|
+
end
|
240
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'concurrent/configuration'
|
2
|
+
|
3
|
+
module Concurrent
|
4
|
+
|
5
|
+
# @!visibility private
|
6
|
+
module Options
|
7
|
+
|
8
|
+
# Get the requested `Executor` based on the values set in the options hash.
|
9
|
+
#
|
10
|
+
# @param [Hash] opts the options defining the requested executor
|
11
|
+
# @option opts [Executor] :executor when set use the given `Executor` instance.
|
12
|
+
# Three special values are also supported: `:fast` returns the global fast executor,
|
13
|
+
# `:io` returns the global io executor, and `:immediate` returns a new
|
14
|
+
# `ImmediateExecutor` object.
|
15
|
+
#
|
16
|
+
# @return [Executor, nil] the requested thread pool, or nil when no option specified
|
17
|
+
#
|
18
|
+
# @!visibility private
|
19
|
+
def self.executor_from_options(opts = {}) # :nodoc:
|
20
|
+
if identifier = opts.fetch(:executor, nil)
|
21
|
+
executor(identifier)
|
22
|
+
else
|
23
|
+
nil
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.executor(executor_identifier)
|
28
|
+
case executor_identifier
|
29
|
+
when :fast
|
30
|
+
Concurrent.global_fast_executor
|
31
|
+
when :io
|
32
|
+
Concurrent.global_io_executor
|
33
|
+
when :immediate
|
34
|
+
Concurrent.global_immediate_executor
|
35
|
+
when Concurrent::ExecutorService
|
36
|
+
executor_identifier
|
37
|
+
else
|
38
|
+
raise ArgumentError, "executor not recognized by '#{executor_identifier}'"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,547 @@
|
|
1
|
+
require 'thread'
|
2
|
+
require 'concurrent/constants'
|
3
|
+
require 'concurrent/errors'
|
4
|
+
require 'concurrent/ivar'
|
5
|
+
require 'concurrent/executor/safe_task_executor'
|
6
|
+
|
7
|
+
require 'concurrent/options'
|
8
|
+
|
9
|
+
module Concurrent
|
10
|
+
|
11
|
+
PromiseExecutionError = Class.new(StandardError)
|
12
|
+
|
13
|
+
# Promises are inspired by the JavaScript [Promises/A](http://wiki.commonjs.org/wiki/Promises/A)
|
14
|
+
# and [Promises/A+](http://promises-aplus.github.io/promises-spec/) specifications.
|
15
|
+
#
|
16
|
+
# > A promise represents the eventual value returned from the single
|
17
|
+
# > completion of an operation.
|
18
|
+
#
|
19
|
+
# Promises are similar to futures and share many of the same behaviours.
|
20
|
+
# Promises are far more robust, however. Promises can be chained in a tree
|
21
|
+
# structure where each promise may have zero or more children. Promises are
|
22
|
+
# chained using the `then` method. The result of a call to `then` is always
|
23
|
+
# another promise. Promises are resolved asynchronously (with respect to the
|
24
|
+
# main thread) but in a strict order: parents are guaranteed to be resolved
|
25
|
+
# before their children, children before their younger siblings. The `then`
|
26
|
+
# method takes two parameters: an optional block to be executed upon parent
|
27
|
+
# resolution and an optional callable to be executed upon parent failure. The
|
28
|
+
# result of each promise is passed to each of its children upon resolution.
|
29
|
+
# When a promise is rejected all its children will be summarily rejected and
|
30
|
+
# will receive the reason.
|
31
|
+
#
|
32
|
+
# Promises have several possible states: *:unscheduled*, *:pending*,
|
33
|
+
# *:processing*, *:rejected*, or *:fulfilled*. These are also aggregated as
|
34
|
+
# `#incomplete?` and `#complete?`. When a Promise is created it is set to
|
35
|
+
# *:unscheduled*. Once the `#execute` method is called the state becomes
|
36
|
+
# *:pending*. Once a job is pulled from the thread pool's queue and is given
|
37
|
+
# to a thread for processing (often immediately upon `#post`) the state
|
38
|
+
# becomes *:processing*. The future will remain in this state until processing
|
39
|
+
# is complete. A future that is in the *:unscheduled*, *:pending*, or
|
40
|
+
# *:processing* is considered `#incomplete?`. A `#complete?` Promise is either
|
41
|
+
# *:rejected*, indicating that an exception was thrown during processing, or
|
42
|
+
# *:fulfilled*, indicating success. If a Promise is *:fulfilled* its `#value`
|
43
|
+
# will be updated to reflect the result of the operation. If *:rejected* the
|
44
|
+
# `reason` will be updated with a reference to the thrown exception. The
|
45
|
+
# predicate methods `#unscheduled?`, `#pending?`, `#rejected?`, and
|
46
|
+
# `#fulfilled?` can be called at any time to obtain the state of the Promise,
|
47
|
+
# as can the `#state` method, which returns a symbol.
|
48
|
+
#
|
49
|
+
# Retrieving the value of a promise is done through the `value` (alias:
|
50
|
+
# `deref`) method. Obtaining the value of a promise is a potentially blocking
|
51
|
+
# operation. When a promise is *rejected* a call to `value` will return `nil`
|
52
|
+
# immediately. When a promise is *fulfilled* a call to `value` will
|
53
|
+
# immediately return the current value. When a promise is *pending* a call to
|
54
|
+
# `value` will block until the promise is either *rejected* or *fulfilled*. A
|
55
|
+
# *timeout* value can be passed to `value` to limit how long the call will
|
56
|
+
# block. If `nil` the call will block indefinitely. If `0` the call will not
|
57
|
+
# block. Any other integer or float value will indicate the maximum number of
|
58
|
+
# seconds to block.
|
59
|
+
#
|
60
|
+
# Promises run on the global thread pool.
|
61
|
+
#
|
62
|
+
# @!macro copy_options
|
63
|
+
#
|
64
|
+
# ### Examples
|
65
|
+
#
|
66
|
+
# Start by requiring promises
|
67
|
+
#
|
68
|
+
# ```ruby
|
69
|
+
# require 'concurrent'
|
70
|
+
# ```
|
71
|
+
#
|
72
|
+
# Then create one
|
73
|
+
#
|
74
|
+
# ```ruby
|
75
|
+
# p = Concurrent::Promise.execute do
|
76
|
+
# # do something
|
77
|
+
# 42
|
78
|
+
# end
|
79
|
+
# ```
|
80
|
+
#
|
81
|
+
# Promises can be chained using the `then` method. The `then` method accepts a
|
82
|
+
# block and an executor, to be executed on fulfillment, and a callable argument to be executed
|
83
|
+
# on rejection. The result of the each promise is passed as the block argument
|
84
|
+
# to chained promises.
|
85
|
+
#
|
86
|
+
# ```ruby
|
87
|
+
# p = Concurrent::Promise.new{10}.then{|x| x * 2}.then{|result| result - 10 }.execute
|
88
|
+
# ```
|
89
|
+
#
|
90
|
+
# And so on, and so on, and so on...
|
91
|
+
#
|
92
|
+
# ```ruby
|
93
|
+
# p = Concurrent::Promise.fulfill(20).
|
94
|
+
# then{|result| result - 10 }.
|
95
|
+
# then{|result| result * 3 }.
|
96
|
+
# then(executor: different_executor){|result| result % 5 }.execute
|
97
|
+
# ```
|
98
|
+
#
|
99
|
+
# The initial state of a newly created Promise depends on the state of its parent:
|
100
|
+
# - if parent is *unscheduled* the child will be *unscheduled*
|
101
|
+
# - if parent is *pending* the child will be *pending*
|
102
|
+
# - if parent is *fulfilled* the child will be *pending*
|
103
|
+
# - if parent is *rejected* the child will be *pending* (but will ultimately be *rejected*)
|
104
|
+
#
|
105
|
+
# Promises are executed asynchronously from the main thread. By the time a
|
106
|
+
# child Promise finishes intialization it may be in a different state than its
|
107
|
+
# parent (by the time a child is created its parent may have completed
|
108
|
+
# execution and changed state). Despite being asynchronous, however, the order
|
109
|
+
# of execution of Promise objects in a chain (or tree) is strictly defined.
|
110
|
+
#
|
111
|
+
# There are multiple ways to create and execute a new `Promise`. Both ways
|
112
|
+
# provide identical behavior:
|
113
|
+
#
|
114
|
+
# ```ruby
|
115
|
+
# # create, operate, then execute
|
116
|
+
# p1 = Concurrent::Promise.new{ "Hello World!" }
|
117
|
+
# p1.state #=> :unscheduled
|
118
|
+
# p1.execute
|
119
|
+
#
|
120
|
+
# # create and immediately execute
|
121
|
+
# p2 = Concurrent::Promise.new{ "Hello World!" }.execute
|
122
|
+
#
|
123
|
+
# # execute during creation
|
124
|
+
# p3 = Concurrent::Promise.execute{ "Hello World!" }
|
125
|
+
# ```
|
126
|
+
#
|
127
|
+
# Once the `execute` method is called a `Promise` becomes `pending`:
|
128
|
+
#
|
129
|
+
# ```ruby
|
130
|
+
# p = Concurrent::Promise.execute{ "Hello, world!" }
|
131
|
+
# p.state #=> :pending
|
132
|
+
# p.pending? #=> true
|
133
|
+
# ```
|
134
|
+
#
|
135
|
+
# Wait a little bit, and the promise will resolve and provide a value:
|
136
|
+
#
|
137
|
+
# ```ruby
|
138
|
+
# p = Concurrent::Promise.execute{ "Hello, world!" }
|
139
|
+
# sleep(0.1)
|
140
|
+
#
|
141
|
+
# p.state #=> :fulfilled
|
142
|
+
# p.fulfilled? #=> true
|
143
|
+
# p.value #=> "Hello, world!"
|
144
|
+
# ```
|
145
|
+
#
|
146
|
+
# If an exception occurs, the promise will be rejected and will provide
|
147
|
+
# a reason for the rejection:
|
148
|
+
#
|
149
|
+
# ```ruby
|
150
|
+
# p = Concurrent::Promise.execute{ raise StandardError.new("Here comes the Boom!") }
|
151
|
+
# sleep(0.1)
|
152
|
+
#
|
153
|
+
# p.state #=> :rejected
|
154
|
+
# p.rejected? #=> true
|
155
|
+
# p.reason #=> "#<StandardError: Here comes the Boom!>"
|
156
|
+
# ```
|
157
|
+
#
|
158
|
+
# #### Rejection
|
159
|
+
#
|
160
|
+
# When a promise is rejected all its children will be rejected and will
|
161
|
+
# receive the rejection `reason` as the rejection callable parameter:
|
162
|
+
#
|
163
|
+
# ```ruby
|
164
|
+
# p = [ Concurrent::Promise.execute{ Thread.pass; raise StandardError } ]
|
165
|
+
#
|
166
|
+
# c1 = p.then(Proc.new{ |reason| 42 })
|
167
|
+
# c2 = p.then(Proc.new{ |reason| raise 'Boom!' })
|
168
|
+
#
|
169
|
+
# sleep(0.1)
|
170
|
+
#
|
171
|
+
# c1.state #=> :rejected
|
172
|
+
# c2.state #=> :rejected
|
173
|
+
# ```
|
174
|
+
#
|
175
|
+
# Once a promise is rejected it will continue to accept children that will
|
176
|
+
# receive immediately rejection (they will be executed asynchronously).
|
177
|
+
#
|
178
|
+
# #### Aliases
|
179
|
+
#
|
180
|
+
# The `then` method is the most generic alias: it accepts a block to be
|
181
|
+
# executed upon parent fulfillment and a callable to be executed upon parent
|
182
|
+
# rejection. At least one of them should be passed. The default block is `{
|
183
|
+
# |result| result }` that fulfills the child with the parent value. The
|
184
|
+
# default callable is `{ |reason| raise reason }` that rejects the child with
|
185
|
+
# the parent reason.
|
186
|
+
#
|
187
|
+
# - `on_success { |result| ... }` is the same as `then {|result| ... }`
|
188
|
+
# - `rescue { |reason| ... }` is the same as `then(Proc.new { |reason| ... } )`
|
189
|
+
# - `rescue` is aliased by `catch` and `on_error`
|
190
|
+
class Promise < IVar
|
191
|
+
|
192
|
+
# Initialize a new Promise with the provided options.
|
193
|
+
#
|
194
|
+
# @!macro executor_and_deref_options
|
195
|
+
#
|
196
|
+
# @!macro [attach] promise_init_options
|
197
|
+
#
|
198
|
+
# @option opts [Promise] :parent the parent `Promise` when building a chain/tree
|
199
|
+
# @option opts [Proc] :on_fulfill fulfillment handler
|
200
|
+
# @option opts [Proc] :on_reject rejection handler
|
201
|
+
# @option opts [object, Array] :args zero or more arguments to be passed
|
202
|
+
# the task block on execution
|
203
|
+
#
|
204
|
+
# @yield The block operation to be performed asynchronously.
|
205
|
+
#
|
206
|
+
# @raise [ArgumentError] if no block is given
|
207
|
+
#
|
208
|
+
# @see http://wiki.commonjs.org/wiki/Promises/A
|
209
|
+
# @see http://promises-aplus.github.io/promises-spec/
|
210
|
+
def initialize(opts = {}, &block)
|
211
|
+
opts.delete_if { |k, v| v.nil? }
|
212
|
+
super(NULL, opts.merge(__promise_body_from_block__: block), &nil)
|
213
|
+
end
|
214
|
+
|
215
|
+
# Create a new `Promise` and fulfill it immediately.
|
216
|
+
#
|
217
|
+
# @!macro executor_and_deref_options
|
218
|
+
#
|
219
|
+
# @!macro promise_init_options
|
220
|
+
#
|
221
|
+
# @raise [ArgumentError] if no block is given
|
222
|
+
#
|
223
|
+
# @return [Promise] the newly created `Promise`
|
224
|
+
def self.fulfill(value, opts = {})
|
225
|
+
Promise.new(opts).tap { |p| p.send(:synchronized_set_state!, true, value, nil) }
|
226
|
+
end
|
227
|
+
|
228
|
+
# Create a new `Promise` and reject it immediately.
|
229
|
+
#
|
230
|
+
# @!macro executor_and_deref_options
|
231
|
+
#
|
232
|
+
# @!macro promise_init_options
|
233
|
+
#
|
234
|
+
# @raise [ArgumentError] if no block is given
|
235
|
+
#
|
236
|
+
# @return [Promise] the newly created `Promise`
|
237
|
+
def self.reject(reason, opts = {})
|
238
|
+
Promise.new(opts).tap { |p| p.send(:synchronized_set_state!, false, nil, reason) }
|
239
|
+
end
|
240
|
+
|
241
|
+
# Execute an `:unscheduled` `Promise`. Immediately sets the state to `:pending` and
|
242
|
+
# passes the block to a new thread/thread pool for eventual execution.
|
243
|
+
# Does nothing if the `Promise` is in any state other than `:unscheduled`.
|
244
|
+
#
|
245
|
+
# @return [Promise] a reference to `self`
|
246
|
+
def execute
|
247
|
+
if root?
|
248
|
+
if compare_and_set_state(:pending, :unscheduled)
|
249
|
+
set_pending
|
250
|
+
realize(@promise_body)
|
251
|
+
end
|
252
|
+
else
|
253
|
+
@parent.execute
|
254
|
+
end
|
255
|
+
self
|
256
|
+
end
|
257
|
+
|
258
|
+
# @!macro ivar_set_method
|
259
|
+
#
|
260
|
+
# @raise [Concurrent::PromiseExecutionError] if not the root promise
|
261
|
+
def set(value = NULL, &block)
|
262
|
+
raise PromiseExecutionError.new('supported only on root promise') unless root?
|
263
|
+
check_for_block_or_value!(block_given?, value)
|
264
|
+
synchronize do
|
265
|
+
if @state != :unscheduled
|
266
|
+
raise MultipleAssignmentError
|
267
|
+
else
|
268
|
+
@promise_body = block || Proc.new { |result| value }
|
269
|
+
end
|
270
|
+
end
|
271
|
+
execute
|
272
|
+
end
|
273
|
+
|
274
|
+
# @!macro ivar_fail_method
|
275
|
+
#
|
276
|
+
# @raise [Concurrent::PromiseExecutionError] if not the root promise
|
277
|
+
def fail(reason = StandardError.new)
|
278
|
+
set { raise reason }
|
279
|
+
end
|
280
|
+
|
281
|
+
# Create a new `Promise` object with the given block, execute it, and return the
|
282
|
+
# `:pending` object.
|
283
|
+
#
|
284
|
+
# @!macro executor_and_deref_options
|
285
|
+
#
|
286
|
+
# @!macro promise_init_options
|
287
|
+
#
|
288
|
+
# @return [Promise] the newly created `Promise` in the `:pending` state
|
289
|
+
#
|
290
|
+
# @raise [ArgumentError] if no block is given
|
291
|
+
#
|
292
|
+
# @example
|
293
|
+
# promise = Concurrent::Promise.execute{ sleep(1); 42 }
|
294
|
+
# promise.state #=> :pending
|
295
|
+
def self.execute(opts = {}, &block)
|
296
|
+
new(opts, &block).execute
|
297
|
+
end
|
298
|
+
|
299
|
+
# Chain a new promise off the current promise.
|
300
|
+
#
|
301
|
+
# @param [Proc] rescuer An optional rescue block to be executed if the
|
302
|
+
# promise is rejected.
|
303
|
+
#
|
304
|
+
# @param [ThreadPool] executor An optional thread pool executor to be used
|
305
|
+
# in the new Promise
|
306
|
+
#
|
307
|
+
# @yield The block operation to be performed asynchronously.
|
308
|
+
#
|
309
|
+
# @return [Promise] the new promise
|
310
|
+
def then(rescuer = nil, executor = @executor, &block)
|
311
|
+
raise ArgumentError.new('rescuers and block are both missing') if rescuer.nil? && !block_given?
|
312
|
+
block = Proc.new { |result| result } unless block_given?
|
313
|
+
child = Promise.new(
|
314
|
+
parent: self,
|
315
|
+
executor: executor,
|
316
|
+
on_fulfill: block,
|
317
|
+
on_reject: rescuer
|
318
|
+
)
|
319
|
+
|
320
|
+
synchronize do
|
321
|
+
child.state = :pending if @state == :pending
|
322
|
+
child.on_fulfill(apply_deref_options(@value)) if @state == :fulfilled
|
323
|
+
child.on_reject(@reason) if @state == :rejected
|
324
|
+
@children << child
|
325
|
+
end
|
326
|
+
|
327
|
+
child
|
328
|
+
end
|
329
|
+
|
330
|
+
# Chain onto this promise an action to be undertaken on success
|
331
|
+
# (fulfillment).
|
332
|
+
#
|
333
|
+
# @yield The block to execute
|
334
|
+
#
|
335
|
+
# @return [Promise] self
|
336
|
+
def on_success(&block)
|
337
|
+
raise ArgumentError.new('no block given') unless block_given?
|
338
|
+
self.then(&block)
|
339
|
+
end
|
340
|
+
|
341
|
+
# Chain onto this promise an action to be undertaken on failure
|
342
|
+
# (rejection).
|
343
|
+
#
|
344
|
+
# @yield The block to execute
|
345
|
+
#
|
346
|
+
# @return [Promise] self
|
347
|
+
def rescue(&block)
|
348
|
+
self.then(block)
|
349
|
+
end
|
350
|
+
|
351
|
+
alias_method :catch, :rescue
|
352
|
+
alias_method :on_error, :rescue
|
353
|
+
|
354
|
+
# Yield the successful result to the block that returns a promise. If that
|
355
|
+
# promise is also successful the result is the result of the yielded promise.
|
356
|
+
# If either part fails the whole also fails.
|
357
|
+
#
|
358
|
+
# @example
|
359
|
+
# Promise.execute { 1 }.flat_map { |v| Promise.execute { v + 2 } }.value! #=> 3
|
360
|
+
#
|
361
|
+
# @return [Promise]
|
362
|
+
def flat_map(&block)
|
363
|
+
child = Promise.new(
|
364
|
+
parent: self,
|
365
|
+
executor: ImmediateExecutor.new,
|
366
|
+
)
|
367
|
+
|
368
|
+
on_error { |e| child.on_reject(e) }
|
369
|
+
on_success do |result1|
|
370
|
+
begin
|
371
|
+
inner = block.call(result1)
|
372
|
+
inner.execute
|
373
|
+
inner.on_success { |result2| child.on_fulfill(result2) }
|
374
|
+
inner.on_error { |e| child.on_reject(e) }
|
375
|
+
rescue => e
|
376
|
+
child.on_reject(e)
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
child
|
381
|
+
end
|
382
|
+
|
383
|
+
# Builds a promise that produces the result of promises in an Array
|
384
|
+
# and fails if any of them fails.
|
385
|
+
#
|
386
|
+
# @param [Array<Promise>] promises
|
387
|
+
#
|
388
|
+
# @return [Promise<Array>]
|
389
|
+
def self.zip(*promises)
|
390
|
+
zero = fulfill([], executor: ImmediateExecutor.new)
|
391
|
+
|
392
|
+
promises.reduce(zero) do |p1, p2|
|
393
|
+
p1.flat_map do |results|
|
394
|
+
p2.then do |next_result|
|
395
|
+
results << next_result
|
396
|
+
end
|
397
|
+
end
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
# Builds a promise that produces the result of self and others in an Array
|
402
|
+
# and fails if any of them fails.
|
403
|
+
#
|
404
|
+
# @param [Array<Promise>] others
|
405
|
+
#
|
406
|
+
# @return [Promise<Array>]
|
407
|
+
def zip(*others)
|
408
|
+
self.class.zip(self, *others)
|
409
|
+
end
|
410
|
+
|
411
|
+
# Aggregates a collection of promises and executes the `then` condition
|
412
|
+
# if all aggregated promises succeed. Executes the `rescue` handler with
|
413
|
+
# a `Concurrent::PromiseExecutionError` if any of the aggregated promises
|
414
|
+
# fail. Upon execution will execute any of the aggregate promises that
|
415
|
+
# were not already executed.
|
416
|
+
#
|
417
|
+
# @!macro [attach] promise_self_aggregate
|
418
|
+
#
|
419
|
+
# The returned promise will not yet have been executed. Additional `#then`
|
420
|
+
# and `#rescue` handlers may still be provided. Once the returned promise
|
421
|
+
# is execute the aggregate promises will be also be executed (if they have
|
422
|
+
# not been executed already). The results of the aggregate promises will
|
423
|
+
# be checked upon completion. The necessary `#then` and `#rescue` blocks
|
424
|
+
# on the aggregating promise will then be executed as appropriate. If the
|
425
|
+
# `#rescue` handlers are executed the raises exception will be
|
426
|
+
# `Concurrent::PromiseExecutionError`.
|
427
|
+
#
|
428
|
+
# @param [Array] promises Zero or more promises to aggregate
|
429
|
+
# @return [Promise] an unscheduled (not executed) promise that aggregates
|
430
|
+
# the promises given as arguments
|
431
|
+
def self.all?(*promises)
|
432
|
+
aggregate(:all?, *promises)
|
433
|
+
end
|
434
|
+
|
435
|
+
# Aggregates a collection of promises and executes the `then` condition
|
436
|
+
# if any aggregated promises succeed. Executes the `rescue` handler with
|
437
|
+
# a `Concurrent::PromiseExecutionError` if any of the aggregated promises
|
438
|
+
# fail. Upon execution will execute any of the aggregate promises that
|
439
|
+
# were not already executed.
|
440
|
+
#
|
441
|
+
# @!macro promise_self_aggregate
|
442
|
+
def self.any?(*promises)
|
443
|
+
aggregate(:any?, *promises)
|
444
|
+
end
|
445
|
+
|
446
|
+
protected
|
447
|
+
|
448
|
+
def ns_initialize(value, opts)
|
449
|
+
super
|
450
|
+
|
451
|
+
@executor = Options.executor_from_options(opts) || Concurrent.global_io_executor
|
452
|
+
@args = get_arguments_from(opts)
|
453
|
+
|
454
|
+
@parent = opts.fetch(:parent) { nil }
|
455
|
+
@on_fulfill = opts.fetch(:on_fulfill) { Proc.new { |result| result } }
|
456
|
+
@on_reject = opts.fetch(:on_reject) { Proc.new { |reason| raise reason } }
|
457
|
+
|
458
|
+
@promise_body = opts[:__promise_body_from_block__] || Proc.new { |result| result }
|
459
|
+
@state = :unscheduled
|
460
|
+
@children = []
|
461
|
+
end
|
462
|
+
|
463
|
+
# Aggregate a collection of zero or more promises under a composite promise,
|
464
|
+
# execute the aggregated promises and collect them into a standard Ruby array,
|
465
|
+
# call the given Ruby `Ennnumerable` predicate (such as `any?`, `all?`, `none?`,
|
466
|
+
# or `one?`) on the collection checking for the success or failure of each,
|
467
|
+
# then executing the composite's `#then` handlers if the predicate returns
|
468
|
+
# `true` or executing the composite's `#rescue` handlers if the predicate
|
469
|
+
# returns false.
|
470
|
+
#
|
471
|
+
# @!macro promise_self_aggregate
|
472
|
+
def self.aggregate(method, *promises)
|
473
|
+
composite = Promise.new do
|
474
|
+
completed = promises.collect do |promise|
|
475
|
+
promise.execute if promise.unscheduled?
|
476
|
+
promise.wait
|
477
|
+
promise
|
478
|
+
end
|
479
|
+
unless completed.empty? || completed.send(method){|promise| promise.fulfilled? }
|
480
|
+
raise PromiseExecutionError
|
481
|
+
end
|
482
|
+
end
|
483
|
+
composite
|
484
|
+
end
|
485
|
+
|
486
|
+
# @!visibility private
|
487
|
+
def set_pending
|
488
|
+
synchronize do
|
489
|
+
@state = :pending
|
490
|
+
@children.each { |c| c.set_pending }
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
# @!visibility private
|
495
|
+
def root? # :nodoc:
|
496
|
+
@parent.nil?
|
497
|
+
end
|
498
|
+
|
499
|
+
# @!visibility private
|
500
|
+
def on_fulfill(result)
|
501
|
+
realize Proc.new { @on_fulfill.call(result) }
|
502
|
+
nil
|
503
|
+
end
|
504
|
+
|
505
|
+
# @!visibility private
|
506
|
+
def on_reject(reason)
|
507
|
+
realize Proc.new { @on_reject.call(reason) }
|
508
|
+
nil
|
509
|
+
end
|
510
|
+
|
511
|
+
# @!visibility private
|
512
|
+
def notify_child(child)
|
513
|
+
if_state(:fulfilled) { child.on_fulfill(apply_deref_options(@value)) }
|
514
|
+
if_state(:rejected) { child.on_reject(@reason) }
|
515
|
+
end
|
516
|
+
|
517
|
+
# @!visibility private
|
518
|
+
def complete(success, value, reason)
|
519
|
+
children_to_notify = synchronize do
|
520
|
+
set_state!(success, value, reason)
|
521
|
+
@children.dup
|
522
|
+
end
|
523
|
+
|
524
|
+
children_to_notify.each { |child| notify_child(child) }
|
525
|
+
observers.notify_and_delete_observers{ [Time.now, self.value, reason] }
|
526
|
+
end
|
527
|
+
|
528
|
+
# @!visibility private
|
529
|
+
def realize(task)
|
530
|
+
@executor.post do
|
531
|
+
success, value, reason = SafeTaskExecutor.new(task, rescue_exception: true).execute(*@args)
|
532
|
+
complete(success, value, reason)
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
# @!visibility private
|
537
|
+
def set_state!(success, value, reason)
|
538
|
+
set_state(success, value, reason)
|
539
|
+
event.set
|
540
|
+
end
|
541
|
+
|
542
|
+
# @!visibility private
|
543
|
+
def synchronized_set_state!(success, value, reason)
|
544
|
+
synchronize { set_state!(success, value, reason) }
|
545
|
+
end
|
546
|
+
end
|
547
|
+
end
|