wco_email 0.1.1.83 → 0.1.1.84

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: 719582a97ebd0fd983baed326967e48df5c08662ab874f95ec29bb3c54f8e336
4
- data.tar.gz: 49e79e9b494639ebe800d3fc23913d0d3d8629972b7a5e5bffd1ef18400b1849
3
+ metadata.gz: 741b657ae1e021da4f12445c39770e107c6e4e488d27053747be5617acaec4af
4
+ data.tar.gz: c671954b1f3f866a58dc8a608a13405294d6c2d0ad4c86f8fd9253087ca7ece0
5
5
  SHA512:
6
- metadata.gz: ce5caa2b693a76232ba3da967722e32bbfbc7ec974365dc813d3e0bf3ce200cf4f55788c637fc3c702515f34fe0d72ef76a9528a86acc8d22375525e529f0676
7
- data.tar.gz: af953710ceb0829f19d0d2200ae33f717405ab997e082bf04b97ec503d026d0ee80a3f79ffe88d8721262e07e77360577c34a869b66ba7e0db96cc84c6a97bee
6
+ metadata.gz: 17595b7a50f4adb26c20830a1a385b8c27901f91cc22d2c69754ad6c6a3df4f8b51b39a2548ce3cdfc2a53ef3c29e815e1dbaf2f6d856e33c196f759bf14cbd7
7
+ data.tar.gz: 9bc27126450a4a29314cc8255e0c3c4ecd8c825a54f367548de124ac3dc93b72cf3db022331325a2c25542f33b3b9cf65e3fcdeba7505b7af069fe336595e8f2
data/README.txt CHANGED
@@ -1,4 +1,52 @@
1
1
 
2
+ = Install =
2
3
 
3
- cd test/dummy
4
- be sidekiq -q wco_email_rb_mailers -q wco_email_rb_default -q wco_email_rb
4
+ alias dc='docker-compose '
5
+
6
+ Copy and edit the config file:
7
+
8
+ cp _env .env
9
+
10
+ Check out the repository and run:
11
+
12
+ bundle
13
+
14
+ Ask Victor to add your user (email) to the remote auth server. Or use test-1@wasya.co
15
+
16
+ Note: the mongodb port is 27041.
17
+
18
+ dc up -d mongo_development
19
+ dc up -d localstack_development
20
+
21
+ In the rails console ( cd test/dummy ; be rails c ):
22
+
23
+ profile = Wco::Profile.create email: 'test-1@wasya.co'
24
+ inbox = Wco::Tag.create slug: 'inbox'
25
+
26
+ You need a copy of wco_models.git locally ( default location is ~/projects/ruby/wco_models )
27
+
28
+ awslocal s3api create-bucket --bucket wco-email-development
29
+
30
+ == Troubleshooting ==
31
+
32
+ Issue:
33
+
34
+ checking for yaml.h... no
35
+ yaml.h not found
36
+
37
+ Solution:
38
+
39
+ brew install libyaml
40
+
41
+ = Use =
42
+ Please see below for example usage commands.
43
+
44
+ cd test/dummy
45
+ be sidekiq -q wco_email_rb_mailers -q wco_email_rb_default -q wco_email_rb
46
+
47
+ docker run \
48
+ --rm -it \
49
+ -p 127.0.0.1:4566:4566 \
50
+ -p 127.0.0.1:4510-4559:4510-4559 \
51
+ -v /var/run/docker.sock:/var/run/docker.sock \
52
+ localstack/localstack
@@ -28,6 +28,8 @@ class WcoEmail::ConversationsController < WcoEmail::ApplicationController
28
28
  end
29
29
 
30
30
  def index
31
+ puts! current_profile, 'current_profile'
32
+
31
33
  authorize! :index, WcoEmail::Conversation
32
34
  @conversations, @messages, @tag = WcoEmail::Conversation.load_conversations_messages_tag_by_params_and_profile( params, current_profile )
33
35
  end
@@ -41,7 +41,7 @@
41
41
  = render "/wco/main_header"
42
42
  = render "/wco_email/main_header"
43
43
 
44
- = render '/wco/alerts_notices' if notice || alert
44
+ = render '/wco/application/alerts_notices' if notice || alert
45
45
  %hr
46
46
 
47
47
  .padded.flex-row
@@ -0,0 +1,13 @@
1
+ ::S3_CREDENTIALS ||= {
2
+ ## user:
3
+ access_key_id: "",
4
+ secret_access_key: "",
5
+ bucket: "wco-email-development",
6
+ region: 'us-east-1',
7
+
8
+ ## user:
9
+ access_key_id_ses: "",
10
+ secret_access_key_ses: "",
11
+ bucket_ses: "",
12
+ region_ses: 'us-east-1',
13
+ }
@@ -0,0 +1,13 @@
1
+ ::S3_CREDENTIALS ||= {
2
+ ## user:
3
+ access_key_id: "",
4
+ secret_access_key: "",
5
+ bucket: "",
6
+ region: 'us-east-1',
7
+
8
+ ## user:
9
+ access_key_id_ses: "",
10
+ secret_access_key_ses: "",
11
+ bucket_ses: "",
12
+ region_ses: 'us-east-1',
13
+ }
@@ -1,3 +1,3 @@
1
1
 
2
- STRIPE_PK = 'nothing'
3
-
2
+ STRIPE_PK = 'pk_test_qr1QPmSpLdBFt1F7itdWJOj3'
3
+ STRIPE_SK = 'sk_test_ARuaXffdANoXLKAwUXDcp0v0'
@@ -0,0 +1,3 @@
1
+
2
+ STRIPE_PK = ''
3
+ STRIPE_SK = ''
@@ -2,6 +2,9 @@
2
2
  Rails.application.config.assets.version = '1.0'
3
3
 
4
4
  Rails.application.config.assets.precompile += %w(
5
+ application.js
6
+ application.css
7
+
5
8
  wco_models/application.js
6
9
  wco_models/application.css
7
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.83
4
+ version: 0.1.1.84
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-09-17 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: aws-sdk-s3
@@ -446,7 +446,10 @@ files:
446
446
  - app/views/wco_email/messages/show.haml
447
447
  - app/views/wco_email/messages/show_iframe.haml
448
448
  - app/views/wco_email/sessions/new.html.erb
449
+ - config/initializers/00_s3.rb
450
+ - config/initializers/00_s3.rb-example
449
451
  - config/initializers/08_integrations.rb
452
+ - config/initializers/08_integrations.rb-example
450
453
  - config/initializers/assets.rb
451
454
  - config/routes.rb
452
455
  - lib/tasks/bjjcollective/sitemap.rb