platformos-check 0.3.1 → 0.3.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 923d29e93bda7d2dea6e4c4cc201534b2508d74ffa52187c01af7872adbf117f
4
- data.tar.gz: 85f78ed85511eb8202d977fc05a13abe7c9def968078f91e333897443dad71c1
3
+ metadata.gz: ea3d461ba94a5e68217d4c8ce7143172fbc2a1c47e22b634f75e9895b2448906
4
+ data.tar.gz: 69cb278ff4ac062866d0d9aea988e1df20a43b2fb401df8d804965ede6502d3e
5
5
  SHA512:
6
- metadata.gz: f20d7b80f57031c13cc4278e1751604f7bf942b4e5501bdcbf5a5d04df3eada7dcddf59a67e0987043d9a880417ddc4f9ded71a94446394bc93c5446a77ab750
7
- data.tar.gz: ff571524231f81cccca8f49a4f707727b84aa4e6e7b6191054e12bc33b7794ff8b515ccf1d020591d76b3dc56b894dee333d6d1863d3a279aba40203b132c0ac
6
+ metadata.gz: fe07f6ef18cfe1fffb5216799c69557f01e95b86feb6d55543ab1012051c428a6d56902df123d8c1a034d4f2f8de5e662c1053192b0e4870d3e4d221df6a21e2
7
+ data.tar.gz: 5f957eebbbb846239191230408645c0487e8a9da01f6d3be5d79d8c173402718cda2ff6a1ad2bc6c077d0a007871d99e2a4daf23ae1b0fb42a76fc8f505ca73f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ v0.3.3 / 2023-09-16
2
+ ==================
3
+
4
+ * Fix issue with inline graphql tag old syntax
5
+
6
+ v0.3.2 / 2023-09-15
7
+ ==================
8
+
9
+ * Allow nil prefix, which should be equivalent of ""
10
+
1
11
  v0.3.1 / 2023-09-15
2
12
  ==================
3
13
 
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
3
 
4
- [{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[],"summary":"todo summary","name":"constants","examples":[],"json_data":{"path":"","handle":"context.constants","data_from_file":""},"return_type":[]},{"access":{"global":true,"parents":[],"template":[]},"deprecated":false,"deprecation_reason":"","description":"Include the `content_for_layout` object in your [layout files](/themes/architecture/layouts) between the `\u003cbody\u003e` and\n`\u003c/body\u003e` HTML tags.\n\n\u003e Note:\n\u003e The `content_for_layout` object is required in `theme.liquid`.","properties":[],"summary":"Dynamically returns content based on the current [template](/themes/architecture/templates).","name":"content_for_layout","examples":[],"json_data":{"path":"","handle":"","data_from_file":""},"return_type":[{"type":"string","name":"","description":"","array_value":""}]},{"access":{"global":true,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"authenticity_token"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"session","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"session"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"trueclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"csrf_request_valid"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"current_user","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"current_user"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"headers","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"headers"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"params","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"params"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"language"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"environment"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"falseclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"is_xhr"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"instance","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"instance"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"location","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"location"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"page","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"page"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"layout","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"layout"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"visitor","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"visitor"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"useragent"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"device","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"device"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"cookies","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"cookies"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"version"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"post_params"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"hcaptcha_site_key"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"globals","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"globals"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"modules","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"modules"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"constants","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"constants"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"flash","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"flash"}],"summary":"todo summary","name":"context","examples":[],"json_data":{"path":"","handle":"context","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"_pos_session"}],"summary":"todo summary","name":"cookies","examples":[],"json_data":{"path":"","handle":"context.cookies","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"first_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"last_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"email"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"id"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"slug"}],"summary":"todo summary","name":"current_user","examples":[],"json_data":{"path":"","handle":"context.current_user","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"falseclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"bot"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"bot_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"device_brand"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"device_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"device_type"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"full_version"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"trueclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"known"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"os_full_version"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"os_name"}],"summary":"todo summary","name":"device","examples":[],"json_data":{"path":"","handle":"context.device","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[],"summary":"todo summary","name":"flash","examples":[],"json_data":{"path":"","handle":"context.flash","data_from_file":""},"return_type":[]},{"access":{"global":true,"parents":[{"object":"forloop","property":"parentloop"}],"template":[]},"deprecated":false,"deprecation_reason":"","description":"","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"The total number of iterations in the loop.","name":"length"},{"deprecated":false,"deprecation_reason":"","description":"If the current `for` loop isn't nested inside another `for` loop, then `nil` is returned.","examples":[{"name":"Use the `parentloop` property","description":"","syntax":"","path":"/","raw_liquid":"{% for i in (1..3) -%}\n {% for j in (1..3) -%}\n {{ forloop.parentloop.index }} - {{ forloop.index }}\n {%- endfor %}\n{%- endfor %}","parameter":false,"display_type":"text","show_data_tab":true}],"return_type":[{"type":"forloop","name":"","description":"","array_value":""}],"summary":"The parent `forloop` object.","name":"parentloop"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"The 1-based index of the current iteration.","name":"index"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"The 0-based index of the current iteration.","name":"index0"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"The 1-based index of the current iteration, in reverse order.","name":"rindex"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"The 0-based index of the current iteration, in reverse order.","name":"rindex0"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"boolean","name":"","description":"","array_value":""}],"summary":"Returns `true` if the current iteration is the first. Returns `false` if not.","name":"first"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"boolean","name":"","description":"","array_value":""}],"summary":"Returns `true` if the current iteration is the last. Returns `false` if not.","name":"last"}],"summary":"Information about a parent [`for` loop](/docs/api/liquid/tags/for).","name":"forloop","examples":[{"name":"Use the `forloop` object","description":"","syntax":"","path":"/","raw_liquid":"{% for page in pages -%}\n {%- if forloop.length \u003e 0 -%}\n {{ page.title }}{% unless forloop.last %}, {% endunless -%}\n {%- endif -%}\n{% endfor %}","parameter":false,"display_type":"text","show_data_tab":true}],"json_data":{"path":"","handle":"","data_from_file":"{\"first\":true,\"index\":1,\"index0\":0,\"last\":false,\"length\":4,\"rindex\":3}"},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"time_zones","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"time_zones"}],"summary":"todo summary","name":"globals","examples":[],"json_data":{"path":"","handle":"context.globals","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"QUERY_STRING"}],"summary":"todo summary","name":"headers","examples":[],"json_data":{"path":"","handle":"context.headers","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"id"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"uuid"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"name"}],"summary":"todo summary","name":"instance","examples":[],"json_data":{"path":"","handle":"context.instance","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"metadata"}],"summary":"todo summary","name":"layout","examples":[],"json_data":{"path":"","handle":"context.layout","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"url"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"href"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"host"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"pathname"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"search","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"search"}],"summary":"todo summary","name":"location","examples":[],"json_data":{"path":"","handle":"context.location","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"scope_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"version"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"version_info","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"version_info"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"subscription_info","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"subscription_info"}],"summary":"todo summary","name":"module","examples":[],"json_data":{"path":"","handle":"modules.module","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"module","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"module"}],"summary":"todo summary","name":"modules","examples":[],"json_data":{"path":"","handle":"context.modules","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"id"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"slug"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"falseclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"enable_profiler"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"layout"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"layout_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"metadata"}],"summary":"todo summary","name":"page","examples":[],"json_data":{"path":"","handle":"context.page","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"slug"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"format"}],"summary":"todo summary","name":"params","examples":[],"json_data":{"path":"","handle":"context.params","data_from_file":""},"return_type":[]},{"access":{"global":true,"parents":[],"template":[],"app_file_type":"api_call"},"deprecated":false,"deprecation_reason":"","description":"","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"body of the response","name":"body"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"status of the response","name":"status"}],"summary":"","name":"response","examples":[],"json_data":{"path":"","handle":"","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[],"summary":"todo summary","name":"search","examples":[],"json_data":{"path":"","handle":"location.search","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"language"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"_csrf_token"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"session_id"}],"summary":"todo summary","name":"session","examples":[],"json_data":{"path":"","handle":"context.session","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[],"summary":"todo summary","name":"subscription_info","examples":[],"json_data":{"path":"","handle":"module.subscription_info","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"all"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"us_zones"}],"summary":"todo summary","name":"time_zones","examples":[],"json_data":{"path":"","handle":"globals.time_zones","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"version_name"}],"summary":"todo summary","name":"version_info","examples":[],"json_data":{"path":"","handle":"module.version_info","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"ip"}],"summary":"todo summary","name":"visitor","examples":[],"json_data":{"path":"","handle":"context.visitor","data_from_file":""},"return_type":[]}]
4
+ [{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[],"summary":"todo summary","name":"constants","examples":[],"json_data":{"path":"","handle":"context.constants","data_from_file":""},"return_type":[]},{"access":{"global":true,"parents":[],"template":[]},"deprecated":false,"deprecation_reason":"","description":"Include the `content_for_layout` object in your [layout files](/themes/architecture/layouts) between the `\u003cbody\u003e` and\n`\u003c/body\u003e` HTML tags.\n\n\u003e Note:\n\u003e The `content_for_layout` object is required in `theme.liquid`.","properties":[],"summary":"Dynamically returns content based on the current [template](/themes/architecture/templates).","name":"content_for_layout","examples":[],"json_data":{"path":"","handle":"","data_from_file":""},"return_type":[{"type":"string","name":"","description":"","array_value":""}]},{"access":{"global":true,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"authenticity_token"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"session","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"session"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"trueclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"csrf_request_valid"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"current_user","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"current_user"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"headers","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"headers"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"params","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"params"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"language"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"environment"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"falseclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"is_xhr"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"instance","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"instance"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"location","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"location"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"page","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"page"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"layout","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"layout"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"visitor","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"visitor"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"useragent"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"device","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"device"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"cookies","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"cookies"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"version"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"post_params"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"hcaptcha_site_key"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"globals","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"globals"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"modules","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"modules"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"constants","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"constants"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"flash","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"flash"}],"summary":"todo summary","name":"context","examples":[],"json_data":{"path":"","handle":"context","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"_pos_session"}],"summary":"todo summary","name":"cookies","examples":[],"json_data":{"path":"","handle":"context.cookies","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"first_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"last_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"email"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"id"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"slug"}],"summary":"todo summary","name":"current_user","examples":[],"json_data":{"path":"","handle":"context.current_user","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"falseclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"bot"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"bot_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"device_brand"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"device_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"device_type"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"full_version"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"trueclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"known"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"os_full_version"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"os_name"}],"summary":"todo summary","name":"device","examples":[],"json_data":{"path":"","handle":"context.device","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[],"summary":"todo summary","name":"flash","examples":[],"json_data":{"path":"","handle":"context.flash","data_from_file":""},"return_type":[]},{"access":{"global":true,"parents":[{"object":"forloop","property":"parentloop"}],"template":[]},"deprecated":false,"deprecation_reason":"","description":"","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"The total number of iterations in the loop.","name":"length"},{"deprecated":false,"deprecation_reason":"","description":"If the current `for` loop isn't nested inside another `for` loop, then `nil` is returned.","examples":[{"name":"Use the `parentloop` property","description":"","syntax":"","path":"/","raw_liquid":"{% for i in (1..3) -%}\n {% for j in (1..3) -%}\n {{ forloop.parentloop.index }} - {{ forloop.index }}\n {%- endfor %}\n{%- endfor %}","parameter":false,"display_type":"text","show_data_tab":true}],"return_type":[{"type":"forloop","name":"","description":"","array_value":""}],"summary":"The parent `forloop` object.","name":"parentloop"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"The 1-based index of the current iteration.","name":"index"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"The 0-based index of the current iteration.","name":"index0"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"The 1-based index of the current iteration, in reverse order.","name":"rindex"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"The 0-based index of the current iteration, in reverse order.","name":"rindex0"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"boolean","name":"","description":"","array_value":""}],"summary":"Returns `true` if the current iteration is the first. Returns `false` if not.","name":"first"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"boolean","name":"","description":"","array_value":""}],"summary":"Returns `true` if the current iteration is the last. Returns `false` if not.","name":"last"}],"summary":"Information about a parent [`for` loop](/docs/api/liquid/tags/for).","name":"forloop","examples":[{"name":"Use the `forloop` object","description":"","syntax":"","path":"/","raw_liquid":"{% for page in pages -%}\n {%- if forloop.length \u003e 0 -%}\n {{ page.title }}{% unless forloop.last %}, {% endunless -%}\n {%- endif -%}\n{% endfor %}","parameter":false,"display_type":"text","show_data_tab":true}],"json_data":{"path":"","handle":"","data_from_file":"{\"first\":true,\"index\":1,\"index0\":0,\"last\":false,\"length\":4,\"rindex\":3}"},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"time_zones","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"time_zones"}],"summary":"todo summary","name":"globals","examples":[],"json_data":{"path":"","handle":"context.globals","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"QUERY_STRING"}],"summary":"todo summary","name":"headers","examples":[],"json_data":{"path":"","handle":"context.headers","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"id"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"uuid"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"name"}],"summary":"todo summary","name":"instance","examples":[],"json_data":{"path":"","handle":"context.instance","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"metadata"}],"summary":"todo summary","name":"layout","examples":[],"json_data":{"path":"","handle":"context.layout","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"url"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"href"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"host"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"pathname"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"search","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"search"}],"summary":"todo summary","name":"location","examples":[],"json_data":{"path":"","handle":"context.location","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"scope_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"version"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"version_info","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"version_info"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"subscription_info","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"subscription_info"}],"summary":"todo summary","name":"module","examples":[],"json_data":{"path":"","handle":"modules.module","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"module","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"module"}],"summary":"todo summary","name":"modules","examples":[],"json_data":{"path":"","handle":"context.modules","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"number","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"id"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"slug"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"falseclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"enable_profiler"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"layout"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"layout_name"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"nilclass","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"metadata"}],"summary":"todo summary","name":"page","examples":[],"json_data":{"path":"","handle":"context.page","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"slug"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"format"}],"summary":"todo summary","name":"params","examples":[],"json_data":{"path":"","handle":"context.params","data_from_file":""},"return_type":[]},{"access":{"global":true,"parents":[],"template":[],"app_file_type":"api_call"},"deprecated":false,"deprecation_reason":"","description":"Response from the API Call","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"body of the response","name":"body"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"status of the response","name":"status"}],"summary":"","name":"response","examples":[],"json_data":{"path":"","handle":"","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[],"summary":"todo summary","name":"search","examples":[],"json_data":{"path":"","handle":"location.search","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"language"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"_csrf_token"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"session_id"}],"summary":"todo summary","name":"session","examples":[],"json_data":{"path":"","handle":"context.session","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[],"summary":"todo summary","name":"subscription_info","examples":[],"json_data":{"path":"","handle":"module.subscription_info","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"all"},{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"us_zones"}],"summary":"todo summary","name":"time_zones","examples":[],"json_data":{"path":"","handle":"globals.time_zones","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"version_name"}],"summary":"todo summary","name":"version_info","examples":[],"json_data":{"path":"","handle":"module.version_info","data_from_file":""},"return_type":[]},{"access":{"global":false,"parents":[],"template":[],"app_file_type":null},"deprecated":false,"deprecation_reason":"","description":"todo description","properties":[{"deprecated":false,"deprecation_reason":"","description":"","examples":[],"return_type":[{"type":"string","name":"","description":"","array_value":""}],"summary":"todo property summary","name":"ip"}],"summary":"todo summary","name":"visitor","examples":[],"json_data":{"path":"","handle":"context.visitor","data_from_file":""},"return_type":[]}]
5
5
 
6
6
 
@@ -11,7 +11,6 @@ module PlatformosCheck
11
11
  return [] unless variable_lookup.lookups.empty?
12
12
  return [] if content[context.cursor - 1] == "."
13
13
 
14
-
15
14
  current_file_type = file_type(find_file(context))
16
15
 
17
16
  PlatformosLiquid::SourceIndex
@@ -41,11 +40,11 @@ module PlatformosCheck
41
40
 
42
41
  def find_file(context)
43
42
  @storage.platformos_app
44
- .grouped_files
45
- .values
46
- .map(&:values)
47
- .flatten
48
- .find { |app_file| app_file.relative_path.to_s == context.relative_path }
43
+ .grouped_files
44
+ .values
45
+ .map(&:values)
46
+ .flatten
47
+ .find { |app_file| app_file.relative_path.to_s == context.relative_path }
49
48
  end
50
49
 
51
50
  def file_type(app_file)
@@ -11,6 +11,7 @@ module PlatformosCheck
11
11
  def file_link(partial, platformos_app)
12
12
  relative_path = nil
13
13
  path_prefixes(platformos_app).each do |prefix|
14
+ prefix ||= ''
14
15
  partial_with_prefix = (prefix.split(File::SEPARATOR) + [partial]).join(File::SEPARATOR)
15
16
  relative_path = platformos_app.send(app_file_type).detect { |f| f.name == partial_with_prefix }&.relative_path
16
17
  break if relative_path
@@ -31,7 +31,7 @@ module PlatformosCheck
31
31
  @inline_query = true
32
32
  parse_markup(tag_name, markup)
33
33
  @attributes = attributes_expr.keys
34
- @to = @value_expr.name
34
+ @to = @value_expr.is_a?(String) ? @value_expr : @value_expr.name
35
35
  else
36
36
  raise Liquid::SyntaxError, 'Invalid syntax for graphql tag'
37
37
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformosCheck
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: platformos-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Bliszczyk
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2023-09-15 00:00:00.000000000 Z
13
+ date: 2023-09-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: graphql