jay_api 27.1.0

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 (74) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +786 -0
  3. data/README.md +61 -0
  4. data/jay_api.gemspec +38 -0
  5. data/lib/jay_api/abstract/connection.rb +50 -0
  6. data/lib/jay_api/abstract/constant_wait.rb +17 -0
  7. data/lib/jay_api/abstract/geometric_wait.rb +35 -0
  8. data/lib/jay_api/abstract/wait_strategy.rb +43 -0
  9. data/lib/jay_api/configuration.rb +115 -0
  10. data/lib/jay_api/elasticsearch/async.rb +72 -0
  11. data/lib/jay_api/elasticsearch/batch_counter.rb +76 -0
  12. data/lib/jay_api/elasticsearch/client.rb +96 -0
  13. data/lib/jay_api/elasticsearch/client_factory.rb +100 -0
  14. data/lib/jay_api/elasticsearch/errors/elasticsearch_error.rb +13 -0
  15. data/lib/jay_api/elasticsearch/errors/end_of_query_results_error.rb +22 -0
  16. data/lib/jay_api/elasticsearch/errors/query_execution_error.rb +15 -0
  17. data/lib/jay_api/elasticsearch/errors/query_execution_failure.rb +17 -0
  18. data/lib/jay_api/elasticsearch/errors/query_execution_timeout.rb +13 -0
  19. data/lib/jay_api/elasticsearch/errors/search_after_error.rb +13 -0
  20. data/lib/jay_api/elasticsearch/index.rb +223 -0
  21. data/lib/jay_api/elasticsearch/query_builder/aggregations/aggregation.rb +66 -0
  22. data/lib/jay_api/elasticsearch/query_builder/aggregations/avg.rb +56 -0
  23. data/lib/jay_api/elasticsearch/query_builder/aggregations/errors/aggregations_error.rb +17 -0
  24. data/lib/jay_api/elasticsearch/query_builder/aggregations/errors.rb +14 -0
  25. data/lib/jay_api/elasticsearch/query_builder/aggregations/filter.rb +67 -0
  26. data/lib/jay_api/elasticsearch/query_builder/aggregations/max.rb +51 -0
  27. data/lib/jay_api/elasticsearch/query_builder/aggregations/scripted_metric.rb +72 -0
  28. data/lib/jay_api/elasticsearch/query_builder/aggregations/sum.rb +57 -0
  29. data/lib/jay_api/elasticsearch/query_builder/aggregations/terms.rb +73 -0
  30. data/lib/jay_api/elasticsearch/query_builder/aggregations/top_hits.rb +49 -0
  31. data/lib/jay_api/elasticsearch/query_builder/aggregations/value_count.rb +50 -0
  32. data/lib/jay_api/elasticsearch/query_builder/aggregations.rb +168 -0
  33. data/lib/jay_api/elasticsearch/query_builder/errors/query_builder_error.rb +16 -0
  34. data/lib/jay_api/elasticsearch/query_builder/query_clauses/bool.rb +179 -0
  35. data/lib/jay_api/elasticsearch/query_builder/query_clauses/exists.rb +33 -0
  36. data/lib/jay_api/elasticsearch/query_builder/query_clauses/match_all.rb +22 -0
  37. data/lib/jay_api/elasticsearch/query_builder/query_clauses/match_clauses.rb +140 -0
  38. data/lib/jay_api/elasticsearch/query_builder/query_clauses/match_none.rb +22 -0
  39. data/lib/jay_api/elasticsearch/query_builder/query_clauses/match_phrase.rb +35 -0
  40. data/lib/jay_api/elasticsearch/query_builder/query_clauses/negator.rb +42 -0
  41. data/lib/jay_api/elasticsearch/query_builder/query_clauses/query_clause.rb +17 -0
  42. data/lib/jay_api/elasticsearch/query_builder/query_clauses/query_string.rb +50 -0
  43. data/lib/jay_api/elasticsearch/query_builder/query_clauses/range.rb +49 -0
  44. data/lib/jay_api/elasticsearch/query_builder/query_clauses/regexp.rb +39 -0
  45. data/lib/jay_api/elasticsearch/query_builder/query_clauses/term.rb +37 -0
  46. data/lib/jay_api/elasticsearch/query_builder/query_clauses/terms.rb +37 -0
  47. data/lib/jay_api/elasticsearch/query_builder/query_clauses/wildcard.rb +37 -0
  48. data/lib/jay_api/elasticsearch/query_builder/query_clauses.rb +163 -0
  49. data/lib/jay_api/elasticsearch/query_builder/script.rb +36 -0
  50. data/lib/jay_api/elasticsearch/query_builder.rb +196 -0
  51. data/lib/jay_api/elasticsearch/query_results.rb +111 -0
  52. data/lib/jay_api/elasticsearch/response.rb +43 -0
  53. data/lib/jay_api/elasticsearch/search_after_results.rb +58 -0
  54. data/lib/jay_api/elasticsearch/tasks.rb +36 -0
  55. data/lib/jay_api/elasticsearch/time.rb +18 -0
  56. data/lib/jay_api/errors/configuration_error.rb +22 -0
  57. data/lib/jay_api/errors/error.rb +8 -0
  58. data/lib/jay_api/git/errors/invalid_repository_error.rb +11 -0
  59. data/lib/jay_api/git/errors/missing_url_error.rb +13 -0
  60. data/lib/jay_api/git/gerrit/gitiles_helper.rb +58 -0
  61. data/lib/jay_api/git/repository.rb +356 -0
  62. data/lib/jay_api/id_builder.rb +52 -0
  63. data/lib/jay_api/mergeables/merge_selector/configuration.rb +29 -0
  64. data/lib/jay_api/mergeables/merge_selector/merger.rb +58 -0
  65. data/lib/jay_api/mergeables/merge_selector.rb +15 -0
  66. data/lib/jay_api/prior_version_fetcher_base.rb +66 -0
  67. data/lib/jay_api/properties_fetcher.rb +196 -0
  68. data/lib/jay_api/rspec/configuration.rb +46 -0
  69. data/lib/jay_api/rspec/git.rb +60 -0
  70. data/lib/jay_api/rspec/test_data_collector.rb +189 -0
  71. data/lib/jay_api/rspec.rb +9 -0
  72. data/lib/jay_api/version.rb +6 -0
  73. data/lib/jay_api.rb +9 -0
  74. metadata +215 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 773086b4ced206a7ccecba655665b5d525fc68f0552c5be72abdfa3eb07d5585
4
+ data.tar.gz: aecb7f4b0af0a692bbc0b2ab95ea7184e5d743a1f10d268c769d8d8d9f781453
5
+ SHA512:
6
+ metadata.gz: 7897a7adddd0b69691fdf513dac2dcb2a92a1cc4f47fee243da4e9325587ff00aa78d167bd93df728e13eab3955af58224c45103903c5aa256eed7267705819a
7
+ data.tar.gz: e7e7e6aa94c21d4e69ed7e586da6910dd5048531a68c3613b68d738fb1dcd69bc0c52ef1958e7ac28e95abcfd1fd6d742e2e4aef42b97f55f683db58354a85e8