mrml 1.4.2-x64-mingw-ucrt → 1.5.0-x64-mingw-ucrt

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: eb48042e576db152509a417d91d0f21e4de1dc752dbdb54bedf8105a7fdef8d0
4
- data.tar.gz: 92a69b7483879b54a1dfd2c5a5a2147faaafb73662b121359f448a9aadc4728b
3
+ metadata.gz: d366350617a9593dcbed724a557ab928dc964934b3178dbfb0637e4b7f83619d
4
+ data.tar.gz: c7c9ed5e4740c5a47228a50d3dfefb9857c6a445a32dca8a53d12fae371a61c7
5
5
  SHA512:
6
- metadata.gz: 77fe66ef746ab41a92c165f2912e562e932ce66ad442a29b0ec649bae184ad2dff08752f87daa838248b0cd9a49671f1dffa998c0acaf3c4324b9468af305301
7
- data.tar.gz: b8eef603e439bb0f70322cc51d146c90a16683df43baa5cdb8b29d2f38534ec8f1598979357fa3f2b276ff1e47f05a45557efce2eecad42fed90fd7642bfb4f4
6
+ metadata.gz: 1e8296d4653991d61c2b830e350ad689969506122e2f8aad12b200063caca3657c19cc48d53a1d6078d44770e31dddae2fed662531fd55c8a04460efe35b2d69
7
+ data.tar.gz: 16deeb4d0aed42994748bc31deb0f7f037317875b4af93c3c02400b82fb87ba0b86e4aad3f79a4ee00f1d666175c622fcc6279c9a2fb0f259955c7bd45bb04fb
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.
data/lib/mrml/3.1/mrml.so CHANGED
Binary file
data/lib/mrml/3.2/mrml.so CHANGED
Binary file
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.5.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.4.2
4
+ version: 1.5.0
5
5
  platform: x64-mingw-ucrt
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-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -65,6 +65,7 @@ files:
65
65
  - lib/mrml.rb
66
66
  - lib/mrml/3.1/mrml.so
67
67
  - lib/mrml/3.2/mrml.so
68
+ - lib/mrml/3.3/mrml.so
68
69
  - lib/mrml/error.rb
69
70
  - lib/mrml/template.rb
70
71
  - lib/mrml/version.rb
@@ -83,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
84
  version: '3.1'
84
85
  - - "<"
85
86
  - !ruby/object:Gem::Version
86
- version: 3.3.dev
87
+ version: 3.4.dev
87
88
  required_rubygems_version: !ruby/object:Gem::Requirement
88
89
  requirements:
89
90
  - - ">="