effective_email_templates 0.5.1 → 0.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: 2cef9ef57f3bc842cb86ab338ae4d43ec936c7741e840188989879d108051ff2
4
- data.tar.gz: d8875996f534e85e634571e5627416bd545dfa38bada3ef158df4da6c96eb5f0
3
+ metadata.gz: 17dd64ddb43dcb20daa443b2488ce74486da11b12ff72b5e28d3738a0661181f
4
+ data.tar.gz: 93ae90c7f48035307247965ce3416d3af0e2e68cb6fb29e08cbe6cef77b66d94
5
5
  SHA512:
6
- metadata.gz: 9ed5a81a0e2a8ee3b081ad57ba27e8535d50b9a37369b96ce26aac1dff4b6190e6dfa2fbb05754e59dbd1fe6b79b721d9dfd5af55603245460bc3f0477ac38b0
7
- data.tar.gz: afe612e4d1db10d7ba4a671668273c940ea3b0fe9eb4f47d2dff60386996b9255db7db1befa5edc0fb4bb7111b624ad471e465db50a0eb48394f878dfcafa54d
6
+ metadata.gz: dc9fdd275aadf55698de9ff1fce5343d7c4e46e15f5a99c014e0d9e9db3c43500354c6269f80e2ebc45311b1547410c736c3f50d9ee3d625b203f93b6e8edab5
7
+ data.tar.gz: 4ebe2e9c655a827a65f0bc1859f6f7b01298638af32f0dceb2abf06408c8d769262672b239a83a88a6b5277e735cdf8a1077dfffe26382fb45edde582022f6c4
@@ -1,22 +1,19 @@
1
- unless Gem::Version.new(EffectiveDatatables::VERSION) < Gem::Version.new('3.0')
2
- class EffectiveEmailTemplatesDatatable < Effective::Datatable
3
- datatable do
4
- order :subject, :asc
1
+ class EffectiveEmailTemplatesDatatable < Effective::Datatable
2
+ datatable do
3
+ order :subject, :asc
5
4
 
6
- col :id, visible: false
7
- col :slug
8
- col :subject
9
- col :from
10
- col :cc, visible: false, label: 'CC'
11
- col :bcc, visible: false, label: 'BCC'
12
- col :body, visible: false
5
+ col :id, visible: false
6
+ col :slug
7
+ col :subject
8
+ col :from
9
+ col :cc, visible: false, label: 'CC'
10
+ col :bcc, visible: false, label: 'BCC'
11
+ col :body, visible: false
13
12
 
14
- actions_col partial: '/admin/email_templates/actions', partial_as: 'email_template'
15
- end
13
+ actions_col partial: '/admin/email_templates/actions', partial_as: 'email_template'
14
+ end
16
15
 
17
- collection do
18
- Effective::EmailTemplate.all
19
- end
16
+ collection do
17
+ Effective::EmailTemplate.all
20
18
  end
21
19
  end
22
-
@@ -1,3 +1,3 @@
1
1
  module EffectiveEmailTemplates
2
- VERSION = '0.5.1'.freeze
2
+ VERSION = '0.6.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.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-17 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -103,7 +103,6 @@ files:
103
103
  - app/helpers/effective_email_templates_helper.rb
104
104
  - app/mailers/effective/email_template_mailer.rb
105
105
  - app/models/effective/access_denied.rb
106
- - app/models/effective/datatables/email_templates.rb
107
106
  - app/models/effective/email_template.rb
108
107
  - app/views/admin/email_templates/_actions.html.haml
109
108
  - app/views/admin/email_templates/_form.html.haml
@@ -182,7 +181,7 @@ homepage: https://github.com/code-and-effect/effective_email_templates
182
181
  licenses:
183
182
  - MIT
184
183
  metadata: {}
185
- post_install_message:
184
+ post_install_message:
186
185
  rdoc_options: []
187
186
  require_paths:
188
187
  - lib
@@ -197,8 +196,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
196
  - !ruby/object:Gem::Version
198
197
  version: '0'
199
198
  requirements: []
200
- rubygems_version: 3.0.3
201
- signing_key:
199
+ rubygems_version: 3.1.2
200
+ signing_key:
202
201
  specification_version: 4
203
202
  summary: Effective Email Templates provides an admin access to modify email templates
204
203
  test_files:
@@ -1,24 +0,0 @@
1
- if Gem::Version.new(EffectiveDatatables::VERSION) < Gem::Version.new('3.0')
2
- module Effective
3
- module Datatables
4
- class EmailTemplates < Effective::Datatable
5
- datatable do
6
- default_order :subject, :asc
7
-
8
- table_column :id, visible: false
9
- table_column :slug
10
- table_column :subject
11
- table_column :from
12
- table_column :cc, sortable: false, visible: false, label: 'CC'
13
- table_column :bcc, sortable: false, visible: false, label: 'BCC'
14
- table_column :body, sortable: false, visible: false
15
- table_column :actions, sortable: false, partial: '/admin/email_templates/actions'
16
- end
17
-
18
- def collection
19
- Effective::EmailTemplate.all
20
- end
21
- end
22
- end
23
- end
24
- end