effective_email_templates 0.4.6 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -0
- data/lib/effective/liquid_mailer.rb +1 -1
- data/lib/effective_email_templates/version.rb +1 -1
- metadata +39 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 63a4f000e68ff47f2d2c68223b7abf2fa3502b4456dee9eb5209022d05edc37a
|
4
|
+
data.tar.gz: 5670fb8ab2dad9f7de06fc4c979b55c67baa1416472a9ac68b61637007e44d1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c109a9db6f079373966d1db3a734507c60fd8b89c5a454d80424f6359689b25d70fb4c3cdf0b9c26704299b14b2b04805c29210352fb6dca3dd2497a138f8c60
|
7
|
+
data.tar.gz: 39a391dde7f433df1b6426977bea55dd932d0ee2b96bfb092685a497ea80d4723e29d7d30b70ef54d2122c3099c37e20865525a98082b353949c985584de74f2
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
|
2
2
|
# Effective Email Templates
|
3
3
|
|
4
|
+
**This gem is no longer actively maintained**
|
5
|
+
|
4
6
|
Create email templates that an admin or any user can safely edit (you're protected from SQL injection and other nastiness).
|
5
7
|
Effective Email Templates relies on [Liquid templates](http://liquidmarkup.org/) built by Shopify to profide this safety.
|
6
8
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Effective
|
2
|
-
class LiquidMailer < ::ActionMailer::Base
|
2
|
+
class LiquidMailer < (defined?(::ApplicationMailer) ? ::ApplicationMailer : ::ActionMailer::Base)
|
3
3
|
def mail(headers = {}, &block)
|
4
4
|
# this be dangerous and requires ruby 2.0+
|
5
5
|
mail_method = caller_locations(1, 1)[0].label
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_email_templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -197,65 +197,64 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
- !ruby/object:Gem::Version
|
198
198
|
version: '0'
|
199
199
|
requirements: []
|
200
|
-
|
201
|
-
rubygems_version: 2.4.6
|
200
|
+
rubygems_version: 3.0.3
|
202
201
|
signing_key:
|
203
202
|
specification_version: 4
|
204
203
|
summary: Effective Email Templates provides an admin access to modify email templates
|
205
204
|
test_files:
|
206
|
-
- spec/
|
207
|
-
- spec/
|
208
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
209
|
-
- spec/dummy/app/controllers/application_controller.rb
|
210
|
-
- spec/dummy/app/controllers/welcome_controller.rb
|
211
|
-
- spec/dummy/app/helpers/application_helper.rb
|
212
|
-
- spec/dummy/app/mailers/liquid_resolved_mailer.rb
|
205
|
+
- spec/spec_helper.rb
|
206
|
+
- spec/sanity_spec.rb
|
213
207
|
- spec/dummy/app/mailers/user_liquid_mailer.rb
|
208
|
+
- spec/dummy/app/mailers/liquid_resolved_mailer.rb
|
214
209
|
- spec/dummy/app/models/user.rb
|
210
|
+
- spec/dummy/app/controllers/application_controller.rb
|
211
|
+
- spec/dummy/app/controllers/welcome_controller.rb
|
212
|
+
- spec/dummy/app/views/welcome/index.html.haml
|
215
213
|
- spec/dummy/app/views/layouts/application.html.erb
|
216
214
|
- spec/dummy/app/views/user_liquid/after_create_user.liquid
|
217
|
-
- spec/dummy/app/
|
215
|
+
- spec/dummy/app/assets/javascripts/application.js
|
216
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
217
|
+
- spec/dummy/app/helpers/application_helper.rb
|
218
|
+
- spec/dummy/bin/rake
|
218
219
|
- spec/dummy/bin/bundle
|
219
220
|
- spec/dummy/bin/rails
|
220
|
-
- spec/dummy/
|
221
|
-
- spec/dummy/config/
|
222
|
-
- spec/dummy/config/
|
223
|
-
- spec/dummy/config/
|
224
|
-
- spec/dummy/config/environment.rb
|
225
|
-
- spec/dummy/config/environments/development.rb
|
221
|
+
- spec/dummy/config/secrets.yml
|
222
|
+
- spec/dummy/config/routes.rb
|
223
|
+
- spec/dummy/config/locales/en.yml
|
224
|
+
- spec/dummy/config/locales/devise.en.yml
|
226
225
|
- spec/dummy/config/environments/production.rb
|
226
|
+
- spec/dummy/config/environments/development.rb
|
227
227
|
- spec/dummy/config/environments/test.rb
|
228
|
-
- spec/dummy/config/
|
228
|
+
- spec/dummy/config/environment.rb
|
229
|
+
- spec/dummy/config/application.rb
|
230
|
+
- spec/dummy/config/database.yml
|
231
|
+
- spec/dummy/config/boot.rb
|
229
232
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
230
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
231
|
-
- spec/dummy/config/initializers/devise.rb
|
232
|
-
- spec/dummy/config/initializers/effective_email_templates.rb
|
233
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
234
|
-
- spec/dummy/config/initializers/inflections.rb
|
235
233
|
- spec/dummy/config/initializers/mime_types.rb
|
234
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
236
235
|
- spec/dummy/config/initializers/session_store.rb
|
237
236
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
238
|
-
- spec/dummy/config/
|
239
|
-
- spec/dummy/config/
|
240
|
-
- spec/dummy/config/
|
241
|
-
- spec/dummy/config/
|
237
|
+
- spec/dummy/config/initializers/assets.rb
|
238
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
239
|
+
- spec/dummy/config/initializers/devise.rb
|
240
|
+
- spec/dummy/config/initializers/inflections.rb
|
241
|
+
- spec/dummy/config/initializers/effective_email_templates.rb
|
242
242
|
- spec/dummy/config.ru
|
243
|
-
- spec/dummy/
|
244
|
-
- spec/dummy/
|
245
|
-
- spec/dummy/db/schema.rb
|
246
|
-
- spec/dummy/public/404.html
|
243
|
+
- spec/dummy/Rakefile
|
244
|
+
- spec/dummy/public/favicon.ico
|
247
245
|
- spec/dummy/public/422.html
|
248
246
|
- spec/dummy/public/500.html
|
249
|
-
- spec/dummy/public/
|
250
|
-
- spec/dummy/
|
247
|
+
- spec/dummy/public/404.html
|
248
|
+
- spec/dummy/db/schema.rb
|
249
|
+
- spec/dummy/db/migrate/20141126222940_devise_create_users.rb
|
250
|
+
- spec/dummy/db/migrate/20141126222941_create_effective_email_templates.rb
|
251
251
|
- spec/dummy/README.rdoc
|
252
|
-
- spec/effective_email_templates_spec.rb
|
253
|
-
- spec/factories/email_template.rb
|
254
|
-
- spec/factories/user.rb
|
255
252
|
- spec/factory_spec.rb
|
256
|
-
- spec/lib/effective_email_templates/template_importer_spec.rb
|
257
253
|
- spec/mailers/liquid_resolved_mailer_spec.rb
|
258
254
|
- spec/models/email_template_spec.rb
|
259
255
|
- spec/models/user_spec.rb
|
260
|
-
- spec/
|
261
|
-
- spec/
|
256
|
+
- spec/factories/email_template.rb
|
257
|
+
- spec/factories/user.rb
|
258
|
+
- spec/lib/effective_email_templates/template_importer_spec.rb
|
259
|
+
- spec/effective_email_templates_spec.rb
|
260
|
+
- spec/controllers/admin/email_templates_controller_spec.rb
|