mrml-rails 0.1.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +18 -2
- data/lib/mrml/rails/version.rb +1 -1
- metadata +19 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da615a6e03a979325fe8065d70d78fd8556983acff76361ef055a7ea5ade1646
|
4
|
+
data.tar.gz: 117e8c09135a11b0090620a887aede0ef5987ab767885b8e9c7256270ab52936
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e99cbee5192e69ce27452d5481d072cc85c62cc0e2c4248f48dc045196cbb679c875d27b7c5c24a6f2e54d879df8dca6c20ef60ba9bb59363bce87266f14175e
|
7
|
+
data.tar.gz: 84c95a55841fa323b315251e5b50d5cd3ce1976e848d8a0e77172d17f5aac2330b7284bbc3853d2c0e0e02fc5450e991fd9d97da0d7fed831a001491f89c03b2
|
data/README.md
CHANGED
@@ -20,11 +20,27 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
All you need to do is
|
23
|
+
All you need to do is to have the file extension `mjml` on the specific views.
|
24
|
+
|
25
|
+
I.e.: `sign_up.html.mjml`, `sign_up.mjml`
|
24
26
|
|
25
27
|
## Development
|
26
28
|
|
27
|
-
|
29
|
+
1. Setup the tools with: `asdf install` (make sure you have the Ruby and Rust asdf plugins installed)
|
30
|
+
2. Run `bundle install`
|
31
|
+
3. For rspec run: `bundle exec rspec`
|
32
|
+
|
33
|
+
## Heroku Rust Setup
|
34
|
+
|
35
|
+
1. Add the rust buildpack to the app (and app.json): `https://buildpack-registry.s3.amazonaws.com/buildpacks/emk/rust.tgz`
|
36
|
+
2. Add a RustConfig with:
|
37
|
+
|
38
|
+
```
|
39
|
+
VERSION=1.57.0
|
40
|
+
RUST_SKIP_BUILD=1
|
41
|
+
```
|
42
|
+
|
43
|
+
3. Deploy
|
28
44
|
|
29
45
|
## Contributing
|
30
46
|
|
data/lib/mrml/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mrml-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joakim Nylén
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|
@@ -28,16 +28,22 @@ dependencies:
|
|
28
28
|
name: mrml
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.2
|
33
|
+
version: '0.2'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0.9'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0.2'
|
44
|
+
- - "<"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
46
|
+
version: '0.9'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: railties
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,22 +76,22 @@ dependencies:
|
|
70
76
|
name: rspec-rails
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '4.0'
|
76
79
|
- - ">="
|
77
80
|
- !ruby/object:Gem::Version
|
78
81
|
version: 4.0.2
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '5.0'
|
79
85
|
type: :development
|
80
86
|
prerelease: false
|
81
87
|
version_requirements: !ruby/object:Gem::Requirement
|
82
88
|
requirements:
|
83
|
-
- - "~>"
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '4.0'
|
86
89
|
- - ">="
|
87
90
|
- !ruby/object:Gem::Version
|
88
91
|
version: 4.0.2
|
92
|
+
- - "~>"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '5.0'
|
89
95
|
description: Rails Template Engine for MJML (Rust-variant called MRML)
|
90
96
|
email:
|
91
97
|
- hello@oddcamp.com
|
@@ -121,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
127
|
- !ruby/object:Gem::Version
|
122
128
|
version: '0'
|
123
129
|
requirements: []
|
124
|
-
rubygems_version: 3.1.
|
130
|
+
rubygems_version: 3.1.6
|
125
131
|
signing_key:
|
126
132
|
specification_version: 4
|
127
133
|
summary: Rails Template Engine for MJML (Rust-variant called MRML)
|