wco_email 0.1.1.83 → 0.1.1.84
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.txt +50 -2
- data/app/controllers/wco_email/conversations_controller.rb +2 -0
- data/app/views/layouts/wco_email/application.haml +1 -1
- data/config/initializers/00_s3.rb +13 -0
- data/config/initializers/00_s3.rb-example +13 -0
- data/config/initializers/08_integrations.rb +2 -2
- data/config/initializers/08_integrations.rb-example +3 -0
- data/config/initializers/assets.rb +3 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 741b657ae1e021da4f12445c39770e107c6e4e488d27053747be5617acaec4af
|
4
|
+
data.tar.gz: c671954b1f3f866a58dc8a608a13405294d6c2d0ad4c86f8fd9253087ca7ece0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17595b7a50f4adb26c20830a1a385b8c27901f91cc22d2c69754ad6c6a3df4f8b51b39a2548ce3cdfc2a53ef3c29e815e1dbaf2f6d856e33c196f759bf14cbd7
|
7
|
+
data.tar.gz: 9bc27126450a4a29314cc8255e0c3c4ecd8c825a54f367548de124ac3dc93b72cf3db022331325a2c25542f33b3b9cf65e3fcdeba7505b7af069fe336595e8f2
|
data/README.txt
CHANGED
@@ -1,4 +1,52 @@
|
|
1
1
|
|
2
|
+
= Install =
|
2
3
|
|
3
|
-
|
4
|
-
|
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
|
@@ -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
|
+
}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
|
2
|
-
STRIPE_PK = '
|
3
|
-
|
2
|
+
STRIPE_PK = 'pk_test_qr1QPmSpLdBFt1F7itdWJOj3'
|
3
|
+
STRIPE_SK = 'sk_test_ARuaXffdANoXLKAwUXDcp0v0'
|
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.
|
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-
|
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
|