platformos-check 0.4.13 → 0.5.0
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 +4 -4
- data/CHANGELOG.md +11 -0
- data/CONTRIBUTING.md +20 -7
- data/RELEASING.md +1 -1
- data/TROUBLESHOOTING.md +2 -2
- data/data/platformos_liquid/documentation/filters.json +1 -1
- data/data/platformos_liquid/documentation/latest.json +1 -1
- data/lib/platformos_check/analyzer.rb +34 -38
- data/lib/platformos_check/app.rb +23 -14
- data/lib/platformos_check/app_file.rb +25 -4
- data/lib/platformos_check/asset_file.rb +1 -1
- data/lib/platformos_check/disabled_checks.rb +1 -1
- data/lib/platformos_check/file_system_storage.rb +1 -1
- data/lib/platformos_check/form_file.rb +1 -1
- data/lib/platformos_check/graphql_file.rb +1 -1
- data/lib/platformos_check/language_server/completion_context.rb +2 -0
- data/lib/platformos_check/language_server/variable_lookup_finder/tolerant_parser.rb +11 -35
- data/lib/platformos_check/layout_file.rb +1 -1
- data/lib/platformos_check/partial_file.rb +1 -1
- data/lib/platformos_check/tags/rollback.rb +8 -0
- data/lib/platformos_check/tags/transaction.rb +8 -0
- data/lib/platformos_check/tags.rb +20 -20
- data/lib/platformos_check/translation_file.rb +1 -1
- data/lib/platformos_check/version.rb +1 -1
- data/lib/platformos_check.rb +2 -13
- data/platformos-check.gemspec +1 -1
- metadata +7 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87750a9bb6317c1b7fb382de652f0bf597efe5ecc690075fd068aeacbd9b25d7
|
4
|
+
data.tar.gz: 2816b06fba3d839be067bcab08e6309ec08699af2b0a98f4bb916fb48b12f8af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da3fbb685fb3fcf1564cfea3f6a0f59e059b625c1c826631449f42cbd16083f618ad11bac47539423e8cd376829cd87c732083468a42778353aa57da093d54a8
|
7
|
+
data.tar.gz: 690398f5f7998a00401208f06c6429193b526dbacbb1bc36bb9766c7cb9ef95d82e13259e05282ba3d3d15e1f864ac333c565d492a2846b24d4473ed847c2390
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
v0.5.0 / 2025-08-20
|
2
|
+
==================
|
3
|
+
|
4
|
+
* Add support for {% transaction %} and {% rollback %} tags
|
5
|
+
* Upgrade Liquid dependency to the newest version to enhance compatiblity with platformOS runtime
|
6
|
+
|
7
|
+
v0.4.14 / 2024-10-11
|
8
|
+
==================
|
9
|
+
|
10
|
+
* Add support for module overwrite
|
11
|
+
|
1
12
|
v0.4.13 / 2024-10-07
|
2
13
|
==================
|
3
14
|
|
data/CONTRIBUTING.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Contributing to platformOS Check
|
2
2
|
|
3
|
+
We appreciate and welcome all contributions!
|
4
|
+
|
3
5
|
## Standards
|
4
6
|
|
5
7
|
* Checks should do one thing, and do it well.
|
@@ -9,13 +11,24 @@
|
|
9
11
|
* Be consistent. Write clean code that follows the [Ruby community standards](https://github.com/bbatsov/ruby-style-guide).
|
10
12
|
* Code should be generic and reusable.
|
11
13
|
|
12
|
-
## How to
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
## How to Contribute
|
15
|
+
|
16
|
+
Follow these steps to contribute to the project:
|
17
|
+
|
18
|
+
1. **Fork the Repository**: Start by forking the project repository to your GitHub account. Click here to fork: [platformos-check fork](https://github.com/Platform-OS/platformos-check/fork).
|
19
|
+
2. **Create a Feature Branch**: Create a branch for your new feature:
|
20
|
+
```bash
|
21
|
+
git checkout -b my-new-feature
|
22
|
+
```
|
23
|
+
3. **Commit Changes**: Commit your changes to your branch:
|
24
|
+
```bash
|
25
|
+
git commit -am 'Add some feature'
|
26
|
+
```
|
27
|
+
4. **Push to GitHub**: Push your changes to your GitHub repository:
|
28
|
+
```bash
|
29
|
+
git push origin my-new-feature
|
30
|
+
```
|
31
|
+
5. **Submit a Pull Request**: Go to the original project repository and submit a pull request from your feature branch.
|
19
32
|
|
20
33
|
## Run Language Server
|
21
34
|
|
data/RELEASING.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
## Releasing platformOS Check
|
2
2
|
|
3
|
-
Follow these steps to release a new version of
|
3
|
+
Follow these steps to release a new version of platformOS Check:
|
4
4
|
|
5
5
|
1. **Versioning**: Refer to the [Semantic Versioning page](http://semver.org) to determine the appropriate version number for the new release based on the changes made.
|
6
6
|
|
data/TROUBLESHOOTING.md
CHANGED
@@ -8,8 +8,8 @@ The following error can cause Language Server to crash:
|
|
8
8
|
|
9
9
|
**Error Message:**
|
10
10
|
```bash
|
11
|
-
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)
|
12
|
-
/Users/johndoe/.gem/ruby/3.1.2/gems/bundler-2.2.22/lib/bundler/spec_set.rb:91:in `block in materialize
|
11
|
+
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)` has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)` instead.
|
12
|
+
/Users/johndoe/.gem/ruby/3.1.2/gems/bundler-2.2.22/lib/bundler/spec_set.rb:91:in `block in materialize`: Could not find ruby-prof-0.18.0 in any of the sources (Bundler::GemNotFound)
|
13
13
|
```
|
14
14
|
|
15
15
|
**Solution:**
|