wco_models 3.1.0.178 → 3.1.0.180

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: cd2b0bba426cdeaa6a69ce9ebe2198b6a036249696e67203bb3b8ce15bd4b3c9
4
- data.tar.gz: 8079a2502dfff8e5b1852c34a8308ed5fd3a2575090f68ec94e342ba29483de7
3
+ metadata.gz: f642a96393ef6d8ed2327d0daeb1b5c6efd7cd9bc3ac00aef677e9fbf09b2900
4
+ data.tar.gz: 14f4726456a2105bd475f9f27f49902624e056bc09c06d1d9be234efbf251621
5
5
  SHA512:
6
- metadata.gz: a78a3109128d6e80800c3cfa8e05f9c49e166551a9547878a6b56a9ac89670c56fdcf9b835fbd6326c9bd332f8ef792158cfb54a6a934863048db2e58245e006
7
- data.tar.gz: cd46aec5fcff91a6f37b4c1e2b2d7643207fae90ce74324eb441030bbd46d3cf5c0586465e4a46b7b2c78d6d1e9acd0985783383240e4665e1223f2658b972d1
6
+ metadata.gz: a3dbb0c24fa7dc107247cd56e224a73e3fde84b6c60e95a16ccbc70954bb8ec789192ea05168e064fc5b8e12738e8467ef0ae632df55ef7b666d314ba78c187e
7
+ data.tar.gz: cc147edd91dd938e98e8b860f79756e1d49963535b7b9dee3b0e040463733a9e0e4b20d9a3288e3e05d728d84cdf3007ed99d6d6b2bc336744de6dea715d0e4c
@@ -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.180
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