logstash-output-scalyr 0.1.3 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile +1 -0
- data/README.md +64 -6
- data/lib/logstash/outputs/scalyr.rb +172 -31
- data/lib/scalyr/common/client.rb +132 -20
- data/logstash-output-scalyr.gemspec +2 -1
- data/spec/benchmarks/flattening_and_serialization.rb +125 -0
- data/spec/benchmarks/metrics_overhead.rb +48 -0
- data/spec/logstash/outputs/scalyr_integration_spec.rb +77 -0
- data/spec/logstash/outputs/scalyr_spec.rb +172 -3
- data/vendor/bundle/jruby/2.5.0/bin/htmldiff +1 -1
- data/vendor/bundle/jruby/2.5.0/bin/ldiff +1 -1
- data/vendor/bundle/jruby/2.5.0/cache/connection_pool-2.2.5.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/net-http-persistent-4.0.1.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/quantile-0.2.1.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/Changes.md +11 -0
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.2 → connection_pool-2.2.5}/Gemfile +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.2 → connection_pool-2.2.5}/LICENSE +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/README.md +29 -5
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/Rakefile +0 -1
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/connection_pool.gemspec +1 -0
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/lib/connection_pool.rb +16 -0
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/lib/connection_pool/timed_stack.rb +9 -5
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.2 → connection_pool-2.2.5}/lib/connection_pool/version.rb +1 -1
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/lib/connection_pool/wrapper.rb +17 -3
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/test/helper.rb +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/test/test_connection_pool.rb +16 -2
- data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/test/test_connection_pool_timed_stack.rb +10 -0
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/Gemfile +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/History.txt +6 -0
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/Manifest.txt +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/README.rdoc +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/Rakefile +1 -1
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/lib/net/http/persistent.rb +1 -1
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-3.0.1 → net-http-persistent-4.0.1}/lib/net/http/persistent/connection.rb +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/lib/net/http/persistent/pool.rb +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/lib/net/http/persistent/timed_stack_multi.rb +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/test/test_net_http_persistent.rb +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-3.0.1 → net-http-persistent-4.0.1}/test/test_net_http_persistent_timed_stack_multi.rb +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/LICENSE +191 -0
- data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/README.md +55 -0
- data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/lib/quantile.rb +17 -0
- data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/lib/quantile/estimator.rb +186 -0
- data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/lib/quantile/quantile.rb +66 -0
- data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/lib/quantile/version.rb +16 -0
- data/vendor/bundle/jruby/2.5.0/specifications/{connection_pool-2.2.2.gemspec → connection_pool-2.2.5.gemspec} +4 -3
- data/vendor/bundle/jruby/2.5.0/specifications/{net-http-persistent-4.0.0.gemspec → net-http-persistent-4.0.1.gemspec} +4 -5
- data/vendor/bundle/jruby/2.5.0/specifications/quantile-0.2.1.gemspec +20 -0
- metadata +60 -733
- data/vendor/bundle/jruby/2.5.0/bin/jruby_executable_hooks +0 -25
- data/vendor/bundle/jruby/2.5.0/cache/concurrent-ruby-1.1.6.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/connection_pool-2.2.2.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/connection_pool-2.2.3.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/faraday-1.0.1.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/ffi-1.12.2-java.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/jrjackson-0.4.12-java.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/multi_json-1.14.1.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/net-http-persistent-3.0.1.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/net-http-persistent-4.0.0.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/rake-13.0.1.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/rspec-3.9.0.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/rspec-core-3.9.2.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/rspec-expectations-3.9.2.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/rspec-mocks-3.9.1.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/rspec-support-3.9.3.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/cache/tilt-2.0.10.gem +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/CHANGELOG.md +0 -502
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/Gemfile +0 -42
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/LICENSE.md +0 -23
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/README.md +0 -384
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/Rakefile +0 -332
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/ConcurrentRubyService.java +0 -17
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +0 -175
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +0 -248
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +0 -93
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +0 -113
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +0 -159
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +0 -307
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +0 -31
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +0 -3863
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +0 -203
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +0 -342
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +0 -3800
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +0 -204
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +0 -291
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +0 -199
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent-ruby.rb +0 -1
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent.rb +0 -134
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/agent.rb +0 -587
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/array.rb +0 -66
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/async.rb +0 -459
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atom.rb +0 -222
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/abstract_thread_local_var.rb +0 -66
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb +0 -126
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb +0 -143
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb +0 -164
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb +0 -204
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb +0 -100
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb +0 -128
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/event.rb +0 -109
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb +0 -42
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb +0 -37
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb +0 -62
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb +0 -75
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb +0 -44
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb +0 -115
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb +0 -254
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb +0 -379
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb +0 -171
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/semaphore.rb +0 -145
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb +0 -104
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb +0 -56
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb +0 -28
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomics.rb +0 -10
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb +0 -107
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb +0 -111
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb +0 -84
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb +0 -158
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/atomic_reference_map_backend.rb +0 -927
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb +0 -66
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb +0 -140
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb +0 -82
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb +0 -143
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb +0 -150
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/deprecation.rb +0 -34
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb +0 -73
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/logging.rb +0 -32
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/obligation.rb +0 -220
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/observable.rb +0 -110
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/configuration.rb +0 -188
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/constants.rb +0 -8
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/dataflow.rb +0 -81
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/delay.rb +0 -199
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/errors.rb +0 -69
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/exchanger.rb +0 -352
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb +0 -128
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb +0 -62
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/executor_service.rb +0 -185
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb +0 -203
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb +0 -66
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb +0 -44
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb +0 -103
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb +0 -30
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb +0 -124
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb +0 -76
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb +0 -21
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb +0 -367
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb +0 -35
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb +0 -34
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb +0 -107
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb +0 -28
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb +0 -100
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb +0 -57
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb +0 -87
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/timer_set.rb +0 -172
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executors.rb +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/future.rb +0 -141
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/hash.rb +0 -59
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/immutable_struct.rb +0 -101
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/ivar.rb +0 -207
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/map.rb +0 -337
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/maybe.rb +0 -229
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/mutable_struct.rb +0 -239
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/mvar.rb +0 -242
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/options.rb +0 -42
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promise.rb +0 -579
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promises.rb +0 -2167
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/re_include.rb +0 -58
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/scheduled_task.rb +0 -318
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/set.rb +0 -66
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/settable_struct.rb +0 -139
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization.rb +0 -30
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb +0 -98
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb +0 -24
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb +0 -171
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/condition.rb +0 -60
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb +0 -13
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/jruby_object.rb +0 -45
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/lock.rb +0 -36
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb +0 -74
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mri_object.rb +0 -44
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb +0 -76
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/object.rb +0 -183
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/rbx_lockable_object.rb +0 -65
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/rbx_object.rb +0 -49
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/truffleruby_object.rb +0 -47
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/volatile.rb +0 -36
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb +0 -50
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util.rb +0 -16
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb +0 -74
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/cheap_lockable.rb +0 -118
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb +0 -63
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb +0 -38
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb +0 -246
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb +0 -75
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb +0 -50
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/timer_task.rb +0 -334
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/tuple.rb +0 -86
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/tvar.rb +0 -258
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/engine.rb +0 -56
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb +0 -58
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb +0 -79
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/native_integer.rb +0 -53
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/processor_counter.rb +0 -163
- data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/version.rb +0 -3
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/Changes.md +0 -123
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/README.md +0 -107
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/Rakefile +0 -6
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/connection_pool.gemspec +0 -21
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/lib/connection_pool.rb +0 -161
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/lib/connection_pool/monotonic_time.rb +0 -66
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb +0 -176
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/test/helper.rb +0 -8
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/test/test_connection_pool.rb +0 -516
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/test/test_connection_pool_timed_stack.rb +0 -149
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.3/Gemfile +0 -5
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.3/LICENSE +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.3/lib/connection_pool/version.rb +0 -3
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/CHANGELOG.md +0 -276
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/LICENSE.md +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/README.md +0 -55
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/Rakefile +0 -7
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/examples/client_spec.rb +0 -65
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/examples/client_test.rb +0 -79
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday.rb +0 -166
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter.rb +0 -115
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_http.rb +0 -286
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_http_ssl_patch.rb +0 -62
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony.rb +0 -150
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb +0 -69
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/excon.rb +0 -124
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/httpclient.rb +0 -152
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb +0 -219
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http_persistent.rb +0 -91
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/patron.rb +0 -132
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/rack.rb +0 -75
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/test.rb +0 -246
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/typhoeus.rb +0 -15
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter_registry.rb +0 -30
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/autoload.rb +0 -95
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/connection.rb +0 -614
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/dependency_loader.rb +0 -37
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/encoders/flat_params_encoder.rb +0 -98
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/encoders/nested_params_encoder.rb +0 -171
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/error.rb +0 -132
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/file_part.rb +0 -128
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/logging/formatter.rb +0 -105
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/middleware.rb +0 -21
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/middleware_registry.rb +0 -129
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options.rb +0 -222
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/connection_options.rb +0 -22
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/env.rb +0 -181
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/proxy_options.rb +0 -28
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/request_options.rb +0 -22
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/ssl_options.rb +0 -59
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/param_part.rb +0 -53
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/parameters.rb +0 -5
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/rack_builder.rb +0 -248
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request.rb +0 -146
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/authorization.rb +0 -55
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/basic_authentication.rb +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/instrumentation.rb +0 -54
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/multipart.rb +0 -99
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/retry.rb +0 -239
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/token_authentication.rb +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/url_encoded.rb +0 -56
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response.rb +0 -107
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response/logger.rb +0 -33
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response/raise_error.rb +0 -45
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils.rb +0 -117
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils/headers.rb +0 -139
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils/params_hash.rb +0 -61
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/external_adapters/faraday_specs_setup.rb +0 -14
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/em_http_spec.rb +0 -47
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/em_synchrony_spec.rb +0 -16
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/excon_spec.rb +0 -49
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/httpclient_spec.rb +0 -73
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/net_http_persistent_spec.rb +0 -57
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/net_http_spec.rb +0 -64
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/patron_spec.rb +0 -18
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/rack_spec.rb +0 -8
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/typhoeus_spec.rb +0 -7
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter_registry_spec.rb +0 -28
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter_spec.rb +0 -55
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/composite_read_io_spec.rb +0 -80
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/connection_spec.rb +0 -691
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/error_spec.rb +0 -45
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/middleware_spec.rb +0 -26
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/env_spec.rb +0 -70
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/options_spec.rb +0 -297
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/proxy_options_spec.rb +0 -37
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/request_options_spec.rb +0 -19
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/params_encoders/flat_spec.rb +0 -34
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/params_encoders/nested_spec.rb +0 -134
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/rack_builder_spec.rb +0 -196
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/authorization_spec.rb +0 -88
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/instrumentation_spec.rb +0 -76
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/multipart_spec.rb +0 -274
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/retry_spec.rb +0 -242
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/url_encoded_spec.rb +0 -83
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request_spec.rb +0 -109
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/logger_spec.rb +0 -220
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/middleware_spec.rb +0 -68
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/raise_error_spec.rb +0 -106
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response_spec.rb +0 -75
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/utils/headers_spec.rb +0 -82
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/utils_spec.rb +0 -56
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday_spec.rb +0 -37
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/spec_helper.rb +0 -132
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/disabling_stub.rb +0 -14
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/fake_safe_buffer.rb +0 -15
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/helper_methods.rb +0 -133
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/adapter.rb +0 -104
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/params_encoder.rb +0 -18
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/request_method.rb +0 -234
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/streaming_response_checker.rb +0 -35
- data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/webmock_rack_app.rb +0 -68
- data/vendor/bundle/jruby/2.5.0/gems/ffi-1.12.2-java/CHANGELOG.md +0 -181
- data/vendor/bundle/jruby/2.5.0/gems/ffi-1.12.2-java/COPYING +0 -49
- data/vendor/bundle/jruby/2.5.0/gems/ffi-1.12.2-java/LICENSE +0 -24
- data/vendor/bundle/jruby/2.5.0/gems/ffi-1.12.2-java/README.md +0 -124
- data/vendor/bundle/jruby/2.5.0/gems/ffi-1.12.2-java/Rakefile +0 -196
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/Gemfile +0 -14
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/Mavenfile +0 -31
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/README.md +0 -150
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/Rakefile +0 -33
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/alt_bench.rb +0 -46
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/changelog.md +0 -166
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/jrjackson.gemspec +0 -31
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/com/fasterxml/jackson/core/jackson-annotations/2.9.10/jackson-annotations-2.9.10.jar +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/com/fasterxml/jackson/core/jackson-core/2.9.10/jackson-core-2.9.10.jar +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/com/fasterxml/jackson/core/jackson-databind/2.9.10.4/jackson-databind-2.9.10.4.jar +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.9.10/jackson-module-afterburner-2.9.10.jar +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson.rb +0 -2
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/build_info.rb +0 -47
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/jars/jrjackson-1.2.30.jar +0 -0
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/jrjackson.rb +0 -95
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson_jars.rb +0 -16
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/require_relative_patch.rb +0 -6
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/pom.xml +0 -178
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/profiling/profiled.rb +0 -15
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/run_all_individual_bench.sh +0 -25
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/run_jruby_individual_bench.sh +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/run_mri_individual_bench.sh +0 -7
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/IParseHandler.java +0 -53
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaBigDecimalValueConverter.java +0 -17
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaBigIntValueConverter.java +0 -17
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaConverter.java +0 -10
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaFloatValueConverter.java +0 -16
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaHandler.java +0 -118
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaLongValueConverter.java +0 -16
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JjParse.java +0 -139
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonBase.java +0 -152
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonJava.java +0 -81
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonRaw.java +0 -108
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonRuby.java +0 -89
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonSaj.java +0 -26
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonSch.java +0 -25
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonService.java +0 -38
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrParse.java +0 -142
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/ParseError.java +0 -16
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyAnySerializer.java +0 -291
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyBigDecimalValueConverter.java +0 -18
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyBigIntValueConverter.java +0 -21
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyConverter.java +0 -12
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyDateFormat.java +0 -34
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyFloatValueConverter.java +0 -18
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyHandler.java +0 -119
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyIntValueConverter.java +0 -18
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyJacksonModule.java +0 -80
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyKeyConverter.java +0 -12
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyNameConverter.java +0 -9
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyObjectDeserializer.java +0 -182
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyStringConverter.java +0 -18
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyStringKeyConverter.java +0 -15
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyStringNameConverter.java +0 -12
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubySymbolKeyConverter.java +0 -15
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubySymbolNameConverter.java +0 -12
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyUtils.java +0 -149
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/SajParse.java +0 -169
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/SchParse.java +0 -209
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/StreamParse.java +0 -66
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/test/java/com/jrjackson/RubyAnySerializerTest.java +0 -56
- data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/test/jrjackson_test.rb +0 -578
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/CHANGELOG.md +0 -270
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/CONTRIBUTING.md +0 -46
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/LICENSE.md +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/README.md +0 -120
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json.rb +0 -161
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapter.rb +0 -49
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapter_error.rb +0 -15
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/gson.rb +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/jr_jackson.rb +0 -25
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/json_common.rb +0 -23
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/json_gem.rb +0 -11
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/json_pure.rb +0 -11
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/nsjsonserialization.rb +0 -35
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/oj.rb +0 -63
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/ok_json.rb +0 -23
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/yajl.rb +0 -19
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/convertible_hash_keys.rb +0 -43
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/options.rb +0 -39
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/options_cache.rb +0 -29
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/parse_error.rb +0 -17
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/vendor/okjson.rb +0 -606
- data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/version.rb +0 -17
- data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/History.txt +0 -354
- data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/Manifest.txt +0 -13
- data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/README.rdoc +0 -82
- data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/Rakefile +0 -27
- data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/lib/net/http/persistent.rb +0 -1189
- data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/lib/net/http/persistent/pool.rb +0 -50
- data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/lib/net/http/persistent/timed_stack_multi.rb +0 -69
- data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/test/test_net_http_persistent.rb +0 -1589
- data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent/connection.rb +0 -40
- data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-4.0.0/test/test_net_http_persistent_timed_stack_multi.rb +0 -151
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/CONTRIBUTING.rdoc +0 -43
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/Gemfile +0 -10
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/History.rdoc +0 -2368
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/MIT-LICENSE +0 -21
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/README.rdoc +0 -155
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/Rakefile +0 -41
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/bundle +0 -105
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/console +0 -7
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/rake +0 -29
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/rdoc +0 -29
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/rubocop +0 -29
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/setup +0 -6
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/command_line_usage.rdoc +0 -158
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/example/Rakefile1 +0 -38
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/example/Rakefile2 +0 -35
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/example/a.c +0 -6
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/example/b.c +0 -6
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/example/main.c +0 -11
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/glossary.rdoc +0 -42
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/jamis.rb +0 -592
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/proto_rake.rdoc +0 -127
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/rake.1 +0 -156
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/rakefile.rdoc +0 -622
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/rational.rdoc +0 -151
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/exe/rake +0 -27
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake.rb +0 -71
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/application.rb +0 -824
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/backtrace.rb +0 -24
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/clean.rb +0 -78
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/cloneable.rb +0 -17
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/cpu_counter.rb +0 -107
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/default_loader.rb +0 -15
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/dsl_definition.rb +0 -195
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/early_time.rb +0 -22
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/ext/core.rb +0 -26
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/ext/string.rb +0 -176
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/file_creation_task.rb +0 -25
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/file_list.rb +0 -435
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/file_task.rb +0 -54
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/file_utils.rb +0 -134
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/file_utils_ext.rb +0 -134
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/invocation_chain.rb +0 -57
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/invocation_exception_mixin.rb +0 -17
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/late_time.rb +0 -18
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/linked_list.rb +0 -112
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/loaders/makefile.rb +0 -54
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/multi_task.rb +0 -14
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/name_space.rb +0 -38
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/packagetask.rb +0 -222
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/phony.rb +0 -16
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/private_reader.rb +0 -21
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/promise.rb +0 -100
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/pseudo_status.rb +0 -30
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/rake_module.rb +0 -67
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb +0 -27
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/scope.rb +0 -43
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/task.rb +0 -434
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/task_argument_error.rb +0 -8
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/task_arguments.rb +0 -109
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/task_manager.rb +0 -331
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/tasklib.rb +0 -12
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/testtask.rb +0 -224
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/thread_history_display.rb +0 -49
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/thread_pool.rb +0 -163
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/trace_output.rb +0 -23
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/version.rb +0 -10
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/win32.rb +0 -51
- data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/rake.gemspec +0 -43
- data/vendor/bundle/jruby/2.5.0/gems/rspec-3.9.0/LICENSE.md +0 -27
- data/vendor/bundle/jruby/2.5.0/gems/rspec-3.9.0/README.md +0 -43
- data/vendor/bundle/jruby/2.5.0/gems/rspec-3.9.0/lib/rspec.rb +0 -3
- data/vendor/bundle/jruby/2.5.0/gems/rspec-3.9.0/lib/rspec/version.rb +0 -5
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/Changelog.md +0 -2291
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/LICENSE.md +0 -26
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/README.md +0 -384
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/exe/rspec +0 -4
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/autorun.rb +0 -3
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core.rb +0 -186
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/backtrace_formatter.rb +0 -65
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/coordinator.rb +0 -62
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/example_minimizer.rb +0 -173
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/fork_runner.rb +0 -135
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/server.rb +0 -61
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_command.rb +0 -126
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_runner.rb +0 -73
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/utilities.rb +0 -58
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb +0 -2363
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration_options.rb +0 -233
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/did_you_mean.rb +0 -46
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/drb.rb +0 -113
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/dsl.rb +0 -98
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example.rb +0 -656
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb +0 -900
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example_status_persister.rb +0 -235
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/filter_manager.rb +0 -231
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/flat_map.rb +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters.rb +0 -273
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -45
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_formatter.rb +0 -70
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_text_formatter.rb +0 -75
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -29
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -157
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/console_codes.rb +0 -68
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/deprecation_formatter.rb +0 -223
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/documentation_formatter.rb +0 -102
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/exception_presenter.rb +0 -511
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/failure_list_formatter.rb +0 -23
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/helpers.rb +0 -110
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_formatter.rb +0 -153
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_printer.rb +0 -414
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -120
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/json_formatter.rb +0 -102
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/profile_formatter.rb +0 -68
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/progress_formatter.rb +0 -29
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/protocol.rb +0 -182
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/snippet_extractor.rb +0 -134
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/syntax_highlighter.rb +0 -91
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb +0 -641
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/invocations.rb +0 -87
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/memoized_helpers.rb +0 -554
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata.rb +0 -498
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata_filter.rb +0 -255
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/null.rb +0 -14
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rr.rb +0 -31
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/notifications.rb +0 -521
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/option_parser.rb +0 -316
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/ordering.rb +0 -158
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/output_wrapper.rb +0 -29
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/pending.rb +0 -165
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/profiler.rb +0 -34
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer.rb +0 -48
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -100
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/rake_task.rb +0 -188
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/reporter.rb +0 -265
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/ruby_project.rb +0 -53
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb +0 -204
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/sandbox.rb +0 -37
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/set.rb +0 -54
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_context.rb +0 -55
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_example_group.rb +0 -271
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shell_escape.rb +0 -49
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/version.rb +0 -9
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/warnings.rb +0 -40
- data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/world.rb +0 -276
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/Changelog.md +0 -1191
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/LICENSE.md +0 -25
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/README.md +0 -320
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations.rb +0 -82
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb +0 -253
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/configuration.rb +0 -215
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/expectation_target.rb +0 -127
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/fail_with.rb +0 -39
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/failure_aggregator.rb +0 -194
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/handler.rb +0 -170
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/minitest_integration.rb +0 -58
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/syntax.rb +0 -132
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/version.rb +0 -8
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers.rb +0 -1038
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/aliased_matcher.rb +0 -116
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in.rb +0 -52
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/all.rb +0 -86
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/base_matcher.rb +0 -193
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb +0 -288
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_between.rb +0 -77
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_instance_of.rb +0 -26
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_kind_of.rb +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_within.rb +0 -72
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/change.rb +0 -428
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/compound.rb +0 -276
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/contain_exactly.rb +0 -302
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/cover.rb +0 -24
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eq.rb +0 -40
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eql.rb +0 -34
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/equal.rb +0 -81
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/exist.rb +0 -90
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/has.rb +0 -103
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/include.rb +0 -149
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/match.rb +0 -106
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/operators.rb +0 -128
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/output.rb +0 -200
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/raise_error.rb +0 -230
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/respond_to.rb +0 -199
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/satisfy.rb +0 -60
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -94
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/yield.rb +0 -441
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/composable.rb +0 -171
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/dsl.rb +0 -540
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/english_phrasing.rb +0 -58
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -82
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/fail_matchers.rb +0 -42
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/generated_descriptions.rb +0 -41
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_delegator.rb +0 -35
- data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_protocol.rb +0 -99
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/Changelog.md +0 -1133
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/LICENSE.md +0 -25
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/README.md +0 -463
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +0 -130
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +0 -11
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +0 -111
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -31
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -50
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +0 -116
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +0 -294
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +0 -51
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -23
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +0 -100
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +0 -322
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +0 -212
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +0 -369
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +0 -434
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +0 -146
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +0 -41
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +0 -134
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +0 -132
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +0 -87
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +0 -751
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +0 -287
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +0 -202
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +0 -68
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +0 -339
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +0 -149
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +0 -81
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +0 -503
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +0 -238
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +0 -3
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +0 -325
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +0 -124
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +0 -171
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +0 -129
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +0 -220
- data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +0 -9
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/Changelog.md +0 -302
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/LICENSE.md +0 -23
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/README.md +0 -40
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +0 -149
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +0 -83
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +0 -46
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +0 -215
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +0 -63
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +0 -161
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +0 -48
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +0 -47
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +0 -42
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +0 -438
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +0 -73
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +0 -275
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +0 -76
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +0 -61
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +0 -190
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +0 -75
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +0 -21
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +0 -110
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +0 -87
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +0 -81
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +0 -9
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +0 -69
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +0 -150
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +0 -89
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +0 -75
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +0 -46
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +0 -7
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +0 -39
- data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +0 -33
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/COPYING +0 -18
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/bin/tilt +0 -122
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt.rb +0 -166
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/asciidoc.rb +0 -27
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/babel.rb +0 -16
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/bluecloth.rb +0 -24
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/builder.rb +0 -37
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/coffee.rb +0 -58
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/commonmarker.rb +0 -78
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/creole.rb +0 -25
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/csv.rb +0 -65
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/dummy.rb +0 -3
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/erb.rb +0 -63
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/erubi.rb +0 -32
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/erubis.rb +0 -43
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/etanni.rb +0 -27
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/haml.rb +0 -86
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/kramdown.rb +0 -25
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/less.rb +0 -30
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/liquid.rb +0 -44
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/livescript.rb +0 -23
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/mapping.rb +0 -293
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/markaby.rb +0 -45
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/maruku.rb +0 -22
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/nokogiri.rb +0 -36
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/pandoc.rb +0 -49
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/plain.rb +0 -16
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/prawn.rb +0 -43
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/radius.rb +0 -48
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/rdiscount.rb +0 -39
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/rdoc.rb +0 -40
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/redcarpet.rb +0 -83
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/redcloth.rb +0 -23
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/rst-pandoc.rb +0 -18
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/sass.rb +0 -52
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/sigil.rb +0 -34
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/string.rb +0 -21
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/template.rb +0 -297
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/typescript.rb +0 -26
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/wikicloth.rb +0 -22
- data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/yajl.rb +0 -87
- data/vendor/bundle/jruby/2.5.0/specifications/concurrent-ruby-1.1.6.gemspec +0 -24
- data/vendor/bundle/jruby/2.5.0/specifications/connection_pool-2.2.3.gemspec +0 -34
- data/vendor/bundle/jruby/2.5.0/specifications/faraday-1.0.1.gemspec +0 -0
- data/vendor/bundle/jruby/2.5.0/specifications/ffi-1.12.2-java.gemspec +0 -22
- data/vendor/bundle/jruby/2.5.0/specifications/jrjackson-0.4.12-java.gemspec +0 -34
- data/vendor/bundle/jruby/2.5.0/specifications/multi_json-1.14.1.gemspec +0 -36
- data/vendor/bundle/jruby/2.5.0/specifications/net-http-persistent-3.0.1.gemspec +0 -45
- data/vendor/bundle/jruby/2.5.0/specifications/rake-13.0.1.gemspec +0 -26
- data/vendor/bundle/jruby/2.5.0/specifications/rspec-3.9.0.gemspec +0 -43
- data/vendor/bundle/jruby/2.5.0/specifications/rspec-core-3.9.2.gemspec +0 -63
- data/vendor/bundle/jruby/2.5.0/specifications/rspec-expectations-3.9.2.gemspec +0 -51
- data/vendor/bundle/jruby/2.5.0/specifications/rspec-mocks-3.9.1.gemspec +0 -51
- data/vendor/bundle/jruby/2.5.0/specifications/rspec-support-3.9.3.gemspec +0 -39
- data/vendor/bundle/jruby/2.5.0/specifications/tilt-2.0.10.gemspec +0 -23
@@ -1,21 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require "./lib/connection_pool/version"
|
3
|
-
|
4
|
-
Gem::Specification.new do |s|
|
5
|
-
s.name = "connection_pool"
|
6
|
-
s.version = ConnectionPool::VERSION
|
7
|
-
s.platform = Gem::Platform::RUBY
|
8
|
-
s.authors = ["Mike Perham", "Damian Janowski"]
|
9
|
-
s.email = ["mperham@gmail.com", "damian@educabilia.com"]
|
10
|
-
s.homepage = "https://github.com/mperham/connection_pool"
|
11
|
-
s.description = s.summary = %q{Generic connection pool for Ruby}
|
12
|
-
|
13
|
-
s.files = `git ls-files`.split("\n")
|
14
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
15
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
16
|
-
s.require_paths = ["lib"]
|
17
|
-
s.license = "MIT"
|
18
|
-
s.add_development_dependency 'bundler'
|
19
|
-
s.add_development_dependency 'minitest', '>= 5.0.0'
|
20
|
-
s.add_development_dependency 'rake'
|
21
|
-
end
|
@@ -1,161 +0,0 @@
|
|
1
|
-
require_relative 'connection_pool/version'
|
2
|
-
require_relative 'connection_pool/timed_stack'
|
3
|
-
|
4
|
-
|
5
|
-
# Generic connection pool class for e.g. sharing a limited number of network connections
|
6
|
-
# among many threads. Note: Connections are lazily created.
|
7
|
-
#
|
8
|
-
# Example usage with block (faster):
|
9
|
-
#
|
10
|
-
# @pool = ConnectionPool.new { Redis.new }
|
11
|
-
#
|
12
|
-
# @pool.with do |redis|
|
13
|
-
# redis.lpop('my-list') if redis.llen('my-list') > 0
|
14
|
-
# end
|
15
|
-
#
|
16
|
-
# Using optional timeout override (for that single invocation)
|
17
|
-
#
|
18
|
-
# @pool.with(timeout: 2.0) do |redis|
|
19
|
-
# redis.lpop('my-list') if redis.llen('my-list') > 0
|
20
|
-
# end
|
21
|
-
#
|
22
|
-
# Example usage replacing an existing connection (slower):
|
23
|
-
#
|
24
|
-
# $redis = ConnectionPool.wrap { Redis.new }
|
25
|
-
#
|
26
|
-
# def do_work
|
27
|
-
# $redis.lpop('my-list') if $redis.llen('my-list') > 0
|
28
|
-
# end
|
29
|
-
#
|
30
|
-
# Accepts the following options:
|
31
|
-
# - :size - number of connections to pool, defaults to 5
|
32
|
-
# - :timeout - amount of time to wait for a connection if none currently available, defaults to 5 seconds
|
33
|
-
#
|
34
|
-
class ConnectionPool
|
35
|
-
DEFAULTS = {size: 5, timeout: 5}
|
36
|
-
|
37
|
-
class Error < RuntimeError
|
38
|
-
end
|
39
|
-
|
40
|
-
def self.wrap(options, &block)
|
41
|
-
Wrapper.new(options, &block)
|
42
|
-
end
|
43
|
-
|
44
|
-
def initialize(options = {}, &block)
|
45
|
-
raise ArgumentError, 'Connection pool requires a block' unless block
|
46
|
-
|
47
|
-
options = DEFAULTS.merge(options)
|
48
|
-
|
49
|
-
@size = options.fetch(:size)
|
50
|
-
@timeout = options.fetch(:timeout)
|
51
|
-
|
52
|
-
@available = TimedStack.new(@size, &block)
|
53
|
-
@key = :"current-#{@available.object_id}"
|
54
|
-
@key_count = :"current-#{@available.object_id}-count"
|
55
|
-
end
|
56
|
-
|
57
|
-
if Thread.respond_to?(:handle_interrupt)
|
58
|
-
|
59
|
-
# MRI
|
60
|
-
def with(options = {})
|
61
|
-
Thread.handle_interrupt(Exception => :never) do
|
62
|
-
conn = checkout(options)
|
63
|
-
begin
|
64
|
-
Thread.handle_interrupt(Exception => :immediate) do
|
65
|
-
yield conn
|
66
|
-
end
|
67
|
-
ensure
|
68
|
-
checkin
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
else
|
74
|
-
|
75
|
-
# jruby 1.7.x
|
76
|
-
def with(options = {})
|
77
|
-
conn = checkout(options)
|
78
|
-
begin
|
79
|
-
yield conn
|
80
|
-
ensure
|
81
|
-
checkin
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
end
|
86
|
-
|
87
|
-
def checkout(options = {})
|
88
|
-
if ::Thread.current[@key]
|
89
|
-
::Thread.current[@key_count]+= 1
|
90
|
-
::Thread.current[@key]
|
91
|
-
else
|
92
|
-
::Thread.current[@key_count]= 1
|
93
|
-
::Thread.current[@key]= @available.pop(options[:timeout] || @timeout)
|
94
|
-
end
|
95
|
-
end
|
96
|
-
|
97
|
-
def checkin
|
98
|
-
if ::Thread.current[@key]
|
99
|
-
if ::Thread.current[@key_count] == 1
|
100
|
-
@available.push(::Thread.current[@key])
|
101
|
-
::Thread.current[@key]= nil
|
102
|
-
else
|
103
|
-
::Thread.current[@key_count]-= 1
|
104
|
-
end
|
105
|
-
else
|
106
|
-
raise ConnectionPool::Error, 'no connections are checked out'
|
107
|
-
end
|
108
|
-
|
109
|
-
nil
|
110
|
-
end
|
111
|
-
|
112
|
-
def shutdown(&block)
|
113
|
-
@available.shutdown(&block)
|
114
|
-
end
|
115
|
-
|
116
|
-
# Size of this connection pool
|
117
|
-
def size
|
118
|
-
@size
|
119
|
-
end
|
120
|
-
|
121
|
-
# Number of pool entries available for checkout at this instant.
|
122
|
-
def available
|
123
|
-
@available.length
|
124
|
-
end
|
125
|
-
|
126
|
-
private
|
127
|
-
|
128
|
-
class Wrapper < ::BasicObject
|
129
|
-
METHODS = [:with, :pool_shutdown]
|
130
|
-
|
131
|
-
def initialize(options = {}, &block)
|
132
|
-
@pool = options.fetch(:pool) { ::ConnectionPool.new(options, &block) }
|
133
|
-
end
|
134
|
-
|
135
|
-
def with(&block)
|
136
|
-
@pool.with(&block)
|
137
|
-
end
|
138
|
-
|
139
|
-
def pool_shutdown(&block)
|
140
|
-
@pool.shutdown(&block)
|
141
|
-
end
|
142
|
-
|
143
|
-
def pool_size
|
144
|
-
@pool.size
|
145
|
-
end
|
146
|
-
|
147
|
-
def pool_available
|
148
|
-
@pool.available
|
149
|
-
end
|
150
|
-
|
151
|
-
def respond_to?(id, *args)
|
152
|
-
METHODS.include?(id) || with { |c| c.respond_to?(id, *args) }
|
153
|
-
end
|
154
|
-
|
155
|
-
def method_missing(name, *args, &block)
|
156
|
-
with do |connection|
|
157
|
-
connection.send(name, *args, &block)
|
158
|
-
end
|
159
|
-
end
|
160
|
-
end
|
161
|
-
end
|
data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/lib/connection_pool/monotonic_time.rb
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
# Global monotonic clock from Concurrent Ruby 1.0.
|
2
|
-
# Copyright (c) Jerry D'Antonio -- released under the MIT license.
|
3
|
-
# Slightly modified; used with permission.
|
4
|
-
# https://github.com/ruby-concurrency/concurrent-ruby
|
5
|
-
|
6
|
-
require 'thread'
|
7
|
-
|
8
|
-
class ConnectionPool
|
9
|
-
|
10
|
-
class_definition = Class.new do
|
11
|
-
|
12
|
-
if defined?(Process::CLOCK_MONOTONIC)
|
13
|
-
|
14
|
-
# @!visibility private
|
15
|
-
def get_time
|
16
|
-
Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
17
|
-
end
|
18
|
-
|
19
|
-
elsif defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
|
20
|
-
|
21
|
-
# @!visibility private
|
22
|
-
def get_time
|
23
|
-
java.lang.System.nanoTime() / 1_000_000_000.0
|
24
|
-
end
|
25
|
-
|
26
|
-
else
|
27
|
-
|
28
|
-
# @!visibility private
|
29
|
-
def initialize
|
30
|
-
@mutex = Mutex.new
|
31
|
-
@last_time = Time.now.to_f
|
32
|
-
end
|
33
|
-
|
34
|
-
# @!visibility private
|
35
|
-
def get_time
|
36
|
-
@mutex.synchronize do
|
37
|
-
now = Time.now.to_f
|
38
|
-
if @last_time < now
|
39
|
-
@last_time = now
|
40
|
-
else # clock has moved back in time
|
41
|
-
@last_time += 0.000_001
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
##
|
49
|
-
# Clock that cannot be set and represents monotonic time since
|
50
|
-
# some unspecified starting point.
|
51
|
-
#
|
52
|
-
# @!visibility private
|
53
|
-
GLOBAL_MONOTONIC_CLOCK = class_definition.new
|
54
|
-
private_constant :GLOBAL_MONOTONIC_CLOCK
|
55
|
-
|
56
|
-
class << self
|
57
|
-
##
|
58
|
-
# Returns the current time a tracked by the application monotonic clock.
|
59
|
-
#
|
60
|
-
# @return [Float] The current monotonic time when `since` not given else
|
61
|
-
# the elapsed monotonic time between `since` and the current time
|
62
|
-
def monotonic_time
|
63
|
-
GLOBAL_MONOTONIC_CLOCK.get_time
|
64
|
-
end
|
65
|
-
end
|
66
|
-
end
|
data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb
DELETED
@@ -1,176 +0,0 @@
|
|
1
|
-
require 'thread'
|
2
|
-
require 'timeout'
|
3
|
-
require_relative 'monotonic_time'
|
4
|
-
|
5
|
-
##
|
6
|
-
# Raised when you attempt to retrieve a connection from a pool that has been
|
7
|
-
# shut down.
|
8
|
-
|
9
|
-
class ConnectionPool::PoolShuttingDownError < RuntimeError; end
|
10
|
-
|
11
|
-
##
|
12
|
-
# The TimedStack manages a pool of homogeneous connections (or any resource
|
13
|
-
# you wish to manage). Connections are created lazily up to a given maximum
|
14
|
-
# number.
|
15
|
-
|
16
|
-
# Examples:
|
17
|
-
#
|
18
|
-
# ts = TimedStack.new(1) { MyConnection.new }
|
19
|
-
#
|
20
|
-
# # fetch a connection
|
21
|
-
# conn = ts.pop
|
22
|
-
#
|
23
|
-
# # return a connection
|
24
|
-
# ts.push conn
|
25
|
-
#
|
26
|
-
# conn = ts.pop
|
27
|
-
# ts.pop timeout: 5
|
28
|
-
# #=> raises Timeout::Error after 5 seconds
|
29
|
-
|
30
|
-
class ConnectionPool::TimedStack
|
31
|
-
attr_reader :max
|
32
|
-
|
33
|
-
##
|
34
|
-
# Creates a new pool with +size+ connections that are created from the given
|
35
|
-
# +block+.
|
36
|
-
|
37
|
-
def initialize(size = 0, &block)
|
38
|
-
@create_block = block
|
39
|
-
@created = 0
|
40
|
-
@que = []
|
41
|
-
@max = size
|
42
|
-
@mutex = Mutex.new
|
43
|
-
@resource = ConditionVariable.new
|
44
|
-
@shutdown_block = nil
|
45
|
-
end
|
46
|
-
|
47
|
-
##
|
48
|
-
# Returns +obj+ to the stack. +options+ is ignored in TimedStack but may be
|
49
|
-
# used by subclasses that extend TimedStack.
|
50
|
-
|
51
|
-
def push(obj, options = {})
|
52
|
-
@mutex.synchronize do
|
53
|
-
if @shutdown_block
|
54
|
-
@shutdown_block.call(obj)
|
55
|
-
else
|
56
|
-
store_connection obj, options
|
57
|
-
end
|
58
|
-
|
59
|
-
@resource.broadcast
|
60
|
-
end
|
61
|
-
end
|
62
|
-
alias_method :<<, :push
|
63
|
-
|
64
|
-
##
|
65
|
-
# Retrieves a connection from the stack. If a connection is available it is
|
66
|
-
# immediately returned. If no connection is available within the given
|
67
|
-
# timeout a Timeout::Error is raised.
|
68
|
-
#
|
69
|
-
# +:timeout+ is the only checked entry in +options+ and is preferred over
|
70
|
-
# the +timeout+ argument (which will be removed in a future release). Other
|
71
|
-
# options may be used by subclasses that extend TimedStack.
|
72
|
-
|
73
|
-
def pop(timeout = 0.5, options = {})
|
74
|
-
options, timeout = timeout, 0.5 if Hash === timeout
|
75
|
-
timeout = options.fetch :timeout, timeout
|
76
|
-
|
77
|
-
deadline = ConnectionPool.monotonic_time + timeout
|
78
|
-
@mutex.synchronize do
|
79
|
-
loop do
|
80
|
-
raise ConnectionPool::PoolShuttingDownError if @shutdown_block
|
81
|
-
return fetch_connection(options) if connection_stored?(options)
|
82
|
-
|
83
|
-
connection = try_create(options)
|
84
|
-
return connection if connection
|
85
|
-
|
86
|
-
to_wait = deadline - ConnectionPool.monotonic_time
|
87
|
-
raise Timeout::Error, "Waited #{timeout} sec" if to_wait <= 0
|
88
|
-
@resource.wait(@mutex, to_wait)
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
92
|
-
|
93
|
-
##
|
94
|
-
# Shuts down the TimedStack which prevents connections from being checked
|
95
|
-
# out. The +block+ is called once for each connection on the stack.
|
96
|
-
|
97
|
-
def shutdown(&block)
|
98
|
-
raise ArgumentError, "shutdown must receive a block" unless block_given?
|
99
|
-
|
100
|
-
@mutex.synchronize do
|
101
|
-
@shutdown_block = block
|
102
|
-
@resource.broadcast
|
103
|
-
|
104
|
-
shutdown_connections
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
##
|
109
|
-
# Returns +true+ if there are no available connections.
|
110
|
-
|
111
|
-
def empty?
|
112
|
-
(@created - @que.length) >= @max
|
113
|
-
end
|
114
|
-
|
115
|
-
##
|
116
|
-
# The number of connections available on the stack.
|
117
|
-
|
118
|
-
def length
|
119
|
-
@max - @created + @que.length
|
120
|
-
end
|
121
|
-
|
122
|
-
private
|
123
|
-
|
124
|
-
##
|
125
|
-
# This is an extension point for TimedStack and is called with a mutex.
|
126
|
-
#
|
127
|
-
# This method must returns true if a connection is available on the stack.
|
128
|
-
|
129
|
-
def connection_stored?(options = nil)
|
130
|
-
!@que.empty?
|
131
|
-
end
|
132
|
-
|
133
|
-
##
|
134
|
-
# This is an extension point for TimedStack and is called with a mutex.
|
135
|
-
#
|
136
|
-
# This method must return a connection from the stack.
|
137
|
-
|
138
|
-
def fetch_connection(options = nil)
|
139
|
-
@que.pop
|
140
|
-
end
|
141
|
-
|
142
|
-
##
|
143
|
-
# This is an extension point for TimedStack and is called with a mutex.
|
144
|
-
#
|
145
|
-
# This method must shut down all connections on the stack.
|
146
|
-
|
147
|
-
def shutdown_connections(options = nil)
|
148
|
-
while connection_stored?(options)
|
149
|
-
conn = fetch_connection(options)
|
150
|
-
@shutdown_block.call(conn)
|
151
|
-
end
|
152
|
-
end
|
153
|
-
|
154
|
-
##
|
155
|
-
# This is an extension point for TimedStack and is called with a mutex.
|
156
|
-
#
|
157
|
-
# This method must return +obj+ to the stack.
|
158
|
-
|
159
|
-
def store_connection(obj, options = nil)
|
160
|
-
@que.push obj
|
161
|
-
end
|
162
|
-
|
163
|
-
##
|
164
|
-
# This is an extension point for TimedStack and is called with a mutex.
|
165
|
-
#
|
166
|
-
# This method must create a connection if and only if the total number of
|
167
|
-
# connections allowed has not been met.
|
168
|
-
|
169
|
-
def try_create(options = nil)
|
170
|
-
unless @created == @max
|
171
|
-
object = @create_block.call
|
172
|
-
@created += 1
|
173
|
-
object
|
174
|
-
end
|
175
|
-
end
|
176
|
-
end
|
@@ -1,516 +0,0 @@
|
|
1
|
-
require_relative 'helper'
|
2
|
-
|
3
|
-
class TestConnectionPool < Minitest::Test
|
4
|
-
|
5
|
-
class NetworkConnection
|
6
|
-
SLEEP_TIME = 0.1
|
7
|
-
|
8
|
-
def initialize
|
9
|
-
@x = 0
|
10
|
-
end
|
11
|
-
|
12
|
-
def do_something
|
13
|
-
@x += 1
|
14
|
-
sleep SLEEP_TIME
|
15
|
-
@x
|
16
|
-
end
|
17
|
-
|
18
|
-
def fast
|
19
|
-
@x += 1
|
20
|
-
end
|
21
|
-
|
22
|
-
def do_something_with_block
|
23
|
-
@x += yield
|
24
|
-
sleep SLEEP_TIME
|
25
|
-
@x
|
26
|
-
end
|
27
|
-
|
28
|
-
def respond_to?(method_id, *args)
|
29
|
-
method_id == :do_magic || super(method_id, *args)
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
class Recorder
|
34
|
-
def initialize
|
35
|
-
@calls = []
|
36
|
-
end
|
37
|
-
|
38
|
-
attr_reader :calls
|
39
|
-
|
40
|
-
def do_work(label)
|
41
|
-
@calls << label
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
def use_pool(pool, size)
|
46
|
-
Array.new(size) do
|
47
|
-
Thread.new do
|
48
|
-
pool.with do sleep end
|
49
|
-
end
|
50
|
-
end.each do |thread|
|
51
|
-
Thread.pass until thread.status == 'sleep'
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
def kill_threads(threads)
|
56
|
-
threads.each do |thread|
|
57
|
-
thread.kill
|
58
|
-
thread.join
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
def test_basic_multithreaded_usage
|
63
|
-
pool_size = 5
|
64
|
-
pool = ConnectionPool.new(size: pool_size) { NetworkConnection.new }
|
65
|
-
|
66
|
-
start = Time.new
|
67
|
-
|
68
|
-
generations = 3
|
69
|
-
|
70
|
-
result = Array.new(pool_size * generations) do
|
71
|
-
Thread.new do
|
72
|
-
pool.with do |net|
|
73
|
-
net.do_something
|
74
|
-
end
|
75
|
-
end
|
76
|
-
end.map(&:value)
|
77
|
-
|
78
|
-
finish = Time.new
|
79
|
-
|
80
|
-
assert_equal((1..generations).cycle(pool_size).sort, result.sort)
|
81
|
-
|
82
|
-
assert_operator(finish - start, :>, generations * NetworkConnection::SLEEP_TIME)
|
83
|
-
end
|
84
|
-
|
85
|
-
def test_timeout
|
86
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { NetworkConnection.new }
|
87
|
-
thread = Thread.new do
|
88
|
-
pool.with do |net|
|
89
|
-
net.do_something
|
90
|
-
sleep 0.01
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
|
-
Thread.pass while thread.status == 'run'
|
95
|
-
|
96
|
-
assert_raises Timeout::Error do
|
97
|
-
pool.with { |net| net.do_something }
|
98
|
-
end
|
99
|
-
|
100
|
-
thread.join
|
101
|
-
|
102
|
-
pool.with do |conn|
|
103
|
-
refute_nil conn
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
def test_with
|
108
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { Object.new }
|
109
|
-
|
110
|
-
pool.with do
|
111
|
-
assert_raises Timeout::Error do
|
112
|
-
Thread.new { pool.checkout }.join
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
|
-
assert Thread.new { pool.checkout }.join
|
117
|
-
end
|
118
|
-
|
119
|
-
def test_with_timeout
|
120
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { Object.new }
|
121
|
-
|
122
|
-
assert_raises Timeout::Error do
|
123
|
-
Timeout.timeout(0.01) do
|
124
|
-
pool.with do |obj|
|
125
|
-
assert_equal 0, pool.instance_variable_get(:@available).instance_variable_get(:@que).size
|
126
|
-
sleep 0.015
|
127
|
-
end
|
128
|
-
end
|
129
|
-
end
|
130
|
-
assert_equal 1, pool.instance_variable_get(:@available).instance_variable_get(:@que).size
|
131
|
-
end
|
132
|
-
|
133
|
-
def test_checkout_ignores_timeout
|
134
|
-
skip("Thread.handle_interrupt not available") unless Thread.respond_to?(:handle_interrupt)
|
135
|
-
|
136
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { Object.new }
|
137
|
-
def pool.checkout(options)
|
138
|
-
sleep 0.015
|
139
|
-
super
|
140
|
-
end
|
141
|
-
|
142
|
-
did_something = false
|
143
|
-
assert_raises Timeout::Error do
|
144
|
-
Timeout.timeout(0.01) do
|
145
|
-
pool.with do |obj|
|
146
|
-
did_something = true
|
147
|
-
# Timeout::Error will be triggered by any non-trivial Ruby code
|
148
|
-
# executed here since it couldn't be raised during checkout.
|
149
|
-
# It looks like setting the local variable above does not trigger
|
150
|
-
# the Timeout check in MRI 2.2.1.
|
151
|
-
obj.tap { obj.hash }
|
152
|
-
end
|
153
|
-
end
|
154
|
-
end
|
155
|
-
assert did_something
|
156
|
-
assert_equal 1, pool.instance_variable_get(:@available).instance_variable_get(:@que).size
|
157
|
-
end
|
158
|
-
|
159
|
-
def test_explicit_return
|
160
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) do
|
161
|
-
mock = Minitest::Mock.new
|
162
|
-
def mock.disconnect!
|
163
|
-
raise "should not disconnect upon explicit return"
|
164
|
-
end
|
165
|
-
mock
|
166
|
-
end
|
167
|
-
|
168
|
-
pool.with do |conn|
|
169
|
-
return true
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
|
-
def test_with_timeout_override
|
174
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { NetworkConnection.new }
|
175
|
-
|
176
|
-
t = Thread.new do
|
177
|
-
pool.with do |net|
|
178
|
-
net.do_something
|
179
|
-
sleep 0.01
|
180
|
-
end
|
181
|
-
end
|
182
|
-
|
183
|
-
Thread.pass while t.status == 'run'
|
184
|
-
|
185
|
-
assert_raises Timeout::Error do
|
186
|
-
pool.with { |net| net.do_something }
|
187
|
-
end
|
188
|
-
|
189
|
-
pool.with(timeout: 2 * NetworkConnection::SLEEP_TIME) do |conn|
|
190
|
-
refute_nil conn
|
191
|
-
end
|
192
|
-
end
|
193
|
-
|
194
|
-
def test_checkin
|
195
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { NetworkConnection.new }
|
196
|
-
conn = pool.checkout
|
197
|
-
|
198
|
-
assert_raises Timeout::Error do
|
199
|
-
Thread.new { pool.checkout }.join
|
200
|
-
end
|
201
|
-
|
202
|
-
pool.checkin
|
203
|
-
|
204
|
-
assert_same conn, Thread.new { pool.checkout }.value
|
205
|
-
end
|
206
|
-
|
207
|
-
def test_returns_value
|
208
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { Object.new }
|
209
|
-
assert_equal 1, pool.with {|o| 1 }
|
210
|
-
end
|
211
|
-
|
212
|
-
def test_checkin_never_checkout
|
213
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { Object.new }
|
214
|
-
|
215
|
-
e = assert_raises ConnectionPool::Error do
|
216
|
-
pool.checkin
|
217
|
-
end
|
218
|
-
|
219
|
-
assert_equal 'no connections are checked out', e.message
|
220
|
-
end
|
221
|
-
|
222
|
-
def test_checkin_no_current_checkout
|
223
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { Object.new }
|
224
|
-
|
225
|
-
pool.checkout
|
226
|
-
pool.checkin
|
227
|
-
|
228
|
-
assert_raises ConnectionPool::Error do
|
229
|
-
pool.checkin
|
230
|
-
end
|
231
|
-
end
|
232
|
-
|
233
|
-
def test_checkin_twice
|
234
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { Object.new }
|
235
|
-
|
236
|
-
pool.checkout
|
237
|
-
pool.checkout
|
238
|
-
|
239
|
-
pool.checkin
|
240
|
-
|
241
|
-
assert_raises Timeout::Error do
|
242
|
-
Thread.new do
|
243
|
-
pool.checkout
|
244
|
-
end.join
|
245
|
-
end
|
246
|
-
|
247
|
-
pool.checkin
|
248
|
-
|
249
|
-
assert Thread.new { pool.checkout }.join
|
250
|
-
end
|
251
|
-
|
252
|
-
def test_checkout
|
253
|
-
pool = ConnectionPool.new(size: 1) { NetworkConnection.new }
|
254
|
-
|
255
|
-
conn = pool.checkout
|
256
|
-
|
257
|
-
assert_kind_of NetworkConnection, conn
|
258
|
-
|
259
|
-
assert_same conn, pool.checkout
|
260
|
-
end
|
261
|
-
|
262
|
-
def test_checkout_multithread
|
263
|
-
pool = ConnectionPool.new(size: 2) { NetworkConnection.new }
|
264
|
-
conn = pool.checkout
|
265
|
-
|
266
|
-
t = Thread.new do
|
267
|
-
pool.checkout
|
268
|
-
end
|
269
|
-
|
270
|
-
refute_same conn, t.value
|
271
|
-
end
|
272
|
-
|
273
|
-
def test_checkout_timeout
|
274
|
-
pool = ConnectionPool.new(timeout: 0, size: 0) { Object.new }
|
275
|
-
|
276
|
-
assert_raises Timeout::Error do
|
277
|
-
pool.checkout
|
278
|
-
end
|
279
|
-
end
|
280
|
-
|
281
|
-
def test_checkout_timeout_override
|
282
|
-
pool = ConnectionPool.new(timeout: 0, size: 1) { NetworkConnection.new }
|
283
|
-
|
284
|
-
thread = Thread.new do
|
285
|
-
pool.with do |net|
|
286
|
-
net.do_something
|
287
|
-
sleep 0.01
|
288
|
-
end
|
289
|
-
end
|
290
|
-
|
291
|
-
Thread.pass while thread.status == 'run'
|
292
|
-
|
293
|
-
assert_raises Timeout::Error do
|
294
|
-
pool.checkout
|
295
|
-
end
|
296
|
-
|
297
|
-
assert pool.checkout timeout: 2 * NetworkConnection::SLEEP_TIME
|
298
|
-
end
|
299
|
-
|
300
|
-
def test_passthru
|
301
|
-
pool = ConnectionPool.wrap(timeout: 2 * NetworkConnection::SLEEP_TIME, size: 1) { NetworkConnection.new }
|
302
|
-
assert_equal 1, pool.do_something
|
303
|
-
assert_equal 2, pool.do_something
|
304
|
-
assert_equal 5, pool.do_something_with_block { 3 }
|
305
|
-
assert_equal 6, pool.with { |net| net.fast }
|
306
|
-
end
|
307
|
-
|
308
|
-
def test_passthru_respond_to
|
309
|
-
pool = ConnectionPool.wrap(timeout: 2 * NetworkConnection::SLEEP_TIME, size: 1) { NetworkConnection.new }
|
310
|
-
assert pool.respond_to?(:with)
|
311
|
-
assert pool.respond_to?(:do_something)
|
312
|
-
assert pool.respond_to?(:do_magic)
|
313
|
-
refute pool.respond_to?(:do_lots_of_magic)
|
314
|
-
end
|
315
|
-
|
316
|
-
def test_return_value
|
317
|
-
pool = ConnectionPool.new(timeout: 2 * NetworkConnection::SLEEP_TIME, size: 1) { NetworkConnection.new }
|
318
|
-
result = pool.with do |net|
|
319
|
-
net.fast
|
320
|
-
end
|
321
|
-
assert_equal 1, result
|
322
|
-
end
|
323
|
-
|
324
|
-
def test_heavy_threading
|
325
|
-
pool = ConnectionPool.new(timeout: 0.5, size: 3) { NetworkConnection.new }
|
326
|
-
|
327
|
-
threads = Array.new(20) do
|
328
|
-
Thread.new do
|
329
|
-
pool.with do |net|
|
330
|
-
sleep 0.01
|
331
|
-
end
|
332
|
-
end
|
333
|
-
end
|
334
|
-
|
335
|
-
threads.map { |thread| thread.join }
|
336
|
-
end
|
337
|
-
|
338
|
-
def test_reuses_objects_when_pool_not_saturated
|
339
|
-
pool = ConnectionPool.new(size: 5) { NetworkConnection.new }
|
340
|
-
|
341
|
-
ids = 10.times.map do
|
342
|
-
pool.with { |c| c.object_id }
|
343
|
-
end
|
344
|
-
|
345
|
-
assert_equal 1, ids.uniq.size
|
346
|
-
end
|
347
|
-
|
348
|
-
def test_nested_checkout
|
349
|
-
recorder = Recorder.new
|
350
|
-
pool = ConnectionPool.new(size: 1) { recorder }
|
351
|
-
pool.with do |r_outer|
|
352
|
-
@other = Thread.new do |t|
|
353
|
-
pool.with do |r_other|
|
354
|
-
r_other.do_work('other')
|
355
|
-
end
|
356
|
-
end
|
357
|
-
|
358
|
-
pool.with do |r_inner|
|
359
|
-
r_inner.do_work('inner')
|
360
|
-
end
|
361
|
-
|
362
|
-
Thread.pass
|
363
|
-
|
364
|
-
r_outer.do_work('outer')
|
365
|
-
end
|
366
|
-
|
367
|
-
@other.join
|
368
|
-
|
369
|
-
assert_equal ['inner', 'outer', 'other'], recorder.calls
|
370
|
-
end
|
371
|
-
|
372
|
-
def test_shutdown_is_executed_for_all_connections
|
373
|
-
recorders = []
|
374
|
-
|
375
|
-
pool = ConnectionPool.new(size: 3) do
|
376
|
-
Recorder.new.tap { |r| recorders << r }
|
377
|
-
end
|
378
|
-
|
379
|
-
threads = use_pool pool, 3
|
380
|
-
|
381
|
-
pool.shutdown do |recorder|
|
382
|
-
recorder.do_work("shutdown")
|
383
|
-
end
|
384
|
-
|
385
|
-
kill_threads(threads)
|
386
|
-
|
387
|
-
assert_equal [["shutdown"]] * 3, recorders.map { |r| r.calls }
|
388
|
-
end
|
389
|
-
|
390
|
-
def test_raises_error_after_shutting_down
|
391
|
-
pool = ConnectionPool.new(size: 1) { true }
|
392
|
-
|
393
|
-
pool.shutdown { }
|
394
|
-
|
395
|
-
assert_raises ConnectionPool::PoolShuttingDownError do
|
396
|
-
pool.checkout
|
397
|
-
end
|
398
|
-
end
|
399
|
-
|
400
|
-
def test_runs_shutdown_block_asynchronously_if_connection_was_in_use
|
401
|
-
recorders = []
|
402
|
-
|
403
|
-
pool = ConnectionPool.new(size: 3) do
|
404
|
-
Recorder.new.tap { |r| recorders << r }
|
405
|
-
end
|
406
|
-
|
407
|
-
threads = use_pool pool, 2
|
408
|
-
|
409
|
-
pool.checkout
|
410
|
-
|
411
|
-
pool.shutdown do |recorder|
|
412
|
-
recorder.do_work("shutdown")
|
413
|
-
end
|
414
|
-
|
415
|
-
kill_threads(threads)
|
416
|
-
|
417
|
-
assert_equal [["shutdown"], ["shutdown"], []], recorders.map { |r| r.calls }
|
418
|
-
|
419
|
-
pool.checkin
|
420
|
-
|
421
|
-
assert_equal [["shutdown"], ["shutdown"], ["shutdown"]], recorders.map { |r| r.calls }
|
422
|
-
end
|
423
|
-
|
424
|
-
def test_raises_an_error_if_shutdown_is_called_without_a_block
|
425
|
-
pool = ConnectionPool.new(size: 1) { }
|
426
|
-
|
427
|
-
assert_raises ArgumentError do
|
428
|
-
pool.shutdown
|
429
|
-
end
|
430
|
-
end
|
431
|
-
|
432
|
-
def test_shutdown_is_executed_for_all_connections_in_wrapped_pool
|
433
|
-
recorders = []
|
434
|
-
|
435
|
-
wrapper = ConnectionPool::Wrapper.new(size: 3) do
|
436
|
-
Recorder.new.tap { |r| recorders << r }
|
437
|
-
end
|
438
|
-
|
439
|
-
threads = use_pool wrapper, 3
|
440
|
-
|
441
|
-
wrapper.pool_shutdown do |recorder|
|
442
|
-
recorder.do_work("shutdown")
|
443
|
-
end
|
444
|
-
|
445
|
-
kill_threads(threads)
|
446
|
-
|
447
|
-
assert_equal [["shutdown"]] * 3, recorders.map { |r| r.calls }
|
448
|
-
end
|
449
|
-
|
450
|
-
def test_wrapper_method_missing
|
451
|
-
wrapper = ConnectionPool::Wrapper.new { NetworkConnection.new }
|
452
|
-
|
453
|
-
assert_equal 1, wrapper.fast
|
454
|
-
end
|
455
|
-
|
456
|
-
def test_wrapper_respond_to_eh
|
457
|
-
wrapper = ConnectionPool::Wrapper.new { NetworkConnection.new }
|
458
|
-
|
459
|
-
assert_respond_to wrapper, :with
|
460
|
-
|
461
|
-
assert_respond_to wrapper, :fast
|
462
|
-
refute_respond_to wrapper, :"nonexistent method"
|
463
|
-
end
|
464
|
-
|
465
|
-
def test_wrapper_with
|
466
|
-
wrapper = ConnectionPool::Wrapper.new(timeout: 0, size: 1) { Object.new }
|
467
|
-
|
468
|
-
wrapper.with do
|
469
|
-
assert_raises Timeout::Error do
|
470
|
-
Thread.new do
|
471
|
-
wrapper.with { flunk 'connection checked out :(' }
|
472
|
-
end.join
|
473
|
-
end
|
474
|
-
end
|
475
|
-
|
476
|
-
assert Thread.new { wrapper.with { } }.join
|
477
|
-
end
|
478
|
-
|
479
|
-
class ConnWithEval
|
480
|
-
def eval(arg)
|
481
|
-
"eval'ed #{arg}"
|
482
|
-
end
|
483
|
-
end
|
484
|
-
|
485
|
-
def test_wrapper_kernel_methods
|
486
|
-
wrapper = ConnectionPool::Wrapper.new(timeout: 0, size: 1) { ConnWithEval.new }
|
487
|
-
|
488
|
-
assert_equal "eval'ed 1", wrapper.eval(1)
|
489
|
-
end
|
490
|
-
|
491
|
-
def test_wrapper_with_connection_pool
|
492
|
-
recorder = Recorder.new
|
493
|
-
pool = ConnectionPool.new(size: 1) { recorder }
|
494
|
-
wrapper = ConnectionPool::Wrapper.new(pool: pool)
|
495
|
-
|
496
|
-
pool.with { |r| r.do_work('with') }
|
497
|
-
wrapper.do_work('wrapped')
|
498
|
-
|
499
|
-
assert_equal ['with', 'wrapped'], recorder.calls
|
500
|
-
end
|
501
|
-
|
502
|
-
def test_stats_without_active_connection
|
503
|
-
pool = ConnectionPool.new(size: 2) { NetworkConnection.new }
|
504
|
-
|
505
|
-
assert_equal(2, pool.size)
|
506
|
-
assert_equal(2, pool.available)
|
507
|
-
end
|
508
|
-
|
509
|
-
def test_stats_with_active_connection
|
510
|
-
pool = ConnectionPool.new(size: 2) { NetworkConnection.new }
|
511
|
-
|
512
|
-
pool.with do
|
513
|
-
assert_equal(1, pool.available)
|
514
|
-
end
|
515
|
-
end
|
516
|
-
end
|