glib-web 4.0.0 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/glib/json/libs.rb +4 -4
  3. data/app/controllers/concerns/glib/json/new_dynamic_text.rb +0 -0
  4. data/app/helpers/glib/app_feature_support_helper.rb +0 -0
  5. data/app/helpers/glib/dynamic_texts_helper.rb +0 -0
  6. data/app/helpers/glib/json_ui/action_builder/sheets.rb +0 -0
  7. data/app/helpers/glib/json_ui/analytics_helper.rb +0 -0
  8. data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
  9. data/app/models/glib/active_storage/attachment.rb +0 -0
  10. data/app/models/glib/active_storage/blob.rb +0 -0
  11. data/app/models/glib/dynamic_text_record.rb +0 -0
  12. data/app/models/glib/text.rb +0 -0
  13. data/app/validators/email_typo_validator.rb +0 -0
  14. data/app/validators/email_validator.rb +0 -0
  15. data/app/validators/url_validator.rb +0 -0
  16. data/app/views/json_ui/garage/actions/dialogs_oauth_post.json.jbuilder +0 -0
  17. data/app/views/json_ui/garage/forms/dynamic_select_data.json.jbuilder +0 -0
  18. data/app/views/json_ui/garage/forms/generic_post.json.jbuilder +0 -0
  19. data/app/views/json_ui/garage/forms/submission_flow.json.jbuilder +0 -0
  20. data/app/views/json_ui/garage/forms/submission_flow_post.json.jbuilder +0 -0
  21. data/app/views/json_ui/garage/forms/submission_indicator.json.jbuilder +0 -0
  22. data/app/views/json_ui/garage/forms/submission_indicator_post.json.jbuilder +0 -0
  23. data/app/views/json_ui/garage/home/blank.json.jbuilder +0 -0
  24. data/app/views/json_ui/garage/home/slow.json.jbuilder +0 -0
  25. data/app/views/json_ui/garage/lists/autoload_all.json.jbuilder +0 -0
  26. data/app/views/json_ui/garage/lists/autoload_as_needed.json.jbuilder +0 -0
  27. data/app/views/json_ui/garage/lists/chat_ui.json.jbuilder +0 -0
  28. data/app/views/json_ui/garage/lists/fab.json.jbuilder +0 -0
  29. data/app/views/json_ui/garage/notifications/web_socket.json.jbuilder +0 -0
  30. data/app/views/json_ui/garage/pages/custom_style_class.json.jbuilder +0 -0
  31. data/app/views/json_ui/garage/pages/full_width.json.jbuilder +0 -0
  32. data/app/views/json_ui/garage/pages/full_width_height.json.jbuilder +0 -0
  33. data/app/views/json_ui/garage/pages/layout.json.jbuilder +0 -0
  34. data/app/views/json_ui/garage/pages/loading_indicator.json.jbuilder +0 -0
  35. data/app/views/json_ui/garage/pages/nested_scroll.json.jbuilder +0 -0
  36. data/app/views/json_ui/garage/pages/redirect_onload.json.jbuilder +0 -0
  37. data/app/views/json_ui/garage/panels/_styled.json.jbuilder +0 -0
  38. data/app/views/json_ui/garage/panels/card.json.jbuilder +0 -0
  39. data/app/views/json_ui/garage/panels/custom.json.jbuilder +0 -0
  40. data/app/views/json_ui/garage/panels/outlined.json.jbuilder +0 -0
  41. data/app/views/json_ui/garage/services/dynamic_text.json.jbuilder +0 -0
  42. data/app/views/json_ui/garage/services/image.json.jbuilder +0 -0
  43. data/app/views/json_ui/garage/services/index.json.jbuilder +0 -0
  44. data/app/views/json_ui/garage/tables/_autoload_section.json.jbuilder +0 -0
  45. data/app/views/json_ui/garage/tables/autoload_all.json.jbuilder +0 -0
  46. data/app/views/json_ui/garage/tables/autoload_as_needed.json.jbuilder +0 -0
  47. data/app/views/json_ui/garage/tables/export_import.json.jbuilder +0 -0
  48. data/app/views/json_ui/garage/tables/index.json.jbuilder +0 -0
  49. data/app/views/json_ui/garage/views/calendar_data.json.jbuilder +0 -0
  50. data/app/views/json_ui/garage/views/links.json.jbuilder +0 -0
  51. data/app/views/json_ui/garage/views/map_data.json.jbuilder +0 -0
  52. data/app/views/json_ui/garage/views/multimedia.json.jbuilder +0 -0
  53. data/app/views/layouts/json_ui/no_custom.html.erb +0 -0
  54. data/lib/generators/glib/install_generator.rb +0 -0
  55. data/lib/generators/templates/20191017062519_create_texts.rb +0 -0
  56. data/lib/generators/templates/20191024063257_add_scope_to_texts.rb +0 -0
  57. data/lib/generators/templates/20191112095018_add_lang_to_texts.rb +0 -0
  58. data/lib/generators/templates/20191126071051_create_active_storage_tables.active_storage.rb +0 -0
  59. data/lib/generators/templates/database.yml +0 -0
  60. data/lib/generators/templates/dynamic_text.rb +0 -0
  61. data/lib/glib/dynamic_text/config.rb +0 -0
  62. data/lib/glib/dynamic_text.rb +0 -0
  63. data/lib/glib/json_crawler/action_crawler.rb +0 -0
  64. data/lib/glib/json_crawler/action_crawlers/action_http.rb +0 -0
  65. data/lib/glib/json_crawler/action_crawlers/dialogs_alert.rb +0 -0
  66. data/lib/glib/json_crawler/action_crawlers/menu.rb +0 -0
  67. data/lib/glib/json_crawler/action_crawlers/run_multiple.rb +0 -0
  68. data/lib/glib/json_crawler/action_crawlers/windows_open.rb +0 -0
  69. data/lib/glib/json_crawler/coverage.rb +0 -0
  70. data/lib/glib/test_helpers.rb +2 -0
  71. data/lib/glib/value.rb +0 -0
  72. data/lib/glib/version.rb +0 -0
  73. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 559c94d3c5c18214daed6e708f570879f069e39aabba1f08d248f2d0e2d62bf2
4
- data.tar.gz: 6d3cc151c5226a7741a5508d27a77463ea64e09e5db08601ff3927d8a5c9191c
3
+ metadata.gz: 075c1d55a3db9efb8b8fd9302c410203f54f3feaf13e9debb3273fab7facf009
4
+ data.tar.gz: c9f19882259bb4e898578994734ece1c472a63b0dfffd7b41cb9fa8a3f89d1bb
5
5
  SHA512:
6
- metadata.gz: bacdb36e88f43a3ce8ce1ff7be69b14414024dfa34ac41c51d8dacc72f23122f09dcfe4400c138134245b4fa785d6e5075c3f6573bc6d3d46820b4fc80ab2ec5
7
- data.tar.gz: 255300aeb08012f9fdb26eda37c8f288728cbfa8cca9ca0400287d8ad1bc3fff416946c3044716d486fb0194d68993127aebe59ddd69809658b8087bb68f42a2
6
+ metadata.gz: 7c07ee59726cdf85c3cedf5970097fff38916c1e56d062332f61d7fd2692ebf316d9eacb32c9d6e4a65bedec4af28f66ceddf86fe95c84d0fba87ec215250ca6
7
+ data.tar.gz: 70d5e728d9730c9b0f2d63d9d34bea15654d8d8048eba682f114ec29c937020c1e058d205d523837a63ea54fa3ef878de498cd310cf1d96e52b435d7ded18109
@@ -74,7 +74,7 @@ module Glib::Json::Libs
74
74
  url.sub(/[\&\?]format=json/, '');
75
75
  end
76
76
 
77
- def glib_redirect_to(url, return_to_previous: false)
77
+ def glib_redirect_to(url, return_to_previous: false, status: :ok)
78
78
  url = __delete_redirect_back_url(url) if return_to_previous
79
79
 
80
80
  respond_to do |format|
@@ -87,7 +87,7 @@ module Glib::Json::Libs
87
87
  return
88
88
  end
89
89
 
90
- json_ui_redirect_to url
90
+ json_ui_redirect_to url, status: status
91
91
  end
92
92
  end
93
93
  end
@@ -235,7 +235,7 @@ module Glib::Json::Libs
235
235
  end
236
236
  end
237
237
 
238
- def json_ui_redirect_to(url)
238
+ def json_ui_redirect_to(url, status: :ok)
239
239
  # Use windows_reload instead of windows_open so clicking back will skip the bridging page.
240
240
  # on_response = { action: 'windows/open', url: url }
241
241
  on_response = { action: 'windows/reload', url: url }
@@ -248,7 +248,7 @@ module Glib::Json::Libs
248
248
 
249
249
  # Use onResponse because it is harder to guarantee that `onLoad` executes in Vuejs because it relies
250
250
  # on app.vue's reactivity.
251
- render json: { onResponse: on_response }
251
+ render json: { onResponse: on_response }, status: status
252
252
  end
253
253
 
254
254
  module ClassMethods
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -20,7 +20,9 @@ module Glib
20
20
  end
21
21
  end
22
22
 
23
+ # See https://stackoverflow.com/questions/51583321/it-is-safe-to-use-lvh-me-instead-of-localhost-for-testing
23
24
  HOST = 'www.lvh.me:3000'
25
+
24
26
  # LOG_DIR = File.expand_path(
25
27
  # File.join(File.dirname(__FILE__), 'integration/json_ui_crawler_test_results')
26
28
  # )
data/lib/glib/value.rb CHANGED
File without changes
data/lib/glib/version.rb CHANGED
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
@@ -352,7 +352,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
352
352
  - !ruby/object:Gem::Version
353
353
  version: '0'
354
354
  requirements: []
355
- rubygems_version: 3.4.6
355
+ rubyforge_project:
356
+ rubygems_version: 2.7.6
356
357
  signing_key:
357
358
  specification_version: 4
358
359
  summary: ''