mjml-rails 4.4.1 → 4.4.2

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: c6b32baf83ab79233e1ad36b23d7e4656f56b18e1c43f8e3c9c3ad6ac2670699
4
- data.tar.gz: fba92c52f14fa3123b19e812a29c641ddbbe70be5976767ee34c602f6beaac90
3
+ metadata.gz: a8610d3313ee8297b7ac411aa8f23b8c99a85cf41940db1798529d91193fb37d
4
+ data.tar.gz: c5099915099d3aeb6e050bf44b3cb81b8fe759686a06b85d61a197e65b7b4dfb
5
5
  SHA512:
6
- metadata.gz: 8f2157b8498a9dcd3a4ae6d25b7e8caa77b17dc41e89aa69c0824efbaba675272a33df3a082d1db89d2d40da672a4587c040250ed135b481162904e9a3be3c59
7
- data.tar.gz: 996fb2afbabfb97a04d4c28a6d1c5acc1c29e728d2c3f03f48c2b04a4f8ebdbe5e0dc7101583b7eb2f43356844f319078da80d0f991945617888c3365678eb43
6
+ metadata.gz: 717f6819381d9f925ce597f05288cfc6f3c07417e353de40561de9ddffc6ac48331e4877ed775818b7b3dbd3836c27e2347bafcbcc9c0247b467565e944911ab
7
+ data.tar.gz: ec6662022e6ed5f5e8b6732d61fa766de5af32dd57fcd43c508576bcb7f594b1f413b17452532fa4e7ee94b46d1c90427bb90e3cff1425ae39c05d46c38f371e
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -36,8 +36,8 @@ module Mjml
36
36
  def run(in_tmp_file, beautify=true, minify=false, validation_level="soft")
37
37
  Tempfile.create(["out", ".html"]) do |out_tmp_file|
38
38
  command = "-r #{in_tmp_file} -o #{out_tmp_file.path} --config.beautify #{beautify} --config.minify #{minify} --config.validationLevel #{validation_level}"
39
- _, stderr, status = Mjml.run_mjml(command)
40
- raise ParseError.new(stderr.chomp) unless status.success?
39
+ _, stderr, _ = Mjml.run_mjml(command)
40
+ raise ParseError.new(stderr.chomp) unless stderr.blank?
41
41
  out_tmp_file.read
42
42
  end
43
43
  end
@@ -1,4 +1,4 @@
1
1
  module Mjml
2
2
  # Version number no longer matches MJML.io version
3
- VERSION = "4.4.1"
3
+ VERSION = "4.4.2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mjml-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.1
4
+ version: 4.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Loffler
@@ -35,7 +35,7 @@ cert_chain:
35
35
  lsAqKbu4nrHhtGhkwdYbflf2URJTUxXGptrnPYV7okmEg4rsykK3RAsZ6kMNdKmx
36
36
  DcQ7RSt1TU5eck6c
37
37
  -----END CERTIFICATE-----
38
- date: 2020-11-22 00:00:00.000000000 Z
38
+ date: 2020-11-27 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description: Render MJML + ERb template views in Rails
41
41
  email: sighmon@sighmon.com
metadata.gz.sig CHANGED
Binary file