wco_email 0.1.1.65 → 0.1.1.67

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: 8f1bba276e599e860b51cc4fad99157e27b12559317b1724a343253da2a324d2
4
- data.tar.gz: 1afae0dec1bada6b63e1d60731346ee59b95bf6f8879a5d2b3b3b1759af68a66
3
+ metadata.gz: 2e9d0992b1efa5fb847eead2fac04d003d5ae0c9f490c8e2cd2ab1d3930381bc
4
+ data.tar.gz: 2fff9353f6d728e57e684e05932acf84eb6bb47f8d64cbc925ca5412d48b1d05
5
5
  SHA512:
6
- metadata.gz: 4e0cc2b4582118dbf63c386213027ce366acdd2f89dc28d95acf3914be075706ec5e8c4e42e5d27fbb5b27766aae93a7bd6655ffc57331174e24e31574c49cdb
7
- data.tar.gz: 9b77844e9c3aa78078cdf55be1e39e71e8e44b24fca28dae52e258c35f17ab5a083e4e13fad754e4379b2288ef005cbec61ed98457af381ac42e9b2710186dc8
6
+ metadata.gz: 8a8e596aa3abe76f2893614a99a5017798248c076a78e6cbf96ed112ba11bebcb15f5e8915aab7bf2b2710661eaa9f3313162911e3ff1e72bae198886e92ae1d
7
+ data.tar.gz: e29d2c0e6371e4904e7c9cf083fdb32a281cfa5b72a94fcd81d23b5d36adaa7094903fff322e432361cd8ef3357996b9edc9af10606677d31813caa54183542e
@@ -46,7 +46,9 @@ class WcoEmail::ContextsController < WcoEmail::ApplicationController
46
46
 
47
47
  def index
48
48
  authorize! :index, WcoEmail::Context
49
- @ctxs = WcoEmail::Context.all.order_by( sent_at: :desc, send_at: :desc
49
+ @ctxs = WcoEmail::Context.where(
50
+ :send_at.ne => nil, sent_at: nil
51
+ ).order_by( sent_at: :desc, send_at: :desc
50
52
  ).page( params[:ctxs_page]
51
53
  ).per( current_profile.per_page )
52
54
 
@@ -17,6 +17,10 @@
17
17
  .field
18
18
  = f.label :preview_str
19
19
  = f.text_field :preview_str
20
+ .field
21
+ %label mangle_subject
22
+ = f.check_box :mangle_subject
23
+
20
24
  -# .field
21
25
  -# = f.label :can_unsubscribe
22
26
  -# = f.check_box :can_unsubscribe
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.65
4
+ version: 0.1.1.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev