ish_models 0.0.33.286 → 0.0.33.287

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: 9858084eb2be19284f243aac721ab18d5796e734dd0ac5216a600199dde65b6e
4
- data.tar.gz: f48ad96c4cef14657a7688090cd7415ecee6c2130cb25694897268eb6680401c
3
+ metadata.gz: 83d872b9868c1bc820cbdcbadfde298a034010095e4f19910f1851d35cca00fd
4
+ data.tar.gz: e1fc95e4a71e17c4486389a83ffcf6b1fada942f9e9a71a488f4842c157878b6
5
5
  SHA512:
6
- metadata.gz: dc070cf944df807e0c43167ba5083f1d6269778f4fa6a5dfe784467f7e671dfdceb3fc05c3536389332f16fb3be0935bf725b8f60b7311ba3b17c701ac5f266b
7
- data.tar.gz: bb0a82434672c5aad1c941e13d5a9e6c4d118c76008d8433929bdf9636cdd8482d5e24cb34b78d180fd5bd4efe933fc2f5fd5a62cf4a53606084c178970ded66
6
+ metadata.gz: 2a44c1b86067b6b62b9d77c0a94f71d60f3264d7549c8e1b848f17e48bef01d0c415871c95886aa0de3b806eca787669c4a87608734f141875591da6d068dc1a
7
+ data.tar.gz: 960ee95e22f7e124d643d566a4b2052f547f02cefeb67e8c1b7f2a69c2d9f07bc75aaa52a722e276803e87e3a2548ba04868e40b7c9ab7f42ddc272d45e2043d
@@ -75,7 +75,10 @@ class ::Ish::EmailContext
75
75
  field :lead_id, type: :integer
76
76
  def lead; Lead.find( lead_id ); end
77
77
  def to_email; lead[:email]; end ## @TODO: remove, just use the lead. _vp_ 2023-03-27
78
-
78
+ # ## no `to` field b/c that's the lead
79
+ # field :tos, type: :array, default: []
80
+ field :cc, type: :string
81
+ field :ccs, type: :array, default: []
79
82
 
80
83
  ##
81
84
  ## For tracking / utm
@@ -29,6 +29,7 @@ class ::Ish::EmailTemplate
29
29
  field :config_exe, default: "" ## unused! _vp_ 2023-09-24
30
30
  field :config_json, type: Object, default: '{}'
31
31
 
32
+ DEFAULT_FROM_EMAIL = 'Victor Pudeyev <victor@wasya.co>'
32
33
  FROM_EMAILS = [
33
34
  'Annesque Studio <hello@annesque.studio>',
34
35
  'Annesque Studio <no-reply@annesque.studio>',
@@ -45,30 +46,30 @@ class ::Ish::EmailTemplate
45
46
  'Oquaney Splicing <hello@oquaney-splicing.com>',
46
47
  'Oquaney Splicing <no-reply@oquaney-splicing.com>',
47
48
 
48
- 'Victor Piousbox <piousbox@gmail.com>',
49
- 'Victor Piousbox <victor@piousbox.com>',
50
- 'Victor Piousbox <no-reply@piousbox.com>',
49
+ 'Victor Pudeyev <piousbox@gmail.com>',
50
+ 'Victor Pudeyev <victor@piousbox.com>',
51
+ 'Victor Pudeyev <no-reply@piousbox.com>',
51
52
  'Victor Pudeyev <victor@pudeyev.com>',
52
53
 
53
- 'Sender Sbs <hello@sender.sbs>',
54
- 'Sender Sbs <no-reply@sender.sbs>',
54
+ 'Sender SBS <hello@sender.sbs>',
55
+ 'Sender SBS <no-reply@sender.sbs>',
55
56
 
56
57
  'WasyaCo Consulting <admin@wasya.co>',
57
- 'Alex <alex@wasya.co>',
58
- 'Bailey <bailey@wasya.co>',
59
- 'Cameron <cameron@wasya.co>',
58
+ 'Alex WCo <alex@wasya.co>',
59
+ 'Bailey WCo <bailey@wasya.co>',
60
+ 'Cameron WCo <cameron@wasya.co>',
60
61
  'WasyaCo Consulting <hello@wasya.co>',
61
- 'Jess <jess@wasya.co>',
62
+ 'Jess WCo <jess@wasya.co>',
62
63
  'WasyaCo Consulting <no-reply@wasya.co>',
63
- 'Victor Piousbox <victor@wasya.co>',
64
+ 'Victor Pudeyev <victor@wasya.co>',
64
65
 
65
66
  'WasyaCo Consulting <admin@wasyaco.com>',
66
- 'Alex <alex@wasyaco.com>',
67
- 'Bailey <bailey@wasyaco.com>',
68
- 'Cameron <cameron@wasyaco.com>',
67
+ 'Alex WCo <alex@wasyaco.com>',
68
+ 'Bailey WCo <bailey@wasyaco.com>',
69
+ 'Cameron WCo <cameron@wasyaco.com>',
69
70
  'WasyaCo Consulting <hello@wasyaco.com>',
70
71
  'WasyaCo Consulting <no-reply@wasyaco.com>',
71
- 'Victor <victor@wasyaco.com>',
72
+ 'Victor Pudeyev <victor@wasyaco.com>',
72
73
 
73
74
  'Wasya Co Mailer <no-reply@wco.com.de>',
74
75
  'Wasya Co Mailer <wasyacomailer@gmail.com>',
@@ -78,6 +79,15 @@ class ::Ish::EmailTemplate
78
79
  [ [nil, nil] ] + FROM_EMAILS.map { |i| [i, i] }
79
80
  end
80
81
 
82
+ SIGNATURE = <<~AOL
83
+ <div>
84
+ <div><br></div>
85
+ <div>Regards,</div>
86
+ <div>-=----- &gt;8 --</div>
87
+ <div>Victor Pudeyev<br>Director of Engineering<br><a href="mailto:victor@piousbox.com" target="_blank">victor@piousbox.com</a> | <a href="https://tidycal.com/wasya-co/30min" target="_blank">Book a chat</a><br></div>
88
+ </div><hr /><br /><br /><br />
89
+ AOL
90
+
81
91
  ## 2023-03-04 _vp_ This works!
82
92
  def get_binding
83
93
  @lead = Lead.where( email: 'stub@wasya.co' ).first
@@ -53,6 +53,7 @@ class Office::EmailConversation
53
53
  wp_term_id: tag.id,
54
54
  }).first&.delete
55
55
  end
56
+ ## @deprecated, do not use. _vp_ 2023-10-29
56
57
  def rmtag which; remove_tag which; end
57
58
 
58
59
  def in_emailtag? which
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.286
4
+ version: 0.0.33.287
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox