ish_models 0.0.33.249 → 0.0.33.251

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: 6f47c52fd484b873fc0a064472c8294063d88905d59859bc67b07542892ec273
4
- data.tar.gz: 47cc32427afa876abc9303c9a575e8cdc97f4dd546e32221a9d880415fe04c61
3
+ metadata.gz: 97694f897a05630940ab25cfb2db45b30d5c00c3c32dd114ae5fed006ce7c588
4
+ data.tar.gz: 86722a0cd7ee353ead0282d2a39df5218aa3e2d56be73b0493e3ff4557d00ed5
5
5
  SHA512:
6
- metadata.gz: f9309759d86f3cdfedf2beb55829f3272d055afe637fa1ce5e55beedb6509a07b2a8f2faaf8679726f4fc4bdffbc5e4dfdce3488c68559a75b1d380d6551ab7a
7
- data.tar.gz: f264d1c628f3856cbbf605f1133f0d7802fa1662028d3915a0f850f73235132f422242a5ca24e06f52cba530bff660ca8d8ffe91ef9495301df975dd622ab672
6
+ metadata.gz: 169c1e3519c001582644484d24c33fb5fe7c46e7f7e526d36d0f38d9f2b8003277d334666507a1fc9b3079fd7da8fa4f82972276c9d26ea1f2ac3c2551d15838
7
+ data.tar.gz: 75df8f2672752b36797c7f2c10b2fcbea89855601b30ec2050ea6bf48896559995554cb0817f75e99d1a4712b1f9b9c9b7598d2b7efe8de28160ef5fb3a6abad
@@ -53,6 +53,7 @@ class ::Ish::EmailTemplate
53
53
  def self.blank_template
54
54
  out = Tmpl.find_or_create_by({ slug: SLUG_BLANK })
55
55
  end
56
+ def self.blank; self.blank_template; end
56
57
 
57
58
  end
58
59
  ::Tmpl = ::Ish::EmailTemplate
@@ -15,7 +15,8 @@ class Office::ScheduledEmailAction
15
15
 
16
16
  STATE_ACTIVE = 'active'
17
17
  STATE_INACTIVE = 'inactive'
18
- STATES = [ STATE_ACTIVE, STATE_INACTIVE ]
18
+ STATE_TRASH = 'trash'
19
+ STATES = [ STATE_ACTIVE, STATE_INACTIVE, STATE_TRASH ]
19
20
  field :state, type: :string
20
21
  scope :active, ->{ where( state: STATE_ACTIVE ) }
21
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.249
4
+ version: 0.0.33.251
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox