mrml 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/ext/mrml/Cargo.lock +62 -47
- data/ext/mrml/Cargo.toml +1 -1
- data/lib/mrml/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a81b630405189dcd5e564ef24c30d356fd242e6222b139de898c02e82437f4c
|
4
|
+
data.tar.gz: 42bf1f705dfc728974777a6ffb1f0cdd717a0c72dd9f3e74c1c70fc2d8e00379
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b33057195163c41ce5b33f4abf9276773137e0a1587ad87c8f125dd27512f1fc733e9b3aa42e8a2ae122c6399a2655b28c797ed635b21fc7e89d2bb2a9057591
|
7
|
+
data.tar.gz: 626c4ee514162ee75a71612f34a2524d8f85ea6025111f945fc9f3f5bd535343bd59660709be07e382885e0325d535e238d59449e8a8984c9d9aa20a83f521ee
|
data/README.md
CHANGED
@@ -55,6 +55,7 @@ template.title # Get template title
|
|
55
55
|
template.preview # Get template preview
|
56
56
|
|
57
57
|
template.to_html # Render as html
|
58
|
+
template.to_mjml # Render as mjml
|
58
59
|
template.to_json # Render as json
|
59
60
|
template.to_hash # Render as hash
|
60
61
|
```
|
@@ -99,6 +100,7 @@ JSON
|
|
99
100
|
template = MRML::Template.from_json(json)
|
100
101
|
|
101
102
|
template.to_html # Render as html
|
103
|
+
template.to_mjml # Render as mjml
|
102
104
|
template.to_json # Render as json
|
103
105
|
template.to_hash # Render as hash
|
104
106
|
```
|
data/ext/mrml/Cargo.lock
CHANGED
@@ -53,9 +53,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
53
53
|
|
54
54
|
[[package]]
|
55
55
|
name = "clang-sys"
|
56
|
-
version = "1.
|
56
|
+
version = "1.6.1"
|
57
57
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
58
|
-
checksum = "
|
58
|
+
checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
|
59
59
|
dependencies = [
|
60
60
|
"glob",
|
61
61
|
"libc",
|
@@ -64,9 +64,9 @@ dependencies = [
|
|
64
64
|
|
65
65
|
[[package]]
|
66
66
|
name = "getrandom"
|
67
|
-
version = "0.2.
|
67
|
+
version = "0.2.9"
|
68
68
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
69
|
-
checksum = "
|
69
|
+
checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4"
|
70
70
|
dependencies = [
|
71
71
|
"cfg-if",
|
72
72
|
"libc",
|
@@ -75,15 +75,15 @@ dependencies = [
|
|
75
75
|
|
76
76
|
[[package]]
|
77
77
|
name = "glob"
|
78
|
-
version = "0.3.
|
78
|
+
version = "0.3.1"
|
79
79
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
80
|
-
checksum = "
|
80
|
+
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
81
81
|
|
82
82
|
[[package]]
|
83
83
|
name = "itoa"
|
84
|
-
version = "1.0.
|
84
|
+
version = "1.0.6"
|
85
85
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
86
|
-
checksum = "
|
86
|
+
checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"
|
87
87
|
|
88
88
|
[[package]]
|
89
89
|
name = "lazy_static"
|
@@ -99,9 +99,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
99
99
|
|
100
100
|
[[package]]
|
101
101
|
name = "libc"
|
102
|
-
version = "0.2.
|
102
|
+
version = "0.2.141"
|
103
103
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
104
|
-
checksum = "
|
104
|
+
checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5"
|
105
105
|
|
106
106
|
[[package]]
|
107
107
|
name = "libloading"
|
@@ -115,9 +115,9 @@ dependencies = [
|
|
115
115
|
|
116
116
|
[[package]]
|
117
117
|
name = "magnus"
|
118
|
-
version = "0.
|
118
|
+
version = "0.5.3"
|
119
119
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
120
|
-
checksum = "
|
120
|
+
checksum = "c8dc14463c2552e753ef562961f486ca76f17a857c121db40e9f3ade3f35ab81"
|
121
121
|
dependencies = [
|
122
122
|
"magnus-macros",
|
123
123
|
"rb-sys",
|
@@ -126,13 +126,13 @@ dependencies = [
|
|
126
126
|
|
127
127
|
[[package]]
|
128
128
|
name = "magnus-macros"
|
129
|
-
version = "0.
|
129
|
+
version = "0.4.1"
|
130
130
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
131
|
-
checksum = "
|
131
|
+
checksum = "6cc17af1d45442c011aa579d727ec6cff8a69aea8a6bbad26736e7112d749bfb"
|
132
132
|
dependencies = [
|
133
133
|
"proc-macro2",
|
134
134
|
"quote",
|
135
|
-
"syn",
|
135
|
+
"syn 1.0.109",
|
136
136
|
]
|
137
137
|
|
138
138
|
[[package]]
|
@@ -152,16 +152,16 @@ name = "mrml"
|
|
152
152
|
version = "0.1.0"
|
153
153
|
dependencies = [
|
154
154
|
"magnus",
|
155
|
-
"mrml 1.2.
|
155
|
+
"mrml 1.2.11",
|
156
156
|
"serde",
|
157
157
|
"serde_json",
|
158
158
|
]
|
159
159
|
|
160
160
|
[[package]]
|
161
161
|
name = "mrml"
|
162
|
-
version = "1.2.
|
162
|
+
version = "1.2.11"
|
163
163
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
164
|
-
checksum = "
|
164
|
+
checksum = "a21c524cad4503cd722fb13286c5199914f2786280733d947d623cbdcb5e6437"
|
165
165
|
dependencies = [
|
166
166
|
"rand",
|
167
167
|
"serde",
|
@@ -171,9 +171,9 @@ dependencies = [
|
|
171
171
|
|
172
172
|
[[package]]
|
173
173
|
name = "nom"
|
174
|
-
version = "7.1.
|
174
|
+
version = "7.1.3"
|
175
175
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
176
|
-
checksum = "
|
176
|
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
177
177
|
dependencies = [
|
178
178
|
"memchr",
|
179
179
|
"minimal-lexical",
|
@@ -193,18 +193,18 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
|
|
193
193
|
|
194
194
|
[[package]]
|
195
195
|
name = "proc-macro2"
|
196
|
-
version = "1.0.
|
196
|
+
version = "1.0.56"
|
197
197
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
198
|
-
checksum = "
|
198
|
+
checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435"
|
199
199
|
dependencies = [
|
200
200
|
"unicode-ident",
|
201
201
|
]
|
202
202
|
|
203
203
|
[[package]]
|
204
204
|
name = "quote"
|
205
|
-
version = "1.0.
|
205
|
+
version = "1.0.26"
|
206
206
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
207
|
-
checksum = "
|
207
|
+
checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc"
|
208
208
|
dependencies = [
|
209
209
|
"proc-macro2",
|
210
210
|
]
|
@@ -241,35 +241,39 @@ dependencies = [
|
|
241
241
|
|
242
242
|
[[package]]
|
243
243
|
name = "rb-sys"
|
244
|
-
version = "0.9.
|
244
|
+
version = "0.9.71"
|
245
245
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
246
|
-
checksum = "
|
246
|
+
checksum = "156bfedced1e236600bcaad538477097ff2ed5c6b474e411d15b791e1d24c0f1"
|
247
247
|
dependencies = [
|
248
248
|
"rb-sys-build",
|
249
249
|
]
|
250
250
|
|
251
251
|
[[package]]
|
252
252
|
name = "rb-sys-build"
|
253
|
-
version = "0.9.
|
253
|
+
version = "0.9.71"
|
254
254
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
255
|
-
checksum = "
|
255
|
+
checksum = "5cb2e4a32cbc290b543a74567072ad24b708aff7bb5dde5a68d5690379cd7938"
|
256
256
|
dependencies = [
|
257
257
|
"bindgen",
|
258
|
+
"lazy_static",
|
259
|
+
"proc-macro2",
|
260
|
+
"quote",
|
258
261
|
"regex",
|
259
262
|
"shell-words",
|
263
|
+
"syn 1.0.109",
|
260
264
|
]
|
261
265
|
|
262
266
|
[[package]]
|
263
267
|
name = "rb-sys-env"
|
264
|
-
version = "0.1.
|
268
|
+
version = "0.1.2"
|
265
269
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
266
|
-
checksum = "
|
270
|
+
checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
|
267
271
|
|
268
272
|
[[package]]
|
269
273
|
name = "regex"
|
270
|
-
version = "1.7.
|
274
|
+
version = "1.7.3"
|
271
275
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
272
|
-
checksum = "
|
276
|
+
checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d"
|
273
277
|
dependencies = [
|
274
278
|
"aho-corasick",
|
275
279
|
"memchr",
|
@@ -278,9 +282,9 @@ dependencies = [
|
|
278
282
|
|
279
283
|
[[package]]
|
280
284
|
name = "regex-syntax"
|
281
|
-
version = "0.6.
|
285
|
+
version = "0.6.29"
|
282
286
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
283
|
-
checksum = "
|
287
|
+
checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
|
284
288
|
|
285
289
|
[[package]]
|
286
290
|
name = "rustc-hash"
|
@@ -290,35 +294,35 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
290
294
|
|
291
295
|
[[package]]
|
292
296
|
name = "ryu"
|
293
|
-
version = "1.0.
|
297
|
+
version = "1.0.13"
|
294
298
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
295
|
-
checksum = "
|
299
|
+
checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041"
|
296
300
|
|
297
301
|
[[package]]
|
298
302
|
name = "serde"
|
299
|
-
version = "1.0.
|
303
|
+
version = "1.0.159"
|
300
304
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
301
|
-
checksum = "
|
305
|
+
checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065"
|
302
306
|
dependencies = [
|
303
307
|
"serde_derive",
|
304
308
|
]
|
305
309
|
|
306
310
|
[[package]]
|
307
311
|
name = "serde_derive"
|
308
|
-
version = "1.0.
|
312
|
+
version = "1.0.159"
|
309
313
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
310
|
-
checksum = "
|
314
|
+
checksum = "4c614d17805b093df4b147b51339e7e44bf05ef59fba1e45d83500bcfb4d8585"
|
311
315
|
dependencies = [
|
312
316
|
"proc-macro2",
|
313
317
|
"quote",
|
314
|
-
"syn",
|
318
|
+
"syn 2.0.13",
|
315
319
|
]
|
316
320
|
|
317
321
|
[[package]]
|
318
322
|
name = "serde_json"
|
319
|
-
version = "1.0.
|
323
|
+
version = "1.0.95"
|
320
324
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
321
|
-
checksum = "
|
325
|
+
checksum = "d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744"
|
322
326
|
dependencies = [
|
323
327
|
"itoa",
|
324
328
|
"ryu",
|
@@ -339,9 +343,20 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
|
|
339
343
|
|
340
344
|
[[package]]
|
341
345
|
name = "syn"
|
342
|
-
version = "1.0.
|
346
|
+
version = "1.0.109"
|
343
347
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
344
|
-
checksum = "
|
348
|
+
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
349
|
+
dependencies = [
|
350
|
+
"proc-macro2",
|
351
|
+
"quote",
|
352
|
+
"unicode-ident",
|
353
|
+
]
|
354
|
+
|
355
|
+
[[package]]
|
356
|
+
name = "syn"
|
357
|
+
version = "2.0.13"
|
358
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
359
|
+
checksum = "4c9da457c5285ac1f936ebd076af6dac17a61cfe7826f2076b4d015cf47bc8ec"
|
345
360
|
dependencies = [
|
346
361
|
"proc-macro2",
|
347
362
|
"quote",
|
@@ -350,9 +365,9 @@ dependencies = [
|
|
350
365
|
|
351
366
|
[[package]]
|
352
367
|
name = "unicode-ident"
|
353
|
-
version = "1.0.
|
368
|
+
version = "1.0.8"
|
354
369
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
355
|
-
checksum = "
|
370
|
+
checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
|
356
371
|
|
357
372
|
[[package]]
|
358
373
|
name = "wasi"
|
data/ext/mrml/Cargo.toml
CHANGED
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.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonian Guveli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rb_sys
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
|
-
rubygems_version: 3.
|
107
|
+
rubygems_version: 3.4.8
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: Ruby wrapper for MRML Rust
|