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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8e211351738e9776949770eaa452a59d79a5dec4d0f5cdae208493fb82b91ae
4
- data.tar.gz: e269c9045877cbbe82c9652315750f46219ee5e159cfa611ea33f64b24fb21d1
3
+ metadata.gz: 2a81b630405189dcd5e564ef24c30d356fd242e6222b139de898c02e82437f4c
4
+ data.tar.gz: 42bf1f705dfc728974777a6ffb1f0cdd717a0c72dd9f3e74c1c70fc2d8e00379
5
5
  SHA512:
6
- metadata.gz: d37a045344c52e3a2a01c183d7734ac8e6516a9d73eb43b7e57b910d6af24fed91b4c7823622d3879f56bba02280fc43231f67be8de499b864cc48dd850066b8
7
- data.tar.gz: fb060d0d76e6cd14a2200ee325a44e7f15471b349cc9c9520fc400ac302642ae36d2e64fff631e6d3bdfb3b3b705f0cae66462208ceba53c16232d0feca05d9b
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.4.0"
56
+ version = "1.6.1"
57
57
  source = "registry+https://github.com/rust-lang/crates.io-index"
58
- checksum = "fa2e27ae6ab525c3d369ded447057bca5438d86dc3a68f6faafb8269ba82ebf3"
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.8"
67
+ version = "0.2.9"
68
68
  source = "registry+https://github.com/rust-lang/crates.io-index"
69
- checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
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.0"
78
+ version = "0.3.1"
79
79
  source = "registry+https://github.com/rust-lang/crates.io-index"
80
- checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
80
+ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
81
81
 
82
82
  [[package]]
83
83
  name = "itoa"
84
- version = "1.0.5"
84
+ version = "1.0.6"
85
85
  source = "registry+https://github.com/rust-lang/crates.io-index"
86
- checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440"
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.138"
102
+ version = "0.2.141"
103
103
  source = "registry+https://github.com/rust-lang/crates.io-index"
104
- checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8"
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.4.3"
118
+ version = "0.5.3"
119
119
  source = "registry+https://github.com/rust-lang/crates.io-index"
120
- checksum = "c7d904f55da4e2b0ac7f133257af80580ff4ca17bcca67f51ea06be46aa634ac"
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.2.0"
129
+ version = "0.4.1"
130
130
  source = "registry+https://github.com/rust-lang/crates.io-index"
131
- checksum = "acc8ba6908cb0f67a4e75cb48fc81a1f0e6a6dd1501936e0c9e2c7c8f9f18e05"
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.10",
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.10"
162
+ version = "1.2.11"
163
163
  source = "registry+https://github.com/rust-lang/crates.io-index"
164
- checksum = "b2fd038a54a4b1d0c40c4cea5a1dfc6841ab4824b88f221d197e95a62efc2afc"
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.1"
174
+ version = "7.1.3"
175
175
  source = "registry+https://github.com/rust-lang/crates.io-index"
176
- checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
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.48"
196
+ version = "1.0.56"
197
197
  source = "registry+https://github.com/rust-lang/crates.io-index"
198
- checksum = "e9d89e5dba24725ae5678020bf8f1357a9aa7ff10736b551adbcd3f8d17d766f"
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.22"
205
+ version = "1.0.26"
206
206
  source = "registry+https://github.com/rust-lang/crates.io-index"
207
- checksum = "556d0f47a940e895261e77dc200d5eadfc6ef644c179c6f5edfc105e3a2292c8"
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.52"
244
+ version = "0.9.71"
245
245
  source = "registry+https://github.com/rust-lang/crates.io-index"
246
- checksum = "02fffdb0162fc4cc1b6509b2d9b32a75f7e7ed392f58bde639e0c33b23e74b97"
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.52"
253
+ version = "0.9.71"
254
254
  source = "registry+https://github.com/rust-lang/crates.io-index"
255
- checksum = "85d1a236755f879fc155d16d9ba4cd3b1975fd52ef6a28113702ae3881b73c03"
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.1"
268
+ version = "0.1.2"
265
269
  source = "registry+https://github.com/rust-lang/crates.io-index"
266
- checksum = "74c38752410925faeb82c400c06ba2fd9ee6aa8f719dd33994c9e53f5242d25f"
270
+ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
267
271
 
268
272
  [[package]]
269
273
  name = "regex"
270
- version = "1.7.0"
274
+ version = "1.7.3"
271
275
  source = "registry+https://github.com/rust-lang/crates.io-index"
272
- checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a"
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.28"
285
+ version = "0.6.29"
282
286
  source = "registry+https://github.com/rust-lang/crates.io-index"
283
- checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848"
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.12"
297
+ version = "1.0.13"
294
298
  source = "registry+https://github.com/rust-lang/crates.io-index"
295
- checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde"
299
+ checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041"
296
300
 
297
301
  [[package]]
298
302
  name = "serde"
299
- version = "1.0.151"
303
+ version = "1.0.159"
300
304
  source = "registry+https://github.com/rust-lang/crates.io-index"
301
- checksum = "97fed41fc1a24994d044e6db6935e69511a1153b52c15eb42493b26fa87feba0"
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.151"
312
+ version = "1.0.159"
309
313
  source = "registry+https://github.com/rust-lang/crates.io-index"
310
- checksum = "255abe9a125a985c05190d687b320c12f9b1f0b99445e608c21ba0782c719ad8"
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.90"
323
+ version = "1.0.95"
320
324
  source = "registry+https://github.com/rust-lang/crates.io-index"
321
- checksum = "8778cc0b528968fe72abec38b5db5a20a70d148116cd9325d2bc5f5180ca3faf"
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.106"
346
+ version = "1.0.109"
343
347
  source = "registry+https://github.com/rust-lang/crates.io-index"
344
- checksum = "09ee3a69cd2c7e06684677e5629b3878b253af05e4714964204279c6bc02cf0b"
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.6"
368
+ version = "1.0.8"
354
369
  source = "registry+https://github.com/rust-lang/crates.io-index"
355
- checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc"
370
+ checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
356
371
 
357
372
  [[package]]
358
373
  name = "wasi"
data/ext/mrml/Cargo.toml CHANGED
@@ -6,7 +6,7 @@ edition = "2018"
6
6
 
7
7
  [dependencies]
8
8
  mrml = "1.2"
9
- magnus = "0.4"
9
+ magnus = "0.5"
10
10
 
11
11
  [dependencies.serde]
12
12
  version = "1.0"
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.3.0'
4
+ VERSION = '1.4.0'
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.3.0
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: 2022-12-18 00:00:00.000000000 Z
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.3.26
107
+ rubygems_version: 3.4.8
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Ruby wrapper for MRML Rust