mrml 1.5.1 → 1.6.1
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9704e37e1f94c5cc5286db822f33ea81a8ff5309ef7ea426424bde470fb4f1c4
|
4
|
+
data.tar.gz: 9f8ed1a90ec4dc2dd8f4157c207bc40f7e7ac3b464e465423d6eaa1dc9fa0627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8a062f6bcb79c328d2287b7caab4b606ee20df3e858b80444f3f9e1ee4d5ba531c50a2617aff25f02e8f57eeefcacb65c19947ee361285c8671f965c94ca951
|
7
|
+
data.tar.gz: 27b8664286c704173ad2e9cf3e36b6f3c386e8d000f964244141fa7d642272ab5a9802928bb43fa4e026d2f353f1cffd28ac09b05104dfc6ee262ff6bbf2c40f
|
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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mrml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonian Guveli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rb_sys
|