nulogy_message_bus_producer 3.7.0 → 4.0.0.alpha

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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +105 -9
  3. data/db/migrate/20210330204121_add_event_type_to_subscription_events.rb +9 -0
  4. data/lib/nulogy_message_bus_producer/subscription_event.rb +3 -0
  5. data/lib/nulogy_message_bus_producer/subscriptions/postgres_transport.rb +2 -2
  6. data/lib/nulogy_message_bus_producer/version.rb +1 -1
  7. data/lib/nulogy_message_bus_producer.rb +17 -1
  8. data/spec/dummy/bin/setup +9 -8
  9. data/spec/dummy/bin/yarn +7 -15
  10. data/spec/dummy/config/application.rb +6 -11
  11. data/spec/dummy/config/boot.rb +4 -2
  12. data/spec/dummy/config/cable.yml +2 -2
  13. data/spec/dummy/config/environments/development.rb +7 -29
  14. data/spec/dummy/config/environments/production.rb +15 -45
  15. data/spec/dummy/config/environments/test.rb +7 -24
  16. data/spec/dummy/config/initializers/backtrace_silencers.rb +3 -4
  17. data/spec/dummy/config/initializers/filter_parameter_logging.rb +1 -3
  18. data/spec/dummy/config/locales/en.yml +1 -1
  19. data/spec/dummy/config.ru +0 -1
  20. data/spec/dummy/db/schema.rb +4 -1
  21. data/spec/dummy/log/development.log +2553 -0
  22. data/spec/dummy/log/test.log +46636 -0
  23. data/spec/integration/lib/nulogy_message_bus_producer/repopulate_replication_slots_spec.rb +3 -1
  24. data/spec/integration/lib/nulogy_message_bus_producer_spec.rb +25 -0
  25. data/spec/spec_helper.rb +0 -1
  26. data/spec/support/test_graphql_schema.rb +2 -0
  27. metadata +67 -104
  28. data/spec/dummy/config/initializers/content_security_policy.rb +0 -30
  29. data/spec/dummy/config/initializers/new_framework_defaults_6_1.rb +0 -67
  30. data/spec/dummy/config/initializers/permissions_policy.rb +0 -11
  31. data/spec/dummy/config/storage.yml +0 -34
  32. data/spec/support/skip.rb +0 -9
@@ -10,7 +10,8 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 2020_10_05_164116) do
13
+ ActiveRecord::Schema.define(version: 2021_03_30_204121) do
14
+
14
15
  # These are extensions that must be enabled in order to support this database
15
16
  enable_extension "plpgsql"
16
17
  enable_extension "uuid-ossp"
@@ -22,6 +23,7 @@ ActiveRecord::Schema.define(version: 2020_10_05_164116) do
22
23
  t.uuid "company_uuid", null: false
23
24
  t.json "event_json", null: false
24
25
  t.datetime "created_at"
26
+ t.text "event_type"
25
27
  t.index ["created_at"], name: "index_nulogy_mb_producer_subscription_events_on_created_at"
26
28
  end
27
29
 
@@ -35,4 +37,5 @@ ActiveRecord::Schema.define(version: 2020_10_05_164116) do
35
37
  t.datetime "updated_at", null: false
36
38
  t.index ["event_type"], name: "index_nulogy_mb_producer_subscriptions_on_event_type"
37
39
  end
40
+
38
41
  end