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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f46d4ca6c1de13841f8e8eff98015e9583426ec0dc63a9e5dbcfd08ed4784766
4
- data.tar.gz: 89cfd6b180e5f1ac024732e005130cd19d5979ec1c631b116dd38d909e2b6bc5
3
+ metadata.gz: dac524ffb5e037b010261b15fac79520887dede3e3e1247e7c656ad82fef658a
4
+ data.tar.gz: cfe736a135609b4fdfba1e6ff43a31e603426d8415ba87912b6fd755249da80b
5
5
  SHA512:
6
- metadata.gz: 243e4f04bcd06ff4c7003c57800b3bd3ff84bdf4077da2c0f6226a9f3c74e67b73ef7f2d31f8cce25d659347f77d3e242499b93034c251630a84f22e8db7f893
7
- data.tar.gz: 7444070ce04103fe0453a489565fa4a0ef76c184f03aa1524cdbee1469bb6c909939a99304536f51e31a279d7dbfd193f549c2cf7a2ef37c0e1787dd07e975b7
6
+ metadata.gz: a615a1a6831a8ea7328007ce3f08332b31974814c937e26cc672a378a1e034a29a3b11fbd9ec3151377932d67399ee070688a7cb921a2466bf201c49309ad728
7
+ data.tar.gz: 6e5e25073a7e868b6ba44874b35f3d4daf00a59ce16fdeeb123956999244e8a6e6dde27e109c0f272eae78682581d3a07a6aa6e9448d245c63fa8ec5dda240e7
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).
@@ -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.1."
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)
@@ -1,4 +1,4 @@
1
1
  module Mjml
2
2
  # Version number no longer matches MJML.io version
3
- VERSION = "4.2.2"
3
+ VERSION = "4.2.3"
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.2.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-09-01 00:00:00.000000000 Z
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