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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26556e1dd49cc422958adaf594ec55b6e23b2c22f2fb49c9adfad999a44c206d
4
- data.tar.gz: 1f38b14cd718ff41fb7cbdb8f945cb1608cb9f27cc5ef5121c28fadc6f1e1d1b
3
+ metadata.gz: 76094dd88c18760346576faf8e2f43e77fa292c833bb8902cb9865aba56371da
4
+ data.tar.gz: 40249dfbe47be586f8dc55af8d8d3cba6b7a2605e2e1064c1c1b84851f5568d9
5
5
  SHA512:
6
- metadata.gz: 8b5a5a536d2bd3af02c5cb50fdd91827f5e0dbdc887c82e8cc8e08bc556a4602af639284c546a8dd0756d1422a6ad0d275e164ca51ed7432e38ae1aa22a50d15
7
- data.tar.gz: 401b5f3c3f0a240738c1f069d26ca3bd73a3a4b9b92e09714290acf44ac8a2de4771400bbec423318440e55c8d03ba60d08ae8b3d4cc2e1b9cbe81c141d8246c
6
+ metadata.gz: 2298db57d113a3faa06be3e0626c63a489c0c2ca9ae525b8a69c51d4c5137d60805b3582ee12335e8f0d2bdc6e30fc08a6dcd442e70fa229ddaa9f8fde3a02da
7
+ data.tar.gz: 65fc675533679d6aeebf6b6437d004da18a1bde67c59051b4e0b3e6cc8e400bfb4b6bf49e808028e9ce9ae1aeefe6412617a26aa2d1b592dd9acbf71b1b06dd8
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.0
1
+ 2.5.5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.0
4
+
5
+ * [TT-5745] Update Liquid validate to be v4 compatible
6
+
3
7
  ## 0.6.1
4
8
 
5
9
  * [TT-5671] More fixes to sortable
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RailsCoreExtensions
2
- VERSION = '0.6.1'
2
+ VERSION = '0.7.0'
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.6.1
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-06-28 00:00:00.000000000 Z
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.3
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.