rails_core_extensions 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76094dd88c18760346576faf8e2f43e77fa292c833bb8902cb9865aba56371da
4
- data.tar.gz: 40249dfbe47be586f8dc55af8d8d3cba6b7a2605e2e1064c1c1b84851f5568d9
3
+ metadata.gz: 9face8b8b7a3830b5704638ce7618216cd98f9b87d15804835d3f572ec246ada
4
+ data.tar.gz: c3ed66a915f38851c526e21b913b043a6a580e0ce50c913e0c2ba848e49958c4
5
5
  SHA512:
6
- metadata.gz: 2298db57d113a3faa06be3e0626c63a489c0c2ca9ae525b8a69c51d4c5137d60805b3582ee12335e8f0d2bdc6e30fc08a6dcd442e70fa229ddaa9f8fde3a02da
7
- data.tar.gz: 65fc675533679d6aeebf6b6437d004da18a1bde67c59051b4e0b3e6cc8e400bfb4b6bf49e808028e9ce9ae1aeefe6412617a26aa2d1b592dd9acbf71b1b06dd8
6
+ metadata.gz: 73f69a1d40644f9617d8657562c0e44012808be341a374b086104b78ad502a852faf0fdd665d44596a430268ee099b8fe5f35835290d69515ce3557f600c51af
7
+ data.tar.gz: 06a5c4f0fb1dab19c84d1c436ca69f407ee279c45ad0a6917ed7c39a50e698a476ad484b21e4011a09c49d7f191ea9552325c23d129817840be65577e736cb39
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.1
4
+
5
+ * [TT-5745] Fix passing of symbol to liquid template parse
6
+
3
7
  ## 0.7.0
4
8
 
5
9
  * [TT-5745] Update Liquid validate to be v4 compatible
@@ -10,7 +10,7 @@ module RailsCoreExtensions
10
10
  field = field.to_sym
11
11
  before_validation do |record|
12
12
  begin
13
- Liquid::Template.parse(record.send(field), error_mode: strict)
13
+ Liquid::Template.parse(record.send(field), error_mode: :strict)
14
14
  rescue Liquid::SyntaxError => e
15
15
  record.errors.add(field, "Liquid Syntax Error: #{e}")
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module RailsCoreExtensions
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_core_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack