theme-check 1.10.0 → 1.10.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 542ffd23d66103c0ad13f740b9838c28ed1ef010faed69a9066a6301ed0e9692
4
- data.tar.gz: fdaa5345072521c1467ca5dc8c17d3460e5e299fbceed14b242bb27dc2001ca3
3
+ metadata.gz: 131d90a928b4130827c6e41ea99ccd852e650417e88baceb66910ff083cf3aaa
4
+ data.tar.gz: a754d8b221da85eea053ce6f7547c9cad5a3a1e5f7a41562d61922a1278abe5d
5
5
  SHA512:
6
- metadata.gz: 4c0897c7d37ada167a220691d892879884fa3ef82539fd9b649e4b8f9ab10d813907bb77420a471ff3545c192a7794378fcf19acdb16a9a866715c49d2a5f03a
7
- data.tar.gz: 5543d2dafa855b025a28a3dc83742896d90ad8eba4c3bcb4b2bbea41fbd9c89b1f3a2695354bc35c62af4e8ca460d68ac6d5b3f4fa47032b218fe31eb8b70015
6
+ metadata.gz: 8e2bc230eee811d2d0d8b62a09d11b3b88f2e54939f0c1aeda843d3f8d8455e34d0379aa89a9f388401d4ebb593a00abdfbb57357717fb9167bf7a73fb89943d
7
+ data.tar.gz: f901b9cd064ee47fa39a6b661524e2d4eafc52b6cda54aceabd4ff371c1d562cfb43967c666642b1ef4d1c1b72cb793ab3cf202bfaee2a5f80aedb1840335155
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ v1.10.1 / 2022-02-24
3
+ ====================
4
+
5
+ * Revert "Prevent bad render tags from passing theme-check ([#551](https://github.com/shopify/theme-check/issues/551))"
6
+
2
7
  v1.10.0 / 2022-02-24
3
8
  ====================
4
9
 
data/RELEASING.md CHANGED
@@ -73,11 +73,11 @@
73
73
 
74
74
  1. Release `theme-check` on RubyGems by following the steps in the previous section.
75
75
 
76
- 2. Update the `theme-check` version in [`shopify-cli`](https://github.com/shopify/shopify-cli)'s `Gemfile.lock` and `shopify-cli.gemspec` files.
76
+ 2. Update the `theme-check` version in [`shopify-cli`](https://github.com/shopify/shopify-cli)'s `shopify-cli.gemspec` file.
77
77
 
78
- Such as in [this PR.](https://github.com/Shopify/shopify-cli/pull/1357/files)
78
+ 3. Run `bundle update theme-check` and get an updated `Gemfile.lock`
79
79
 
80
- 3. Create a branch + a commit on the [`shopify-cli`](https://github.com/Shopify/shopify-cli) repository.
80
+ 4. Create a branch + a commit on the [`shopify-cli`](https://github.com/Shopify/shopify-cli) repository.
81
81
 
82
82
  ```bash
83
83
  VERSION=X.X.X
@@ -87,7 +87,7 @@
87
87
  git commit -m "Bump theme-check version to $VERSION"
88
88
  ```
89
89
 
90
- 4. Create a pull-request for those changes on the [`shopify-cli`](https://github.com/Shopify/shopify-cli) repository.
90
+ 5. Create a pull-request for those changes on the [`shopify-cli`](https://github.com/Shopify/shopify-cli) repository.
91
91
 
92
92
  ```bash
93
93
  # shortcut if you have `hub` installed
@@ -125,7 +125,7 @@ module ThemeCheck
125
125
  end
126
126
 
127
127
  class Render < Liquid::Tag
128
- SYNTAX = /((?:#{Liquid::QuotedString}|\A#{Liquid::VariableSegment})+)(\s+(with|#{Liquid::Render::FOR})\s+(#{Liquid::QuotedFragment}+))?(\s+(?:as)\s+(#{Liquid::VariableSegment}+))?/o
128
+ SYNTAX = /((?:#{Liquid::QuotedString}|#{Liquid::VariableSegment})+)(\s+(with|#{Liquid::Render::FOR})\s+(#{Liquid::QuotedFragment}+))?(\s+(?:as)\s+(#{Liquid::VariableSegment}+))?/o
129
129
 
130
130
  disable_tags "include"
131
131
 
@@ -134,7 +134,7 @@ module ThemeCheck
134
134
  def initialize(tag_name, markup, options)
135
135
  super
136
136
 
137
- raise Liquid::SyntaxError, options[:locale].t("errors.syntax.render") unless markup =~ SYNTAX
137
+ raise SyntaxError, options[:locale].t("errors.syntax.render") unless markup =~ SYNTAX
138
138
 
139
139
  template_name = Regexp.last_match(1)
140
140
  with_or_for = Regexp.last_match(3)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ThemeCheck
3
- VERSION = "1.10.0"
3
+ VERSION = "1.10.1"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theme-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc-André Cournoyer