wco_models 3.1.0.178 → 3.1.0.181

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: cd2b0bba426cdeaa6a69ce9ebe2198b6a036249696e67203bb3b8ce15bd4b3c9
4
- data.tar.gz: 8079a2502dfff8e5b1852c34a8308ed5fd3a2575090f68ec94e342ba29483de7
3
+ metadata.gz: 59595c2abce2bfeaff4cc69368d64f93add10025724562a638b4c06150a3e085
4
+ data.tar.gz: f377c7dbea5ced668ac641ff0f4f22ec601b0359b769a02c0c7aeb1bf9581e3c
5
5
  SHA512:
6
- metadata.gz: a78a3109128d6e80800c3cfa8e05f9c49e166551a9547878a6b56a9ac89670c56fdcf9b835fbd6326c9bd332f8ef792158cfb54a6a934863048db2e58245e006
7
- data.tar.gz: cd46aec5fcff91a6f37b4c1e2b2d7643207fae90ce74324eb441030bbd46d3cf5c0586465e4a46b7b2c78d6d1e9acd0985783383240e4665e1223f2658b972d1
6
+ metadata.gz: 4b4a0d418fb4127bd7d0505270cadeb41798f9e07c38336ef761fc34b5f22e58f1ef9b9afe3006983bdbd8dc42f3cb728a57884588bbcb56257a869a2785998b
7
+ data.tar.gz: fb41b2c8dd328646a2e64c4c499745fe5916783d7cb0a6425f67a98467122594f2a3ccc2a884576429fb56e272dc32462d9cc2ee93b6c4b670bfdeb84cb03df0
@@ -65,12 +65,10 @@ class Wco::Leadset
65
65
  if self[:customer_id].blank?
66
66
  return nil if !email.present?
67
67
  existing = Stripe::Customer.search({ query: "email: '#{email}'" })
68
- # puts! existing, 'existing'
69
68
  if existing.data.present?
70
69
  update_attributes( customer_id: existing.data[0][:id] )
71
70
  else
72
71
  customer = Stripe::Customer.create({ email: email })
73
- # puts! customer, 'customer'
74
72
  update_attributes( customer_id: customer[:id] )
75
73
  end
76
74
  end
@@ -222,11 +222,12 @@ class WcoEmail::MessageStub
222
222
  ;
223
223
  else
224
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
225
+ ## 2024-11-03 restarted sending.
226
+ conv = WcoEmail::Conversation.find( conv.id )
227
+ if conv.tags.include? Wco::Tag.inbox
228
+ out = WcoEmail::ApplicationMailer.forwarder_notify( @message.id.to_s )
229
+ Rails.env.production? ? out.deliver_later : out.deliver_now
230
+ end
230
231
  end
231
232
 
232
233
  puts 'ok'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.178
4
+ version: 3.1.0.181
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-05 00:00:00.000000000 Z
11
+ date: 2024-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ahoy_matey