cubism 0.2.1 → 0.2.2

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 (55) hide show
  1. checksums.yaml +4 -4
  2. data/Appraisals +6 -11
  3. data/Gemfile.lock +278 -126
  4. data/app/helpers/cubism_helper.rb +3 -1
  5. data/cubism.gemspec +3 -4
  6. data/lib/cubism/broadcaster.rb +7 -3
  7. data/lib/cubism/cubicle_store.rb +9 -2
  8. data/lib/cubism/preprocessor.rb +4 -1
  9. data/lib/cubism/version.rb +1 -1
  10. data/package.json +1 -1
  11. metadata +7 -95
  12. data/test/block_container_test.rb +0 -105
  13. data/test/block_source_test.rb +0 -102
  14. data/test/broadcaster_test.rb +0 -66
  15. data/test/channels/cubism/presence_channel_test.rb +0 -72
  16. data/test/cubicle_store_test.rb +0 -34
  17. data/test/cubism_test.rb +0 -7
  18. data/test/dummy/app/channels/application_cable/channel.rb +0 -4
  19. data/test/dummy/app/channels/application_cable/connection.rb +0 -4
  20. data/test/dummy/app/controllers/application_controller.rb +0 -2
  21. data/test/dummy/app/helpers/application_helper.rb +0 -2
  22. data/test/dummy/app/jobs/application_job.rb +0 -7
  23. data/test/dummy/app/mailers/application_mailer.rb +0 -4
  24. data/test/dummy/app/models/application_record.rb +0 -3
  25. data/test/dummy/app/models/post.rb +0 -3
  26. data/test/dummy/app/models/user.rb +0 -3
  27. data/test/dummy/config/application.rb +0 -22
  28. data/test/dummy/config/boot.rb +0 -5
  29. data/test/dummy/config/environment.rb +0 -5
  30. data/test/dummy/config/environments/development.rb +0 -76
  31. data/test/dummy/config/environments/production.rb +0 -120
  32. data/test/dummy/config/environments/test.rb +0 -59
  33. data/test/dummy/config/initializers/application_controller_renderer.rb +0 -8
  34. data/test/dummy/config/initializers/assets.rb +0 -12
  35. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -8
  36. data/test/dummy/config/initializers/content_security_policy.rb +0 -28
  37. data/test/dummy/config/initializers/cookies_serializer.rb +0 -5
  38. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -6
  39. data/test/dummy/config/initializers/inflections.rb +0 -16
  40. data/test/dummy/config/initializers/mime_types.rb +0 -4
  41. data/test/dummy/config/initializers/permissions_policy.rb +0 -11
  42. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  43. data/test/dummy/config/puma.rb +0 -43
  44. data/test/dummy/config/routes.rb +0 -3
  45. data/test/dummy/db/migrate/20220102072929_create_posts.rb +0 -10
  46. data/test/dummy/db/migrate/20220102073003_create_users.rb +0 -9
  47. data/test/dummy/db/schema.rb +0 -26
  48. data/test/dummy/test/models/post_test.rb +0 -7
  49. data/test/dummy/test/models/user_test.rb +0 -7
  50. data/test/helpers/cubism_helper_test.rb +0 -39
  51. data/test/integration/navigation_test.rb +0 -7
  52. data/test/models/concerns/presence_test.rb +0 -25
  53. data/test/models/concerns/user_test.rb +0 -9
  54. data/test/rendering/preprocessor_test.rb +0 -61
  55. data/test/test_helper.rb +0 -22
data/test/test_helper.rb DELETED
@@ -1,22 +0,0 @@
1
- # Configure Rails Environment
2
- ENV["RAILS_ENV"] = "test"
3
-
4
- require_relative "../test/dummy/config/environment"
5
- ActiveRecord::Migrator.migrations_paths = [File.expand_path("../test/dummy/db/migrate", __dir__)]
6
- require "rails/test_help"
7
- require "mocha/minitest"
8
-
9
- # Load fixtures from the engine
10
- fixtures_path = File.expand_path("dummy/test/fixtures", __dir__)
11
-
12
- if ActiveSupport::TestCase.respond_to?(:fixture_paths=)
13
- ActiveSupport::TestCase.fixture_paths = [fixtures_path]
14
- ActionDispatch::IntegrationTest.fixture_paths = ActiveSupport::TestCase.fixture_paths if ActionDispatch::IntegrationTest.respond_to?(:fixture_paths=)
15
- ActiveSupport::TestCase.file_fixture_path = "#{fixtures_path}/files"
16
- ActiveSupport::TestCase.fixtures :all
17
- elsif ActiveSupport::TestCase.respond_to?(:fixture_path=)
18
- ActiveSupport::TestCase.fixture_path = fixtures_path
19
- ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path if ActionDispatch::IntegrationTest.respond_to?(:fixture_path=)
20
- ActiveSupport::TestCase.file_fixture_path = "#{fixtures_path}/files"
21
- ActiveSupport::TestCase.fixtures :all
22
- end