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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -2
  3. data/lib/mrml/rails/version.rb +1 -1
  4. metadata +19 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1632a410a125a1e953ea0259cf5719854ee3c2cbe6938ff0bb3782b0ee6084c6
4
- data.tar.gz: cd98b7f3cd6dd15c00a1502066813b6801fb2d2440f6c57ac451c37fdff23a9e
3
+ metadata.gz: da615a6e03a979325fe8065d70d78fd8556983acff76361ef055a7ea5ade1646
4
+ data.tar.gz: 117e8c09135a11b0090620a887aede0ef5987ab767885b8e9c7256270ab52936
5
5
  SHA512:
6
- metadata.gz: 04f323798202847e09a7df8b8b15187ada9858a8782ebcc31adc9882b44e8cceab6a3377edccd9f0a0798dcd6b3374a47bac60608c6db18873e83948181d4a7b
7
- data.tar.gz: 060f3f1324c456eb0640171104058967d3d4dd7957e74fa443417d1bb5f34b22c3d7c6c7fdce414d3c529eceeb3b02ac7246c72d790d167854c84fd63736a8ab
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 tag have the file extension `mjml` on the specific views.
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
- TODO
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
 
@@ -1,5 +1,5 @@
1
1
  module Mrml
2
2
  module Rails
3
- VERSION = "0.1.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
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.1.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: 2021-02-12 00:00:00.000000000 Z
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.0
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.2.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.4
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)