mrml 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -1
- data/Cargo.toml +1 -2
- data/README.md +6 -5
- data/Rakefile +1 -1
- data/lib/mrml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d24641d7935465df48cb84cf4ec54134e028ccc6939c5f5353d587cc08a83a1
|
4
|
+
data.tar.gz: fbdb527a1fb152b2f18965f9685c61e97f2c53b4004547016909f5b025b061d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24421c93616103cf85ec54ac19388928a72950722d379bb9c467f17dd2b320568772bab722b39d1c2dfd25e9eb73bda93442df4db083397a3e4dc132fc27f377
|
7
|
+
data.tar.gz: 9103f9892daffb15306ed66439a8948f2ff33ce702b67e6ca65cfd48fb85d7f005fd94ed5aeed5a46a7149813cd7d42062359931a669a6ab8ad6502b3202de18
|
data/.travis.yml
CHANGED
@@ -3,4 +3,11 @@ language: ruby
|
|
3
3
|
cache: bundler
|
4
4
|
rvm:
|
5
5
|
- 2.7.2
|
6
|
-
|
6
|
+
env:
|
7
|
+
global:
|
8
|
+
- RUST_VERSION=stable
|
9
|
+
before_install:
|
10
|
+
- if [ ! -e "$HOME/.cargo/bin" ]; then curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION -y; fi
|
11
|
+
- export PATH="$HOME/.cargo/bin:$PATH"
|
12
|
+
- rustup default $RUST_VERSION
|
13
|
+
- gem install bundler -v 2.1.4
|
data/Cargo.toml
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# MRML Ruby
|
2
2
|
|
3
|
-
Ruby wrapper for [MRML](https://github.com/jdrouet/mrml), the [MJML](https://mjml.io)
|
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.
|
4
|
+
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/mrml.svg)](https://badge.fury.io/rb/mrml)
|
6
|
+
[![Build Status](https://travis-ci.org/hardpixel/mrml-ruby.svg?branch=master)](https://travis-ci.org/hardpixel/mrml-ruby)
|
7
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/7e307214d3c2e4d2056d/maintainability)](https://codeclimate.com/github/hardpixel/mrml-ruby/maintainability)
|
4
8
|
|
5
9
|
## Installation
|
6
10
|
|
@@ -27,6 +31,7 @@ template = <<-HTML
|
|
27
31
|
<mjml>
|
28
32
|
<mj-head>
|
29
33
|
<mj-title>Newsletter Title</mj-title>
|
34
|
+
<mj-preview>Newsletter Preview</mj-preview>
|
30
35
|
</mj-head>
|
31
36
|
<mj-body>
|
32
37
|
<mj-section>
|
@@ -48,10 +53,6 @@ MRML.to_preview(template)
|
|
48
53
|
MRML.to_html(template)
|
49
54
|
```
|
50
55
|
|
51
|
-
## To Do
|
52
|
-
|
53
|
-
Add support for options.
|
54
|
-
|
55
56
|
## Development
|
56
57
|
|
57
58
|
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/Rakefile
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: 0.
|
4
|
+
version: 0.2.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: 2021-02-
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|