mrml 1.4.2-x64-mingw32 → 1.4.3-x64-mingw32

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: ca7bac6aa6e35d204ae01b0a16ffec905db5f0cc3bf25147a9367831d74108e2
4
- data.tar.gz: 0bbc9ef6334f8fa2c61e78c7bcffe02193d54c23989de3ae28708c07b5f2a1cf
3
+ metadata.gz: dd8991502b89eadc4e0049e8f9766288f3e5322321dd1b19d27612ae0632d53d
4
+ data.tar.gz: 11b1f7e37345f204bc2f4f4a63078dc29f1e681c2a7c4361664fdf93421a6dc3
5
5
  SHA512:
6
- metadata.gz: 2bbe85fc25e495b9fc736ca591789ba3f8cdd7f66db21be4ff75043d19e4df17c0badeb18bd90e6a815970aa15c1a9d53e51006f1ea0d5e93e4369b3d56c6bcb
7
- data.tar.gz: 4eecd6536af780eb91c080464dcd20b2573909fbf367bac2acbf334ccbe4644fe333e4c2e5eadbd244596c90cdae424af9550a696136e0853d719f9a3c55123b
6
+ metadata.gz: c9d93ab4d0fa611892234b246cda78f374be30f2bd3d5aadb24a949225bdc2e6b736de033cabfe13f56b4bb557855e531106e8305b467bc282d14e53bc094bed
7
+ data.tar.gz: 16ee09452ab9d24b843551a6c6327b51fa5ce606f33023d51759374eaeaff49d5a8e913bf20c99f6cac88fcdbca233e55b7393db1b17e9f62ee18738b92355a5
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MRML Ruby
2
2
 
3
- Ruby wrapper for [MRML](https://github.com/jdrouet/mrml), the [MJML](https://mjml.io) markup language implementation in Rust. Rust must be available on your system to install this gem.
3
+ Ruby wrapper for [MRML](https://github.com/jdrouet/mrml), the [MJML](https://mjml.io) markup language implementation in Rust. Rust must be available on your system to install this gem if you use a version below [v1.4.2](https://github.com/hardpixel/mrml-ruby/releases/tag/v1.4.2).
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/mrml.svg)](https://badge.fury.io/rb/mrml)
6
6
  [![Build](https://github.com/hardpixel/mrml-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/hardpixel/mrml-ruby/actions/workflows/build.yml)
@@ -105,6 +105,33 @@ template.to_json # Render as json
105
105
  template.to_hash # Render as hash
106
106
  ```
107
107
 
108
+ ## Benchmark
109
+
110
+ ```
111
+ Warming up --------------------------------------
112
+ mrml 3.069k i/100ms
113
+ mjml 1.000 i/100ms
114
+ Calculating -------------------------------------
115
+ mrml 32.537k (±16.1%) i/s - 156.519k in 5.029759s
116
+ mjml 1.895 (± 0.0%) i/s - 10.000 in 5.283579s
117
+
118
+ Comparison:
119
+ mrml: 32537.2 i/s
120
+ mjml: 1.9 i/s - 17169.16x slower
121
+
122
+ Calculating -------------------------------------
123
+ mrml 3.166k memsize ( 0.000 retained)
124
+ 2.000 objects ( 0.000 retained)
125
+ 1.000 strings ( 0.000 retained)
126
+ mjml 21.253k memsize ( 1.490k retained)
127
+ 107.000 objects ( 15.000 retained)
128
+ 20.000 strings ( 11.000 retained)
129
+
130
+ Comparison:
131
+ mrml: 3166 allocated
132
+ mjml: 21253 allocated - 6.71x more
133
+ ```
134
+
108
135
  ## Development
109
136
 
110
137
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
Binary file
Binary file
data/lib/mrml/3.0/mrml.so CHANGED
Binary file
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.4.2'
4
+ VERSION = '1.4.3'
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.4.2
4
+ version: 1.4.3
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Jonian Guveli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-18 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -63,6 +63,8 @@ files:
63
63
  - LICENSE.txt
64
64
  - README.md
65
65
  - lib/mrml.rb
66
+ - lib/mrml/2.6/mrml.so
67
+ - lib/mrml/2.7/mrml.so
66
68
  - lib/mrml/3.0/mrml.so
67
69
  - lib/mrml/error.rb
68
70
  - lib/mrml/template.rb
@@ -79,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
81
  requirements:
80
82
  - - ">="
81
83
  - !ruby/object:Gem::Version
82
- version: '3.0'
84
+ version: '2.6'
83
85
  - - "<"
84
86
  - !ruby/object:Gem::Version
85
87
  version: 3.1.dev