mjml-rails 4.2.2 → 4.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +5 -0
- data/lib/mjml.rb +1 -1
- data/lib/mjml/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dac524ffb5e037b010261b15fac79520887dede3e3e1247e7c656ad82fef658a
|
4
|
+
data.tar.gz: cfe736a135609b4fdfba1e6ff43a31e603426d8415ba87912b6fd755249da80b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a615a1a6831a8ea7328007ce3f08332b31974814c937e26cc672a378a1e034a29a3b11fbd9ec3151377932d67399ee070688a7cb921a2466bf201c49309ad728
|
7
|
+
data.tar.gz: 6e5e25073a7e868b6ba44874b35f3d4daf00a59ce16fdeeb123956999244e8a6e6dde27e109c0f272eae78682581d3a07a6aa6e9448d245c63fa8ec5dda240e7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -74,7 +74,12 @@ If you're using ```:haml``` or any other Rails template language, create an init
|
|
74
74
|
# config/initializers/mjml.rb
|
75
75
|
Mjml.setup do |config|
|
76
76
|
config.template_language = :erb # :erb (default), :slim, :haml, or any other you are using
|
77
|
+
# Default is `false` (errors suppressed), set to `true` to enable error raising
|
78
|
+
# config.raise_render_exception = true
|
79
|
+
# config.mjml_binary_version_supported = "4."
|
77
80
|
end
|
81
|
+
# If you set a different MJML binary version, uncomment next line
|
82
|
+
# Mjml::BIN = Mjml.discover_mjml_bin
|
78
83
|
```
|
79
84
|
|
80
85
|
**Note:** If you’re using Haml/Slim layouts, please don’t put `<mjml>` in comments in your partial. Read more: [#34](https://github.com/sighmon/mjml-rails/issues/34).
|
data/lib/mjml.rb
CHANGED
@@ -9,7 +9,7 @@ module Mjml
|
|
9
9
|
|
10
10
|
@@template_language = :erb
|
11
11
|
@@raise_render_exception = false
|
12
|
-
@@mjml_binary_version_supported = "4.
|
12
|
+
@@mjml_binary_version_supported = "4."
|
13
13
|
@@mjml_binary_error_string = "Couldn't find the MJML #{Mjml.mjml_binary_version_supported} binary.. have you run $ npm install mjml?"
|
14
14
|
|
15
15
|
def self.check_version(bin)
|
data/lib/mjml/version.rb
CHANGED
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.2.
|
4
|
+
version: 4.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Loffler
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
2QfUTBQZBmdkzXtFEAAJQVPa0X6iKxer4Na0dbjQciqf+5FrNBrct94To8eEEgqJ
|
36
36
|
Yz5YuMu9yoVoBwOVkHs0NmbAKSv041eBwfQpzmm+reA=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2018-
|
38
|
+
date: 2018-10-11 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
|