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 +4 -4
- data/ext/mrml/Cargo.toml +1 -1
- data/ext/mrml/src/lib.rs +2 -2
- data/lib/mrml/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01334ba9f47b739e78bcb1daa9de24400f181558b1ac0e15a569662f8a71ad48
|
4
|
+
data.tar.gz: 2aa04826899dc147c0f8efaf308564e8dec1a8e11cbd2ef5f88506f23ee96656
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f18f508999321477fbe3e9c29775915babdc9c5b9cba70df054e3ebc3208f75fa90f825a811fa694435eba9dc645d42b8d4cdabb59d9added7dba8f029db1f9
|
7
|
+
data.tar.gz: 6e0770c557051eca157a9ab44491ee56a07e5c7d34d1e8c441ac4103930a18bf6c9dffb1b1ab0b036bca70ad64916be351b5398db986e3e256041f84b55f2f3a
|
data/ext/mrml/Cargo.toml
CHANGED
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::
|
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.
|
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