rails_core_extensions 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/lib/rails_core_extensions/active_record_liquid_extensions.rb +1 -1
- data/lib/rails_core_extensions/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76094dd88c18760346576faf8e2f43e77fa292c833bb8902cb9865aba56371da
|
4
|
+
data.tar.gz: 40249dfbe47be586f8dc55af8d8d3cba6b7a2605e2e1064c1c1b84851f5568d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2298db57d113a3faa06be3e0626c63a489c0c2ca9ae525b8a69c51d4c5137d60805b3582ee12335e8f0d2bdc6e30fc08a6dcd442e70fa229ddaa9f8fde3a02da
|
7
|
+
data.tar.gz: 65fc675533679d6aeebf6b6437d004da18a1bde67c59051b4e0b3e6cc8e400bfb4b6bf49e808028e9ce9ae1aeefe6412617a26aa2d1b592dd9acbf71b1b06dd8
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5.
|
1
|
+
2.5.5
|
data/CHANGELOG.md
CHANGED
@@ -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))
|
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
|
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.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Noack
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -286,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
286
286
|
version: '0'
|
287
287
|
requirements: []
|
288
288
|
rubyforge_project:
|
289
|
-
rubygems_version: 2.7.
|
289
|
+
rubygems_version: 2.7.6.2
|
290
290
|
signing_key:
|
291
291
|
specification_version: 4
|
292
292
|
summary: Set of extensions to core rails libraries.
|