ish_models 3.1.0.12 → 3.1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wco/profile.rb +4 -0
- data/lib/wco/tag.rb +1 -0
- data/lib/wco_email/conversation.rb +11 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1aab599eebe7e7fcb66958056c67d337fc71feddc43f98f562fe28a796e29e69
|
4
|
+
data.tar.gz: 045e67c9ab3c47f4ec686655e02cad051e908b209081c0e88d6d0e59cb0a3309
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 372ba4f962dfdfaad225c65d2480442f88687b9dbcec47e140a3091fe3a10c3a0a6d0b075a0f7820f5ab13538ce981ddc1def307bb52009121118d3c38227e40
|
7
|
+
data.tar.gz: b00cc88b5c384d4fc683d59529bc3363c0e340387d27407af96162e8f0c53d0de780d250154e3ebaa4d99d6d73dd7d5115d632b93b684c909e240d6b633d37a8
|
data/lib/wco/profile.rb
CHANGED
data/lib/wco/tag.rb
CHANGED
@@ -27,23 +27,22 @@ class WcoEmail::Conversation
|
|
27
27
|
# email_conversation_leads.map( &:lead_id )
|
28
28
|
# end
|
29
29
|
# field :lead_ids, type: :array, default: []
|
30
|
-
def leads
|
31
|
-
|
32
|
-
end
|
30
|
+
# def leads
|
31
|
+
# Lead.find( lead_ties.map( &:lead_id ) )
|
32
|
+
# end
|
33
33
|
|
34
34
|
# has_many :email_messages, class_name: 'Office::EmailMessage'
|
35
35
|
# has_many :email_conversation_tags, class_name: 'Office::EmailConversationTag'
|
36
36
|
|
37
|
-
|
37
|
+
has_and_belongs_to_many :tags, class_name: 'Wco::Tag'
|
38
38
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
end
|
39
|
+
# def self.in_tag tag
|
40
|
+
# case tag.class
|
41
|
+
# when String
|
42
|
+
# tag = Wco::Tag.find_by slug: tag
|
43
|
+
# end
|
44
|
+
# where( :tag_ids => tag.id )
|
45
|
+
# end
|
47
46
|
|
48
47
|
end
|
49
48
|
Conv = WcoEmail::Conversation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ish_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0.
|
4
|
+
version: 3.1.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mac_a2141
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|