nulogy_message_bus_producer 3.3.0 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +67 -17
  3. data/Rakefile +2 -4
  4. data/db/migrate/20200611150212_create_public_subscriptions_and_events_tables.rb +2 -2
  5. data/lib/nulogy_message_bus_producer.rb +8 -4
  6. data/lib/nulogy_message_bus_producer/base_subscription.rb +1 -1
  7. data/lib/nulogy_message_bus_producer/config.rb +25 -1
  8. data/lib/nulogy_message_bus_producer/configuration/query_parser.rb +71 -0
  9. data/lib/nulogy_message_bus_producer/subscription.rb +3 -1
  10. data/lib/nulogy_message_bus_producer/subscriptions/finder.rb +40 -0
  11. data/lib/nulogy_message_bus_producer/subscriptions/postgres_transport.rb +9 -2
  12. data/lib/nulogy_message_bus_producer/subscriptions/query_validator.rb +47 -0
  13. data/lib/nulogy_message_bus_producer/version.rb +1 -1
  14. data/spec/dummy/Rakefile +1 -1
  15. data/spec/dummy/app/mailers/application_mailer.rb +2 -2
  16. data/spec/dummy/bin/bundle +2 -2
  17. data/spec/dummy/bin/rails +3 -3
  18. data/spec/dummy/bin/rake +2 -2
  19. data/spec/dummy/bin/setup +10 -11
  20. data/spec/dummy/bin/update +10 -10
  21. data/spec/dummy/bin/yarn +6 -8
  22. data/spec/dummy/config.ru +1 -1
  23. data/spec/dummy/config/boot.rb +3 -3
  24. data/spec/dummy/config/environment.rb +1 -1
  25. data/spec/dummy/config/environments/development.rb +2 -2
  26. data/spec/dummy/config/environments/production.rb +5 -5
  27. data/spec/dummy/config/environments/test.rb +2 -2
  28. data/spec/dummy/config/initializers/assets.rb +2 -2
  29. data/spec/dummy/config/puma.rb +3 -3
  30. data/spec/dummy/config/spring.rb +2 -2
  31. data/spec/dummy/db/schema.rb +0 -2
  32. data/spec/dummy/log/development.log +2333 -0
  33. data/spec/dummy/log/test.log +44636 -0
  34. data/spec/integration/lib/nulogy_message_bus_producer/config_spec.rb +37 -0
  35. data/spec/integration/lib/nulogy_message_bus_producer/repopulate_replication_slots_spec.rb +2 -2
  36. data/spec/integration/lib/nulogy_message_bus_producer/subscription_spec.rb +20 -2
  37. data/spec/integration/lib/nulogy_message_bus_producer/subscriptions/finder_spec.rb +54 -0
  38. data/spec/integration/lib/nulogy_message_bus_producer/subscriptions/no_variables_spec.rb +1 -1
  39. data/spec/integration/lib/nulogy_message_bus_producer/subscriptions/postgres_transport_spec.rb +100 -54
  40. data/spec/integration/lib/nulogy_message_bus_producer/{subscriber_graphql_schema_validator_spec.rb → subscriptions/query_validator_spec.rb} +3 -3
  41. data/spec/integration/lib/nulogy_message_bus_producer/subscriptions/risky_subscription_blocker_spec.rb +0 -16
  42. data/spec/nulogy_message_bus_producer/configuration/query_parser_spec.rb +58 -0
  43. data/spec/spec_helper.rb +21 -1
  44. data/spec/support/kafka_connect.rb +1 -1
  45. data/spec/support/subscription_helpers.rb +21 -3
  46. data/spec/support/test_graphql_schema.rb +6 -0
  47. metadata +23 -25
  48. data/lib/nulogy_message_bus_producer/subscriber_graphql_schema_validator.rb +0 -45

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.