ish_models 0.0.33.232 → 0.0.33.234

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: 7779f5792082964493be63e188d2d488abfed178cdecb64b1f0e288643b6af60
4
- data.tar.gz: 47b175252e94a3b59c947ebd09b363fc62178f37f29a837a3ed75d95a6233943
3
+ metadata.gz: c464ecbe4a61f85fa19d1c9ec66fd1dcb1ee0eaa9f6424134ceee290805365c5
4
+ data.tar.gz: 8297a2bd06cf105488be78d1d482df3f3006f3f0234459d6f412bceeb74b4b58
5
5
  SHA512:
6
- metadata.gz: 5dc4593e03760dea3a5ba96805ba7143c4c7fe6881a59b7e5498ebb1e1e3d00ddf09e6111d2103f703902bd38f7466710b1e24c8dbf7922cd5ff8c31c73332aa
7
- data.tar.gz: 0c289c198d33ac678dfdc2ea3b5a4ec1d9fefb2f79ac69d123a02577b4c9d6bce4221578b097714e5d3ffb4981d6f5a3f1e503e6acae13b06d54bcb827589093
6
+ metadata.gz: '098aa43e8985e69a1262511558387fdce8706ee2a436eef7e6333267784df53244b2afccedca4dddb824fc128378bb3135f29a6960a1315ed730b1b125bb6980'
7
+ data.tar.gz: b0cbd47c59442398d617c843bdcd855a18ce0cf5b2f85cfce0933d90da53505d688a0ba4b1fe1ec8abbe923fda834164053ca1bf4500f77376d1d7a25b54b5ac
@@ -7,6 +7,7 @@ class Office::EmailFilter
7
7
  include Mongoid::Timestamps
8
8
 
9
9
  field :from_regex
10
+ field :subject_regex
10
11
  field :body_regex
11
12
 
12
13
  KIND_SKIP_INBOX = 'skip-inbox'
@@ -91,7 +91,7 @@ class Office::EmailMessage
91
91
  def apply_filter filter
92
92
  case filter.kind
93
93
  when ::Office::EmailFilter::KIND_SKIP_INBOX
94
- self.remove_tag( WpTag::INBOX )
94
+ # self.remove_tag( WpTag::INBOX )
95
95
  self.conv.remove_tag( WpTag::INBOX )
96
96
  when ::Office::EmailFilter::KIND_AUTORESPOND
97
97
  Ish::EmailContext.create({
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.232
4
+ version: 0.0.33.234
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox