micro-rb 0.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rubocop.yml +1399 -0
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +5 -0
  7. data/CODE_OF_CONDUCT.md +74 -0
  8. data/Gemfile +11 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +204 -0
  11. data/Rakefile +12 -0
  12. data/bin/console +16 -0
  13. data/bin/microrb +7 -0
  14. data/bin/setup +8 -0
  15. data/lib/micro/cli.rb +69 -0
  16. data/lib/micro/configuration.rb +34 -0
  17. data/lib/micro/examples/proto/sum.proto +12 -0
  18. data/lib/micro/examples/proto/sum_pb.rb +21 -0
  19. data/lib/micro/examples/sum.rb +22 -0
  20. data/lib/micro/handler.rb +63 -0
  21. data/lib/micro/handler_manager.rb +60 -0
  22. data/lib/micro/handlers/debug.rb +26 -0
  23. data/lib/micro/project_generator.rb +75 -0
  24. data/lib/micro/proto/debug.proto +10 -0
  25. data/lib/micro/proto/debug_pb.rb +19 -0
  26. data/lib/micro/servers/error.rb +58 -0
  27. data/lib/micro/servers/web.rb +162 -0
  28. data/lib/micro/sidecar/base.rb +26 -0
  29. data/lib/micro/sidecar/call.rb +18 -0
  30. data/lib/micro/sidecar/register.rb +18 -0
  31. data/lib/micro/version.rb +6 -0
  32. data/lib/micro-rb.rb +4 -0
  33. data/lib/microrb.rb +25 -0
  34. data/micro-rb.gemspec +37 -0
  35. data/registry.png +0 -0
  36. data/sum.png +0 -0
  37. data/templates/Dockerfile +3 -0
  38. data/templates/Gemfile +18 -0
  39. data/templates/LICENSE +21 -0
  40. data/templates/README.md +17 -0
  41. data/templates/Rakefile +9 -0
  42. data/templates/bin/app +17 -0
  43. data/templates/lib/app/handlers/example_handler.rb +16 -0
  44. data/templates/lib/app/proto/sum.proto +12 -0
  45. data/templates/lib/app/proto/sum_pb.rb +21 -0
  46. data/templates/lib/app/version.rb +4 -0
  47. data/templates/lib/app.rb +14 -0
  48. data/templates/test/app_test.rb +11 -0
  49. data/templates/test/test_helper.rb +9 -0
  50. metadata +277 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d9e8d90ef1eb8db2bb2cdfe7dbfa5db6e3d81ef1
4
+ data.tar.gz: 18b14c46e6b068473b66773f46cc179f1b356868
5
+ SHA512:
6
+ metadata.gz: 64425c6cc425855a34acf18dfba7f7a674e18af87a0f40c4d5ba48f88a595922b7c25efd5715a1b4b683899e88275014e91f54efca6a97daf5a5adbc46973c96
7
+ data.tar.gz: 5cd749e57fc0b960167c32e7fcc090399bfb503591c4ebfbd1a79dcb8579e7b843efbae130a130ec87c0d84aa224ca361549cff06d9caffa8177af1a72422fc7
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ .idea
11
+ *.gem