wco_email 0.1.1.83 → 0.1.1.85
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: a11bdf44f0eeb74d6815893549cf71293bb492c3dc1a2e3f68404c8574e50974
|
4
|
+
data.tar.gz: 8aa2fdd6fa88b935e22b9c5179446717fe61c19c2aa6703071621aef9ea0b580
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e95f1a6a8aa5529b41525fa0ca773a90612a9c71911b99f8320c436113e8b518e1ce25dca4baa65aaf659e5dac789715a67bdc4326cfd89c16734ba6550d4a1e
|
7
|
+
data.tar.gz: 5d140c7d805d939c8ee551bdb7a0d9fbfb34670e8bf01472b6f5b627fc17721a626097f1f2933870843b705845a94361e59bd6cddf56a8e6ff7b31d671641423
|
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.85
|
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
|