mjml-rails 4.3.2 → 4.6.0

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: 835831f3f46a19ac9adccc6315e14b4406471b33248bbb8706c179af1b2d95ec
4
- data.tar.gz: 69eea1e58bea9682d785121777842198347bf15b147c3c2b42cac793c14943e3
3
+ metadata.gz: e001eb3b8f9abfa49b6fbf3e0e10d655fdeb38e68da79f55b348977f4a7082b8
4
+ data.tar.gz: 7d78f4466486513af5d364c7ca3e5146724a6e9fc785b26cdf66ae5c626138fb
5
5
  SHA512:
6
- metadata.gz: f42b61228d444e1fedf443f0fcec60ca546c3020216aca7419d75b2f2660e18b08e189516e8015f75435d30c7200fe93245a95e770fba8ea8a87870fe1b872b5
7
- data.tar.gz: 9bf3caefaf4d1eeb23e82aca83bdb8a77fcf3f6bb3759c99ea38f9ec4779de69111353def1afbfda518ba0b38f53477bd28bc7da806a4ac5aabe766d1e73e81d
6
+ metadata.gz: 534c1c2975ff87a7e5bfed79bcbf19ec0d00ca16cf4a871faac3c9c89a348452aed2afb6197629598f473fd84943d67b64581a75139ca7e608ebcf4878004615
7
+ data.tar.gz: 6b58532184a1d750fc2d4ae76508a52a3b86578b82fa501a6c4a01c7e9f03856fa2ac48522b0744536e573468233e7f6f54e6a8bd234dff6b58f58e02879ebd5
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MJML-Rails
2
2
 
3
- [![Build Status](https://api.travis-ci.org/sighmon/mjml-rails.svg?branch=master)](http://travis-ci.org/sighmon/mjml-rails) [![Gem Version](https://badge.fury.io/rb/mjml-rails.svg)](https://badge.fury.io/rb/mjml-rails)
3
+ [![Build Status](https://github.com/sighmon/mjml-rails/workflows/test/badge.svg?branch=master)](https://github.com/sighmon/mjml-rails/actions?query=workflow%3Atest+branch%3Amaster) [![Gem Version](https://badge.fury.io/rb/mjml-rails.svg)](https://badge.fury.io/rb/mjml-rails)
4
4
 
5
5
  **MJML-Rails** allows you to render HTML e-mails from an [MJML](https://mjml.io) template.
6
6
 
@@ -66,13 +66,19 @@ Run the following command to install it:
66
66
  bundle install
67
67
  ```
68
68
 
69
- Install the MJML parser (optional -g to install it globally):
69
+ Add the MJML parser to your project with your favourite package manager:
70
70
 
71
71
  ```console
72
- npm install -g mjml
72
+ # with npm
73
+ npm install mjml
74
+
75
+ # with yarn
76
+ yarn add mjml
73
77
  ```
74
78
 
75
- Note that you'll need at least Node.js version 6 for MJML to function properly.
79
+ MJML-Rails falls back to a global installation of MJML but it is strongly recommended to add MJML directly to your project.
80
+
81
+ You'll need at least Node.js version 6 for MJML to function properly.
76
82
 
77
83
  If you're using ```:haml``` or any other Rails template language, create an initializer to set it up:
78
84
 
@@ -89,29 +95,40 @@ If there are configurations you'd like change:
89
95
  - render errors: defaults to `true` (errors raised)
90
96
  - minify: defaults to `false` (not minified)
91
97
  - beautify: defaults to `true` (beautified)
98
+ - validation_level: defaults to `strict` (abort on any template error, see [MJML validation documentation](https://github.com/mjmlio/mjml/tree/master/packages/mjml-validator#validating-mjml) for possible values)
92
99
 
93
100
  ```ruby
101
+ # config/initializers/mjml.rb
94
102
  Mjml.setup do |config|
95
- # set to `false` to ignore errors silently
96
- config.raise_render_exception = true
103
+ # ignore errors silently
104
+ config.raise_render_exception = false
97
105
 
98
106
  # optimize the size of your email
99
107
  config.beautify = false
100
108
  config.minify = true
109
+
110
+ # render illformed MJML templates, not recommended
111
+ config.validation_level = "soft"
101
112
  end
102
113
  ```
103
114
 
104
- If you’d like to specify a different MJML binary to run other than `4.`:
115
+ You can optionally provide a custom MJML binary if MJML-Rails cannot find it:
105
116
 
106
117
  ```ruby
118
+ # config/initializers/mjml.rb
107
119
  Mjml.setup do |config|
108
- config.mjml_binary_version_supported = "3.3.5"
120
+ config.mjml_binary = "/path/to/custom/mjml"
109
121
  end
110
- # If you set a different MJML binary version, you need to re-discover the binary
111
- Mjml::BIN = Mjml.discover_mjml_bin
112
122
  ```
113
123
 
114
- **Note:** If you set a different MJML binary you’ll see warnings in your logs of `already initialized constant Mjml::BIN`. Read more: [#39](https://github.com/sighmon/mjml-rails/issues/39#issuecomment-429151908)
124
+ If you’d like to specify a different MJML version, set it like this:
125
+
126
+ ```ruby
127
+ # config/initializers/mjml.rb
128
+ Mjml.setup do |config|
129
+ config.mjml_binary_version_supported = "3.3.5"
130
+ end
131
+ ```
115
132
 
116
133
  ### MJML v3.x & v4.x support
117
134
 
@@ -1 +1 @@
1
- require "mjml"
1
+ require "mjml"
@@ -7,7 +7,17 @@ require "rubygems"
7
7
  require "open3"
8
8
 
9
9
  module Mjml
10
- mattr_accessor :template_language, :raise_render_exception, :mjml_binary_version_supported, :mjml_binary_error_string, :beautify, :minify
10
+ mattr_accessor \
11
+ :beautify,
12
+ :minify,
13
+ :mjml_binary,
14
+ :mjml_binary_error_string,
15
+ :mjml_binary_version_supported,
16
+ :raise_render_exception,
17
+ :template_language,
18
+ :validation_level
19
+
20
+ mattr_writer :valid_mjml_binary
11
21
 
12
22
  @@template_language = :erb
13
23
  @@raise_render_exception = true
@@ -15,40 +25,79 @@ module Mjml
15
25
  @@mjml_binary_error_string = "Couldn't find the MJML #{Mjml.mjml_binary_version_supported} binary.. have you run $ npm install mjml?"
16
26
  @@beautify = true
17
27
  @@minify = false
28
+ @@validation_level = "strict"
18
29
 
19
30
  def self.check_version(bin)
20
- IO.popen([bin, '--version']) { |io| io.read.include?("mjml-core: #{Mjml.mjml_binary_version_supported}") }
21
- rescue
31
+ stdout, _, status = run_mjml('--version', mjml_bin: bin)
32
+ status.success? && stdout.include?("mjml-core: #{Mjml.mjml_binary_version_supported}")
33
+ rescue StandardError
22
34
  false
23
35
  end
24
36
 
25
- def self.discover_mjml_bin
26
- # Check for a global install of MJML binary
27
- mjml_bin = 'mjml'
28
- return mjml_bin if check_version(mjml_bin)
37
+ def self.run_mjml(args, mjml_bin: valid_mjml_binary)
38
+ Open3.capture3("#{mjml_bin} #{args}")
39
+ end
29
40
 
30
- # Check for a local install of MJML binary
31
- installer_path = bin_path_from('npm') || bin_path_from('yarn')
32
- unless installer_path
33
- puts Mjml.mjml_binary_error_string
34
- return nil
41
+ def self.valid_mjml_binary
42
+ @@valid_mjml_binary ||=
43
+ check_for_custom_mjml_binary ||
44
+ check_for_yarn_mjml_binary ||
45
+ check_for_npm_mjml_binary ||
46
+ check_for_global_mjml_binary
47
+
48
+ return @@valid_mjml_binary if @@valid_mjml_binary
49
+
50
+ puts Mjml.mjml_binary_error_string
51
+ end
52
+
53
+ def self.check_for_custom_mjml_binary
54
+ if const_defined?('BIN') && Mjml::BIN.present?
55
+ logger.warn('Setting `Mjml::BIN` is deprecated and will be removed in a future version! Please use `Mjml.mjml_binary=` instead.')
56
+ self.mjml_binary = Mjml::BIN
57
+ remove_const 'BIN'
35
58
  end
36
59
 
60
+ return unless mjml_binary.present?
61
+
62
+ return mjml_binary if check_version(mjml_binary)
63
+
64
+ raise "MJML.mjml_binary is set to '#{mjml_binary}' but MJML-Rails could not validate that it is a valid MJML binary. Please check your configuration."
65
+ end
66
+
67
+ def self.check_for_yarn_mjml_binary
68
+ yarn_bin = `which yarn`.chomp
69
+ return unless yarn_bin.present?
70
+
71
+ mjml_bin = "#{yarn_bin} run mjml"
72
+ return mjml_bin if check_version(mjml_bin)
73
+ end
74
+
75
+ def self.check_for_npm_mjml_binary
76
+ npm_bin = `which npm`.chomp
77
+ return unless npm_bin.present? && (installer_path = bin_path_from(npm_bin)).present?
78
+
37
79
  mjml_bin = File.join(installer_path, 'mjml')
38
80
  return mjml_bin if check_version(mjml_bin)
81
+ end
39
82
 
40
- puts Mjml.mjml_binary_error_string
41
- nil
83
+ def self.check_for_global_mjml_binary
84
+ mjml_bin = `which mjml`.chomp
85
+ return mjml_bin if mjml_bin.present? && check_version(mjml_bin)
42
86
  end
43
87
 
44
88
  def self.bin_path_from(package_manager)
45
- _, stdout, _, _ = Open3.popen3("#{package_manager} bin")
46
- stdout.read.chomp
89
+ stdout, _, status = Open3.capture3("#{package_manager} bin")
90
+
91
+ return unless status.success?
92
+
93
+ stdout.chomp
47
94
  rescue Errno::ENOENT # package manager is not installed
48
95
  nil
49
96
  end
50
97
 
51
- BIN = discover_mjml_bin
98
+ def self.discover_mjml_bin
99
+ logger.warn('`Mjml.discover_mjml_bin` is deprecated and has no effect anymore! Please use `Mjml.mjml_binary=` to set a custom MJML binary.')
100
+ end
52
101
 
53
102
  class Handler
54
103
  def template_handler
@@ -1,5 +1,3 @@
1
- require 'open3'
2
-
3
1
  module Mjml
4
2
  class Parser
5
3
  class ParseError < StandardError; end
@@ -10,7 +8,7 @@ module Mjml
10
8
  #
11
9
  # @param input [String] The string to transform in html
12
10
  def initialize input
13
- raise Mjml.mjml_binary_error_string unless mjml_bin
11
+ raise Mjml.mjml_binary_error_string unless Mjml.valid_mjml_binary
14
12
  @input = input
15
13
  end
16
14
 
@@ -22,7 +20,7 @@ module Mjml
22
20
  file.write(input)
23
21
  file # return tempfile from block so #unlink works later
24
22
  end
25
- run(in_tmp_file.path, Mjml.beautify, Mjml.minify)
23
+ run(in_tmp_file.path, Mjml.beautify, Mjml.minify, Mjml.validation_level)
26
24
  rescue
27
25
  raise if Mjml.raise_render_exception
28
26
  ""
@@ -33,22 +31,14 @@ module Mjml
33
31
  # Exec mjml command
34
32
  #
35
33
  # @return [String] The result as string
36
- def run(in_tmp_file, beautify=true, minify=false)
34
+ def run(in_tmp_file, beautify=true, minify=false, validation_level="strict")
37
35
  Tempfile.create(["out", ".html"]) do |out_tmp_file|
38
- command = "#{mjml_bin} -r #{in_tmp_file} -o #{out_tmp_file.path} --config.beautify #{beautify} --config.minify #{minify}"
39
- _, _, stderr, _ = Open3.popen3(command)
40
- raise ParseError.new(stderr.read.chomp) unless stderr.eof?
36
+ command = "-r #{in_tmp_file} -o #{out_tmp_file.path} --config.beautify #{beautify} --config.minify #{minify} --config.validationLevel #{validation_level}"
37
+ _, stderr, status = Mjml.run_mjml(command)
38
+ raise ParseError.new(stderr.chomp) unless status.success?
39
+ Mjml.logger.warn(stderr.chomp) unless stderr.blank?
41
40
  out_tmp_file.read
42
41
  end
43
42
  end
44
-
45
- private
46
-
47
- # Get mjml bin path
48
- #
49
- # @return [String]
50
- def mjml_bin
51
- Mjml::BIN
52
- end
53
43
  end
54
44
  end
@@ -7,5 +7,10 @@ module Mjml
7
7
  ActionView::Template.register_template_handler :mjml, Mjml::Handler.new
8
8
  Mime::Type.register_alias "text/html", :mjml
9
9
  end
10
+
11
+ config.to_prepare do
12
+ # make sure we have a valid mjml binary
13
+ Mjml.valid_mjml_binary
14
+ end
10
15
  end
11
16
  end
@@ -1,4 +1,4 @@
1
1
  module Mjml
2
2
  # Version number no longer matches MJML.io version
3
- VERSION = "4.3.2"
3
+ VERSION = "4.6.0"
4
4
  end
@@ -13,6 +13,15 @@ class NotifierMailer < ActionMailer::Base
13
13
  format.html
14
14
  end
15
15
  end
16
+
17
+ def invalid_template(recipient)
18
+ @recipient = recipient
19
+
20
+ mail(to: @recipient, from: "app@example.com") do |format|
21
+ format.html
22
+ format.text
23
+ end
24
+ end
16
25
  end
17
26
 
18
27
  class NoLayoutMailer < ActionMailer::Base
@@ -58,6 +67,22 @@ class NotifierMailerTest < ActiveSupport::TestCase
58
67
  assert email.text_part.body.match(/We inform you about something/)
59
68
  assert email.text_part.body.match(%r{Please visit https://www.example.com})
60
69
  end
70
+
71
+ test "Invalid template raises error with validation level strict" do
72
+ with_settings(validation_level: 'strict') do
73
+ email = NotifierMailer.invalid_template("user@example.com")
74
+ assert_raise(ActionView::Template::Error) { email.html_part.body.to_s }
75
+ end
76
+ end
77
+
78
+ test "Invalid template gets compiled with validation level soft" do
79
+ with_settings(validation_level: 'soft') do
80
+ email = NotifierMailer.invalid_template("user@example.com")
81
+ assert email.text_part.body.match(/This is valid/)
82
+ assert email.html_part.body.match(/This is valid/)
83
+ refute email.html_part.body.match(/This is invalid/)
84
+ end
85
+ end
61
86
  end
62
87
 
63
88
  class NotifierMailerTest < ActiveSupport::TestCase
@@ -87,3 +112,44 @@ class NotifierMailerTest < ActiveSupport::TestCase
87
112
  refute email.body.match(/tracking-code-123/)
88
113
  end
89
114
  end
115
+
116
+ describe Mjml do
117
+ describe '#valid_mjml_binary' do
118
+ before do
119
+ Mjml.mjml_binary = nil
120
+ Mjml.valid_mjml_binary = nil
121
+ end
122
+
123
+ after do
124
+ Mjml.mjml_binary = nil
125
+ Mjml.valid_mjml_binary = nil
126
+ end
127
+
128
+ it 'can be set to a custom value with mjml_binary if version is correct' do
129
+ Mjml.mjml_binary = 'some custom value'
130
+ Mjml.stub :check_version, true do
131
+ expect(Mjml.valid_mjml_binary).must_equal 'some custom value'
132
+ end
133
+ end
134
+
135
+ it 'raises an error if mjml_binary is invalid' do
136
+ Mjml.mjml_binary = 'some custom value'
137
+ err = expect { Mjml.valid_mjml_binary }.must_raise(StandardError)
138
+ expect(err.message).must_match(/MJML\.mjml_binary is set to 'some custom value' but MJML-Rails could not validate that it is a valid MJML binary/)
139
+ end
140
+
141
+ it 'honors old Mjml::BIN way of setting custom binary' do
142
+ Mjml::BIN = 'set by old way'
143
+ err = expect { Mjml.valid_mjml_binary }.must_raise(StandardError)
144
+ expect(err.message).must_match(/MJML\.mjml_binary is set to 'set by old way' but MJML-Rails could not validate that it is a valid MJML binary/)
145
+ end
146
+
147
+ it 'ignores empty Mjml::BIN' do
148
+ Mjml::BIN = ''
149
+ Mjml.mjml_binary = 'set by mjml_binary'
150
+
151
+ err = expect { Mjml.valid_mjml_binary }.must_raise(StandardError)
152
+ expect(err.message).must_match(/MJML\.mjml_binary is set to 'set by mjml_binary' but MJML-Rails could not validate that it is a valid MJML binary/)
153
+ end
154
+ end
155
+ end
@@ -13,58 +13,52 @@ describe Mjml::Parser do
13
13
  parser.stubs(:run).raises(error)
14
14
  end
15
15
 
16
- describe 'when render exception raising is enabled' do
17
- before do
18
- Mjml.setup do |config|
19
- config.raise_render_exception = true
20
- end
21
- end
22
-
23
- it 'raises exception' do
24
- -> { parser.render }.must_raise(custom_error_class, error.message)
16
+ it 'raises exception with render exception enabled' do
17
+ with_settings(raise_render_exception: true) do
18
+ err = expect { parser.render }.must_raise(custom_error_class)
19
+ expect(err.message).must_equal error.message
25
20
  end
26
21
  end
27
22
 
28
- describe 'when render exception raising is disabled' do
29
- before do
30
- Mjml.setup do |config|
31
- config.raise_render_exception = false
32
- end
33
- end
34
-
35
- it 'returns empty string' do
36
- parser.render.must_equal ''
23
+ it 'returns empty string with exception raising disabled' do
24
+ with_settings(raise_render_exception: false) do
25
+ expect(parser.render).must_equal ''
37
26
  end
38
27
  end
39
28
  end
40
29
 
41
- describe 'can read beautify and minify configs' do
42
- it 'use defaults if no config is set' do
43
- expect(Mjml.beautify).equal?(true);
44
- expect(Mjml.minify).equal?(false);
30
+ describe 'can read beautify, minify, and validation_level configs' do
31
+ it 'uses defaults if no config is set' do
32
+ expect(Mjml.beautify).must_equal(true)
33
+ expect(Mjml.minify).must_equal(false)
34
+ expect(Mjml.validation_level).must_equal('strict')
45
35
  end
46
36
 
47
- it 'use setup config' do
37
+ it 'uses setup config' do
48
38
  Mjml.setup do |config|
49
39
  config.beautify = false
50
40
  config.minify = true
41
+ config.validation_level = 'soft'
51
42
  end
52
43
 
53
- expect(Mjml.beautify).equal?(false);
54
- expect(Mjml.minify).equal?(true);
44
+ expect(Mjml.beautify).must_equal(false)
45
+ expect(Mjml.minify).must_equal(true)
46
+ expect(Mjml.validation_level).must_equal('soft')
47
+
48
+ Mjml.setup do |config|
49
+ config.beautify = true
50
+ config.minify = false
51
+ config.validation_level = 'strict'
52
+ end
55
53
  end
56
54
  end
57
55
  end
58
56
 
59
57
  describe '#run' do
60
- describe 'when shell command is failed' do
61
- let(:error) { 'shell error' }
62
- let(:stderr) { mock('stderr', eof?: false, read: error) }
63
-
64
- before { Open3.stubs(popen3: [nil, nil, stderr, nil]) }
65
-
58
+ describe 'when shell command failed' do
66
59
  it 'raises exception' do
67
- -> { parser.run "/tmp/input_file.mjml" }.must_raise(Mjml::Parser::ParseError, error)
60
+ err = expect { parser.run "/tmp/non_existent_file.mjml" }.must_raise(Mjml::Parser::ParseError)
61
+ expect(err.message).must_include 'Command line error'
68
62
  end
69
63
  end
70
64
  end
@@ -25,3 +25,20 @@ I18n.enforce_available_locales = false
25
25
 
26
26
  ActionMailer::Base.delivery_method = :test
27
27
  ActionMailer::Base.perform_deliveries = true
28
+
29
+ def with_settings(settings)
30
+ original_settings =
31
+ settings.each_with_object({}) do |(key, _), agg|
32
+ agg[key] = Mjml.public_send(key)
33
+ end
34
+
35
+ settings.each do |key, value|
36
+ Mjml.public_send("#{key}=", value)
37
+ end
38
+
39
+ yield
40
+ ensure
41
+ original_settings.each do |key, value|
42
+ Mjml.public_send("#{key}=", value)
43
+ end
44
+ end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mjml-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.2
4
+ version: 4.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Loffler
8
8
  - Steven Pickles
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain:
12
12
  - |
13
13
  -----BEGIN CERTIFICATE-----
14
- MIIEPDCCAqSgAwIBAgIBATANBgkqhkiG9w0BAQsFADAkMSIwIAYDVQQDDBlzaWdo
15
- bW9uL0RDPXNpZ2htb24vREM9Y29tMB4XDTE5MDkwMzEwMjAzMFoXDTIwMDkwMjEw
16
- MjAzMFowJDEiMCAGA1UEAwwZc2lnaG1vbi9EQz1zaWdobW9uL0RDPWNvbTCCAaIw
17
- DQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALePOldN5EpBHYLzEl03frx6qnNL
18
- t7FR4L4E18C5nkYui//Qrk3PgIuOROzNYCn/DadpvfrJAXUD483+XZbwhwBKscx6
19
- GPdoYotiH3R5BLvhfPQGI5yz4Dr3W8g5Z3vgtbL+4NS3XCGs3DjdmkLNBIjYJ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MmYNrb+oOws9m8mghO4KDO53EQsfHtRcpsBxzwzV3
29
+ MLO4el5fMiAiv2PrULEWVyEoe3k65bEiSEQP7m7w02B02OGugXNzwbetG56gogFy
30
+ aJ4VJ95aiPEwDmGORLg7RmZcL/07ikDfb96ebPn3v2REYN2lWrqu4fT1MdTmA+hZ
31
+ vhfqJeSuWM5wNsWxA66SgbQe8BMHcsqV1CTG+Ir8FIAHzfa+c7CNke/28htRKYJV
32
+ 6+lk55Ueov5TjjgLTUvjdqbAEtyCZpgxe2e0o3xqKh5d5YjWVQ4mSNvBsqK7UXOx
33
+ MGsePVBV9lnSFEJkGB3iOvavQSVUvqybF+yk6DrJR9iZtKCvAqd96PjkcFoM19dG
34
+ 5ofv88TRZwXM9lWn4UKuekSSF1ElH3UBVDbH4zEHaOzrOvgfnZw3VteDigwfmmwF
35
+ lsAqKbu4nrHhtGhkwdYbflf2URJTUxXGptrnPYV7okmEg4rsykK3RAsZ6kMNdKmx
36
+ DcQ7RSt1TU5eck6c
37
37
  -----END CERTIFICATE-----
38
- date: 2020-01-11 00:00:00.000000000 Z
38
+ date: 2020-11-29 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description: Render MJML + ERb template views in Rails
41
41
  email: sighmon@sighmon.com
@@ -63,7 +63,7 @@ homepage: https://github.com/sighmon/mjml-rails
63
63
  licenses:
64
64
  - MIT
65
65
  metadata: {}
66
- post_install_message: "Don't forget to install MJML e.g. \n$ npm install -g mjml"
66
+ post_install_message: "Don't forget to install MJML e.g. \n$ npm install mjml"
67
67
  rdoc_options: []
68
68
  require_paths:
69
69
  - lib
@@ -78,8 +78,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
80
  requirements: []
81
- rubygems_version: 3.0.6
82
- signing_key:
81
+ rubygems_version: 3.1.4
82
+ signing_key:
83
83
  specification_version: 4
84
84
  summary: MJML + ERb templates
85
85
  test_files:
metadata.gz.sig CHANGED
Binary file