wco_models 3.1.0.167 → 3.1.0.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39a1b5be41ae4ca454da67541e42674f6159bd51688022cc6646fee183d172b0
|
|
4
|
+
data.tar.gz: 1a9662e0814a685f277910c80fb48839f4fdb11f188fcfae0aa484d08f100920
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 432bff7bf6f0ad15331348e2580262c1b745452b3a68f6b1dbcfea1a86a3e5b35d609fe9ef2b7ce38a01cdadb6d11dbcbb1559599c0abc1b69b9127b7a5b53f5
|
|
7
|
+
data.tar.gz: cf3d4c3d3f3443b4ca2295c8344561c1127c4d3ad8cd52bb106a8159f946dd05dca8121b08ffc7dcdaafb2c9f908cd70af940af79cf4cc99f8c996141d181d36
|
|
@@ -77,7 +77,8 @@ class WcoEmail::ApplicationMailer < ActionMailer::Base
|
|
|
77
77
|
mail( from: @ctx.from_email,
|
|
78
78
|
to: @ctx.to_email,
|
|
79
79
|
cc: @ctx.cc,
|
|
80
|
-
|
|
80
|
+
## 2024-07-30 I'm no longer sending these to google.
|
|
81
|
+
# bcc: "poxlovibb1@gmail.com",
|
|
81
82
|
subject: rendered_subject,
|
|
82
83
|
body: rendered_str,
|
|
83
84
|
content_type: "text/html" )
|
|
@@ -221,11 +221,12 @@ class WcoEmail::MessageStub
|
|
|
221
221
|
if config['skip_notification']
|
|
222
222
|
;
|
|
223
223
|
else
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
224
|
+
## 2024-07-30 I'm no longer sending these to google.
|
|
225
|
+
# conv = WcoEmail::Conversation.find( conv.id )
|
|
226
|
+
# if conv.tags.include? Wco::Tag.inbox
|
|
227
|
+
# out = WcoEmail::ApplicationMailer.forwarder_notify( @message.id.to_s )
|
|
228
|
+
# Rails.env.production? ? out.deliver_later : out.deliver_now
|
|
229
|
+
# end
|
|
229
230
|
end
|
|
230
231
|
|
|
231
232
|
puts 'ok'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wco_models
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.0.
|
|
4
|
+
version: 3.1.0.168
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Victor Pudeyev
|
|
@@ -454,7 +454,6 @@ files:
|
|
|
454
454
|
- app/helpers/wco/application_helper.rb
|
|
455
455
|
- app/jobs/wco_hosting/certbot_job.rb
|
|
456
456
|
- app/mailers/wco_email/application_mailer.rb
|
|
457
|
-
- app/mailers/wco_email/application_mailer.rb-trash
|
|
458
457
|
- app/models/ability.rb
|
|
459
458
|
- app/models/ahoy/event.rb
|
|
460
459
|
- app/models/ahoy/visit.rb
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
## From: https://www.fileformat.info/info/unicode/char/a.htm
|
|
2
|
-
## From: https://stackoverflow.com/questions/7019034/utf-8-encoding-in-ruby-using-a-variable
|
|
3
|
-
## From: https://stackoverflow.com/questions/52654509/random-generate-a-valid-unicode-character-in-ruby
|
|
4
|
-
## latin
|
|
5
|
-
# n1 = 0x192
|
|
6
|
-
# n2 = 0x687
|
|
7
|
-
##
|
|
8
|
-
## weird punctuation
|
|
9
|
-
# n1 = 0x133
|
|
10
|
-
# n2 = 0x255
|
|
11
|
-
|
|
12
|
-
# random_utf8 = Enumerator.new do |yielder|
|
|
13
|
-
# loop do
|
|
14
|
-
# yielder << ( rand(n2-n1)+n1 ).chr('UTF-8')
|
|
15
|
-
# rescue RangeError
|
|
16
|
-
# end
|
|
17
|
-
# end
|
|
18
|
-
# rendered_subject = "#{rendered_subject} #{ random_utf8.next }#{ random_utf8.next }"
|