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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: aee89bfc9879399e8fbcff81a53cbae2adc5224f
4
- data.tar.gz: 4f95b545f8c0c12637d34b985e7c8e31e31ad5b2
2
+ SHA256:
3
+ metadata.gz: 63a4f000e68ff47f2d2c68223b7abf2fa3502b4456dee9eb5209022d05edc37a
4
+ data.tar.gz: 5670fb8ab2dad9f7de06fc4c979b55c67baa1416472a9ac68b61637007e44d1c
5
5
  SHA512:
6
- metadata.gz: 3003858b22f22072c835e49c84cc9576f35442efc6a325dcd75a756723a058753ad353a74d6aa29c1363f35b0163db47c853747d2b4f5eb39816440f62df7efe
7
- data.tar.gz: b9afe74800afde5426f46073d3218d1baf0a236d2d9f941d5133c22ad4c265fc0fd7184604bafee67253a1bbbdf42dae631241f241c8931a71faaf3f5eabedf6
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
@@ -1,3 +1,3 @@
1
1
  module EffectiveEmailTemplates
2
- VERSION = '0.4.6'.freeze
2
+ VERSION = '0.5.0'.freeze
3
3
  end
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.6
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: 2018-03-06 00:00:00.000000000 Z
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
- rubyforge_project:
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/controllers/admin/email_templates_controller_spec.rb
207
- - spec/dummy/app/assets/javascripts/application.js
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/views/welcome/index.html.haml
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/bin/rake
221
- - spec/dummy/config/application.rb
222
- - spec/dummy/config/boot.rb
223
- - spec/dummy/config/database.yml
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/initializers/assets.rb
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/locales/devise.en.yml
239
- - spec/dummy/config/locales/en.yml
240
- - spec/dummy/config/routes.rb
241
- - spec/dummy/config/secrets.yml
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/db/migrate/20141126222940_devise_create_users.rb
244
- - spec/dummy/db/migrate/20141126222941_create_effective_email_templates.rb
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/favicon.ico
250
- - spec/dummy/Rakefile
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/sanity_spec.rb
261
- - spec/spec_helper.rb
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