cmor_contact 0.0.21.pre → 0.0.22.pre

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: 8138c47329097ff5db389a7e62817a643137bf1a256d44e68bf935dd8b939067
4
- data.tar.gz: a98b7962f3ea79a3fd550e5a8f13f4ac2a5ca123524b804d5287cbb4fa14501c
3
+ metadata.gz: 803ba5a0f92427e28777816d997dbaeb105f846b467ce3a2d30e860bdc65d746
4
+ data.tar.gz: c03ac052dbc9a261870a0a2535684a810de04a7e388a30e01cecdb0ad5292f10
5
5
  SHA512:
6
- metadata.gz: b7c3f9661562436d98c171dc4e1fb2bf590e61f5ef38a39516f84c7ed5e4dc3b9d6b9b62a33aa67fc5fa27b7ef5dcee8434d0a12fd482a426f00a64388ae7320
7
- data.tar.gz: ac045c9a3ac10b222cec85175c563c0805d3a70fbaf0acf50b9d4c18aea0ac6bf1df3bb6d72061c98f11f2dbec85c02b632e0bb79bae697ab8e6a61036c611c9
6
+ metadata.gz: 9e0b764ad4b75264c589777cacbb9d7932353cd42a66701d41dd408970a1c5284f89d10eff9168b31c2b0fc8dc9a37eec8a4a01e66d6be83c88687d2901267f4
7
+ data.tar.gz: e1d55abe19034afa5b9a30ed19d3ac183bd0e974b7d7955a6d8aeaa6f98552d78affeccb7d4bbc94720793e1ce74dca572f6232da7bdab2ae71eab338dbda9f3
@@ -25,7 +25,7 @@ module Cmor::Contact
25
25
  end
26
26
 
27
27
  def notification_recipients
28
- ENV.fetch('CMOR_CONTACT_RECIPIENTS') { Cmor::Contact::Configuration.recipients[Rails.env] }
28
+ ENV.fetch('CMOR_CONTACT_RECIPIENTS') { Cmor::Contact::Configuration.recipients.call(Rails.env) }
29
29
  end
30
30
  end
31
31
  end
@@ -33,7 +33,7 @@ module Cmor
33
33
  end
34
34
 
35
35
  mattr_accessor :recipients do
36
- {}
36
+ ->(environment) { "jane.doe@domain.local" }
37
37
  end
38
38
 
39
39
  mattr_accessor :sender do
@@ -51,10 +51,6 @@ module Cmor
51
51
  mattr_accessor :after_create_url do
52
52
  ->(controller) { controller.root_path }
53
53
  end
54
-
55
- def recipients=(recipients)
56
- @@recipients = HashWithIndifferentAccess.new(recipients)
57
- end
58
54
  end
59
55
  end
60
56
  end
@@ -1,21 +1,25 @@
1
1
  Cmor::Contact.configure do |config|
2
- # Configure your contact requiest recipients here.
2
+ # Configure your contact request recipients here.
3
3
  #
4
4
  # You can specify multiple recipients and multiple environments.
5
5
  #
6
6
  # Default:
7
7
  #
8
- # config.recipients = {
9
- # development: %w( info@development.example.com ),
10
- # test: %w( info@test.example.com ),
11
- # production: %w( info@production.example.com )
12
- # }
13
- #
14
- config.recipients = {
15
- development: %w( info@development.example.com ),
16
- test: %w( info@test.example.com ),
17
- production: %w( info@production.example.com )
18
- }
8
+ # config.recipients = lambda do |environment|
9
+ # {
10
+ # development: %w( info@development.example.com ),
11
+ # test: %w( info@test.example.com ),
12
+ # production: %w( info@production.example.com )
13
+ # }.with_indifferent_access[environment.to_sym]
14
+ # end
15
+ #
16
+ config.recipients = lambda do |environment|
17
+ {
18
+ development: %w( info@development.example.com ),
19
+ test: %w( info@test.example.com ),
20
+ production: %w( info@production.example.com )
21
+ }.with_indifferent_access[environment.to_sym]
22
+ end
19
23
 
20
24
  # Configure your input field css classes here.
21
25
  #
@@ -1,21 +1,25 @@
1
1
  Cmor::Contact.configure do |config|
2
- # Configure your contact requiest recipients here.
2
+ # Configure your contact request recipients here.
3
3
  #
4
4
  # You can specify multiple recipients and multiple environments.
5
5
  #
6
6
  # Default:
7
7
  #
8
- # config.recipients = {
9
- # development: %w( info@development.example.com ),
10
- # test: %w( info@test.example.com ),
11
- # production: %w( info@production.example.com )
12
- # }
13
- #
14
- config.recipients = {
15
- development: %w( info@development.example.com ),
16
- test: %w( info@test.example.com ),
17
- production: %w( info@production.example.com )
18
- }
8
+ # config.recipients = lambda do |environment|
9
+ # {
10
+ # development: %w( info@development.example.com ),
11
+ # test: %w( info@test.example.com ),
12
+ # production: %w( info@production.example.com )
13
+ # }.with_indifferent_access[environment.to_sym]
14
+ # end
15
+ #
16
+ config.recipients = lambda do |environment|
17
+ {
18
+ development: %w( info@development.example.com ),
19
+ test: %w( info@test.example.com ),
20
+ production: %w( info@production.example.com )
21
+ }.with_indifferent_access[environment.to_sym]
22
+ end
19
23
 
20
24
  # Configure your input field css classes here.
21
25
  #
Binary file
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 2019_06_12_145229) do
13
+ ActiveRecord::Schema.define(version: 2019_07_15_162742) do
14
14
 
15
15
  create_table "active_storage_attachments", force: :cascade do |t|
16
16
  t.string "name", null: false
Binary file
@@ -0,0 +1,108 @@
1
+  (0.4ms) SELECT sqlite_version(*)
2
+ ↳ bin/rails:4
3
+  (6.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
4
+ ↳ bin/rails:4
5
+  (5.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
6
+ ↳ bin/rails:4
7
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
8
+ ↳ bin/rails:4
9
+ Migrating to CreateActiveStorageTables (20190715162723)
10
+  (0.1ms) begin transaction
11
+ ↳ bin/rails:4
12
+  (0.7ms) CREATE TABLE "active_storage_blobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar NOT NULL, "filename" varchar NOT NULL, "content_type" varchar, "metadata" text, "byte_size" bigint NOT NULL, "checksum" varchar NOT NULL, "created_at" datetime NOT NULL)
13
+ ↳ db/migrate/20190715162723_create_active_storage_tables.active_storage.rb:4
14
+  (0.3ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
15
+ ↳ db/migrate/20190715162723_create_active_storage_tables.active_storage.rb:4
16
+  (0.5ms) CREATE TABLE "active_storage_attachments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "record_type" varchar NOT NULL, "record_id" integer NOT NULL, "blob_id" integer NOT NULL, "created_at" datetime NOT NULL, CONSTRAINT "fk_rails_c3b3935057"
17
+ FOREIGN KEY ("blob_id")
18
+ REFERENCES "active_storage_blobs" ("id")
19
+ )
20
+ ↳ db/migrate/20190715162723_create_active_storage_tables.active_storage.rb:16
21
+  (0.2ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
22
+ ↳ db/migrate/20190715162723_create_active_storage_tables.active_storage.rb:16
23
+  (0.3ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")
24
+ ↳ db/migrate/20190715162723_create_active_storage_tables.active_storage.rb:16
25
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190715162723"]]
26
+ ↳ bin/rails:4
27
+  (6.1ms) commit transaction
28
+ ↳ bin/rails:4
29
+ Migrating to CreateCmorContactContactRequests (20190715162742)
30
+  (0.2ms) begin transaction
31
+ ↳ bin/rails:4
32
+  (1.0ms) CREATE TABLE "cmor_contact_contact_requests" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "phone" varchar, "ip_address" varchar, "message" text, "accept_terms_of_service" boolean, "notified_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
33
+ ↳ db/migrate/20190715162742_create_cmor_contact_contact_requests.cmor_contact.rb:4
34
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190715162742"]]
35
+ ↳ bin/rails:4
36
+  (5.4ms) commit transaction
37
+ ↳ bin/rails:4
38
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
39
+ ↳ bin/rails:4
40
+  (0.1ms) begin transaction
41
+ ↳ bin/rails:4
42
+ ActiveRecord::InternalMetadata Create (0.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-07-15 16:27:42.203838"], ["updated_at", "2019-07-15 16:27:42.203838"]]
43
+ ↳ bin/rails:4
44
+  (5.4ms) commit transaction
45
+ ↳ bin/rails:4
46
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
47
+ ↳ bin/rails:4
48
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
49
+ ↳ bin/rails:4
50
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
51
+ ↳ bin/rails:4
52
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
53
+ ↳ bin/rails:4
54
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
55
+ ↳ bin/rails:4
56
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57
+ ↳ bin/rails:4
58
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
59
+ ↳ bin/rails:4
60
+  (0.1ms) DROP TABLE IF EXISTS "active_storage_attachments"
61
+ ↳ db/schema.rb:15
62
+  (0.2ms) SELECT sqlite_version(*)
63
+ ↳ db/schema.rb:15
64
+  (7.3ms) CREATE TABLE "active_storage_attachments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "record_type" varchar NOT NULL, "record_id" integer NOT NULL, "blob_id" integer NOT NULL, "created_at" datetime NOT NULL)
65
+ ↳ db/schema.rb:15
66
+  (5.8ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
67
+ ↳ db/schema.rb:15
68
+  (4.0ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")
69
+ ↳ db/schema.rb:15
70
+  (0.3ms) DROP TABLE IF EXISTS "active_storage_blobs"
71
+ ↳ db/schema.rb:25
72
+  (3.9ms) CREATE TABLE "active_storage_blobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar NOT NULL, "filename" varchar NOT NULL, "content_type" varchar, "metadata" text, "byte_size" bigint NOT NULL, "checksum" varchar NOT NULL, "created_at" datetime NOT NULL)
73
+ ↳ db/schema.rb:25
74
+  (3.7ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
75
+ ↳ db/schema.rb:25
76
+  (0.2ms) DROP TABLE IF EXISTS "cmor_contact_contact_requests"
77
+ ↳ db/schema.rb:36
78
+  (3.5ms) CREATE TABLE "cmor_contact_contact_requests" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "phone" varchar, "ip_address" varchar, "message" text, "accept_terms_of_service" boolean, "notified_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
79
+ ↳ db/schema.rb:36
80
+  (4.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
81
+ ↳ db/schema.rb:13
82
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
83
+ ↳ db/schema.rb:13
84
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190715162742)
85
+ ↳ db/schema.rb:13
86
+  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES
87
+ (20190715162723);
88
+
89
+ 
90
+ ↳ db/schema.rb:13
91
+  (3.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
92
+ ↳ db/schema.rb:13
93
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
94
+ ↳ db/schema.rb:13
95
+  (0.1ms) begin transaction
96
+ ↳ db/schema.rb:13
97
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-07-15 16:27:42.327279"], ["updated_at", "2019-07-15 16:27:42.327279"]]
98
+ ↳ db/schema.rb:13
99
+  (3.5ms) commit transaction
100
+ ↳ db/schema.rb:13
101
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
102
+ ↳ bin/rails:4
103
+  (0.1ms) begin transaction
104
+ ↳ bin/rails:4
105
+ ActiveRecord::InternalMetadata Update (0.4ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-07-15 16:27:42.337793"], ["key", "environment"]]
106
+ ↳ bin/rails:4
107
+  (3.4ms) commit transaction
108
+ ↳ bin/rails:4
@@ -0,0 +1,345 @@
1
+  (0.1ms) begin transaction
2
+  (0.5ms) SAVEPOINT active_record_1
3
+ Cmor::Contact::ContactRequest Create (0.8ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "notified_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["notified_at", "2019-07-15 16:22:49.770321"], ["created_at", "2019-07-15 16:27:49.806023"], ["updated_at", "2019-07-15 16:27:49.806023"]]
4
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5
+ Cmor::Contact::ContactRequest Load (0.3ms) SELECT "cmor_contact_contact_requests".* FROM "cmor_contact_contact_requests" WHERE "cmor_contact_contact_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6
+  (0.1ms) SAVEPOINT active_record_1
7
+ Cmor::Contact::ContactRequest Update (0.3ms) UPDATE "cmor_contact_contact_requests" SET "notified_at" = ?, "updated_at" = ? WHERE "cmor_contact_contact_requests"."id" = ? [["notified_at", "2019-07-15 16:27:49.858168"], ["updated_at", "2019-07-15 16:27:49.860038"], ["id", 1]]
8
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9
+  (0.4ms) rollback transaction
10
+  (0.1ms) begin transaction
11
+  (0.0ms) SAVEPOINT active_record_1
12
+ Cmor::Contact::ContactRequest Create (0.3ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "notified_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["notified_at", "2019-07-15 16:22:49.873510"], ["created_at", "2019-07-15 16:27:49.874718"], ["updated_at", "2019-07-15 16:27:49.874718"]]
13
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14
+ Cmor::Contact::ContactRequest Load (0.1ms) SELECT "cmor_contact_contact_requests".* FROM "cmor_contact_contact_requests" WHERE "cmor_contact_contact_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
15
+  (0.1ms) SAVEPOINT active_record_1
16
+ Cmor::Contact::ContactRequest Update (0.3ms) UPDATE "cmor_contact_contact_requests" SET "notified_at" = ?, "updated_at" = ? WHERE "cmor_contact_contact_requests"."id" = ? [["notified_at", "2019-07-15 16:27:49.877800"], ["updated_at", "2019-07-15 16:27:49.878677"], ["id", 1]]
17
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18
+ Cmor::Contact::ContactRequest Load (0.1ms) SELECT "cmor_contact_contact_requests".* FROM "cmor_contact_contact_requests" WHERE "cmor_contact_contact_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
19
+  (0.3ms) rollback transaction
20
+  (0.1ms) begin transaction
21
+  (0.2ms) SAVEPOINT active_record_1
22
+ Cmor::Contact::ContactRequest Create (0.7ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "notified_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["notified_at", "2019-07-15 16:22:49.896036"], ["created_at", "2019-07-15 16:27:49.897969"], ["updated_at", "2019-07-15 16:27:49.897969"]]
23
+  (0.2ms) RELEASE SAVEPOINT active_record_1
24
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 9b153d26-1020-4093-b22a-505d4245cbdd) to Test(contact_requests) with arguments: 1
25
+  (0.5ms) rollback transaction
26
+  (0.3ms) begin transaction
27
+  (0.2ms) SAVEPOINT active_record_1
28
+ Cmor::Contact::ContactRequest Create (0.9ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "notified_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["notified_at", "2019-07-15 16:22:49.920077"], ["created_at", "2019-07-15 16:27:49.923223"], ["updated_at", "2019-07-15 16:27:49.923223"]]
29
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 290a48ae-1a58-4797-a1cc-7c40e18ff698) to Test(contact_requests) with arguments: 1
31
+  (0.1ms) rollback transaction
32
+  (0.2ms) begin transaction
33
+  (0.1ms) SAVEPOINT active_record_1
34
+ Cmor::Contact::ContactRequest Create (0.4ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.607732"], ["updated_at", "2019-07-15 16:27:50.607732"]]
35
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 522a2a13-f9d6-48aa-80fb-74f9d5fe6894) to Test(contact_requests) with arguments: 1
36
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
38
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (4.9ms)
39
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 37.4ms
40
+  (0.3ms) rollback transaction
41
+  (0.1ms) begin transaction
42
+  (0.1ms) SAVEPOINT active_record_1
43
+ Cmor::Contact::ContactRequest Create (0.5ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.662529"], ["updated_at", "2019-07-15 16:27:50.662529"]]
44
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 950a472a-0808-41d6-a013-052321cc52ae) to Test(contact_requests) with arguments: 1
45
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
47
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (2.2ms)
48
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 4.0ms
49
+  (0.9ms) rollback transaction
50
+  (0.1ms) begin transaction
51
+  (0.2ms) SAVEPOINT active_record_1
52
+ Cmor::Contact::ContactRequest Create (0.6ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.681845"], ["updated_at", "2019-07-15 16:27:50.681845"]]
53
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 9acf32bb-0e66-4a37-b82b-a2c20a55f910) to Test(contact_requests) with arguments: 1
54
+  (0.1ms) RELEASE SAVEPOINT active_record_1
55
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
56
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (3.7ms)
57
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 8.2ms
58
+  (0.6ms) rollback transaction
59
+  (0.2ms) begin transaction
60
+  (0.1ms) SAVEPOINT active_record_1
61
+ Cmor::Contact::ContactRequest Create (0.5ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.719074"], ["updated_at", "2019-07-15 16:27:50.719074"]]
62
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 82c74d75-6478-4016-affd-1a03dc7f2010) to Test(contact_requests) with arguments: 1
63
+  (0.1ms) RELEASE SAVEPOINT active_record_1
64
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
65
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (2.5ms)
66
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 5.7ms
67
+  (0.2ms) rollback transaction
68
+  (0.1ms) begin transaction
69
+  (0.1ms) SAVEPOINT active_record_1
70
+ Cmor::Contact::ContactRequest Create (0.6ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.742596"], ["updated_at", "2019-07-15 16:27:50.742596"]]
71
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: a1b4e729-f0fa-46ec-a6c0-50245e42678e) to Test(contact_requests) with arguments: 1
72
+  (0.1ms) RELEASE SAVEPOINT active_record_1
73
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
74
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (10.4ms)
75
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 15.4ms
76
+  (0.3ms) rollback transaction
77
+  (0.2ms) begin transaction
78
+  (0.1ms) SAVEPOINT active_record_1
79
+ Cmor::Contact::ContactRequest Create (0.7ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.778937"], ["updated_at", "2019-07-15 16:27:50.778937"]]
80
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: cf5e1709-2716-4b8f-8fa9-a44cc9ed2a5f) to Test(contact_requests) with arguments: 1
81
+  (0.2ms) RELEASE SAVEPOINT active_record_1
82
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
83
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (2.1ms)
84
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 4.0ms
85
+  (0.2ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+  (0.3ms) SAVEPOINT active_record_1
88
+ Cmor::Contact::ContactRequest Create (0.7ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.806383"], ["updated_at", "2019-07-15 16:27:50.806383"]]
89
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: a398d206-4a3a-4fa2-93c0-c205a87ebd2e) to Test(contact_requests) with arguments: 1
90
+  (0.2ms) RELEASE SAVEPOINT active_record_1
91
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
92
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (4.6ms)
93
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 10.4ms
94
+  (0.5ms) rollback transaction
95
+  (0.1ms) begin transaction
96
+  (0.1ms) SAVEPOINT active_record_1
97
+ Cmor::Contact::ContactRequest Create (0.8ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.836583"], ["updated_at", "2019-07-15 16:27:50.836583"]]
98
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 4dbee60b-7396-478a-9be0-a887fb0fdcbd) to Test(contact_requests) with arguments: 1
99
+  (0.2ms) RELEASE SAVEPOINT active_record_1
100
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
101
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (3.0ms)
102
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 12.3ms
103
+  (0.3ms) rollback transaction
104
+  (1.1ms) begin transaction
105
+  (0.2ms) SAVEPOINT active_record_1
106
+ Cmor::Contact::ContactRequest Create (0.7ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.881714"], ["updated_at", "2019-07-15 16:27:50.881714"]]
107
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: ab95281b-dd27-4c25-a549-9f98fb8994b4) to Test(contact_requests) with arguments: 1
108
+  (0.4ms) RELEASE SAVEPOINT active_record_1
109
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
110
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (2.4ms)
111
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 12.2ms
112
+  (0.3ms) rollback transaction
113
+  (0.1ms) begin transaction
114
+  (0.1ms) SAVEPOINT active_record_1
115
+ Cmor::Contact::ContactRequest Create (0.8ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.912651"], ["updated_at", "2019-07-15 16:27:50.912651"]]
116
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 3594dd1e-0847-4b84-a045-8595af5cea77) to Test(contact_requests) with arguments: 1
117
+  (0.2ms) RELEASE SAVEPOINT active_record_1
118
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
119
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (2.6ms)
120
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 5.8ms
121
+  (0.3ms) rollback transaction
122
+  (0.1ms) begin transaction
123
+  (0.2ms) SAVEPOINT active_record_1
124
+ Cmor::Contact::ContactRequest Create (0.8ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.942959"], ["updated_at", "2019-07-15 16:27:50.942959"]]
125
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 669a3c91-39e1-4251-9bc5-5d26991197af) to Test(contact_requests) with arguments: 1
126
+  (0.2ms) RELEASE SAVEPOINT active_record_1
127
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
128
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (2.3ms)
129
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 5.0ms
130
+  (0.2ms) rollback transaction
131
+  (0.3ms) begin transaction
132
+  (0.0ms) SAVEPOINT active_record_1
133
+ Cmor::Contact::ContactRequest Create (0.7ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:50.979629"], ["updated_at", "2019-07-15 16:27:50.979629"]]
134
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 43e318e1-4e0b-4f06-804a-1f523e76bf75) to Test(contact_requests) with arguments: 1
135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
136
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
137
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (3.4ms)
138
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 6.6ms
139
+  (0.5ms) rollback transaction
140
+  (0.1ms) begin transaction
141
+  (0.1ms) SAVEPOINT active_record_1
142
+ Cmor::Contact::ContactRequest Create (1.0ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.002302"], ["updated_at", "2019-07-15 16:27:51.002302"]]
143
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: f364a16b-8f73-40a2-800c-c4aac1d6081a) to Test(contact_requests) with arguments: 1
144
+  (0.2ms) RELEASE SAVEPOINT active_record_1
145
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
146
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (2.9ms)
147
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 7.8ms
148
+  (0.3ms) rollback transaction
149
+  (0.1ms) begin transaction
150
+  (0.2ms) SAVEPOINT active_record_1
151
+ Cmor::Contact::ContactRequest Create (0.6ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.044726"], ["updated_at", "2019-07-15 16:27:51.044726"]]
152
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: d336be6e-f369-4cea-bd46-5179e6c4dbcf) to Test(contact_requests) with arguments: 1
153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
154
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
155
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (16.4ms)
156
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 19.8ms
157
+  (0.5ms) rollback transaction
158
+  (0.3ms) begin transaction
159
+  (0.2ms) SAVEPOINT active_record_1
160
+ Cmor::Contact::ContactRequest Create (0.8ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.091232"], ["updated_at", "2019-07-15 16:27:51.091232"]]
161
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 419e444c-99c5-4250-9c23-8e8ac832382e) to Test(contact_requests) with arguments: 1
162
+  (0.1ms) RELEASE SAVEPOINT active_record_1
163
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
164
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (3.0ms)
165
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 6.3ms
166
+  (0.3ms) rollback transaction
167
+  (0.2ms) begin transaction
168
+  (0.1ms) SAVEPOINT active_record_1
169
+ Cmor::Contact::ContactRequest Create (0.8ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.118084"], ["updated_at", "2019-07-15 16:27:51.118084"]]
170
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: a5ea1e4f-ffbd-46d4-b0c9-3041f9f31b45) to Test(contact_requests) with arguments: 1
171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
172
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
173
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (3.6ms)
174
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 6.8ms
175
+  (1.4ms) rollback transaction
176
+  (0.2ms) begin transaction
177
+  (0.2ms) SAVEPOINT active_record_1
178
+ Cmor::Contact::ContactRequest Create (0.6ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.157174"], ["updated_at", "2019-07-15 16:27:51.157174"]]
179
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 3b9dde58-d451-4477-a660-be3675ed5a9d) to Test(contact_requests) with arguments: 1
180
+  (0.5ms) RELEASE SAVEPOINT active_record_1
181
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
182
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (2.6ms)
183
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 5.5ms
184
+  (0.3ms) rollback transaction
185
+  (0.2ms) begin transaction
186
+  (0.2ms) SAVEPOINT active_record_1
187
+ Cmor::Contact::ContactRequest Create (1.2ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.185306"], ["updated_at", "2019-07-15 16:27:51.185306"]]
188
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: e29bc192-5751-43a2-8cfd-ebda15a751fb) to Test(contact_requests) with arguments: 1
189
+  (0.2ms) RELEASE SAVEPOINT active_record_1
190
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
191
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (8.6ms)
192
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 11.4ms
193
+  (0.4ms) rollback transaction
194
+  (0.3ms) begin transaction
195
+  (0.2ms) SAVEPOINT active_record_1
196
+ Cmor::Contact::ContactRequest Create (1.8ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.222043"], ["updated_at", "2019-07-15 16:27:51.222043"]]
197
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: a131709e-d9a7-48de-a77d-f491d4ff28df) to Test(contact_requests) with arguments: 1
198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
199
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
200
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (3.7ms)
201
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 7.1ms
202
+  (0.5ms) rollback transaction
203
+  (0.1ms) begin transaction
204
+  (0.1ms) SAVEPOINT active_record_1
205
+ Cmor::Contact::ContactRequest Create (0.5ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.247143"], ["updated_at", "2019-07-15 16:27:51.247143"]]
206
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 60d2a831-5199-4e34-a514-132c95eee625) to Test(contact_requests) with arguments: 1
207
+  (0.2ms) RELEASE SAVEPOINT active_record_1
208
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
209
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (2.6ms)
210
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 5.5ms
211
+  (0.6ms) rollback transaction
212
+  (0.0ms) begin transaction
213
+  (0.2ms) SAVEPOINT active_record_1
214
+ Cmor::Contact::ContactRequest Create (1.2ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.278603"], ["updated_at", "2019-07-15 16:27:51.278603"]]
215
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 049873bb-68b4-4f75-a7ec-88e6765981e8) to Test(contact_requests) with arguments: 1
216
+  (0.2ms) RELEASE SAVEPOINT active_record_1
217
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
218
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (11.4ms)
219
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 15.3ms
220
+  (0.5ms) rollback transaction
221
+  (0.1ms) begin transaction
222
+  (0.1ms) SAVEPOINT active_record_1
223
+ Cmor::Contact::ContactRequest Create (1.2ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.310115"], ["updated_at", "2019-07-15 16:27:51.310115"]]
224
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 35ddd8e8-a4e7-45d0-adab-524c639b0a47) to Test(contact_requests) with arguments: 1
225
+  (0.2ms) RELEASE SAVEPOINT active_record_1
226
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
227
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (4.1ms)
228
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 8.1ms
229
+  (0.3ms) rollback transaction
230
+  (0.1ms) begin transaction
231
+  (0.2ms) SAVEPOINT active_record_1
232
+ Cmor::Contact::ContactRequest Create (0.8ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.350735"], ["updated_at", "2019-07-15 16:27:51.350735"]]
233
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: d9a873cd-9ca6-40be-8a92-e054cf080c59) to Test(contact_requests) with arguments: 1
234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
235
+ Rendering /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer
236
+ Rendered /home/vagrant/rails/cmor/cmor/cmor_contact/app/views/cmor/contact/contact_request_mailer/notify.text.erb within layouts/mailer (2.2ms)
237
+ Cmor::Contact::ContactRequestMailer#notify: processed outbound mail in 4.8ms
238
+  (0.4ms) rollback transaction
239
+  (0.4ms) begin transaction
240
+  (0.2ms) rollback transaction
241
+  (0.3ms) begin transaction
242
+  (0.1ms) rollback transaction
243
+  (0.2ms) begin transaction
244
+  (0.1ms) rollback transaction
245
+  (1.0ms) begin transaction
246
+  (0.2ms) rollback transaction
247
+  (0.2ms) begin transaction
248
+  (0.1ms) rollback transaction
249
+  (0.4ms) begin transaction
250
+  (0.1ms) rollback transaction
251
+  (0.1ms) begin transaction
252
+  (0.1ms) rollback transaction
253
+  (0.1ms) begin transaction
254
+  (0.1ms) rollback transaction
255
+  (0.2ms) begin transaction
256
+  (0.7ms) rollback transaction
257
+  (0.1ms) begin transaction
258
+  (7.8ms) SELECT COUNT(*) FROM "cmor_contact_contact_requests"
259
+  (0.2ms) SELECT COUNT(*) FROM "cmor_contact_contact_requests"
260
+  (0.1ms) rollback transaction
261
+  (0.1ms) begin transaction
262
+  (0.1ms) rollback transaction
263
+  (0.1ms) begin transaction
264
+  (0.1ms) SAVEPOINT active_record_1
265
+ Cmor::Contact::ContactRequest Create (0.5ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.705129"], ["updated_at", "2019-07-15 16:27:51.705129"]]
266
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: bc6bf706-1794-4df9-b106-bfba6abf4750) to Test(contact_requests) with arguments: 1
267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
268
+  (0.2ms) rollback transaction
269
+  (0.1ms) begin transaction
270
+  (0.1ms) rollback transaction
271
+  (0.2ms) begin transaction
272
+  (0.3ms) SELECT COUNT(*) FROM "cmor_contact_contact_requests"
273
+  (0.8ms) SAVEPOINT active_record_1
274
+ Cmor::Contact::ContactRequest Create (0.9ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.736579"], ["updated_at", "2019-07-15 16:27:51.736579"]]
275
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: c4c4ff56-b1c5-49d7-b61e-4bc667f28ae5) to Test(contact_requests) with arguments: 1
276
+  (0.1ms) RELEASE SAVEPOINT active_record_1
277
+  (0.2ms) SELECT COUNT(*) FROM "cmor_contact_contact_requests"
278
+  (0.4ms) rollback transaction
279
+  (0.1ms) begin transaction
280
+  (0.3ms) SAVEPOINT active_record_1
281
+ Cmor::Contact::ContactRequest Create (1.0ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.778526"], ["updated_at", "2019-07-15 16:27:51.778526"]]
282
+  (0.2ms) RELEASE SAVEPOINT active_record_1
283
+  (0.4ms) rollback transaction
284
+  (0.1ms) begin transaction
285
+  (0.2ms) rollback transaction
286
+  (0.1ms) begin transaction
287
+  (0.1ms) rollback transaction
288
+  (0.2ms) begin transaction
289
+  (0.2ms) rollback transaction
290
+  (0.1ms) begin transaction
291
+  (0.2ms) rollback transaction
292
+  (0.2ms) begin transaction
293
+  (0.5ms) SAVEPOINT active_record_1
294
+ Cmor::Contact::ContactRequest Create (1.0ms) INSERT INTO "cmor_contact_contact_requests" ("name", "email", "phone", "ip_address", "message", "accept_terms_of_service", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "John Doe"], ["email", "john.doe@example.com"], ["phone", "+491234567890"], ["ip_address", "127.0.0.1"], ["message", "Please callback!"], ["accept_terms_of_service", 1], ["created_at", "2019-07-15 16:27:51.858735"], ["updated_at", "2019-07-15 16:27:51.858735"]]
295
+ [ActiveJob] Enqueued Cmor::Contact::NotifyNewContactRequestJob (Job ID: 8b047e20-188b-4ec4-a5e7-108db672c7cb) to Test(contact_requests) with arguments: 1
296
+  (0.2ms) RELEASE SAVEPOINT active_record_1
297
+  (1.1ms) rollback transaction
298
+  (0.1ms) begin transaction
299
+  (0.1ms) rollback transaction
300
+  (0.2ms) begin transaction
301
+  (0.1ms) rollback transaction
302
+  (0.1ms) begin transaction
303
+  (0.1ms) rollback transaction
304
+  (2.5ms) begin transaction
305
+  (0.1ms) rollback transaction
306
+  (0.1ms) begin transaction
307
+  (0.1ms) rollback transaction
308
+  (0.1ms) begin transaction
309
+  (0.1ms) rollback transaction
310
+  (0.2ms) begin transaction
311
+  (0.2ms) rollback transaction
312
+  (1.0ms) begin transaction
313
+  (0.1ms) rollback transaction
314
+  (0.5ms) begin transaction
315
+  (0.3ms) rollback transaction
316
+  (0.1ms) begin transaction
317
+  (0.1ms) rollback transaction
318
+  (0.2ms) begin transaction
319
+  (0.1ms) rollback transaction
320
+  (0.2ms) begin transaction
321
+  (0.1ms) rollback transaction
322
+  (0.1ms) begin transaction
323
+  (0.1ms) rollback transaction
324
+  (0.1ms) begin transaction
325
+  (0.1ms) rollback transaction
326
+  (0.2ms) begin transaction
327
+  (0.1ms) rollback transaction
328
+  (0.2ms) begin transaction
329
+  (0.2ms) rollback transaction
330
+  (0.1ms) begin transaction
331
+  (0.3ms) rollback transaction
332
+  (1.9ms) begin transaction
333
+  (13.7ms) rollback transaction
334
+  (0.2ms) begin transaction
335
+  (0.1ms) rollback transaction
336
+  (0.3ms) begin transaction
337
+  (0.1ms) rollback transaction
338
+  (0.1ms) begin transaction
339
+  (0.1ms) rollback transaction
340
+  (0.1ms) begin transaction
341
+  (0.1ms) rollback transaction
342
+  (0.1ms) begin transaction
343
+  (0.1ms) rollback transaction
344
+  (0.2ms) begin transaction
345
+  (0.1ms) rollback transaction
@@ -1 +1 @@
1
- 80e79843983e046b32b98be3e11fe7620f1f060e2f5c92b19558daf09065ec600aecfe5d009d20ad9f1a76394901015253f4de119718efd611d6162874b530aa
1
+ d3c907b4541aac20a8d9f74884afa328a46af05bd1d7d7ee1d532eb538292ccab31a29ee07bcd4a1fea9c0eabe77982ef4ab245fc82378f86cf4a8e93cb652e8
@@ -7,7 +7,7 @@ RSpec.describe Cmor::Contact::ContactRequestMailer, type: :mailer do
7
7
  let(:contact_request) { create(:cmor_contact_contact_request) }
8
8
 
9
9
  let(:sender) { [contact_request.email] }
10
- let(:recipients) { Cmor::Contact::Configuration.recipients[Rails.env] }
10
+ let(:recipients) { Cmor::Contact::Configuration.recipients.call(Rails.env) }
11
11
  let(:mail_subject) { "[Dummy] Neue Kontaktanfrage" }
12
12
 
13
13
  subject { described_class.notify(contact_request) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmor_contact
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21.pre
4
+ version: 0.0.22.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-11 00:00:00.000000000 Z
11
+ date: 2019-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.21.pre
33
+ version: 0.0.22.pre
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.21.pre
40
+ version: 0.0.22.pre
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cmor_core_frontend
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.21.pre
47
+ version: 0.0.22.pre
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.21.pre
54
+ version: 0.0.22.pre
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -382,10 +382,12 @@ files:
382
382
  - spec/dummy/config/spring.rb
383
383
  - spec/dummy/config/storage.yml
384
384
  - spec/dummy/db/development.sqlite3
385
- - spec/dummy/db/migrate/20190612145212_create_active_storage_tables.active_storage.rb
386
- - spec/dummy/db/migrate/20190612145229_create_cmor_contact_contact_requests.cmor_contact.rb
385
+ - spec/dummy/db/migrate/20190715162723_create_active_storage_tables.active_storage.rb
386
+ - spec/dummy/db/migrate/20190715162742_create_cmor_contact_contact_requests.cmor_contact.rb
387
387
  - spec/dummy/db/schema.rb
388
388
  - spec/dummy/db/test.sqlite3
389
+ - spec/dummy/log/development.log
390
+ - spec/dummy/log/test.log
389
391
  - spec/dummy/package.json
390
392
  - spec/dummy/public/404.html
391
393
  - spec/dummy/public/422.html