mrml 1.5.1 → 1.6.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: 316883348cb27631397d00ace0011e9c18cabc69612ac27bf0ae90797ec8ef93
4
- data.tar.gz: bf7a12130df63bbb007d4b3c447fdf7a7e2c2b6ccde31e95e0b918cf293a7b42
3
+ metadata.gz: 01334ba9f47b739e78bcb1daa9de24400f181558b1ac0e15a569662f8a71ad48
4
+ data.tar.gz: 2aa04826899dc147c0f8efaf308564e8dec1a8e11cbd2ef5f88506f23ee96656
5
5
  SHA512:
6
- metadata.gz: b3547e439585f90920e4e1a1b432e46fcd28fd6db7f8a2063f8efb88ba47c65c5f57f56466bd07b3673c37fd4905819587a66ada55dda32e4ec3cd2012e2cbc5
7
- data.tar.gz: d984da42ffe0cfd512deb3ad37b26ee56d128624c03de2b6dbd29ed3a7dd9cb56ac9d2fcff6c7246b3780828f66e6d85ad1cfe5c37df7222d5a00e8e86e7df77
6
+ metadata.gz: 5f18f508999321477fbe3e9c29775915babdc9c5b9cba70df054e3ebc3208f75fa90f825a811fa694435eba9dc645d42b8d4cdabb59d9added7dba8f029db1f9
7
+ data.tar.gz: 6e0770c557051eca157a9ab44491ee56a07e5c7d34d1e8c441ac4103930a18bf6c9dffb1b1ab0b036bca70ad64916be351b5398db986e3e256041f84b55f2f3a
data/ext/mrml/Cargo.toml CHANGED
@@ -5,7 +5,7 @@ authors = ["Jonian Guveli <jonian@hardpixel.eu>"]
5
5
  edition = "2018"
6
6
 
7
7
  [dependencies]
8
- mrml = "3.0"
8
+ mrml = "4.0"
9
9
  magnus = "0.5"
10
10
 
11
11
  [dependencies.serde]
data/ext/mrml/src/lib.rs CHANGED
@@ -5,7 +5,7 @@ use magnus::{
5
5
  };
6
6
 
7
7
  use mrml::mjml::Mjml;
8
- use mrml::prelude::print::Print;
8
+ use mrml::prelude::print::Printable;
9
9
  use mrml::prelude::render::RenderOptions;
10
10
 
11
11
  fn mrml_error() -> ExceptionClass {
@@ -51,7 +51,7 @@ impl Template {
51
51
  }
52
52
 
53
53
  fn to_mjml(&self) -> String {
54
- self.res.dense_print()
54
+ self.res.print_dense().unwrap()
55
55
  }
56
56
 
57
57
  fn to_json(&self) -> Result<String, Error> {
data/lib/mrml/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MRML
4
- VERSION = '1.5.1'
4
+ VERSION = '1.6.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mrml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonian Guveli