graphql-voyager-rails 1.0.0 → 1.0.1

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 (133) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -4
  3. data/Rakefile +7 -26
  4. data/app/assets/javascripts/graphql/voyager/rails/application.js +1 -1
  5. data/app/assets/javascripts/graphql/voyager/rails/voyager-1.0.0-rc.28.js +82 -0
  6. data/app/assets/javascripts/graphql/voyager/rails/voyager.js +1 -1
  7. data/app/assets/javascripts/graphql/voyager/rails/{voyager.worker-1.0.0-rc.27.js → voyager.worker-1.0.0-rc.28.js} +0 -0
  8. data/app/assets/stylesheets/graphql/voyager/rails/application.css +1 -1
  9. data/app/assets/stylesheets/graphql/voyager/rails/{voyager-1.0.0-rc.27.css → voyager-1.0.0-rc.28.css} +2 -2
  10. data/app/controllers/graphql/voyager/rails/explorers_controller.rb +2 -2
  11. data/app/views/graphql/voyager/rails/explorers/show.html.erb +3 -3
  12. data/config/routes.rb +1 -1
  13. data/lib/graphql/voyager/rails.rb +16 -1
  14. data/lib/graphql/voyager/rails/config.rb +1 -1
  15. data/lib/graphql/voyager/rails/engine.rb +4 -2
  16. data/lib/graphql/voyager/rails/version.rb +4 -2
  17. data/lib/tasks/update_graphql_voyager.rake +104 -0
  18. data/test/controllers/graphql/voyager/rails/explorers_controller_test.rb +5 -4
  19. data/test/dummy/config/application.rb +12 -11
  20. data/test/dummy/config/environments/development.rb +12 -33
  21. data/test/dummy/config/environments/production.rb +19 -52
  22. data/test/dummy/config/environments/test.rb +13 -19
  23. data/test/dummy/config/routes.rb +1 -1
  24. data/test/graphql/voyager/config_test.rb +3 -3
  25. data/test/graphql/voyager/engine_test.rb +2 -2
  26. data/test/graphql/voyager/rails_test.rb +4 -2
  27. data/test/test_helper.rb +5 -15
  28. metadata +6 -220
  29. data/app/assets/config/graphql_voyager_rails_manifest.js +0 -1
  30. data/app/assets/javascripts/graphql/voyager/rails/voyager-1.0.0-rc.27.js +0 -82
  31. data/app/helpers/graphql/voyager/rails/application_helper.rb +0 -8
  32. data/app/jobs/graphql/voyager/rails/application_job.rb +0 -8
  33. data/app/mailers/graphql/voyager/rails/application_mailer.rb +0 -10
  34. data/app/models/graphql/voyager/rails/application_record.rb +0 -9
  35. data/config/initializers/assets.rb +0 -3
  36. data/lib/tasks/graphql/voyager/rails_tasks.rake +0 -4
  37. data/test/dummy/Rakefile +0 -6
  38. data/test/dummy/app/assets/config/manifest.js +0 -3
  39. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  40. data/test/dummy/app/channels/application_cable/channel.rb +0 -4
  41. data/test/dummy/app/channels/application_cable/connection.rb +0 -4
  42. data/test/dummy/app/controllers/application_controller.rb +0 -2
  43. data/test/dummy/app/helpers/application_helper.rb +0 -2
  44. data/test/dummy/app/javascript/packs/application.js +0 -15
  45. data/test/dummy/app/jobs/application_job.rb +0 -7
  46. data/test/dummy/app/mailers/application_mailer.rb +0 -4
  47. data/test/dummy/app/models/application_record.rb +0 -3
  48. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  49. data/test/dummy/app/views/layouts/mailer.html.erb +0 -13
  50. data/test/dummy/app/views/layouts/mailer.text.erb +0 -1
  51. data/test/dummy/bin/rails +0 -4
  52. data/test/dummy/bin/rake +0 -4
  53. data/test/dummy/bin/setup +0 -33
  54. data/test/dummy/config/cable.yml +0 -10
  55. data/test/dummy/config/database.yml +0 -25
  56. data/test/dummy/config/initializers/application_controller_renderer.rb +0 -8
  57. data/test/dummy/config/initializers/assets.rb +0 -12
  58. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  59. data/test/dummy/config/initializers/content_security_policy.rb +0 -25
  60. data/test/dummy/config/initializers/cookies_serializer.rb +0 -5
  61. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  62. data/test/dummy/config/initializers/inflections.rb +0 -16
  63. data/test/dummy/config/initializers/mime_types.rb +0 -4
  64. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  65. data/test/dummy/config/locales/en.yml +0 -33
  66. data/test/dummy/config/puma.rb +0 -35
  67. data/test/dummy/config/spring.rb +0 -6
  68. data/test/dummy/config/storage.yml +0 -34
  69. data/test/dummy/db/test.sqlite3 +0 -0
  70. data/test/dummy/log/test.log +0 -225
  71. data/test/dummy/public/404.html +0 -67
  72. data/test/dummy/public/422.html +0 -67
  73. data/test/dummy/public/500.html +0 -66
  74. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  75. data/test/dummy/public/apple-touch-icon.png +0 -0
  76. data/test/dummy/public/favicon.ico +0 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-L/-LgBrhDMmzlYc5y7PZBz-jB3gZtMw9zXlIOQuJpcO5k.cache +0 -1
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0a/0arWfKbETvMJnjsc7VCRd4StD7zHnRsl490vQofS-kI.cache +0 -1
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/23/23GwWp3MsuKldcLgr_v-6LsEX8AwkLotiQ8XKLBdvMY.cache +0 -1
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/31/31pOaAAGKosY5PeTUloQaRXYxXJkQh8-06gGzNwLzjU.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/38/38HwsGJAKo1lFFRdwn961vkOpIktrRn59IzxnxGVle4.cache +0 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/46/461GqH0WK0GnjYJkKulRjeIP_zpJW7DWKjY5lR5i1ys.cache +0 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6w/6wB3YjyrXfC4Rn9tSoXPquB3f2-CPl8UhScQKq3OHic.cache +0 -1
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9E/9Ee04zUpTRdLsDBfcytkZ69m1i2SdUuZgV2-6lGIu1M.cache +0 -1
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/C7/C7sxwGxvxEA6isvV50r6gv7yOtmPMMQmJSi-dyxgCz4.cache +0 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Do/DoYIq8aUQf6iOlLXzL2pB4WVJm97bEsBAkX0wRTKSWM.cache +0 -1
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hn/Hn0Dir2Qre1dPpKlHTmQgxuD8qludN0lmBruCYM4TTc.cache +0 -2
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/J0/J0pk2EEIbPh09R00H97DDK7_iToFnUfcaPw9SHC6R-Y.cache +0 -1
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JI/JICb7HnCp5lkTc4k2vK8pd3DlmB7KhJhuQuxciGT7Kk.cache +0 -1
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Jc/JcS8opULi6eX1vbG3HmtzPSqlTMafS_iBQvf34aR8l4.cache +0 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KC/KCWWfVN-SFDA8k8UnvtZgGgsgvJSyHd3iIuZKqn0ko8.cache +0 -0
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mw/Mw0AOXURNQOmuxJirEXvj8Rq_oi6uAHOE3vtlH7u-Fw.cache +0 -1
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pn/PnFYfKd-pPBGY4FtMnibkYqt2OiEXfnzJZYRdWTxctE.cache +0 -1
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qc/QcIajxKDzSGoWgu9yOM7fwlbv7Tgo6g16YSh_Dgh6Wc.cache +0 -1
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RJ/RJNZrMhE6yksN5Vue0m1ID9zE207y_4bFRapsiq0vAU.cache +0 -1
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RN/RNmjelpbwuDkCtazWKp7-Zrl5W8VxTQ6nlAGxMKFwDM.cache +0 -1
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SD/SDBbfvTfI2AyEZAV064Nir17NRt4hD0iVb12Aqk8ywM.cache +0 -1
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sr/SrPbTIVWV2JTBMu84pLDAttN1DIS_DVIOMaAovbMbxg.cache +0 -2
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tg/TgjwvIfsj0OewsOyWCswjBOHbM_JZDJsG_oXty7PABk.cache +0 -2
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UY/UY1iCdbGcvX3mrkSOAtJBzcrYjUo3m9mdCLbi9BpKr8.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ve/VesnakHSrVqrJzcdqBcg6r6o_62NamiE5cqu7cM-8Kg.cache +0 -1
  102. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZK/ZKO1w-GMI7dF-iETsubYNhyKMeTDJi38zK5GyrlgarM.cache +0 -3
  103. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZN/ZNJWRapZXTDgjhsC5lmV98x7yJhGTcWQUBanr8JTu0M.cache +0 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v3.0/c9/c9wvFO9IiujJfKWrHGcboYdbo3zWTao08hj7OLPp2qY.cache +0 -2
  105. data/test/dummy/tmp/cache/assets/sprockets/v3.0/c_/c_4zcUUg5Raxheggo7oPNrkvmaZxWrwGoqeJPjCuYbk.cache +0 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v3.0/d0/d0C_Yf2uWnuUIVtRk9JIHm3EPypQjxRJ2ZhVS_d8q9E.cache +0 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eR/eRZre7dVJcr8dZjm2kwTh5DN526mPSPitecUgSGgW6g.cache +0 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/f3/f330_OiEhbT4mo-cKYRkm_u6IkxoUyDlr8McIhePMgg.cache +0 -3
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gO/gOSQQUbnu8-aEUxfNHjzdU3Q0xa3CbTT8CI0ArfrGk8.cache +0 -2
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gv/gv3E5XN6MpWeJ1wPawSX32pZ0-BrwS5VonWd9z0Yl2I.cache +0 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hA/hAVlAiubzIMyxSE_45AMzA-Rnln8QFvgsWmdgvBgT8Q.cache +0 -1
  112. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jw/jwXtlggMzNp8KtzoRZTf_f-O0jpv0xf2peHabqI2qo8.cache +0 -1
  113. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kH/kHFmhZsd51wI3bn7tsj0VrCFDD4vXVhHoioWI9jPTEo.cache +0 -3
  114. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ly/lynqx7g2h3JAI4LO-mdONn5kqkSsh7-4YwWiUYYpzXo.cache +0 -1
  115. data/test/dummy/tmp/cache/assets/sprockets/v3.0/m8/m8FHrWL34tXn_QbxB37YQ9QgpdY8nz8UGrOj9jBtlEA.cache +0 -0
  116. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mT/mTakZR2CUokGQFZniZzL6aN_iHqgCKqROf1VPKVz5RE.cache +0 -0
  117. data/test/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +0 -2
  118. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nc/nczjjC46sYc081vUb6Bbl_LKcfhD_6wUwawwBiso-bY.cache +0 -2
  119. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ne/neFhocrothF_JPf22LdYgUz8oCpUI2qODBCftbV2lP0.cache +0 -1
  120. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -2
  121. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ow/owB2YQYvII2hIPfhZIKTvjP1JEUwvFVEzlbPDuLQV6I.cache +0 -1
  122. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sL/sLcAwFNqNCjcoYYdPrkJ5ib22YwWDjRYkgYCTgr2I9g.cache +0 -1
  123. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sX/sXn6HtT4X4u50oCdGycXrjpJv_0nAgNVl4uee8YxWFM.cache +0 -1
  124. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tL/tLw2JNRDnFqlxlH3j9FPElYKr-dlWzYd21XelFYn6MQ.cache +0 -1
  125. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uv/uVTZlhUlPFkEdsEicN3XShxTQTpEAOAbRBHx8jGiSiw.cache +0 -2
  126. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uv/uvoTsqYP2RAHZsSGzMLgeRdQ-24LGbJi2mKMacMGbW4.cache +0 -1
  127. data/test/dummy/tmp/cache/assets/sprockets/v3.0/v_/v_qs0XuAAs-BrsCeJ948wTXHlbCmAwVPV3oDRCLHLrE.cache +0 -3
  128. data/test/dummy/tmp/cache/assets/sprockets/v3.0/w6/w6-bOcal92_FVycXYG9H_RuDP3oS2FHRg0OLjD7H6yw.cache +0 -1
  129. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xE/xE27JowT8qDp7wND3Y1urntWOI3xOD8RqB95fK5D_dM.cache +0 -1
  130. data/test/dummy/tmp/cache/assets/sprockets/v3.0/z7/z7_Qw6EopSoxIc_kDbNCSpjs3agHMawg8z1KsFLIyvk.cache +0 -3
  131. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zD/zDm8YoPN8R5NzVC4mvxnO-9eRF5b_hRCdg5tp2ebifc.cache +0 -3
  132. data/test/dummy/tmp/development_secret.txt +0 -1
  133. data/test/integration/navigation_test.rb +0 -7
@@ -1,33 +0,0 @@
1
- # Files in the config/locales directory are used for internationalization
2
- # and are automatically loaded by Rails. If you want to use locales other
3
- # than English, add the necessary files in this directory.
4
- #
5
- # To use the locales, use `I18n.t`:
6
- #
7
- # I18n.t 'hello'
8
- #
9
- # In views, this is aliased to just `t`:
10
- #
11
- # <%= t('hello') %>
12
- #
13
- # To use a different locale, set it with `I18n.locale`:
14
- #
15
- # I18n.locale = :es
16
- #
17
- # This would use the information in config/locales/es.yml.
18
- #
19
- # The following keys must be escaped otherwise they will not be retrieved by
20
- # the default I18n backend:
21
- #
22
- # true, false, on, off, yes, no
23
- #
24
- # Instead, surround them with single quotes.
25
- #
26
- # en:
27
- # 'true': 'foo'
28
- #
29
- # To learn more, please read the Rails Internationalization guide
30
- # available at https://guides.rubyonrails.org/i18n.html.
31
-
32
- en:
33
- hello: "Hello world"
@@ -1,35 +0,0 @@
1
- # Puma can serve each request in a thread from an internal thread pool.
2
- # The `threads` method setting takes two numbers: a minimum and maximum.
3
- # Any libraries that use thread pools should be configured to match
4
- # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
- # and maximum; this matches the default thread size of Active Record.
6
- #
7
- max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
8
- min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
9
- threads min_threads_count, max_threads_count
10
-
11
- # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
12
- #
13
- port ENV.fetch("PORT") { 3000 }
14
-
15
- # Specifies the `environment` that Puma will run in.
16
- #
17
- environment ENV.fetch("RAILS_ENV") { "development" }
18
-
19
- # Specifies the number of `workers` to boot in clustered mode.
20
- # Workers are forked web server processes. If using threads and workers together
21
- # the concurrency of the application would be max `threads` * `workers`.
22
- # Workers do not work on JRuby or Windows (both of which do not support
23
- # processes).
24
- #
25
- # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
26
-
27
- # Use the `preload_app!` method when specifying a `workers` number.
28
- # This directive tells Puma to first boot the application and load code
29
- # before forking the application. This takes advantage of Copy On Write
30
- # process behavior so workers use less memory.
31
- #
32
- # preload_app!
33
-
34
- # Allow puma to be restarted by `rails restart` command.
35
- plugin :tmp_restart
@@ -1,6 +0,0 @@
1
- Spring.watch(
2
- ".ruby-version",
3
- ".rbenv-vars",
4
- "tmp/restart.txt",
5
- "tmp/caching-dev.txt"
6
- )
@@ -1,34 +0,0 @@
1
- test:
2
- service: Disk
3
- root: <%= Rails.root.join("tmp/storage") %>
4
-
5
- local:
6
- service: Disk
7
- root: <%= Rails.root.join("storage") %>
8
-
9
- # Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
10
- # amazon:
11
- # service: S3
12
- # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
13
- # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
14
- # region: us-east-1
15
- # bucket: your_own_bucket
16
-
17
- # Remember not to checkin your GCS keyfile to a repository
18
- # google:
19
- # service: GCS
20
- # project: your_project
21
- # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
22
- # bucket: your_own_bucket
23
-
24
- # Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
25
- # microsoft:
26
- # service: AzureStorage
27
- # storage_account_name: your_account_name
28
- # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
29
- # container: your_container_name
30
-
31
- # mirror:
32
- # service: Mirror
33
- # primary: local
34
- # mirrors: [ amazon, google, microsoft ]
File without changes
@@ -1,225 +0,0 @@
1
-  (0.7ms) SELECT sqlite_version(*)
2
-  (0.7ms) SELECT sqlite_version(*)
3
-  (0.1ms) SELECT sqlite_version(*)
4
-  (0.1ms) SELECT sqlite_version(*)
5
-  (0.1ms) begin transaction
6
- -----------------------------------------
7
- Graphql::Voyager::Rails::Test: test_truth
8
- -----------------------------------------
9
-  (0.0ms) rollback transaction
10
-  (0.7ms) SELECT sqlite_version(*)
11
-  (0.7ms) SELECT sqlite_version(*)
12
-  (0.1ms) SELECT sqlite_version(*)
13
-  (0.1ms) SELECT sqlite_version(*)
14
-  (0.1ms) begin transaction
15
- -----------------------------------------------
16
- ConfigTest: test_it_adds_JSON_header_by_default
17
- -----------------------------------------------
18
-  (0.0ms) rollback transaction
19
-  (0.0ms) begin transaction
20
- -------------------------------------------------
21
- ConfigTest: test_it_adds_CSRF_header_if_requested
22
- -------------------------------------------------
23
-  (0.0ms) rollback transaction
24
-  (0.9ms) SELECT sqlite_version(*)
25
-  (0.7ms) SELECT sqlite_version(*)
26
-  (0.0ms) SELECT sqlite_version(*)
27
-  (0.1ms) SELECT sqlite_version(*)
28
-  (0.1ms) begin transaction
29
- -------------------------------------------------------
30
- Graphql::Voyager::Rails::EngineTest: test_it_is_defined
31
- -------------------------------------------------------
32
-  (0.0ms) rollback transaction
33
-  (0.8ms) SELECT sqlite_version(*)
34
-  (0.8ms) SELECT sqlite_version(*)
35
-  (0.0ms) SELECT sqlite_version(*)
36
-  (0.1ms) SELECT sqlite_version(*)
37
-  (0.1ms) begin transaction
38
- -------------------------------------------------------
39
- Graphql::Voyager::Rails::EngineTest: test_it_is_defined
40
- -------------------------------------------------------
41
-  (0.0ms) rollback transaction
42
-  (0.0ms) begin transaction
43
- -----------------------------------------
44
- Graphql::Voyager::Rails::Test: test_truth
45
- -----------------------------------------
46
-  (0.1ms) rollback transaction
47
-  (0.0ms) begin transaction
48
- --------------------------------------------------------------------------
49
- Graphql::Voyager::Rails::ConfigTest: test_it_adds_CSRF_header_if_requested
50
- --------------------------------------------------------------------------
51
-  (0.0ms) rollback transaction
52
-  (0.0ms) begin transaction
53
- ------------------------------------------------------------------------
54
- Graphql::Voyager::Rails::ConfigTest: test_it_adds_JSON_header_by_default
55
- ------------------------------------------------------------------------
56
-  (0.0ms) rollback transaction
57
-  (0.8ms) SELECT sqlite_version(*)
58
-  (0.8ms) SELECT sqlite_version(*)
59
-  (0.0ms) SELECT sqlite_version(*)
60
-  (0.1ms) SELECT sqlite_version(*)
61
-  (0.1ms) begin transaction
62
- ----------------------------------------------------------------------------------
63
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_uses_query_params_config
64
- ----------------------------------------------------------------------------------
65
-  (0.1ms) rollback transaction
66
-  (0.1ms) begin transaction
67
- ---------------------------------------------------------------------------
68
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_uses_title_config
69
- ---------------------------------------------------------------------------
70
-  (0.0ms) rollback transaction
71
-  (0.0ms) begin transaction
72
- --------------------------------------------------------------------------
73
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_uses_logo_config
74
- --------------------------------------------------------------------------
75
-  (0.0ms) rollback transaction
76
-  (0.0ms) begin transaction
77
- -------------------------------------------------------------------------
78
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_renders_headers
79
- -------------------------------------------------------------------------
80
-  (0.0ms) rollback transaction
81
-  (0.1ms) begin transaction
82
- -----------------------------------------------------------------------------------
83
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_uses_initial_query_config
84
- -----------------------------------------------------------------------------------
85
-  (0.0ms) rollback transaction
86
-  (0.0ms) begin transaction
87
- -----------------------------------------------------------------------
88
- Graphql::Voyager::Rails::ExplorersControllerTest: test_renders_GraphiQL
89
- -----------------------------------------------------------------------
90
-  (0.0ms) rollback transaction
91
-  (0.7ms) SELECT sqlite_version(*)
92
-  (0.8ms) SELECT sqlite_version(*)
93
-  (0.0ms) SELECT sqlite_version(*)
94
-  (0.0ms) SELECT sqlite_version(*)
95
-  (0.1ms) begin transaction
96
- -------------------------------------------------------------------------
97
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_renders_headers
98
- -------------------------------------------------------------------------
99
-  (0.1ms) rollback transaction
100
-  (0.0ms) begin transaction
101
- ----------------------------------------------------------------------------------
102
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_uses_query_params_config
103
- ----------------------------------------------------------------------------------
104
- Processing by Graphql::Voyager::Rails::ExplorersController#show as HTML
105
- Parameters: {"graphql_path"=>"/my/endpoint"}
106
- Rendering /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb
107
- Rendered /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb (Duration: 687.3ms | Allocations: 300390)
108
- Completed 200 OK in 695ms (Views: 691.2ms | ActiveRecord: 0.0ms | Allocations: 304294)
109
-  (0.0ms) rollback transaction
110
-  (0.0ms) begin transaction
111
- -----------------------------------------------------------------------
112
- Graphql::Voyager::Rails::ExplorersControllerTest: test_renders_GraphiQL
113
- -----------------------------------------------------------------------
114
- Processing by Graphql::Voyager::Rails::ExplorersController#show as HTML
115
- Parameters: {"graphql_path"=>"/my/endpoint"}
116
- Rendering /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb
117
- Rendered /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb (Duration: 2.7ms | Allocations: 3187)
118
- Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms | Allocations: 3445)
119
-  (0.1ms) rollback transaction
120
-  (0.1ms) begin transaction
121
- -----------------------------------------------------------------------------------
122
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_uses_initial_query_config
123
- -----------------------------------------------------------------------------------
124
-  (0.0ms) rollback transaction
125
-  (0.0ms) begin transaction
126
- --------------------------------------------------------------------------
127
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_uses_logo_config
128
- --------------------------------------------------------------------------
129
-  (0.0ms) rollback transaction
130
-  (0.0ms) begin transaction
131
- ---------------------------------------------------------------------------
132
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_uses_title_config
133
- ---------------------------------------------------------------------------
134
-  (0.0ms) rollback transaction
135
-  (0.7ms) SELECT sqlite_version(*)
136
-  (0.7ms) SELECT sqlite_version(*)
137
-  (0.0ms) SELECT sqlite_version(*)
138
-  (0.1ms) SELECT sqlite_version(*)
139
-  (0.1ms) begin transaction
140
- -----------------------------------------------------------------------
141
- Graphql::Voyager::Rails::ExplorersControllerTest: test_renders_GraphiQL
142
- -----------------------------------------------------------------------
143
- Processing by Graphql::Voyager::Rails::ExplorersController#show as HTML
144
- Parameters: {"graphql_path"=>"/my/endpoint"}
145
- Rendering /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb
146
- Rendered /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb (Duration: 152.2ms | Allocations: 290202)
147
- Completed 200 OK in 159ms (Views: 155.3ms | ActiveRecord: 0.0ms | Allocations: 294107)
148
-  (0.1ms) rollback transaction
149
-  (0.0ms) begin transaction
150
- -------------------------------------------------------------------------
151
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_renders_headers
152
- -------------------------------------------------------------------------
153
-  (0.0ms) rollback transaction
154
-  (0.8ms) SELECT sqlite_version(*)
155
-  (0.7ms) SELECT sqlite_version(*)
156
-  (0.0ms) SELECT sqlite_version(*)
157
-  (0.1ms) SELECT sqlite_version(*)
158
-  (0.1ms) begin transaction
159
- -------------------------------------------------------------------------
160
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_renders_headers
161
- -------------------------------------------------------------------------
162
- Processing by Graphql::Voyager::Rails::ExplorersController#show as HTML
163
- Parameters: {"graphql_path"=>"/my/endpoint"}
164
- Rendering /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb
165
- Rendered /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb (Duration: 149.5ms | Allocations: 290216)
166
- Completed 200 OK in 157ms (Views: 152.7ms | ActiveRecord: 0.0ms | Allocations: 294121)
167
-  (0.0ms) rollback transaction
168
-  (0.1ms) begin transaction
169
- -----------------------------------------------------------------------
170
- Graphql::Voyager::Rails::ExplorersControllerTest: test_renders_GraphiQL
171
- -----------------------------------------------------------------------
172
- Processing by Graphql::Voyager::Rails::ExplorersController#show as HTML
173
- Parameters: {"graphql_path"=>"/my/endpoint"}
174
- Rendering /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb
175
- Rendered /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb (Duration: 2.7ms | Allocations: 3187)
176
- Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms | Allocations: 3445)
177
-  (0.0ms) rollback transaction
178
-  (0.7ms) SELECT sqlite_version(*)
179
-  (0.7ms) SELECT sqlite_version(*)
180
-  (0.0ms) SELECT sqlite_version(*)
181
-  (0.0ms) SELECT sqlite_version(*)
182
-  (0.1ms) begin transaction
183
- -------------------------------------------------------------------------
184
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_renders_headers
185
- -------------------------------------------------------------------------
186
- Processing by Graphql::Voyager::Rails::ExplorersController#show as HTML
187
- Parameters: {"graphql_path"=>"/my/endpoint"}
188
- Rendering /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb
189
- Rendered /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb (Duration: 154.8ms | Allocations: 290216)
190
- Completed 200 OK in 162ms (Views: 157.9ms | ActiveRecord: 0.0ms | Allocations: 294121)
191
-  (0.1ms) rollback transaction
192
-  (0.0ms) begin transaction
193
- -----------------------------------------------------------------------
194
- Graphql::Voyager::Rails::ExplorersControllerTest: test_renders_GraphiQL
195
- -----------------------------------------------------------------------
196
- Processing by Graphql::Voyager::Rails::ExplorersController#show as HTML
197
- Parameters: {"graphql_path"=>"/my/endpoint"}
198
- Rendering /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb
199
- Rendered /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb (Duration: 2.9ms | Allocations: 3187)
200
- Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms | Allocations: 3445)
201
-  (0.0ms) rollback transaction
202
-  (0.7ms) SELECT sqlite_version(*)
203
-  (1.5ms) SELECT sqlite_version(*)
204
-  (0.0ms) SELECT sqlite_version(*)
205
-  (0.0ms) SELECT sqlite_version(*)
206
-  (0.1ms) begin transaction
207
- -----------------------------------------------------------------------
208
- Graphql::Voyager::Rails::ExplorersControllerTest: test_renders_GraphiQL
209
- -----------------------------------------------------------------------
210
- Processing by Graphql::Voyager::Rails::ExplorersController#show as HTML
211
- Parameters: {"graphql_path"=>"/my/endpoint"}
212
- Rendering /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb
213
- Rendered /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb (Duration: 148.0ms | Allocations: 290202)
214
- Completed 200 OK in 155ms (Views: 151.1ms | ActiveRecord: 0.0ms | Allocations: 294107)
215
-  (0.1ms) rollback transaction
216
-  (0.0ms) begin transaction
217
- -------------------------------------------------------------------------
218
- Graphql::Voyager::Rails::ExplorersControllerTest: test_it_renders_headers
219
- -------------------------------------------------------------------------
220
- Processing by Graphql::Voyager::Rails::ExplorersController#show as HTML
221
- Parameters: {"graphql_path"=>"/my/endpoint"}
222
- Rendering /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb
223
- Rendered /Users/tamcgoey/src/github.com/tamcgoey/graphql-playground/graphql-voyager-rails/app/views/graphql/voyager/rails/explorers/show.html.erb (Duration: 3.0ms | Allocations: 3201)
224
- Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms | Allocations: 3459)
225
-  (0.0ms) rollback transaction
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body class="rails-default-error-page">
58
- <!-- This file lives in public/404.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The page you were looking for doesn't exist.</h1>
62
- <p>You may have mistyped the address or the page may have moved.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body class="rails-default-error-page">
58
- <!-- This file lives in public/422.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The change you wanted was rejected.</h1>
62
- <p>Maybe you tried to change something you didn't have access to.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>