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.
Files changed (754) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/Gemfile +1 -0
  4. data/README.md +64 -6
  5. data/lib/logstash/outputs/scalyr.rb +172 -31
  6. data/lib/scalyr/common/client.rb +132 -20
  7. data/logstash-output-scalyr.gemspec +2 -1
  8. data/spec/benchmarks/flattening_and_serialization.rb +125 -0
  9. data/spec/benchmarks/metrics_overhead.rb +48 -0
  10. data/spec/logstash/outputs/scalyr_integration_spec.rb +77 -0
  11. data/spec/logstash/outputs/scalyr_spec.rb +172 -3
  12. data/vendor/bundle/jruby/2.5.0/bin/htmldiff +1 -1
  13. data/vendor/bundle/jruby/2.5.0/bin/ldiff +1 -1
  14. data/vendor/bundle/jruby/2.5.0/cache/connection_pool-2.2.5.gem +0 -0
  15. data/vendor/bundle/jruby/2.5.0/cache/net-http-persistent-4.0.1.gem +0 -0
  16. data/vendor/bundle/jruby/2.5.0/cache/quantile-0.2.1.gem +0 -0
  17. data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/Changes.md +11 -0
  18. data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.2 → connection_pool-2.2.5}/Gemfile +0 -0
  19. data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.2 → connection_pool-2.2.5}/LICENSE +0 -0
  20. data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/README.md +29 -5
  21. data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/Rakefile +0 -1
  22. data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/connection_pool.gemspec +1 -0
  23. data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/lib/connection_pool.rb +16 -0
  24. 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
  25. 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
  26. 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
  27. data/vendor/bundle/jruby/2.5.0/gems/{connection_pool-2.2.3 → connection_pool-2.2.5}/test/helper.rb +0 -0
  28. 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
  29. 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
  30. data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/Gemfile +0 -0
  31. data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/History.txt +6 -0
  32. data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/Manifest.txt +0 -0
  33. data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/README.rdoc +0 -0
  34. data/vendor/bundle/jruby/2.5.0/gems/{net-http-persistent-4.0.0 → net-http-persistent-4.0.1}/Rakefile +1 -1
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/LICENSE +191 -0
  42. data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/README.md +55 -0
  43. data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/lib/quantile.rb +17 -0
  44. data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/lib/quantile/estimator.rb +186 -0
  45. data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/lib/quantile/quantile.rb +66 -0
  46. data/vendor/bundle/jruby/2.5.0/gems/quantile-0.2.1/lib/quantile/version.rb +16 -0
  47. data/vendor/bundle/jruby/2.5.0/specifications/{connection_pool-2.2.2.gemspec → connection_pool-2.2.5.gemspec} +4 -3
  48. data/vendor/bundle/jruby/2.5.0/specifications/{net-http-persistent-4.0.0.gemspec → net-http-persistent-4.0.1.gemspec} +4 -5
  49. data/vendor/bundle/jruby/2.5.0/specifications/quantile-0.2.1.gemspec +20 -0
  50. metadata +60 -733
  51. data/vendor/bundle/jruby/2.5.0/bin/jruby_executable_hooks +0 -25
  52. data/vendor/bundle/jruby/2.5.0/cache/concurrent-ruby-1.1.6.gem +0 -0
  53. data/vendor/bundle/jruby/2.5.0/cache/connection_pool-2.2.2.gem +0 -0
  54. data/vendor/bundle/jruby/2.5.0/cache/connection_pool-2.2.3.gem +0 -0
  55. data/vendor/bundle/jruby/2.5.0/cache/faraday-1.0.1.gem +0 -0
  56. data/vendor/bundle/jruby/2.5.0/cache/ffi-1.12.2-java.gem +0 -0
  57. data/vendor/bundle/jruby/2.5.0/cache/jrjackson-0.4.12-java.gem +0 -0
  58. data/vendor/bundle/jruby/2.5.0/cache/multi_json-1.14.1.gem +0 -0
  59. data/vendor/bundle/jruby/2.5.0/cache/net-http-persistent-3.0.1.gem +0 -0
  60. data/vendor/bundle/jruby/2.5.0/cache/net-http-persistent-4.0.0.gem +0 -0
  61. data/vendor/bundle/jruby/2.5.0/cache/rake-13.0.1.gem +0 -0
  62. data/vendor/bundle/jruby/2.5.0/cache/rspec-3.9.0.gem +0 -0
  63. data/vendor/bundle/jruby/2.5.0/cache/rspec-core-3.9.2.gem +0 -0
  64. data/vendor/bundle/jruby/2.5.0/cache/rspec-expectations-3.9.2.gem +0 -0
  65. data/vendor/bundle/jruby/2.5.0/cache/rspec-mocks-3.9.1.gem +0 -0
  66. data/vendor/bundle/jruby/2.5.0/cache/rspec-support-3.9.3.gem +0 -0
  67. data/vendor/bundle/jruby/2.5.0/cache/tilt-2.0.10.gem +0 -0
  68. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/CHANGELOG.md +0 -502
  69. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/Gemfile +0 -42
  70. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/LICENSE.md +0 -23
  71. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/README.md +0 -384
  72. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/Rakefile +0 -332
  73. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/ConcurrentRubyService.java +0 -17
  74. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +0 -175
  75. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +0 -248
  76. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +0 -93
  77. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +0 -113
  78. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +0 -159
  79. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +0 -307
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent-ruby.rb +0 -1
  89. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent.rb +0 -134
  90. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/agent.rb +0 -587
  91. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/array.rb +0 -66
  92. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/async.rb +0 -459
  93. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atom.rb +0 -222
  94. 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
  95. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb +0 -126
  96. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb +0 -143
  97. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb +0 -164
  98. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb +0 -204
  99. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb +0 -100
  100. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb +0 -128
  101. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/event.rb +0 -109
  102. 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
  103. 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
  104. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb +0 -62
  105. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb +0 -75
  106. 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
  107. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb +0 -115
  108. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb +0 -254
  109. 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
  110. 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
  111. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/semaphore.rb +0 -145
  112. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb +0 -104
  113. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb +0 -56
  114. 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
  115. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomics.rb +0 -10
  116. 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
  117. 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
  118. 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
  119. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb +0 -158
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/deprecation.rb +0 -34
  127. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb +0 -73
  128. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/logging.rb +0 -32
  129. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/obligation.rb +0 -220
  130. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/observable.rb +0 -110
  131. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concurrent_ruby.jar +0 -0
  132. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/configuration.rb +0 -188
  133. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/constants.rb +0 -8
  134. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/dataflow.rb +0 -81
  135. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/delay.rb +0 -199
  136. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/errors.rb +0 -69
  137. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/exchanger.rb +0 -352
  138. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb +0 -128
  139. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb +0 -62
  140. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/executor_service.rb +0 -185
  141. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb +0 -203
  142. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb +0 -66
  143. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb +0 -44
  144. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb +0 -103
  145. 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
  146. 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
  147. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb +0 -76
  148. 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
  149. 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
  150. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb +0 -35
  151. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb +0 -34
  152. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb +0 -107
  153. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb +0 -28
  154. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb +0 -100
  155. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb +0 -57
  156. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb +0 -87
  157. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/timer_set.rb +0 -172
  158. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executors.rb +0 -20
  159. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/future.rb +0 -141
  160. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/hash.rb +0 -59
  161. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/immutable_struct.rb +0 -101
  162. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/ivar.rb +0 -207
  163. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/map.rb +0 -337
  164. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/maybe.rb +0 -229
  165. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/mutable_struct.rb +0 -239
  166. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/mvar.rb +0 -242
  167. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/options.rb +0 -42
  168. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promise.rb +0 -579
  169. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promises.rb +0 -2167
  170. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/re_include.rb +0 -58
  171. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/scheduled_task.rb +0 -318
  172. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/set.rb +0 -66
  173. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/settable_struct.rb +0 -139
  174. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization.rb +0 -30
  175. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb +0 -98
  176. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb +0 -24
  177. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb +0 -171
  178. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/condition.rb +0 -60
  179. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb +0 -13
  180. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/jruby_object.rb +0 -45
  181. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/lock.rb +0 -36
  182. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb +0 -74
  183. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mri_object.rb +0 -44
  184. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb +0 -76
  185. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/object.rb +0 -183
  186. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/rbx_lockable_object.rb +0 -65
  187. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/rbx_object.rb +0 -49
  188. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/truffleruby_object.rb +0 -47
  189. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/volatile.rb +0 -36
  190. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb +0 -50
  191. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util.rb +0 -16
  192. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb +0 -74
  193. 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
  194. 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
  195. 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
  196. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb +0 -246
  197. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb +0 -75
  198. 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
  199. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/timer_task.rb +0 -334
  200. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/tuple.rb +0 -86
  201. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/tvar.rb +0 -258
  202. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/engine.rb +0 -56
  203. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb +0 -58
  204. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb +0 -79
  205. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/native_integer.rb +0 -53
  206. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/processor_counter.rb +0 -163
  207. data/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/version.rb +0 -3
  208. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/Changes.md +0 -123
  209. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/README.md +0 -107
  210. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/Rakefile +0 -6
  211. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/connection_pool.gemspec +0 -21
  212. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/lib/connection_pool.rb +0 -161
  213. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/lib/connection_pool/monotonic_time.rb +0 -66
  214. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb +0 -176
  215. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/test/helper.rb +0 -8
  216. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/test/test_connection_pool.rb +0 -516
  217. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.2/test/test_connection_pool_timed_stack.rb +0 -149
  218. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.3/Gemfile +0 -5
  219. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.3/LICENSE +0 -20
  220. data/vendor/bundle/jruby/2.5.0/gems/connection_pool-2.2.3/lib/connection_pool/version.rb +0 -3
  221. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/CHANGELOG.md +0 -276
  222. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/LICENSE.md +0 -20
  223. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/README.md +0 -55
  224. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/Rakefile +0 -7
  225. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/examples/client_spec.rb +0 -65
  226. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/examples/client_test.rb +0 -79
  227. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday.rb +0 -166
  228. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter.rb +0 -115
  229. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_http.rb +0 -286
  230. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_http_ssl_patch.rb +0 -62
  231. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony.rb +0 -150
  232. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb +0 -69
  233. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/excon.rb +0 -124
  234. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/httpclient.rb +0 -152
  235. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb +0 -219
  236. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http_persistent.rb +0 -91
  237. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/patron.rb +0 -132
  238. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/rack.rb +0 -75
  239. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/test.rb +0 -246
  240. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/typhoeus.rb +0 -15
  241. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter_registry.rb +0 -30
  242. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/autoload.rb +0 -95
  243. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/connection.rb +0 -614
  244. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/dependency_loader.rb +0 -37
  245. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/encoders/flat_params_encoder.rb +0 -98
  246. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/encoders/nested_params_encoder.rb +0 -171
  247. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/error.rb +0 -132
  248. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/file_part.rb +0 -128
  249. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/logging/formatter.rb +0 -105
  250. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/middleware.rb +0 -21
  251. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/middleware_registry.rb +0 -129
  252. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options.rb +0 -222
  253. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/connection_options.rb +0 -22
  254. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/env.rb +0 -181
  255. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/proxy_options.rb +0 -28
  256. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/request_options.rb +0 -22
  257. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/ssl_options.rb +0 -59
  258. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/param_part.rb +0 -53
  259. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/parameters.rb +0 -5
  260. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/rack_builder.rb +0 -248
  261. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request.rb +0 -146
  262. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/authorization.rb +0 -55
  263. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/basic_authentication.rb +0 -20
  264. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/instrumentation.rb +0 -54
  265. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/multipart.rb +0 -99
  266. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/retry.rb +0 -239
  267. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/token_authentication.rb +0 -20
  268. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/url_encoded.rb +0 -56
  269. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response.rb +0 -107
  270. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response/logger.rb +0 -33
  271. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response/raise_error.rb +0 -45
  272. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils.rb +0 -117
  273. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils/headers.rb +0 -139
  274. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils/params_hash.rb +0 -61
  275. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/external_adapters/faraday_specs_setup.rb +0 -14
  276. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/em_http_spec.rb +0 -47
  277. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/em_synchrony_spec.rb +0 -16
  278. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/excon_spec.rb +0 -49
  279. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/httpclient_spec.rb +0 -73
  280. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/net_http_persistent_spec.rb +0 -57
  281. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/net_http_spec.rb +0 -64
  282. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/patron_spec.rb +0 -18
  283. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/rack_spec.rb +0 -8
  284. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/typhoeus_spec.rb +0 -7
  285. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter_registry_spec.rb +0 -28
  286. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter_spec.rb +0 -55
  287. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/composite_read_io_spec.rb +0 -80
  288. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/connection_spec.rb +0 -691
  289. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/error_spec.rb +0 -45
  290. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/middleware_spec.rb +0 -26
  291. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/env_spec.rb +0 -70
  292. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/options_spec.rb +0 -297
  293. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/proxy_options_spec.rb +0 -37
  294. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/request_options_spec.rb +0 -19
  295. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/params_encoders/flat_spec.rb +0 -34
  296. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/params_encoders/nested_spec.rb +0 -134
  297. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/rack_builder_spec.rb +0 -196
  298. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/authorization_spec.rb +0 -88
  299. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/instrumentation_spec.rb +0 -76
  300. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/multipart_spec.rb +0 -274
  301. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/retry_spec.rb +0 -242
  302. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/url_encoded_spec.rb +0 -83
  303. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request_spec.rb +0 -109
  304. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/logger_spec.rb +0 -220
  305. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/middleware_spec.rb +0 -68
  306. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/raise_error_spec.rb +0 -106
  307. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response_spec.rb +0 -75
  308. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/utils/headers_spec.rb +0 -82
  309. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday/utils_spec.rb +0 -56
  310. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/faraday_spec.rb +0 -37
  311. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/spec_helper.rb +0 -132
  312. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/disabling_stub.rb +0 -14
  313. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/fake_safe_buffer.rb +0 -15
  314. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/helper_methods.rb +0 -133
  315. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/adapter.rb +0 -104
  316. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/params_encoder.rb +0 -18
  317. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/request_method.rb +0 -234
  318. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/streaming_response_checker.rb +0 -35
  319. data/vendor/bundle/jruby/2.5.0/gems/faraday-1.0.1/spec/support/webmock_rack_app.rb +0 -68
  320. data/vendor/bundle/jruby/2.5.0/gems/ffi-1.12.2-java/CHANGELOG.md +0 -181
  321. data/vendor/bundle/jruby/2.5.0/gems/ffi-1.12.2-java/COPYING +0 -49
  322. data/vendor/bundle/jruby/2.5.0/gems/ffi-1.12.2-java/LICENSE +0 -24
  323. data/vendor/bundle/jruby/2.5.0/gems/ffi-1.12.2-java/README.md +0 -124
  324. data/vendor/bundle/jruby/2.5.0/gems/ffi-1.12.2-java/Rakefile +0 -196
  325. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/Gemfile +0 -14
  326. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/Mavenfile +0 -31
  327. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/README.md +0 -150
  328. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/Rakefile +0 -33
  329. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/alt_bench.rb +0 -46
  330. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/changelog.md +0 -166
  331. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/jrjackson.gemspec +0 -31
  332. 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
  333. 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
  334. 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
  335. 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
  336. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson.rb +0 -2
  337. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/build_info.rb +0 -47
  338. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/jars/jrjackson-1.2.30.jar +0 -0
  339. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/jrjackson.rb +0 -95
  340. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson_jars.rb +0 -16
  341. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/require_relative_patch.rb +0 -6
  342. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/pom.xml +0 -178
  343. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/profiling/profiled.rb +0 -15
  344. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/run_all_individual_bench.sh +0 -25
  345. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/run_jruby_individual_bench.sh +0 -20
  346. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/run_mri_individual_bench.sh +0 -7
  347. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/IParseHandler.java +0 -53
  348. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaBigDecimalValueConverter.java +0 -17
  349. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaBigIntValueConverter.java +0 -17
  350. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaConverter.java +0 -10
  351. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaFloatValueConverter.java +0 -16
  352. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaHandler.java +0 -118
  353. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JavaLongValueConverter.java +0 -16
  354. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JjParse.java +0 -139
  355. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonBase.java +0 -152
  356. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonJava.java +0 -81
  357. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonRaw.java +0 -108
  358. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonRuby.java +0 -89
  359. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonSaj.java +0 -26
  360. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonSch.java +0 -25
  361. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonService.java +0 -38
  362. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrParse.java +0 -142
  363. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/ParseError.java +0 -16
  364. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyAnySerializer.java +0 -291
  365. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyBigDecimalValueConverter.java +0 -18
  366. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyBigIntValueConverter.java +0 -21
  367. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyConverter.java +0 -12
  368. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyDateFormat.java +0 -34
  369. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyFloatValueConverter.java +0 -18
  370. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyHandler.java +0 -119
  371. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyIntValueConverter.java +0 -18
  372. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyJacksonModule.java +0 -80
  373. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyKeyConverter.java +0 -12
  374. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyNameConverter.java +0 -9
  375. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyObjectDeserializer.java +0 -182
  376. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyStringConverter.java +0 -18
  377. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyStringKeyConverter.java +0 -15
  378. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyStringNameConverter.java +0 -12
  379. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubySymbolKeyConverter.java +0 -15
  380. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubySymbolNameConverter.java +0 -12
  381. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/RubyUtils.java +0 -149
  382. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/SajParse.java +0 -169
  383. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/SchParse.java +0 -209
  384. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/StreamParse.java +0 -66
  385. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/test/java/com/jrjackson/RubyAnySerializerTest.java +0 -56
  386. data/vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/test/jrjackson_test.rb +0 -578
  387. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/CHANGELOG.md +0 -270
  388. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/CONTRIBUTING.md +0 -46
  389. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/LICENSE.md +0 -20
  390. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/README.md +0 -120
  391. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json.rb +0 -161
  392. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapter.rb +0 -49
  393. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapter_error.rb +0 -15
  394. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/gson.rb +0 -20
  395. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/jr_jackson.rb +0 -25
  396. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/json_common.rb +0 -23
  397. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/json_gem.rb +0 -11
  398. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/json_pure.rb +0 -11
  399. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/nsjsonserialization.rb +0 -35
  400. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/oj.rb +0 -63
  401. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/ok_json.rb +0 -23
  402. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/adapters/yajl.rb +0 -19
  403. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/convertible_hash_keys.rb +0 -43
  404. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/options.rb +0 -39
  405. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/options_cache.rb +0 -29
  406. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/parse_error.rb +0 -17
  407. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/vendor/okjson.rb +0 -606
  408. data/vendor/bundle/jruby/2.5.0/gems/multi_json-1.14.1/lib/multi_json/version.rb +0 -17
  409. data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/History.txt +0 -354
  410. data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/Manifest.txt +0 -13
  411. data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/README.rdoc +0 -82
  412. data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/Rakefile +0 -27
  413. data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/lib/net/http/persistent.rb +0 -1189
  414. data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/lib/net/http/persistent/pool.rb +0 -50
  415. data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/lib/net/http/persistent/timed_stack_multi.rb +0 -69
  416. data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-3.0.1/test/test_net_http_persistent.rb +0 -1589
  417. data/vendor/bundle/jruby/2.5.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent/connection.rb +0 -40
  418. 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
  419. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/CONTRIBUTING.rdoc +0 -43
  420. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/Gemfile +0 -10
  421. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/History.rdoc +0 -2368
  422. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/MIT-LICENSE +0 -21
  423. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/README.rdoc +0 -155
  424. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/Rakefile +0 -41
  425. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/bundle +0 -105
  426. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/console +0 -7
  427. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/rake +0 -29
  428. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/rdoc +0 -29
  429. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/rubocop +0 -29
  430. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/bin/setup +0 -6
  431. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/command_line_usage.rdoc +0 -158
  432. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/example/Rakefile1 +0 -38
  433. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/example/Rakefile2 +0 -35
  434. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/example/a.c +0 -6
  435. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/example/b.c +0 -6
  436. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/example/main.c +0 -11
  437. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/glossary.rdoc +0 -42
  438. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/jamis.rb +0 -592
  439. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/proto_rake.rdoc +0 -127
  440. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/rake.1 +0 -156
  441. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/rakefile.rdoc +0 -622
  442. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/doc/rational.rdoc +0 -151
  443. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/exe/rake +0 -27
  444. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake.rb +0 -71
  445. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/application.rb +0 -824
  446. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/backtrace.rb +0 -24
  447. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/clean.rb +0 -78
  448. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/cloneable.rb +0 -17
  449. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/cpu_counter.rb +0 -107
  450. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/default_loader.rb +0 -15
  451. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/dsl_definition.rb +0 -195
  452. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/early_time.rb +0 -22
  453. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/ext/core.rb +0 -26
  454. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/ext/string.rb +0 -176
  455. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/file_creation_task.rb +0 -25
  456. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/file_list.rb +0 -435
  457. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/file_task.rb +0 -54
  458. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/file_utils.rb +0 -134
  459. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/file_utils_ext.rb +0 -134
  460. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/invocation_chain.rb +0 -57
  461. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/invocation_exception_mixin.rb +0 -17
  462. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/late_time.rb +0 -18
  463. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/linked_list.rb +0 -112
  464. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/loaders/makefile.rb +0 -54
  465. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/multi_task.rb +0 -14
  466. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/name_space.rb +0 -38
  467. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/packagetask.rb +0 -222
  468. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/phony.rb +0 -16
  469. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/private_reader.rb +0 -21
  470. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/promise.rb +0 -100
  471. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/pseudo_status.rb +0 -30
  472. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/rake_module.rb +0 -67
  473. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb +0 -27
  474. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/rule_recursion_overflow_error.rb +0 -20
  475. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/scope.rb +0 -43
  476. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/task.rb +0 -434
  477. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/task_argument_error.rb +0 -8
  478. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/task_arguments.rb +0 -109
  479. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/task_manager.rb +0 -331
  480. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/tasklib.rb +0 -12
  481. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/testtask.rb +0 -224
  482. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/thread_history_display.rb +0 -49
  483. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/thread_pool.rb +0 -163
  484. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/trace_output.rb +0 -23
  485. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/version.rb +0 -10
  486. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/lib/rake/win32.rb +0 -51
  487. data/vendor/bundle/jruby/2.5.0/gems/rake-13.0.1/rake.gemspec +0 -43
  488. data/vendor/bundle/jruby/2.5.0/gems/rspec-3.9.0/LICENSE.md +0 -27
  489. data/vendor/bundle/jruby/2.5.0/gems/rspec-3.9.0/README.md +0 -43
  490. data/vendor/bundle/jruby/2.5.0/gems/rspec-3.9.0/lib/rspec.rb +0 -3
  491. data/vendor/bundle/jruby/2.5.0/gems/rspec-3.9.0/lib/rspec/version.rb +0 -5
  492. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/Changelog.md +0 -2291
  493. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/LICENSE.md +0 -26
  494. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/README.md +0 -384
  495. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/exe/rspec +0 -4
  496. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/autorun.rb +0 -3
  497. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core.rb +0 -186
  498. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/backtrace_formatter.rb +0 -65
  499. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/coordinator.rb +0 -62
  500. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/example_minimizer.rb +0 -173
  501. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/fork_runner.rb +0 -135
  502. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/server.rb +0 -61
  503. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_command.rb +0 -126
  504. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_runner.rb +0 -73
  505. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/utilities.rb +0 -58
  506. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb +0 -2363
  507. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration_options.rb +0 -233
  508. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/did_you_mean.rb +0 -46
  509. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/drb.rb +0 -113
  510. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/dsl.rb +0 -98
  511. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example.rb +0 -656
  512. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb +0 -900
  513. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/example_status_persister.rb +0 -235
  514. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/filter_manager.rb +0 -231
  515. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/flat_map.rb +0 -20
  516. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters.rb +0 -273
  517. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -45
  518. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_formatter.rb +0 -70
  519. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_text_formatter.rb +0 -75
  520. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -29
  521. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -157
  522. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/console_codes.rb +0 -68
  523. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/deprecation_formatter.rb +0 -223
  524. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/documentation_formatter.rb +0 -102
  525. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/exception_presenter.rb +0 -511
  526. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/failure_list_formatter.rb +0 -23
  527. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
  528. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/helpers.rb +0 -110
  529. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_formatter.rb +0 -153
  530. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_printer.rb +0 -414
  531. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -120
  532. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/json_formatter.rb +0 -102
  533. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/profile_formatter.rb +0 -68
  534. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/progress_formatter.rb +0 -29
  535. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/protocol.rb +0 -182
  536. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/snippet_extractor.rb +0 -134
  537. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/syntax_highlighter.rb +0 -91
  538. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb +0 -641
  539. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/invocations.rb +0 -87
  540. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/memoized_helpers.rb +0 -554
  541. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata.rb +0 -498
  542. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata_filter.rb +0 -255
  543. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
  544. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
  545. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
  546. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/null.rb +0 -14
  547. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rr.rb +0 -31
  548. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
  549. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/notifications.rb +0 -521
  550. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/option_parser.rb +0 -316
  551. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/ordering.rb +0 -158
  552. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/output_wrapper.rb +0 -29
  553. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/pending.rb +0 -165
  554. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/profiler.rb +0 -34
  555. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer.rb +0 -48
  556. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -100
  557. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/rake_task.rb +0 -188
  558. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/reporter.rb +0 -265
  559. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/ruby_project.rb +0 -53
  560. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb +0 -204
  561. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/sandbox.rb +0 -37
  562. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/set.rb +0 -54
  563. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_context.rb +0 -55
  564. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_example_group.rb +0 -271
  565. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/shell_escape.rb +0 -49
  566. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
  567. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/version.rb +0 -9
  568. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/warnings.rb +0 -40
  569. data/vendor/bundle/jruby/2.5.0/gems/rspec-core-3.9.2/lib/rspec/core/world.rb +0 -276
  570. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/Changelog.md +0 -1191
  571. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/LICENSE.md +0 -25
  572. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/README.md +0 -320
  573. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations.rb +0 -82
  574. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb +0 -253
  575. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/configuration.rb +0 -215
  576. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/expectation_target.rb +0 -127
  577. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/fail_with.rb +0 -39
  578. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/failure_aggregator.rb +0 -194
  579. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/handler.rb +0 -170
  580. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/minitest_integration.rb +0 -58
  581. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/syntax.rb +0 -132
  582. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/version.rb +0 -8
  583. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers.rb +0 -1038
  584. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/aliased_matcher.rb +0 -116
  585. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in.rb +0 -52
  586. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/all.rb +0 -86
  587. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/base_matcher.rb +0 -193
  588. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb +0 -288
  589. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_between.rb +0 -77
  590. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_instance_of.rb +0 -26
  591. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_kind_of.rb +0 -20
  592. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_within.rb +0 -72
  593. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/change.rb +0 -428
  594. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/compound.rb +0 -276
  595. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/contain_exactly.rb +0 -302
  596. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/cover.rb +0 -24
  597. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eq.rb +0 -40
  598. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eql.rb +0 -34
  599. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/equal.rb +0 -81
  600. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/exist.rb +0 -90
  601. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/has.rb +0 -103
  602. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
  603. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/include.rb +0 -149
  604. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/match.rb +0 -106
  605. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/operators.rb +0 -128
  606. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/output.rb +0 -200
  607. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/raise_error.rb +0 -230
  608. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/respond_to.rb +0 -199
  609. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/satisfy.rb +0 -60
  610. 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
  611. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
  612. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/yield.rb +0 -441
  613. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/composable.rb +0 -171
  614. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/dsl.rb +0 -540
  615. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/english_phrasing.rb +0 -58
  616. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -82
  617. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/fail_matchers.rb +0 -42
  618. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/generated_descriptions.rb +0 -41
  619. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_delegator.rb +0 -35
  620. data/vendor/bundle/jruby/2.5.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_protocol.rb +0 -99
  621. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/Changelog.md +0 -1133
  622. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/LICENSE.md +0 -25
  623. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/README.md +0 -463
  624. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +0 -130
  625. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +0 -11
  626. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +0 -111
  627. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
  628. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -31
  629. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -50
  630. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
  631. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +0 -116
  632. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +0 -294
  633. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +0 -51
  634. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -23
  635. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +0 -100
  636. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +0 -322
  637. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +0 -212
  638. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +0 -369
  639. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +0 -434
  640. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +0 -146
  641. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +0 -41
  642. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
  643. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +0 -134
  644. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +0 -132
  645. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
  646. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
  647. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +0 -87
  648. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +0 -751
  649. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +0 -287
  650. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +0 -202
  651. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +0 -68
  652. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +0 -339
  653. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +0 -149
  654. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +0 -81
  655. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +0 -503
  656. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +0 -238
  657. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +0 -3
  658. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +0 -325
  659. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +0 -124
  660. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +0 -171
  661. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +0 -129
  662. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
  663. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +0 -220
  664. data/vendor/bundle/jruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +0 -9
  665. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/Changelog.md +0 -302
  666. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/LICENSE.md +0 -23
  667. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/README.md +0 -40
  668. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +0 -149
  669. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +0 -83
  670. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +0 -46
  671. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +0 -215
  672. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +0 -63
  673. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +0 -161
  674. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +0 -48
  675. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +0 -47
  676. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +0 -42
  677. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +0 -438
  678. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +0 -73
  679. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +0 -275
  680. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +0 -76
  681. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +0 -61
  682. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +0 -190
  683. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +0 -75
  684. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +0 -21
  685. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +0 -110
  686. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +0 -87
  687. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +0 -81
  688. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
  689. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +0 -9
  690. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +0 -69
  691. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +0 -150
  692. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +0 -89
  693. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +0 -75
  694. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +0 -46
  695. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
  696. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
  697. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +0 -7
  698. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +0 -39
  699. data/vendor/bundle/jruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +0 -33
  700. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/COPYING +0 -18
  701. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/bin/tilt +0 -122
  702. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt.rb +0 -166
  703. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/asciidoc.rb +0 -27
  704. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/babel.rb +0 -16
  705. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/bluecloth.rb +0 -24
  706. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/builder.rb +0 -37
  707. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/coffee.rb +0 -58
  708. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/commonmarker.rb +0 -78
  709. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/creole.rb +0 -25
  710. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/csv.rb +0 -65
  711. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/dummy.rb +0 -3
  712. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/erb.rb +0 -63
  713. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/erubi.rb +0 -32
  714. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/erubis.rb +0 -43
  715. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/etanni.rb +0 -27
  716. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/haml.rb +0 -86
  717. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/kramdown.rb +0 -25
  718. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/less.rb +0 -30
  719. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/liquid.rb +0 -44
  720. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/livescript.rb +0 -23
  721. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/mapping.rb +0 -293
  722. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/markaby.rb +0 -45
  723. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/maruku.rb +0 -22
  724. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/nokogiri.rb +0 -36
  725. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/pandoc.rb +0 -49
  726. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/plain.rb +0 -16
  727. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/prawn.rb +0 -43
  728. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/radius.rb +0 -48
  729. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/rdiscount.rb +0 -39
  730. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/rdoc.rb +0 -40
  731. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/redcarpet.rb +0 -83
  732. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/redcloth.rb +0 -23
  733. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/rst-pandoc.rb +0 -18
  734. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/sass.rb +0 -52
  735. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/sigil.rb +0 -34
  736. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/string.rb +0 -21
  737. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/template.rb +0 -297
  738. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/typescript.rb +0 -26
  739. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/wikicloth.rb +0 -22
  740. data/vendor/bundle/jruby/2.5.0/gems/tilt-2.0.10/lib/tilt/yajl.rb +0 -87
  741. data/vendor/bundle/jruby/2.5.0/specifications/concurrent-ruby-1.1.6.gemspec +0 -24
  742. data/vendor/bundle/jruby/2.5.0/specifications/connection_pool-2.2.3.gemspec +0 -34
  743. data/vendor/bundle/jruby/2.5.0/specifications/faraday-1.0.1.gemspec +0 -0
  744. data/vendor/bundle/jruby/2.5.0/specifications/ffi-1.12.2-java.gemspec +0 -22
  745. data/vendor/bundle/jruby/2.5.0/specifications/jrjackson-0.4.12-java.gemspec +0 -34
  746. data/vendor/bundle/jruby/2.5.0/specifications/multi_json-1.14.1.gemspec +0 -36
  747. data/vendor/bundle/jruby/2.5.0/specifications/net-http-persistent-3.0.1.gemspec +0 -45
  748. data/vendor/bundle/jruby/2.5.0/specifications/rake-13.0.1.gemspec +0 -26
  749. data/vendor/bundle/jruby/2.5.0/specifications/rspec-3.9.0.gemspec +0 -43
  750. data/vendor/bundle/jruby/2.5.0/specifications/rspec-core-3.9.2.gemspec +0 -63
  751. data/vendor/bundle/jruby/2.5.0/specifications/rspec-expectations-3.9.2.gemspec +0 -51
  752. data/vendor/bundle/jruby/2.5.0/specifications/rspec-mocks-3.9.1.gemspec +0 -51
  753. data/vendor/bundle/jruby/2.5.0/specifications/rspec-support-3.9.3.gemspec +0 -39
  754. data/vendor/bundle/jruby/2.5.0/specifications/tilt-2.0.10.gemspec +0 -23
@@ -1,42 +0,0 @@
1
- require 'concurrent/configuration'
2
-
3
- module Concurrent
4
-
5
- # @!visibility private
6
- module Options
7
-
8
- # Get the requested `Executor` based on the values set in the options hash.
9
- #
10
- # @param [Hash] opts the options defining the requested executor
11
- # @option opts [Executor] :executor when set use the given `Executor` instance.
12
- # Three special values are also supported: `:fast` returns the global fast executor,
13
- # `:io` returns the global io executor, and `:immediate` returns a new
14
- # `ImmediateExecutor` object.
15
- #
16
- # @return [Executor, nil] the requested thread pool, or nil when no option specified
17
- #
18
- # @!visibility private
19
- def self.executor_from_options(opts = {}) # :nodoc:
20
- if identifier = opts.fetch(:executor, nil)
21
- executor(identifier)
22
- else
23
- nil
24
- end
25
- end
26
-
27
- def self.executor(executor_identifier)
28
- case executor_identifier
29
- when :fast
30
- Concurrent.global_fast_executor
31
- when :io
32
- Concurrent.global_io_executor
33
- when :immediate
34
- Concurrent.global_immediate_executor
35
- when Concurrent::ExecutorService
36
- executor_identifier
37
- else
38
- raise ArgumentError, "executor not recognized by '#{executor_identifier}'"
39
- end
40
- end
41
- end
42
- end
@@ -1,579 +0,0 @@
1
- require 'thread'
2
- require 'concurrent/constants'
3
- require 'concurrent/errors'
4
- require 'concurrent/ivar'
5
- require 'concurrent/executor/safe_task_executor'
6
-
7
- require 'concurrent/options'
8
-
9
- module Concurrent
10
-
11
- PromiseExecutionError = Class.new(StandardError)
12
-
13
- # Promises are inspired by the JavaScript [Promises/A](http://wiki.commonjs.org/wiki/Promises/A)
14
- # and [Promises/A+](http://promises-aplus.github.io/promises-spec/) specifications.
15
- #
16
- # > A promise represents the eventual value returned from the single
17
- # > completion of an operation.
18
- #
19
- # Promises are similar to futures and share many of the same behaviours.
20
- # Promises are far more robust, however. Promises can be chained in a tree
21
- # structure where each promise may have zero or more children. Promises are
22
- # chained using the `then` method. The result of a call to `then` is always
23
- # another promise. Promises are resolved asynchronously (with respect to the
24
- # main thread) but in a strict order: parents are guaranteed to be resolved
25
- # before their children, children before their younger siblings. The `then`
26
- # method takes two parameters: an optional block to be executed upon parent
27
- # resolution and an optional callable to be executed upon parent failure. The
28
- # result of each promise is passed to each of its children upon resolution.
29
- # When a promise is rejected all its children will be summarily rejected and
30
- # will receive the reason.
31
- #
32
- # Promises have several possible states: *:unscheduled*, *:pending*,
33
- # *:processing*, *:rejected*, or *:fulfilled*. These are also aggregated as
34
- # `#incomplete?` and `#complete?`. When a Promise is created it is set to
35
- # *:unscheduled*. Once the `#execute` method is called the state becomes
36
- # *:pending*. Once a job is pulled from the thread pool's queue and is given
37
- # to a thread for processing (often immediately upon `#post`) the state
38
- # becomes *:processing*. The future will remain in this state until processing
39
- # is complete. A future that is in the *:unscheduled*, *:pending*, or
40
- # *:processing* is considered `#incomplete?`. A `#complete?` Promise is either
41
- # *:rejected*, indicating that an exception was thrown during processing, or
42
- # *:fulfilled*, indicating success. If a Promise is *:fulfilled* its `#value`
43
- # will be updated to reflect the result of the operation. If *:rejected* the
44
- # `reason` will be updated with a reference to the thrown exception. The
45
- # predicate methods `#unscheduled?`, `#pending?`, `#rejected?`, and
46
- # `#fulfilled?` can be called at any time to obtain the state of the Promise,
47
- # as can the `#state` method, which returns a symbol.
48
- #
49
- # Retrieving the value of a promise is done through the `value` (alias:
50
- # `deref`) method. Obtaining the value of a promise is a potentially blocking
51
- # operation. When a promise is *rejected* a call to `value` will return `nil`
52
- # immediately. When a promise is *fulfilled* a call to `value` will
53
- # immediately return the current value. When a promise is *pending* a call to
54
- # `value` will block until the promise is either *rejected* or *fulfilled*. A
55
- # *timeout* value can be passed to `value` to limit how long the call will
56
- # block. If `nil` the call will block indefinitely. If `0` the call will not
57
- # block. Any other integer or float value will indicate the maximum number of
58
- # seconds to block.
59
- #
60
- # Promises run on the global thread pool.
61
- #
62
- # @!macro copy_options
63
- #
64
- # ### Examples
65
- #
66
- # Start by requiring promises
67
- #
68
- # ```ruby
69
- # require 'concurrent'
70
- # ```
71
- #
72
- # Then create one
73
- #
74
- # ```ruby
75
- # p = Concurrent::Promise.execute do
76
- # # do something
77
- # 42
78
- # end
79
- # ```
80
- #
81
- # Promises can be chained using the `then` method. The `then` method accepts a
82
- # block and an executor, to be executed on fulfillment, and a callable argument to be executed
83
- # on rejection. The result of the each promise is passed as the block argument
84
- # to chained promises.
85
- #
86
- # ```ruby
87
- # p = Concurrent::Promise.new{10}.then{|x| x * 2}.then{|result| result - 10 }.execute
88
- # ```
89
- #
90
- # And so on, and so on, and so on...
91
- #
92
- # ```ruby
93
- # p = Concurrent::Promise.fulfill(20).
94
- # then{|result| result - 10 }.
95
- # then{|result| result * 3 }.
96
- # then(executor: different_executor){|result| result % 5 }.execute
97
- # ```
98
- #
99
- # The initial state of a newly created Promise depends on the state of its parent:
100
- # - if parent is *unscheduled* the child will be *unscheduled*
101
- # - if parent is *pending* the child will be *pending*
102
- # - if parent is *fulfilled* the child will be *pending*
103
- # - if parent is *rejected* the child will be *pending* (but will ultimately be *rejected*)
104
- #
105
- # Promises are executed asynchronously from the main thread. By the time a
106
- # child Promise finishes intialization it may be in a different state than its
107
- # parent (by the time a child is created its parent may have completed
108
- # execution and changed state). Despite being asynchronous, however, the order
109
- # of execution of Promise objects in a chain (or tree) is strictly defined.
110
- #
111
- # There are multiple ways to create and execute a new `Promise`. Both ways
112
- # provide identical behavior:
113
- #
114
- # ```ruby
115
- # # create, operate, then execute
116
- # p1 = Concurrent::Promise.new{ "Hello World!" }
117
- # p1.state #=> :unscheduled
118
- # p1.execute
119
- #
120
- # # create and immediately execute
121
- # p2 = Concurrent::Promise.new{ "Hello World!" }.execute
122
- #
123
- # # execute during creation
124
- # p3 = Concurrent::Promise.execute{ "Hello World!" }
125
- # ```
126
- #
127
- # Once the `execute` method is called a `Promise` becomes `pending`:
128
- #
129
- # ```ruby
130
- # p = Concurrent::Promise.execute{ "Hello, world!" }
131
- # p.state #=> :pending
132
- # p.pending? #=> true
133
- # ```
134
- #
135
- # Wait a little bit, and the promise will resolve and provide a value:
136
- #
137
- # ```ruby
138
- # p = Concurrent::Promise.execute{ "Hello, world!" }
139
- # sleep(0.1)
140
- #
141
- # p.state #=> :fulfilled
142
- # p.fulfilled? #=> true
143
- # p.value #=> "Hello, world!"
144
- # ```
145
- #
146
- # If an exception occurs, the promise will be rejected and will provide
147
- # a reason for the rejection:
148
- #
149
- # ```ruby
150
- # p = Concurrent::Promise.execute{ raise StandardError.new("Here comes the Boom!") }
151
- # sleep(0.1)
152
- #
153
- # p.state #=> :rejected
154
- # p.rejected? #=> true
155
- # p.reason #=> "#<StandardError: Here comes the Boom!>"
156
- # ```
157
- #
158
- # #### Rejection
159
- #
160
- # When a promise is rejected all its children will be rejected and will
161
- # receive the rejection `reason` as the rejection callable parameter:
162
- #
163
- # ```ruby
164
- # p = Concurrent::Promise.execute { Thread.pass; raise StandardError }
165
- #
166
- # c1 = p.then(-> reason { 42 })
167
- # c2 = p.then(-> reason { raise 'Boom!' })
168
- #
169
- # c1.wait.state #=> :fulfilled
170
- # c1.value #=> 45
171
- # c2.wait.state #=> :rejected
172
- # c2.reason #=> #<RuntimeError: Boom!>
173
- # ```
174
- #
175
- # Once a promise is rejected it will continue to accept children that will
176
- # receive immediately rejection (they will be executed asynchronously).
177
- #
178
- # #### Aliases
179
- #
180
- # The `then` method is the most generic alias: it accepts a block to be
181
- # executed upon parent fulfillment and a callable to be executed upon parent
182
- # rejection. At least one of them should be passed. The default block is `{
183
- # |result| result }` that fulfills the child with the parent value. The
184
- # default callable is `{ |reason| raise reason }` that rejects the child with
185
- # the parent reason.
186
- #
187
- # - `on_success { |result| ... }` is the same as `then {|result| ... }`
188
- # - `rescue { |reason| ... }` is the same as `then(Proc.new { |reason| ... } )`
189
- # - `rescue` is aliased by `catch` and `on_error`
190
- class Promise < IVar
191
-
192
- # Initialize a new Promise with the provided options.
193
- #
194
- # @!macro executor_and_deref_options
195
- #
196
- # @!macro promise_init_options
197
- #
198
- # @option opts [Promise] :parent the parent `Promise` when building a chain/tree
199
- # @option opts [Proc] :on_fulfill fulfillment handler
200
- # @option opts [Proc] :on_reject rejection handler
201
- # @option opts [object, Array] :args zero or more arguments to be passed
202
- # the task block on execution
203
- #
204
- # @yield The block operation to be performed asynchronously.
205
- #
206
- # @raise [ArgumentError] if no block is given
207
- #
208
- # @see http://wiki.commonjs.org/wiki/Promises/A
209
- # @see http://promises-aplus.github.io/promises-spec/
210
- def initialize(opts = {}, &block)
211
- opts.delete_if { |k, v| v.nil? }
212
- super(NULL, opts.merge(__promise_body_from_block__: block), &nil)
213
- end
214
-
215
- # Create a new `Promise` and fulfill it immediately.
216
- #
217
- # @!macro executor_and_deref_options
218
- #
219
- # @!macro promise_init_options
220
- #
221
- # @raise [ArgumentError] if no block is given
222
- #
223
- # @return [Promise] the newly created `Promise`
224
- def self.fulfill(value, opts = {})
225
- Promise.new(opts).tap { |p| p.send(:synchronized_set_state!, true, value, nil) }
226
- end
227
-
228
- # Create a new `Promise` and reject it immediately.
229
- #
230
- # @!macro executor_and_deref_options
231
- #
232
- # @!macro promise_init_options
233
- #
234
- # @raise [ArgumentError] if no block is given
235
- #
236
- # @return [Promise] the newly created `Promise`
237
- def self.reject(reason, opts = {})
238
- Promise.new(opts).tap { |p| p.send(:synchronized_set_state!, false, nil, reason) }
239
- end
240
-
241
- # Execute an `:unscheduled` `Promise`. Immediately sets the state to `:pending` and
242
- # passes the block to a new thread/thread pool for eventual execution.
243
- # Does nothing if the `Promise` is in any state other than `:unscheduled`.
244
- #
245
- # @return [Promise] a reference to `self`
246
- def execute
247
- if root?
248
- if compare_and_set_state(:pending, :unscheduled)
249
- set_pending
250
- realize(@promise_body)
251
- end
252
- else
253
- @parent.execute
254
- end
255
- self
256
- end
257
-
258
- # @!macro ivar_set_method
259
- #
260
- # @raise [Concurrent::PromiseExecutionError] if not the root promise
261
- def set(value = NULL, &block)
262
- raise PromiseExecutionError.new('supported only on root promise') unless root?
263
- check_for_block_or_value!(block_given?, value)
264
- synchronize do
265
- if @state != :unscheduled
266
- raise MultipleAssignmentError
267
- else
268
- @promise_body = block || Proc.new { |result| value }
269
- end
270
- end
271
- execute
272
- end
273
-
274
- # @!macro ivar_fail_method
275
- #
276
- # @raise [Concurrent::PromiseExecutionError] if not the root promise
277
- def fail(reason = StandardError.new)
278
- set { raise reason }
279
- end
280
-
281
- # Create a new `Promise` object with the given block, execute it, and return the
282
- # `:pending` object.
283
- #
284
- # @!macro executor_and_deref_options
285
- #
286
- # @!macro promise_init_options
287
- #
288
- # @return [Promise] the newly created `Promise` in the `:pending` state
289
- #
290
- # @raise [ArgumentError] if no block is given
291
- #
292
- # @example
293
- # promise = Concurrent::Promise.execute{ sleep(1); 42 }
294
- # promise.state #=> :pending
295
- def self.execute(opts = {}, &block)
296
- new(opts, &block).execute
297
- end
298
-
299
- # Chain a new promise off the current promise.
300
- #
301
- # @return [Promise] the new promise
302
- # @yield The block operation to be performed asynchronously.
303
- # @overload then(rescuer, executor, &block)
304
- # @param [Proc] rescuer An optional rescue block to be executed if the
305
- # promise is rejected.
306
- # @param [ThreadPool] executor An optional thread pool executor to be used
307
- # in the new Promise
308
- # @overload then(rescuer, executor: executor, &block)
309
- # @param [Proc] rescuer An optional rescue block to be executed if the
310
- # promise is rejected.
311
- # @param [ThreadPool] executor An optional thread pool executor to be used
312
- # in the new Promise
313
- def then(*args, &block)
314
- if args.last.is_a?(::Hash)
315
- executor = args.pop[:executor]
316
- rescuer = args.first
317
- else
318
- rescuer, executor = args
319
- end
320
-
321
- executor ||= @executor
322
-
323
- raise ArgumentError.new('rescuers and block are both missing') if rescuer.nil? && !block_given?
324
- block = Proc.new { |result| result } unless block_given?
325
- child = Promise.new(
326
- parent: self,
327
- executor: executor,
328
- on_fulfill: block,
329
- on_reject: rescuer
330
- )
331
-
332
- synchronize do
333
- child.state = :pending if @state == :pending
334
- child.on_fulfill(apply_deref_options(@value)) if @state == :fulfilled
335
- child.on_reject(@reason) if @state == :rejected
336
- @children << child
337
- end
338
-
339
- child
340
- end
341
-
342
- # Chain onto this promise an action to be undertaken on success
343
- # (fulfillment).
344
- #
345
- # @yield The block to execute
346
- #
347
- # @return [Promise] self
348
- def on_success(&block)
349
- raise ArgumentError.new('no block given') unless block_given?
350
- self.then(&block)
351
- end
352
-
353
- # Chain onto this promise an action to be undertaken on failure
354
- # (rejection).
355
- #
356
- # @yield The block to execute
357
- #
358
- # @return [Promise] self
359
- def rescue(&block)
360
- self.then(block)
361
- end
362
-
363
- alias_method :catch, :rescue
364
- alias_method :on_error, :rescue
365
-
366
- # Yield the successful result to the block that returns a promise. If that
367
- # promise is also successful the result is the result of the yielded promise.
368
- # If either part fails the whole also fails.
369
- #
370
- # @example
371
- # Promise.execute { 1 }.flat_map { |v| Promise.execute { v + 2 } }.value! #=> 3
372
- #
373
- # @return [Promise]
374
- def flat_map(&block)
375
- child = Promise.new(
376
- parent: self,
377
- executor: ImmediateExecutor.new,
378
- )
379
-
380
- on_error { |e| child.on_reject(e) }
381
- on_success do |result1|
382
- begin
383
- inner = block.call(result1)
384
- inner.execute
385
- inner.on_success { |result2| child.on_fulfill(result2) }
386
- inner.on_error { |e| child.on_reject(e) }
387
- rescue => e
388
- child.on_reject(e)
389
- end
390
- end
391
-
392
- child
393
- end
394
-
395
- # Builds a promise that produces the result of promises in an Array
396
- # and fails if any of them fails.
397
- #
398
- # @overload zip(*promises)
399
- # @param [Array<Promise>] promises
400
- #
401
- # @overload zip(*promises, opts)
402
- # @param [Array<Promise>] promises
403
- # @param [Hash] opts the configuration options
404
- # @option opts [Executor] :executor (ImmediateExecutor.new) when set use the given `Executor` instance.
405
- # @option opts [Boolean] :execute (true) execute promise before returning
406
- #
407
- # @return [Promise<Array>]
408
- def self.zip(*promises)
409
- opts = promises.last.is_a?(::Hash) ? promises.pop.dup : {}
410
- opts[:executor] ||= ImmediateExecutor.new
411
- zero = if !opts.key?(:execute) || opts.delete(:execute)
412
- fulfill([], opts)
413
- else
414
- Promise.new(opts) { [] }
415
- end
416
-
417
- promises.reduce(zero) do |p1, p2|
418
- p1.flat_map do |results|
419
- p2.then do |next_result|
420
- results << next_result
421
- end
422
- end
423
- end
424
- end
425
-
426
- # Builds a promise that produces the result of self and others in an Array
427
- # and fails if any of them fails.
428
- #
429
- # @overload zip(*promises)
430
- # @param [Array<Promise>] others
431
- #
432
- # @overload zip(*promises, opts)
433
- # @param [Array<Promise>] others
434
- # @param [Hash] opts the configuration options
435
- # @option opts [Executor] :executor (ImmediateExecutor.new) when set use the given `Executor` instance.
436
- # @option opts [Boolean] :execute (true) execute promise before returning
437
- #
438
- # @return [Promise<Array>]
439
- def zip(*others)
440
- self.class.zip(self, *others)
441
- end
442
-
443
- # Aggregates a collection of promises and executes the `then` condition
444
- # if all aggregated promises succeed. Executes the `rescue` handler with
445
- # a `Concurrent::PromiseExecutionError` if any of the aggregated promises
446
- # fail. Upon execution will execute any of the aggregate promises that
447
- # were not already executed.
448
- #
449
- # @!macro promise_self_aggregate
450
- #
451
- # The returned promise will not yet have been executed. Additional `#then`
452
- # and `#rescue` handlers may still be provided. Once the returned promise
453
- # is execute the aggregate promises will be also be executed (if they have
454
- # not been executed already). The results of the aggregate promises will
455
- # be checked upon completion. The necessary `#then` and `#rescue` blocks
456
- # on the aggregating promise will then be executed as appropriate. If the
457
- # `#rescue` handlers are executed the raises exception will be
458
- # `Concurrent::PromiseExecutionError`.
459
- #
460
- # @param [Array] promises Zero or more promises to aggregate
461
- # @return [Promise] an unscheduled (not executed) promise that aggregates
462
- # the promises given as arguments
463
- def self.all?(*promises)
464
- aggregate(:all?, *promises)
465
- end
466
-
467
- # Aggregates a collection of promises and executes the `then` condition
468
- # if any aggregated promises succeed. Executes the `rescue` handler with
469
- # a `Concurrent::PromiseExecutionError` if any of the aggregated promises
470
- # fail. Upon execution will execute any of the aggregate promises that
471
- # were not already executed.
472
- #
473
- # @!macro promise_self_aggregate
474
- def self.any?(*promises)
475
- aggregate(:any?, *promises)
476
- end
477
-
478
- protected
479
-
480
- def ns_initialize(value, opts)
481
- super
482
-
483
- @executor = Options.executor_from_options(opts) || Concurrent.global_io_executor
484
- @args = get_arguments_from(opts)
485
-
486
- @parent = opts.fetch(:parent) { nil }
487
- @on_fulfill = opts.fetch(:on_fulfill) { Proc.new { |result| result } }
488
- @on_reject = opts.fetch(:on_reject) { Proc.new { |reason| raise reason } }
489
-
490
- @promise_body = opts[:__promise_body_from_block__] || Proc.new { |result| result }
491
- @state = :unscheduled
492
- @children = []
493
- end
494
-
495
- # Aggregate a collection of zero or more promises under a composite promise,
496
- # execute the aggregated promises and collect them into a standard Ruby array,
497
- # call the given Ruby `Ennnumerable` predicate (such as `any?`, `all?`, `none?`,
498
- # or `one?`) on the collection checking for the success or failure of each,
499
- # then executing the composite's `#then` handlers if the predicate returns
500
- # `true` or executing the composite's `#rescue` handlers if the predicate
501
- # returns false.
502
- #
503
- # @!macro promise_self_aggregate
504
- def self.aggregate(method, *promises)
505
- composite = Promise.new do
506
- completed = promises.collect do |promise|
507
- promise.execute if promise.unscheduled?
508
- promise.wait
509
- promise
510
- end
511
- unless completed.empty? || completed.send(method){|promise| promise.fulfilled? }
512
- raise PromiseExecutionError
513
- end
514
- end
515
- composite
516
- end
517
-
518
- # @!visibility private
519
- def set_pending
520
- synchronize do
521
- @state = :pending
522
- @children.each { |c| c.set_pending }
523
- end
524
- end
525
-
526
- # @!visibility private
527
- def root? # :nodoc:
528
- @parent.nil?
529
- end
530
-
531
- # @!visibility private
532
- def on_fulfill(result)
533
- realize Proc.new { @on_fulfill.call(result) }
534
- nil
535
- end
536
-
537
- # @!visibility private
538
- def on_reject(reason)
539
- realize Proc.new { @on_reject.call(reason) }
540
- nil
541
- end
542
-
543
- # @!visibility private
544
- def notify_child(child)
545
- if_state(:fulfilled) { child.on_fulfill(apply_deref_options(@value)) }
546
- if_state(:rejected) { child.on_reject(@reason) }
547
- end
548
-
549
- # @!visibility private
550
- def complete(success, value, reason)
551
- children_to_notify = synchronize do
552
- set_state!(success, value, reason)
553
- @children.dup
554
- end
555
-
556
- children_to_notify.each { |child| notify_child(child) }
557
- observers.notify_and_delete_observers{ [Time.now, self.value, reason] }
558
- end
559
-
560
- # @!visibility private
561
- def realize(task)
562
- @executor.post do
563
- success, value, reason = SafeTaskExecutor.new(task, rescue_exception: true).execute(*@args)
564
- complete(success, value, reason)
565
- end
566
- end
567
-
568
- # @!visibility private
569
- def set_state!(success, value, reason)
570
- set_state(success, value, reason)
571
- event.set
572
- end
573
-
574
- # @!visibility private
575
- def synchronized_set_state!(success, value, reason)
576
- synchronize { set_state!(success, value, reason) }
577
- end
578
- end
579
- end