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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 316883348cb27631397d00ace0011e9c18cabc69612ac27bf0ae90797ec8ef93
4
- data.tar.gz: bf7a12130df63bbb007d4b3c447fdf7a7e2c2b6ccde31e95e0b918cf293a7b42
3
+ metadata.gz: 9704e37e1f94c5cc5286db822f33ea81a8ff5309ef7ea426424bde470fb4f1c4
4
+ data.tar.gz: 9f8ed1a90ec4dc2dd8f4157c207bc40f7e7ac3b464e465423d6eaa1dc9fa0627
5
5
  SHA512:
6
- metadata.gz: b3547e439585f90920e4e1a1b432e46fcd28fd6db7f8a2063f8efb88ba47c65c5f57f56466bd07b3673c37fd4905819587a66ada55dda32e4ec3cd2012e2cbc5
7
- data.tar.gz: d984da42ffe0cfd512deb3ad37b26ee56d128624c03de2b6dbd29ed3a7dd9cb56ac9d2fcff6c7246b3780828f66e6d85ad1cfe5c37df7222d5a00e8e86e7df77
6
+ metadata.gz: e8a062f6bcb79c328d2287b7caab4b606ee20df3e858b80444f3f9e1ee4d5ba531c50a2617aff25f02e8f57eeefcacb65c19947ee361285c8671f965c94ca951
7
+ data.tar.gz: 27b8664286c704173ad2e9cf3e36b6f3c386e8d000f964244141fa7d642272ab5a9802928bb43fa4e026d2f353f1cffd28ac09b05104dfc6ee262ff6bbf2c40f
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.1'
5
5
  end
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.5.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-04 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys