maily 2.0.1 → 2.0.2

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: f5d36fc2996857665c3ca2722d87efacccdd1a389e2ff2c96e00ce4f8a2d0de4
4
- data.tar.gz: e48248be9469c2f524434855a48ccbe11743631456b4659c941cc7c6cb4c2e68
3
+ metadata.gz: f56b187b737b69eebc37a1d71bd792c8dde6059ed71727e038e832b73f2ec18c
4
+ data.tar.gz: f5bfc85ebb1ed72c5f405a236e33ff62892e14815375f0ff1989b774a48ea90c
5
5
  SHA512:
6
- metadata.gz: eb0e6fac2533eaf67e2c946ca7a7a18faa8d3765114d33cc7ae82036c010812f8a5849f445da776047a07a9cdcf8359b84a0279bf77068b23e1b707a42a6d90e
7
- data.tar.gz: ad9bce77b87ed40340f2a3c491f17d722dab9d0922e11d34f0d1ebf94b5d2aca9218c7d8ba22bdea2ebf3e30f13f14a650049d1548b4f7b989efebf986d27966
6
+ metadata.gz: 618f0f112671a0c9355b25d4ef5d6912cf209e423b61ffdeb80372d15be28581864c3b041aaf1213d31de9405605596ab726ef84a55c29cfc8338deca2664bf2
7
+ data.tar.gz: fb8ec2d9c389f4516e726dcfb5c0488ea4db4eca2bc8d89526180f945d77c065783e5d81439d1546a8eb3744f1d7adec2351b3aff69c6440d0fe97025b830acf
data/CHANGELOG.md CHANGED
@@ -2,9 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [2.0.2]
6
+
7
+ - UI: Hide delivery form if `allow_delivery` is false (#54)
8
+
5
9
  ## [2.0.1]
6
10
 
7
- - Don't show empty mailer classes in sidebar (#51)
11
+ - UI: Don't show empty mailer classes in sidebar (#51)
8
12
 
9
13
  ## [2.0.0]
10
14
 
@@ -153,6 +157,7 @@ All notable changes to this project will be documented in this file.
153
157
 
154
158
  - First real usable release :tada:
155
159
 
160
+ [2.0.2]: https://github.com/markets/maily/compare/v2.0.1...v2.0.2
156
161
  [2.0.1]: https://github.com/markets/maily/compare/v2.0.0...v2.0.1
157
162
  [2.0.0]: https://github.com/markets/maily/compare/v1.0.0...v2.0.0
158
163
  [1.0.0]: https://github.com/markets/maily/compare/v0.12.3...v1.0.0
@@ -18,17 +18,19 @@
18
18
  <% end %>
19
19
  </li>
20
20
 
21
- <li class="splitter">|</li>
21
+ <% if Maily.allowed_action?(:deliver) %>
22
+ <li class="splitter">|</li>
22
23
 
23
- <li>
24
- <%= form_tag(deliver_maily_email_path(maily_params), method: :post, class: 'mail_deliver') do %>
25
- <ul>
26
- <li>Send to</li>
27
- <li><%= email_field_tag :to, nil, placeholder: "Enter email", required: true %></li>
28
- <li><%= submit_tag 'Send', class: 'button' %></li>
29
- </ul>
30
- <% end %>
31
- </li>
24
+ <li>
25
+ <%= form_tag(deliver_maily_email_path(maily_params), method: :post, class: 'mail_deliver') do %>
26
+ <ul>
27
+ <li>Send to</li>
28
+ <li><%= email_field_tag :to, nil, placeholder: "Enter email", required: true %></li>
29
+ <li><%= submit_tag 'Send', class: 'button' %></li>
30
+ </ul>
31
+ <% end %>
32
+ </li>
33
+ <% end %>
32
34
  </ul>
33
35
 
34
36
  <% if @maily_email.has_versions? %>
data/lib/maily/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Maily
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maily
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - markets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-17 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails