legionio 0.3.2 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +27 -10
  3. data/.gitignore +1 -0
  4. data/.rubocop.yml +7 -2
  5. data/CHANGELOG.md +21 -0
  6. data/Dockerfile +9 -0
  7. data/README.md +157 -45
  8. data/Rakefile +0 -6
  9. data/bitbucket-pipelines.yml +16 -52
  10. data/docker_deploy.rb +10 -0
  11. data/exe/legion +3 -51
  12. data/exe/legionio +53 -0
  13. data/exe/lex_gen +5 -0
  14. data/{legion.gemspec → legionio.gemspec} +25 -20
  15. data/lib/legion.rb +4 -0
  16. data/lib/legion/cli.rb +56 -0
  17. data/lib/legion/cli/chain.rb +35 -0
  18. data/lib/legion/cli/cohort.rb +10 -0
  19. data/lib/legion/cli/function.rb +41 -0
  20. data/lib/legion/cli/lex/actor.rb +31 -0
  21. data/lib/legion/cli/lex/exchange.rb +32 -0
  22. data/lib/legion/cli/lex/message.rb +32 -0
  23. data/lib/legion/cli/lex/queue.rb +45 -0
  24. data/lib/legion/cli/lex/runner.rb +70 -0
  25. data/lib/legion/cli/lex/templates/actor.erb +6 -0
  26. data/{docs/_build/html/_sources/overview.rst.txt → lib/legion/cli/lex/templates/actor_spec.erb} +0 -0
  27. data/lib/legion/cli/lex/templates/base/bitbucket.yml.erb +69 -0
  28. data/lib/legion/cli/lex/templates/base/gemfile.erb +3 -0
  29. data/lib/legion/cli/lex/templates/base/gemspec.erb +26 -0
  30. data/lib/legion/cli/lex/templates/base/gitignore.erb +11 -0
  31. data/lib/legion/cli/lex/templates/base/lex.erb +9 -0
  32. data/lib/legion/cli/lex/templates/base/lex_spec.erb +5 -0
  33. data/lib/legion/cli/lex/templates/base/lic.erb +21 -0
  34. data/lib/legion/cli/lex/templates/base/rakefile.erb +6 -0
  35. data/lib/legion/cli/lex/templates/base/readme.md.erb +2 -0
  36. data/lib/legion/cli/lex/templates/base/rubocop.yml.erb +15 -0
  37. data/lib/legion/cli/lex/templates/base/spec_helper.rb.erb +11 -0
  38. data/lib/legion/cli/lex/templates/base/version.erb +7 -0
  39. data/lib/legion/cli/lex/templates/exchange.erb +11 -0
  40. data/lib/legion/cli/lex/templates/exchange_spec.erb +0 -0
  41. data/lib/legion/cli/lex/templates/message.erb +23 -0
  42. data/lib/legion/cli/lex/templates/message_spec.erb +0 -0
  43. data/lib/legion/cli/lex/templates/queue.erb +12 -0
  44. data/lib/legion/cli/lex/templates/queue_helper.erb +24 -0
  45. data/lib/legion/cli/lex/templates/queue_spec.erb +11 -0
  46. data/lib/legion/cli/lex/templates/runner.erb +11 -0
  47. data/lib/legion/cli/lex/templates/runner_spec.erb +11 -0
  48. data/lib/legion/cli/relationship.rb +22 -0
  49. data/lib/legion/cli/task.rb +49 -0
  50. data/lib/legion/cli/trigger.rb +88 -0
  51. data/lib/legion/cli/version.rb +5 -0
  52. data/lib/legion/extensions.rb +35 -1
  53. data/lib/legion/extensions/actors/base.rb +0 -2
  54. data/lib/legion/extensions/actors/poll.rb +0 -1
  55. data/lib/legion/extensions/actors/subscription.rb +1 -0
  56. data/lib/legion/extensions/core.rb +9 -4
  57. data/lib/legion/extensions/helpers/base.rb +3 -3
  58. data/lib/legion/extensions/helpers/logger.rb +3 -6
  59. data/lib/legion/extensions/helpers/task.rb +1 -1
  60. data/lib/legion/lex.rb +89 -0
  61. data/lib/legion/service.rb +34 -3
  62. data/lib/legion/version.rb +1 -1
  63. metadata +196 -82
  64. data/bin/console +0 -16
  65. data/bin/legion +0 -49
  66. data/bin/setup +0 -8
  67. data/bin/test +0 -32
  68. data/docs/Makefile +0 -20
  69. data/docs/_build/doctrees/environment.pickle +0 -0
  70. data/docs/_build/doctrees/index.doctree +0 -0
  71. data/docs/_build/doctrees/overview.doctree +0 -0
  72. data/docs/_build/html/.buildinfo +0 -4
  73. data/docs/_build/html/_sources/index.rst.txt +0 -28
  74. data/docs/_build/html/_static/alabaster.css +0 -701
  75. data/docs/_build/html/_static/basic.css +0 -855
  76. data/docs/_build/html/_static/custom.css +0 -1
  77. data/docs/_build/html/_static/doctools.js +0 -315
  78. data/docs/_build/html/_static/documentation_options.js +0 -12
  79. data/docs/_build/html/_static/file.png +0 -0
  80. data/docs/_build/html/_static/jquery-3.5.1.js +0 -10872
  81. data/docs/_build/html/_static/jquery.js +0 -2
  82. data/docs/_build/html/_static/language_data.js +0 -297
  83. data/docs/_build/html/_static/minus.png +0 -0
  84. data/docs/_build/html/_static/plus.png +0 -0
  85. data/docs/_build/html/_static/pygments.css +0 -82
  86. data/docs/_build/html/_static/searchtools.js +0 -514
  87. data/docs/_build/html/_static/underscore-1.3.1.js +0 -999
  88. data/docs/_build/html/_static/underscore.js +0 -31
  89. data/docs/_build/html/genindex.html +0 -101
  90. data/docs/_build/html/index.html +0 -117
  91. data/docs/_build/html/objects.inv +0 -6
  92. data/docs/_build/html/overview.html +0 -98
  93. data/docs/_build/html/search.html +0 -110
  94. data/docs/_build/html/searchindex.js +0 -1
  95. data/docs/conf.py +0 -54
  96. data/docs/index.rst +0 -28
  97. data/docs/make.bat +0 -35
  98. data/lib/legion/exceptions/handled_task.rb +0 -6
  99. data/lib/legion/exceptions/invalidjson.rb +0 -5
  100. data/lib/legion/exceptions/missingargument.rb +0 -6
  101. data/lib/legion/exceptions/wrongtype.rb +0 -10
  102. data/lib/legion/exceptions/wrongtypes/array.rb +0 -8
  103. data/lib/legion/exceptions/wrongtypes/hash.rb +0 -8
  104. data/lib/legion/exceptions/wrongtypes/integer.rb +0 -8
  105. data/lib/legion/exceptions/wrongtypes/string.rb +0 -8

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.