pointless_feedback 4.0.5 → 4.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/controllers/pointless_feedback/messages_controller.rb +4 -8
- data/lib/pointless_feedback.rb +1 -0
- data/lib/pointless_feedback/version.rb +1 -1
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +0 -615
- metadata +17 -61
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -17
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-0oOwaALeN2C6U2Lf4oQBJ1nh5wDYXlsJ8z4xPZEEx4.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-MBjaCcvFm8P6ZUM7imSwTGiu9H1VUHiJ8jz_laxfvU.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4ijpxiCY5FX0eKhBIlhP8S8RwNcgw4mohmV5R3-NO-0.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ATjMcxF2YTj1CAeKJ6gTThZZENlGNqkQFdTeNQq8LCo.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AgZuni2-KlpBwiFEgCnZ1tGJMlmS2aVsrHKOANrfZPQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DuX1XpKk4ddK37cVjPSNPfsdeHIBFuGV2QwkG8QEtY4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FEIeBqp48l8RmXoaFSdMLcJNdAptwSCUvV-ZrgqsRHM.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JQXfX9DLVvW1478_BbTIZwPwA4U6dL7wjdKFsglI47Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MxboiphF1c1dXcdIWTcLrOYRbtgxSvyCX_fSqp9UQvg.cache +0 -3
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QPssSaELa26pwc44Sm9nFm913gm1r37I5p_Y3SnuKBQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RTsh6942GI0NgjZ_BtihrdXs8sifqNM9je7uwf-aIG4.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VjtzqkJ9e7a5RGc9vvNJ5QVLBUTMVxENYm-R3aloVSE.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YSchFNkol6mCLBDGv-HIyHiYnL3vm0YXMF5WTV-bI2c.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YdsSyatfxEtry8QdwIqng3FOoLhJ_g7EYa337Rvx5MQ.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ae5GoXFVrXWkGcXYAgbdq0n-5WHDHdISjoQZAYiR6zc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/awffKk8tIPRATKwldsJ6KMqoj5EAf8UlF3BH1UOdt3k.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bgJtAH0m7pcdU1xGydIj3JdvFbgwHTgKNX74DaCxumI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hE63J2NAufW642gX0eiJ7sS2ioeDfSUNk5oNFyx-nOQ.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/klW_6aLa_0CKZE63Nz8gA1OQiSPdOyTsNno3BtRhrmk.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mGhWF1tGFj0NQIvR3YkJVz6RCwE7N8jwgJYtDD2ENwg.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nWPzDIv2bDw7bxzPwEncUtGw5qeqvRvIAYOeAGAZ59Q.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vuKUU3-bLo_9wiVP3Iqy9U7t0bzvjHVb7ZMm-Jv55-Q.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/x6q8nmoqMUuvK7gPeQgOHxaZT60OXsj4apC0vSWbLvg.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xkwz-k3Fwdid3t8oAAJXneZXZFjiBOx-4DwAVCxUTdk.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yNbc-nHQpJY8qwtFU3XAzCcsh235SqNdfYikQDhvcPc.cache +0 -1
- data/test/tmp/app/views/pointless_feedback/messages/new.html.erb +0 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '091d5e6f845288e75f5c8bd5722922a8640e8cceca85887d6fdb31e9eb89851c'
|
4
|
+
data.tar.gz: 5861a81108d4fd330f0a36db618e98f8e3f9a5a3c0723ac6bef420c0aecb063d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca3b040b761a82b53e812a15bf607abb9dab698eb9a2e43db3de1d37fc5705b79f9bb033694b1da30b6a94c4937b50b70c211be050557b878c2b6431e485caa4
|
7
|
+
data.tar.gz: 498962cf26d23c1b00ef620df27004f9b3bd6f8ca486c3aa0ad78fe12bf86d5a9210ffc7a002531940b76eba94ed725ac6e1a7e8c22daaf22766610e84f0cbe9
|
@@ -9,15 +9,11 @@ module PointlessFeedback
|
|
9
9
|
def create
|
10
10
|
@message = Message.new(message_params)
|
11
11
|
|
12
|
-
if pass_captcha?
|
13
|
-
|
14
|
-
|
15
|
-
:default => 'Thanks for your feedback!')
|
12
|
+
if pass_captcha? && @message.save
|
13
|
+
flash[:notice] = I18n.t('pointless_feedback.messages.saved',
|
14
|
+
:default => 'Thanks for your feedback!')
|
16
15
|
|
17
|
-
|
18
|
-
else
|
19
|
-
render :new
|
20
|
-
end
|
16
|
+
redirect_to after_message_create_path
|
21
17
|
else
|
22
18
|
flash[:alert] = I18n.t('pointless_feedback.messages.invalid_captcha',
|
23
19
|
:default => 'Are you a robot? Please check the box at the bottom of the page and try again.')
|
data/lib/pointless_feedback.rb
CHANGED
data/test/dummy/db/schema.rb
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
ActiveRecord::Schema.define(version: 20130501182659) do
|
15
15
|
|
16
|
-
create_table "pointless_feedback_messages", force:
|
16
|
+
create_table "pointless_feedback_messages", force: true do |t|
|
17
17
|
t.string "name"
|
18
18
|
t.string "email_address"
|
19
19
|
t.string "topic"
|
data/test/dummy/log/test.log
CHANGED
@@ -1,615 +0,0 @@
|
|
1
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3
|
-
--------------------------------------
|
4
|
-
PointlessFeedbackTest: test_0001_truth
|
5
|
-
--------------------------------------
|
6
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
7
|
-
[1m[35m (0.0ms)[0m begin transaction
|
8
|
-
----------------------------------------------------------------------------------------------------
|
9
|
-
PointlessFeedback::MessageTest::validating against spam: test_0001_allows descriptions with no links
|
10
|
-
----------------------------------------------------------------------------------------------------
|
11
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12
|
-
[1m[35m (0.0ms)[0m begin transaction
|
13
|
-
-------------------------------------------------------------------------------------------------------------------
|
14
|
-
PointlessFeedback::MessageTest::validating against spam: test_0002_does not allow descriptions with 3 or more links
|
15
|
-
-------------------------------------------------------------------------------------------------------------------
|
16
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17
|
-
[1m[35m (0.0ms)[0m begin transaction
|
18
|
-
-----------------------------------------------------------------------------------------------------------------
|
19
|
-
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0001_outputs named path from the main app
|
20
|
-
-----------------------------------------------------------------------------------------------------------------
|
21
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22
|
-
[1m[35m (0.0ms)[0m begin transaction
|
23
|
-
----------------------------------------------------------------------------------------------------------------
|
24
|
-
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0002_outputs named url from the main app
|
25
|
-
----------------------------------------------------------------------------------------------------------------
|
26
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
27
|
-
[1m[35m (0.1ms)[0m begin transaction
|
28
|
-
---------------------------------------------------------------------------------------------------------------
|
29
|
-
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0003_raises exception with other routes
|
30
|
-
---------------------------------------------------------------------------------------------------------------
|
31
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
32
|
-
[1m[35m (0.0ms)[0m begin transaction
|
33
|
-
---------------------------------------------------------------------
|
34
|
-
InstallGeneratorTest: test_0001_Assert all files are properly created
|
35
|
-
---------------------------------------------------------------------
|
36
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37
|
-
[1m[35m (0.0ms)[0m begin transaction
|
38
|
-
---------------------------------------------------------------------------------
|
39
|
-
FeedbackSubmissionTest::submitting feedback: test_0001_redirects to the root path
|
40
|
-
---------------------------------------------------------------------------------
|
41
|
-
Started GET "/pointless_feedback" for 127.0.0.1 at 2017-01-30 14:34:06 -0700
|
42
|
-
Processing by PointlessFeedback::MessagesController#new as HTML
|
43
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (20.2ms)
|
44
|
-
Completed 200 OK in 232ms (Views: 232.0ms | ActiveRecord: 0.0ms)
|
45
|
-
Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
46
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
47
|
-
Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>""}, "commit"=>"Submit"}
|
48
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.052644"], ["updated_at", "2017-01-30 21:34:07.052644"]]
|
50
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
51
|
-
Redirected to http://www.example.com/
|
52
|
-
Completed 302 Found in 14ms (ActiveRecord: 0.5ms)
|
53
|
-
Started GET "/" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
54
|
-
Processing by HomeController#index as HTML
|
55
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
56
|
-
Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
57
|
-
[1m[35m (1.5ms)[0m rollback transaction
|
58
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
59
|
-
----------------------------------------------------------------------------------
|
60
|
-
FeedbackSubmissionTest::submitting feedback: test_0002_thanks message is displayed
|
61
|
-
----------------------------------------------------------------------------------
|
62
|
-
Started GET "/pointless_feedback" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
63
|
-
Processing by PointlessFeedback::MessagesController#new as HTML
|
64
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.2ms)
|
65
|
-
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
66
|
-
Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
67
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
68
|
-
Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>""}, "commit"=>"Submit"}
|
69
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
70
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.119944"], ["updated_at", "2017-01-30 21:34:07.119944"]]
|
71
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
72
|
-
Redirected to http://www.example.com/
|
73
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
74
|
-
Started GET "/" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
75
|
-
Processing by HomeController#index as HTML
|
76
|
-
Rendered home/index.html.erb within layouts/application (0.2ms)
|
77
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
78
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
79
|
-
[1m[35m (0.0ms)[0m begin transaction
|
80
|
-
------------------------------------------------------------------------------------------------------
|
81
|
-
PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0001_anonymous
|
82
|
-
------------------------------------------------------------------------------------------------------
|
83
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
84
|
-
Parameters: {"message"=>{"name"=>""}}
|
85
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
87
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (3.5ms)
|
88
|
-
Completed 200 OK in 9ms (Views: 4.9ms | ActiveRecord: 0.1ms)
|
89
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
90
|
-
[1m[35m (0.1ms)[0m begin transaction
|
91
|
-
------------------------------------------------------------------------------------------------------
|
92
|
-
PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0002_anonymous
|
93
|
-
------------------------------------------------------------------------------------------------------
|
94
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
95
|
-
Parameters: {"message"=>{"name"=>""}}
|
96
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
97
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
98
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (3.7ms)
|
99
|
-
Completed 200 OK in 9ms (Views: 5.1ms | ActiveRecord: 0.1ms)
|
100
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
101
|
-
[1m[35m (0.0ms)[0m begin transaction
|
102
|
-
------------------------------------------------------------------------------------------------------
|
103
|
-
PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0003_anonymous
|
104
|
-
------------------------------------------------------------------------------------------------------
|
105
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
106
|
-
Parameters: {"message"=>{"name"=>""}}
|
107
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
108
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
109
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (3.9ms)
|
110
|
-
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.1ms)
|
111
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
112
|
-
[1m[35m (0.0ms)[0m begin transaction
|
113
|
-
---------------------------------------------------------------------------------------------------------------------------------
|
114
|
-
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true: test_0001_sends mail after create
|
115
|
-
---------------------------------------------------------------------------------------------------------------------------------
|
116
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
117
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.169792"], ["updated_at", "2017-01-30 21:34:07.169792"]]
|
118
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
119
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
120
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
121
|
-
--------------------------------------------------------------------------------------------------------------------------------------------
|
122
|
-
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0001_anonymous
|
123
|
-
--------------------------------------------------------------------------------------------------------------------------------------------
|
124
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
125
|
-
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
126
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
127
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.175714"], ["updated_at", "2017-01-30 21:34:07.175714"]]
|
128
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.5ms)
|
129
|
-
|
130
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 199.7ms
|
131
|
-
|
132
|
-
Sent mail to test1@example.com, test2@example.com (5.1ms)
|
133
|
-
Date: Mon, 30 Jan 2017 14:34:07 -0700
|
134
|
-
From: feedback@pointlesscorp.com
|
135
|
-
To: test1@example.com,
|
136
|
-
test2@example.com
|
137
|
-
Message-ID: <588fb14f5d17c_12ed93fd50103f9d8265bc@Eliass-MacBook-Pro.local.mail>
|
138
|
-
Subject: Feedback
|
139
|
-
Mime-Version: 1.0
|
140
|
-
Content-Type: text/html;
|
141
|
-
charset=UTF-8
|
142
|
-
Content-Transfer-Encoding: 7bit
|
143
|
-
|
144
|
-
You've got feedback!
|
145
|
-
|
146
|
-
<p>Name: Some Guy</p>
|
147
|
-
<p>Email Address: some_guy@web.com</p>
|
148
|
-
<p>Topic: Other</p>
|
149
|
-
<p>Description: Yo website bork</p>
|
150
|
-
|
151
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
152
|
-
Redirected to http://test.host/
|
153
|
-
Completed 302 Found in 209ms (ActiveRecord: 0.5ms)
|
154
|
-
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
155
|
-
[1m[35m (0.1ms)[0m begin transaction
|
156
|
-
--------------------------------------------------------------------------------------------------------------------------------------------
|
157
|
-
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0002_anonymous
|
158
|
-
--------------------------------------------------------------------------------------------------------------------------------------------
|
159
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
160
|
-
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
161
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
162
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.388264"], ["updated_at", "2017-01-30 21:34:07.388264"]]
|
163
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
164
|
-
|
165
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.1ms
|
166
|
-
|
167
|
-
Sent mail to test1@example.com, test2@example.com (1.7ms)
|
168
|
-
Date: Mon, 30 Jan 2017 14:34:07 -0700
|
169
|
-
From: feedback@pointlesscorp.com
|
170
|
-
To: test1@example.com,
|
171
|
-
test2@example.com
|
172
|
-
Message-ID: <588fb14f5f8ab_12ed93fd50103f9d826674@Eliass-MacBook-Pro.local.mail>
|
173
|
-
Subject: Feedback
|
174
|
-
Mime-Version: 1.0
|
175
|
-
Content-Type: text/html;
|
176
|
-
charset=UTF-8
|
177
|
-
Content-Transfer-Encoding: 7bit
|
178
|
-
|
179
|
-
You've got feedback!
|
180
|
-
|
181
|
-
<p>Name: Some Guy</p>
|
182
|
-
<p>Email Address: some_guy@web.com</p>
|
183
|
-
<p>Topic: Other</p>
|
184
|
-
<p>Description: Yo website bork</p>
|
185
|
-
|
186
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
187
|
-
Redirected to http://test.host/
|
188
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
189
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
190
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
191
|
-
--------------------------------------------------------------------------------------------------------------------------------------------
|
192
|
-
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0003_anonymous
|
193
|
-
--------------------------------------------------------------------------------------------------------------------------------------------
|
194
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
195
|
-
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
196
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
197
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.395518"], ["updated_at", "2017-01-30 21:34:07.395518"]]
|
198
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
199
|
-
|
200
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.9ms
|
201
|
-
|
202
|
-
Sent mail to test1@example.com, test2@example.com (1.7ms)
|
203
|
-
Date: Mon, 30 Jan 2017 14:34:07 -0700
|
204
|
-
From: feedback@pointlesscorp.com
|
205
|
-
To: test1@example.com,
|
206
|
-
test2@example.com
|
207
|
-
Message-ID: <588fb14f6144f_12ed93fd50103f9d8267bf@Eliass-MacBook-Pro.local.mail>
|
208
|
-
Subject: Feedback
|
209
|
-
Mime-Version: 1.0
|
210
|
-
Content-Type: text/html;
|
211
|
-
charset=UTF-8
|
212
|
-
Content-Transfer-Encoding: 7bit
|
213
|
-
|
214
|
-
You've got feedback!
|
215
|
-
|
216
|
-
<p>Name: Some Guy</p>
|
217
|
-
<p>Email Address: some_guy@web.com</p>
|
218
|
-
<p>Topic: Other</p>
|
219
|
-
<p>Description: Yo website bork</p>
|
220
|
-
|
221
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
222
|
-
Redirected to http://test.host/
|
223
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
224
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
225
|
-
[1m[35m (0.0ms)[0m begin transaction
|
226
|
-
-----------------------------------------------------------------------
|
227
|
-
MainAppRootUrlTest: test_0001_root_url link points to main_app.root_url
|
228
|
-
-----------------------------------------------------------------------
|
229
|
-
Started GET "/pointless_feedback" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
230
|
-
Processing by PointlessFeedback::MessagesController#new as HTML
|
231
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.9ms)
|
232
|
-
Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
233
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
234
|
-
[1m[35m (0.1ms)[0m begin transaction
|
235
|
-
-------------------------------------------------------
|
236
|
-
PointlessFeedback::MessageTest: test_0001_requires name
|
237
|
-
-------------------------------------------------------
|
238
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
239
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
240
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
241
|
-
[1m[35m (0.0ms)[0m begin transaction
|
242
|
-
----------------------------------------------------------------
|
243
|
-
PointlessFeedback::MessageTest: test_0002_requires email_address
|
244
|
-
----------------------------------------------------------------
|
245
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
246
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
247
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
248
|
-
[1m[35m (0.0ms)[0m begin transaction
|
249
|
-
--------------------------------------------------------
|
250
|
-
PointlessFeedback::MessageTest: test_0003_requires topic
|
251
|
-
--------------------------------------------------------
|
252
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
253
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
254
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
255
|
-
[1m[35m (0.0ms)[0m begin transaction
|
256
|
-
--------------------------------------------------------------
|
257
|
-
PointlessFeedback::MessageTest: test_0004_requires description
|
258
|
-
--------------------------------------------------------------
|
259
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
260
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
261
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
262
|
-
[1m[35m (0.1ms)[0m begin transaction
|
263
|
-
----------------------------------------------------------------------------------------
|
264
|
-
PointlessFeedback::MessageTest::validating email: test_0001_allows a valid email address
|
265
|
-
----------------------------------------------------------------------------------------
|
266
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
267
|
-
[1m[35m (0.0ms)[0m begin transaction
|
268
|
-
-------------------------------------------------------------------------------------------------
|
269
|
-
PointlessFeedback::MessageTest::validating email: test_0002_does not allow invalid emails address
|
270
|
-
-------------------------------------------------------------------------------------------------
|
271
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
272
|
-
[1m[35m (0.0ms)[0m begin transaction
|
273
|
-
---------------------------------------------------------------
|
274
|
-
PointlessFeedback::FeedbackMailerTest: test_0001_feedback email
|
275
|
-
---------------------------------------------------------------
|
276
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
277
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.428028"], ["updated_at", "2017-01-30 21:34:07.428028"]]
|
278
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
279
|
-
|
280
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.9ms
|
281
|
-
|
282
|
-
Sent mail to to@example.com (1.7ms)
|
283
|
-
Date: Mon, 30 Jan 2017 14:34:07 -0700
|
284
|
-
From: feedback@pointlesscorp.com
|
285
|
-
To: to@example.com
|
286
|
-
Message-ID: <588fb14f692e1_12ed93fd50103f9d8268de@Eliass-MacBook-Pro.local.mail>
|
287
|
-
Subject: Feedback
|
288
|
-
Mime-Version: 1.0
|
289
|
-
Content-Type: text/html;
|
290
|
-
charset=UTF-8
|
291
|
-
Content-Transfer-Encoding: 7bit
|
292
|
-
|
293
|
-
You've got feedback!
|
294
|
-
|
295
|
-
<p>Name: A Developer</p>
|
296
|
-
<p>Email Address: developer@pointlesscorp.com</p>
|
297
|
-
<p>Topic: Other</p>
|
298
|
-
<p>Description: Site is broke</p>
|
299
|
-
|
300
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
301
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
302
|
-
|
303
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.8ms
|
304
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
305
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
306
|
-
--------------------------------------------------------------------
|
307
|
-
PointlessFeedback::FeedbackMailerTest: test_0002_feedback email body
|
308
|
-
--------------------------------------------------------------------
|
309
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
310
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.435117"], ["updated_at", "2017-01-30 21:34:07.435117"]]
|
311
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
312
|
-
|
313
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.8ms
|
314
|
-
|
315
|
-
Sent mail to to@example.com (1.5ms)
|
316
|
-
Date: Mon, 30 Jan 2017 14:34:07 -0700
|
317
|
-
From: feedback@pointlesscorp.com
|
318
|
-
To: to@example.com
|
319
|
-
Message-ID: <588fb14f6acf7_12ed93fd50103f9d826985@Eliass-MacBook-Pro.local.mail>
|
320
|
-
Subject: Feedback
|
321
|
-
Mime-Version: 1.0
|
322
|
-
Content-Type: text/html;
|
323
|
-
charset=UTF-8
|
324
|
-
Content-Transfer-Encoding: 7bit
|
325
|
-
|
326
|
-
You've got feedback!
|
327
|
-
|
328
|
-
<p>Name: A Developer</p>
|
329
|
-
<p>Email Address: developer@pointlesscorp.com</p>
|
330
|
-
<p>Topic: Other</p>
|
331
|
-
<p>Description: Site is broke</p>
|
332
|
-
|
333
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
334
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
335
|
-
|
336
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
|
337
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
338
|
-
[1m[35m (0.0ms)[0m begin transaction
|
339
|
-
-----------------------------------------------------------------------------
|
340
|
-
PointlessFeedback::FeedbackMailerTest: test_0003_feedback from email when set
|
341
|
-
-----------------------------------------------------------------------------
|
342
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
343
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.441476"], ["updated_at", "2017-01-30 21:34:07.441476"]]
|
344
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
345
|
-
|
346
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.9ms
|
347
|
-
|
348
|
-
Sent mail to to@example.com (1.6ms)
|
349
|
-
Date: Mon, 30 Jan 2017 14:34:07 -0700
|
350
|
-
From: feedback@pointlesscorp.com
|
351
|
-
To: to@example.com
|
352
|
-
Message-ID: <588fb14f6c683_12ed93fd50103f9d827030@Eliass-MacBook-Pro.local.mail>
|
353
|
-
Subject: Feedback
|
354
|
-
Mime-Version: 1.0
|
355
|
-
Content-Type: text/html;
|
356
|
-
charset=UTF-8
|
357
|
-
Content-Transfer-Encoding: 7bit
|
358
|
-
|
359
|
-
You've got feedback!
|
360
|
-
|
361
|
-
<p>Name: A Developer</p>
|
362
|
-
<p>Email Address: developer@pointlesscorp.com</p>
|
363
|
-
<p>Topic: Other</p>
|
364
|
-
<p>Description: Site is broke</p>
|
365
|
-
|
366
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
367
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
368
|
-
|
369
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
|
370
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
371
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
372
|
-
-------------------------------------------------------------------------------------------
|
373
|
-
PointlessFeedback::FeedbackMailerTest: test_0004_feedback from email when set as the sender
|
374
|
-
-------------------------------------------------------------------------------------------
|
375
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
376
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.448349"], ["updated_at", "2017-01-30 21:34:07.448349"]]
|
377
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
378
|
-
|
379
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.1ms
|
380
|
-
|
381
|
-
Sent mail to to@example.com (1.6ms)
|
382
|
-
Date: Mon, 30 Jan 2017 14:34:07 -0700
|
383
|
-
From: from@example.com
|
384
|
-
To: to@example.com
|
385
|
-
Message-ID: <588fb14f6e37c_12ed93fd50103f9d82719b@Eliass-MacBook-Pro.local.mail>
|
386
|
-
Subject: Feedback
|
387
|
-
Mime-Version: 1.0
|
388
|
-
Content-Type: text/html;
|
389
|
-
charset=UTF-8
|
390
|
-
Content-Transfer-Encoding: 7bit
|
391
|
-
|
392
|
-
You've got feedback!
|
393
|
-
|
394
|
-
<p>Name: A Developer</p>
|
395
|
-
<p>Email Address: developer@pointlesscorp.com</p>
|
396
|
-
<p>Topic: Other</p>
|
397
|
-
<p>Description: Site is broke</p>
|
398
|
-
|
399
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
400
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
401
|
-
|
402
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.8ms
|
403
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
404
|
-
[1m[35m (0.0ms)[0m begin transaction
|
405
|
-
-----------------------------------------------------------------------------------------
|
406
|
-
PointlessFeedback::CaptchaTest::.pass?: test_0001_returns true if Google response is true
|
407
|
-
-----------------------------------------------------------------------------------------
|
408
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
409
|
-
[1m[35m (0.0ms)[0m begin transaction
|
410
|
-
------------------------------------------------------------------------------------------
|
411
|
-
PointlessFeedback::CaptchaTest::.pass?: test_0002_returns false if Google response is true
|
412
|
-
------------------------------------------------------------------------------------------
|
413
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
414
|
-
[1m[35m (0.0ms)[0m begin transaction
|
415
|
-
-------------------------------------------------------------------------------
|
416
|
-
PointlessFeedback::MessageTest::validating topics: test_0001_allows valid topic
|
417
|
-
-------------------------------------------------------------------------------
|
418
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
419
|
-
[1m[35m (0.0ms)[0m begin transaction
|
420
|
-
-----------------------------------------------------------------------------------------
|
421
|
-
PointlessFeedback::MessageTest::validating topics: test_0002_does not allow invalid topic
|
422
|
-
-----------------------------------------------------------------------------------------
|
423
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
424
|
-
[1m[35m (0.0ms)[0m begin transaction
|
425
|
-
-------------------------------------------------------------------------------------------------------------------
|
426
|
-
FeedbackSubmissionTest::submitting feedback with the honeypot field filled in: test_0001_redirects to the root path
|
427
|
-
-------------------------------------------------------------------------------------------------------------------
|
428
|
-
Started GET "/pointless_feedback" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
429
|
-
Processing by PointlessFeedback::MessagesController#new as HTML
|
430
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.8ms)
|
431
|
-
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
432
|
-
Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
433
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
434
|
-
Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>"I'm a spam bot!"}, "commit"=>"Submit"}
|
435
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
436
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.472501"], ["updated_at", "2017-01-30 21:34:07.472501"]]
|
437
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
438
|
-
Redirected to http://www.example.com/
|
439
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
440
|
-
Started GET "/" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
441
|
-
Processing by HomeController#index as HTML
|
442
|
-
Rendered home/index.html.erb within layouts/application (0.2ms)
|
443
|
-
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
444
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
445
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
446
|
-
--------------------------------------------------------------------------------------------------------------------
|
447
|
-
FeedbackSubmissionTest::submitting feedback with the honeypot field filled in: test_0002_thanks message is displayed
|
448
|
-
--------------------------------------------------------------------------------------------------------------------
|
449
|
-
Started GET "/pointless_feedback" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
450
|
-
Processing by PointlessFeedback::MessagesController#new as HTML
|
451
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.7ms)
|
452
|
-
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
453
|
-
Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
454
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
455
|
-
Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>"I'm a spam bot!"}, "commit"=>"Submit"}
|
456
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
457
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.490636"], ["updated_at", "2017-01-30 21:34:07.490636"]]
|
458
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
459
|
-
Redirected to http://www.example.com/
|
460
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
461
|
-
Started GET "/" for 127.0.0.1 at 2017-01-30 14:34:07 -0700
|
462
|
-
Processing by HomeController#index as HTML
|
463
|
-
Rendered home/index.html.erb within layouts/application (0.2ms)
|
464
|
-
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
465
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
466
|
-
[1m[35m (0.0ms)[0m begin transaction
|
467
|
-
-------------------------------------------------------------------
|
468
|
-
ViewsGeneratorTest: test_0001_Assert all views are properly created
|
469
|
-
-------------------------------------------------------------------
|
470
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
471
|
-
[1m[35m (0.1ms)[0m begin transaction
|
472
|
-
---------------------------------------------------------------------------
|
473
|
-
PointlessFeedback::MessagesControllerTest::getting new: test_0001_anonymous
|
474
|
-
---------------------------------------------------------------------------
|
475
|
-
Processing by PointlessFeedback::MessagesController#new as HTML
|
476
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.2ms)
|
477
|
-
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
478
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
479
|
-
[1m[35m (0.1ms)[0m begin transaction
|
480
|
-
---------------------------------------------------------------------------
|
481
|
-
PointlessFeedback::MessagesControllerTest::getting new: test_0002_anonymous
|
482
|
-
---------------------------------------------------------------------------
|
483
|
-
Processing by PointlessFeedback::MessagesController#new as HTML
|
484
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.8ms)
|
485
|
-
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
486
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
487
|
-
[1m[35m (0.0ms)[0m begin transaction
|
488
|
-
---------------------------------------------------------------------------
|
489
|
-
PointlessFeedback::MessagesControllerTest::getting new: test_0003_anonymous
|
490
|
-
---------------------------------------------------------------------------
|
491
|
-
Processing by PointlessFeedback::MessagesController#new as HTML
|
492
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.6ms)
|
493
|
-
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
494
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
495
|
-
[1m[35m (0.0ms)[0m begin transaction
|
496
|
-
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
497
|
-
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true::when the honeypot field is not nil: test_0001_does not send mail after create
|
498
|
-
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
499
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
500
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.517169"], ["updated_at", "2017-01-30 21:34:07.517169"]]
|
501
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
502
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
503
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
504
|
-
-----------------------------------------------------------------------------------------------------------------------------------------------
|
505
|
-
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0001_anonymous
|
506
|
-
-----------------------------------------------------------------------------------------------------------------------------------------------
|
507
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
508
|
-
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
509
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
510
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.521314"], ["updated_at", "2017-01-30 21:34:07.521314"]]
|
511
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
512
|
-
|
513
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.0ms
|
514
|
-
|
515
|
-
Sent mail to test1@example.com, test2@example.com (1.8ms)
|
516
|
-
Date: Mon, 30 Jan 2017 14:34:07 -0700
|
517
|
-
From: some_guy@web.com
|
518
|
-
To: test1@example.com,
|
519
|
-
test2@example.com
|
520
|
-
Message-ID: <588fb14f7feda_12ed93fd50103f9d82724f@Eliass-MacBook-Pro.local.mail>
|
521
|
-
Subject: Feedback
|
522
|
-
Mime-Version: 1.0
|
523
|
-
Content-Type: text/html;
|
524
|
-
charset=UTF-8
|
525
|
-
Content-Transfer-Encoding: 7bit
|
526
|
-
|
527
|
-
You've got feedback!
|
528
|
-
|
529
|
-
<p>Name: Some Guy</p>
|
530
|
-
<p>Email Address: some_guy@web.com</p>
|
531
|
-
<p>Topic: Other</p>
|
532
|
-
<p>Description: Yo website bork</p>
|
533
|
-
|
534
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
535
|
-
Redirected to http://test.host/dashboard
|
536
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
537
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
538
|
-
[1m[35m (0.0ms)[0m begin transaction
|
539
|
-
-----------------------------------------------------------------------------------------------------------------------------------------------
|
540
|
-
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0002_anonymous
|
541
|
-
-----------------------------------------------------------------------------------------------------------------------------------------------
|
542
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
543
|
-
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
544
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
545
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.528335"], ["updated_at", "2017-01-30 21:34:07.528335"]]
|
546
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
547
|
-
|
548
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.0ms
|
549
|
-
|
550
|
-
Sent mail to test1@example.com, test2@example.com (1.9ms)
|
551
|
-
Date: Mon, 30 Jan 2017 14:34:07 -0700
|
552
|
-
From: some_guy@web.com
|
553
|
-
To: test1@example.com,
|
554
|
-
test2@example.com
|
555
|
-
Message-ID: <588fb14f81b89_12ed93fd50103f9d8273c7@Eliass-MacBook-Pro.local.mail>
|
556
|
-
Subject: Feedback
|
557
|
-
Mime-Version: 1.0
|
558
|
-
Content-Type: text/html;
|
559
|
-
charset=UTF-8
|
560
|
-
Content-Transfer-Encoding: 7bit
|
561
|
-
|
562
|
-
You've got feedback!
|
563
|
-
|
564
|
-
<p>Name: Some Guy</p>
|
565
|
-
<p>Email Address: some_guy@web.com</p>
|
566
|
-
<p>Topic: Other</p>
|
567
|
-
<p>Description: Yo website bork</p>
|
568
|
-
|
569
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
570
|
-
Redirected to http://test.host/dashboard
|
571
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
572
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
573
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
574
|
-
-----------------------------------------------------------------------------------------------------------------------------------------------
|
575
|
-
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0003_anonymous
|
576
|
-
-----------------------------------------------------------------------------------------------------------------------------------------------
|
577
|
-
Processing by PointlessFeedback::MessagesController#create as HTML
|
578
|
-
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
579
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
580
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.536118"], ["updated_at", "2017-01-30 21:34:07.536118"]]
|
581
|
-
Rendered /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
582
|
-
|
583
|
-
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.9ms
|
584
|
-
|
585
|
-
Sent mail to test1@example.com, test2@example.com (2.0ms)
|
586
|
-
Date: Mon, 30 Jan 2017 14:34:07 -0700
|
587
|
-
From: some_guy@web.com
|
588
|
-
To: test1@example.com,
|
589
|
-
test2@example.com
|
590
|
-
Message-ID: <588fb14f8390f_12ed93fd50103f9d8274db@Eliass-MacBook-Pro.local.mail>
|
591
|
-
Subject: Feedback
|
592
|
-
Mime-Version: 1.0
|
593
|
-
Content-Type: text/html;
|
594
|
-
charset=UTF-8
|
595
|
-
Content-Transfer-Encoding: 7bit
|
596
|
-
|
597
|
-
You've got feedback!
|
598
|
-
|
599
|
-
<p>Name: Some Guy</p>
|
600
|
-
<p>Email Address: some_guy@web.com</p>
|
601
|
-
<p>Topic: Other</p>
|
602
|
-
<p>Description: Yo website bork</p>
|
603
|
-
|
604
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
605
|
-
Redirected to http://test.host/dashboard
|
606
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
607
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
608
|
-
[1m[35m (0.0ms)[0m begin transaction
|
609
|
-
---------------------------------------------------------------------------------------------------------------------------------
|
610
|
-
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is false: test_0001_does not send any mail
|
611
|
-
---------------------------------------------------------------------------------------------------------------------------------
|
612
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
613
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2017-01-30 21:34:07.542967"], ["updated_at", "2017-01-30 21:34:07.542967"]]
|
614
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
615
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pointless_feedback
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zachary Porter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -44,6 +44,20 @@ dependencies:
|
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 0.7.3
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: jquery-rails
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '4.0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '4.0'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: sqlite3
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,41 +185,13 @@ files:
|
|
171
185
|
- test/dummy/config/initializers/wrap_parameters.rb
|
172
186
|
- test/dummy/config/locales/en.yml
|
173
187
|
- test/dummy/config/routes.rb
|
174
|
-
- test/dummy/db/development.sqlite3
|
175
188
|
- test/dummy/db/schema.rb
|
176
|
-
- test/dummy/db/test.sqlite3
|
177
|
-
- test/dummy/log/development.log
|
178
189
|
- test/dummy/log/test.log
|
179
190
|
- test/dummy/public/404.html
|
180
191
|
- test/dummy/public/422.html
|
181
192
|
- test/dummy/public/500.html
|
182
193
|
- test/dummy/public/favicon.ico
|
183
194
|
- test/dummy/script/rails
|
184
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/-0oOwaALeN2C6U2Lf4oQBJ1nh5wDYXlsJ8z4xPZEEx4.cache
|
185
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/-MBjaCcvFm8P6ZUM7imSwTGiu9H1VUHiJ8jz_laxfvU.cache
|
186
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/4ijpxiCY5FX0eKhBIlhP8S8RwNcgw4mohmV5R3-NO-0.cache
|
187
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/ATjMcxF2YTj1CAeKJ6gTThZZENlGNqkQFdTeNQq8LCo.cache
|
188
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/AgZuni2-KlpBwiFEgCnZ1tGJMlmS2aVsrHKOANrfZPQ.cache
|
189
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/DuX1XpKk4ddK37cVjPSNPfsdeHIBFuGV2QwkG8QEtY4.cache
|
190
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/FEIeBqp48l8RmXoaFSdMLcJNdAptwSCUvV-ZrgqsRHM.cache
|
191
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/JQXfX9DLVvW1478_BbTIZwPwA4U6dL7wjdKFsglI47Y.cache
|
192
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/MxboiphF1c1dXcdIWTcLrOYRbtgxSvyCX_fSqp9UQvg.cache
|
193
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/QPssSaELa26pwc44Sm9nFm913gm1r37I5p_Y3SnuKBQ.cache
|
194
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/RTsh6942GI0NgjZ_BtihrdXs8sifqNM9je7uwf-aIG4.cache
|
195
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/VjtzqkJ9e7a5RGc9vvNJ5QVLBUTMVxENYm-R3aloVSE.cache
|
196
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/YSchFNkol6mCLBDGv-HIyHiYnL3vm0YXMF5WTV-bI2c.cache
|
197
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/YdsSyatfxEtry8QdwIqng3FOoLhJ_g7EYa337Rvx5MQ.cache
|
198
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/ae5GoXFVrXWkGcXYAgbdq0n-5WHDHdISjoQZAYiR6zc.cache
|
199
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/awffKk8tIPRATKwldsJ6KMqoj5EAf8UlF3BH1UOdt3k.cache
|
200
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/bgJtAH0m7pcdU1xGydIj3JdvFbgwHTgKNX74DaCxumI.cache
|
201
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/hE63J2NAufW642gX0eiJ7sS2ioeDfSUNk5oNFyx-nOQ.cache
|
202
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/klW_6aLa_0CKZE63Nz8gA1OQiSPdOyTsNno3BtRhrmk.cache
|
203
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/mGhWF1tGFj0NQIvR3YkJVz6RCwE7N8jwgJYtDD2ENwg.cache
|
204
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/nWPzDIv2bDw7bxzPwEncUtGw5qeqvRvIAYOeAGAZ59Q.cache
|
205
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/vuKUU3-bLo_9wiVP3Iqy9U7t0bzvjHVb7ZMm-Jv55-Q.cache
|
206
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/x6q8nmoqMUuvK7gPeQgOHxaZT60OXsj4apC0vSWbLvg.cache
|
207
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/xkwz-k3Fwdid3t8oAAJXneZXZFjiBOx-4DwAVCxUTdk.cache
|
208
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/yNbc-nHQpJY8qwtFU3XAzCcsh235SqNdfYikQDhvcPc.cache
|
209
195
|
- test/factories/messages.rb
|
210
196
|
- test/functional/pointless_feedback/feedback_mailer_test.rb
|
211
197
|
- test/functional/pointless_feedback/messages_controller_test.rb
|
@@ -215,7 +201,6 @@ files:
|
|
215
201
|
- test/integration/pointless_feedback/main_app_root_url_test.rb
|
216
202
|
- test/pointless_feedback_test.rb
|
217
203
|
- test/test_helper.rb
|
218
|
-
- test/tmp/app/views/pointless_feedback/messages/new.html.erb
|
219
204
|
- test/unit/helpers/pointless_feedback/application_helper_test.rb
|
220
205
|
- test/unit/pointless_feedback/captcha_test.rb
|
221
206
|
- test/unit/pointless_feedback/message_test.rb
|
@@ -239,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
224
|
version: '0'
|
240
225
|
requirements: []
|
241
226
|
rubyforge_project:
|
242
|
-
rubygems_version: 2.
|
227
|
+
rubygems_version: 2.7.6
|
243
228
|
signing_key:
|
244
229
|
specification_version: 4
|
245
230
|
summary: Simple Rails Engine to allow users to submit feedback
|
@@ -268,10 +253,7 @@ test_files:
|
|
268
253
|
- test/dummy/config/locales/en.yml
|
269
254
|
- test/dummy/config/routes.rb
|
270
255
|
- test/dummy/config.ru
|
271
|
-
- test/dummy/db/development.sqlite3
|
272
256
|
- test/dummy/db/schema.rb
|
273
|
-
- test/dummy/db/test.sqlite3
|
274
|
-
- test/dummy/log/development.log
|
275
257
|
- test/dummy/log/test.log
|
276
258
|
- test/dummy/public/404.html
|
277
259
|
- test/dummy/public/422.html
|
@@ -280,31 +262,6 @@ test_files:
|
|
280
262
|
- test/dummy/Rakefile
|
281
263
|
- test/dummy/README.rdoc
|
282
264
|
- test/dummy/script/rails
|
283
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/-0oOwaALeN2C6U2Lf4oQBJ1nh5wDYXlsJ8z4xPZEEx4.cache
|
284
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/-MBjaCcvFm8P6ZUM7imSwTGiu9H1VUHiJ8jz_laxfvU.cache
|
285
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/4ijpxiCY5FX0eKhBIlhP8S8RwNcgw4mohmV5R3-NO-0.cache
|
286
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/ae5GoXFVrXWkGcXYAgbdq0n-5WHDHdISjoQZAYiR6zc.cache
|
287
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/AgZuni2-KlpBwiFEgCnZ1tGJMlmS2aVsrHKOANrfZPQ.cache
|
288
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/ATjMcxF2YTj1CAeKJ6gTThZZENlGNqkQFdTeNQq8LCo.cache
|
289
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/awffKk8tIPRATKwldsJ6KMqoj5EAf8UlF3BH1UOdt3k.cache
|
290
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/bgJtAH0m7pcdU1xGydIj3JdvFbgwHTgKNX74DaCxumI.cache
|
291
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/DuX1XpKk4ddK37cVjPSNPfsdeHIBFuGV2QwkG8QEtY4.cache
|
292
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/FEIeBqp48l8RmXoaFSdMLcJNdAptwSCUvV-ZrgqsRHM.cache
|
293
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/hE63J2NAufW642gX0eiJ7sS2ioeDfSUNk5oNFyx-nOQ.cache
|
294
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/JQXfX9DLVvW1478_BbTIZwPwA4U6dL7wjdKFsglI47Y.cache
|
295
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/klW_6aLa_0CKZE63Nz8gA1OQiSPdOyTsNno3BtRhrmk.cache
|
296
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/mGhWF1tGFj0NQIvR3YkJVz6RCwE7N8jwgJYtDD2ENwg.cache
|
297
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/MxboiphF1c1dXcdIWTcLrOYRbtgxSvyCX_fSqp9UQvg.cache
|
298
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/nWPzDIv2bDw7bxzPwEncUtGw5qeqvRvIAYOeAGAZ59Q.cache
|
299
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/QPssSaELa26pwc44Sm9nFm913gm1r37I5p_Y3SnuKBQ.cache
|
300
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/RTsh6942GI0NgjZ_BtihrdXs8sifqNM9je7uwf-aIG4.cache
|
301
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/VjtzqkJ9e7a5RGc9vvNJ5QVLBUTMVxENYm-R3aloVSE.cache
|
302
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/vuKUU3-bLo_9wiVP3Iqy9U7t0bzvjHVb7ZMm-Jv55-Q.cache
|
303
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/x6q8nmoqMUuvK7gPeQgOHxaZT60OXsj4apC0vSWbLvg.cache
|
304
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/xkwz-k3Fwdid3t8oAAJXneZXZFjiBOx-4DwAVCxUTdk.cache
|
305
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/YdsSyatfxEtry8QdwIqng3FOoLhJ_g7EYa337Rvx5MQ.cache
|
306
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/yNbc-nHQpJY8qwtFU3XAzCcsh235SqNdfYikQDhvcPc.cache
|
307
|
-
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/YSchFNkol6mCLBDGv-HIyHiYnL3vm0YXMF5WTV-bI2c.cache
|
308
265
|
- test/factories/messages.rb
|
309
266
|
- test/functional/pointless_feedback/feedback_mailer_test.rb
|
310
267
|
- test/functional/pointless_feedback/messages_controller_test.rb
|
@@ -314,7 +271,6 @@ test_files:
|
|
314
271
|
- test/integration/pointless_feedback/main_app_root_url_test.rb
|
315
272
|
- test/pointless_feedback_test.rb
|
316
273
|
- test/test_helper.rb
|
317
|
-
- test/tmp/app/views/pointless_feedback/messages/new.html.erb
|
318
274
|
- test/unit/helpers/pointless_feedback/application_helper_test.rb
|
319
275
|
- test/unit/pointless_feedback/captcha_test.rb
|
320
276
|
- test/unit/pointless_feedback/message_test.rb
|
Binary file
|
data/test/dummy/db/test.sqlite3
DELETED
Binary file
|
@@ -1,17 +0,0 @@
|
|
1
|
-
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
-
Migrating to CreatePointlessFeedbackMessages (20130501182659)
|
6
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/db/migrate/20130501182659_create_pointless_feedback_messages.rb:9)
|
8
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "pointless_feedback_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email_address" varchar, "topic" varchar, "description" text, "created_at" datetime, "updated_at" datetime)
|
9
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130501182659"]]
|
10
|
-
[1m[35m (0.7ms)[0m commit transaction
|
11
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
12
|
-
[1m[36m (2.1ms)[0m [1mCREATE TABLE "pointless_feedback_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email_address" varchar, "topic" varchar, "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
13
|
-
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
14
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
15
|
-
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
16
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
17
|
-
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130501182659')
|
@@ -1 +0,0 @@
|
|
1
|
-
"%����"m�J���S��E�j!�/�d�]�/[���
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets/application.css?type=text/css&id=2fe8f7d09ff4db0be24256fcbf0cfb17efadd732e815b37371f815ba4e3f317c:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
"%|�<�i�Xc�0�ګ��r�.Cn���WJ�
|
@@ -1 +0,0 @@
|
|
1
|
-
"%X�p5����9~]~BK�����s��}^���%
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=54e0515a6ff6483e7e1b6a4d38d1c57353c7127993d5862fb96ea1efc589f323:ET
|
Binary file
|
@@ -1,3 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash}
|
3
|
-
I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"�file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets/application.css;TTI"ufile-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets;TTF
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/javascripts/application.js?type=application/javascript&id=ef41447e404d637b84556a987f941049dddf5c7381a520ba25c177b3321ca21d:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js?type=application/javascript&pipeline=self&id=06407b8961676bf132abac47d9cb48c1046a5cdd09439c529a5b02bf0b9b7130:ET
|
Binary file
|
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash}I"environment-version:ETTI"environment-paths;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"lfile-digest:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TTI"pfile-digest:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TTI"ufile-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/javascripts;TTI"|file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/javascripts/jquery;TTI"ufile-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets;TTI"|file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets/jquery;TTI"bfile-digest:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts;TTI"ifile-digest:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery;TTI"{file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/javascripts/jquery_ujs;TTI"{file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets/jquery_ujs;TTI"mfile-digest:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs;TTF
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
"%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=e31e5de488cc0aad4df15db468d22b722cc617a868bb77e4f9d9c079f19a05be:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
"%�RH���=kՎ�!1�d/_-�����6^�
|
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash}I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"�file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"ufile-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets;TTF
|
Binary file
|
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash}I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/javascripts/application.js;TTI"ufile-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/javascripts;TTI"|file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/javascripts/jquery;TTI"ufile-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets;TTI"|file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets/jquery;TTI"bfile-digest:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts;TTI"ifile-digest:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery;TTI"lfile-digest:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TTI"{file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/javascripts/jquery_ujs;TTI"{file-digest:///Users/efatsi/Desktop/Projects/Pointless_Corp/pointless-feedback/test/dummy/app/assets/stylesheets/jquery_ujs;TTI"mfile-digest:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs;TTI"pfile-digest:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TTF
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/.gem/ruby/2.3.1/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=804cd86536a20b67977aafd845e411a51f071d453b0ef4bea82211c62bb4b8cf:ET
|
@@ -1,67 +0,0 @@
|
|
1
|
-
<% if PointlessFeedback.using_captcha? %>
|
2
|
-
<head>
|
3
|
-
<script src='https://www.google.com/recaptcha/api.js'></script>
|
4
|
-
</head>
|
5
|
-
<% end %>
|
6
|
-
|
7
|
-
<%= form_for @message do |f| %>
|
8
|
-
<% if @message.errors.any? %>
|
9
|
-
<div class="error_messages">
|
10
|
-
<h2>
|
11
|
-
<%= I18n.t('activerecord.errors.header', :default => 'Invalid Fields') %>
|
12
|
-
</h2>
|
13
|
-
|
14
|
-
<p>
|
15
|
-
<%= I18n.t('activerecord.errors.message', :default => 'Correct the following errors and try again.') %>
|
16
|
-
</p>
|
17
|
-
|
18
|
-
<ul>
|
19
|
-
<% @message.errors.full_messages.each do |message| %>
|
20
|
-
<li><%= message.html_safe %></li>
|
21
|
-
<% end %>
|
22
|
-
</ul>
|
23
|
-
</div>
|
24
|
-
<% end %>
|
25
|
-
|
26
|
-
<fieldset class="user-fields">
|
27
|
-
<legend>About You</legend>
|
28
|
-
|
29
|
-
<div class="field">
|
30
|
-
<%= f.label :name %>
|
31
|
-
<%= f.text_field :name %>
|
32
|
-
</div>
|
33
|
-
|
34
|
-
<div class="field">
|
35
|
-
<%= f.label :email_address %>
|
36
|
-
<%= f.text_field :email_address %>
|
37
|
-
</div>
|
38
|
-
</fieldset>
|
39
|
-
|
40
|
-
<fieldset class="feedback-fields">
|
41
|
-
<legend>Leave Your Feedback</legend>
|
42
|
-
|
43
|
-
<div class="field">
|
44
|
-
<%= f.label :topic %>
|
45
|
-
<%= f.select :topic, PointlessFeedback.message_topics, { :prompt => true } %>
|
46
|
-
</div>
|
47
|
-
|
48
|
-
<div class="field">
|
49
|
-
<%= f.label :description %>
|
50
|
-
<%= f.text_area :description %>
|
51
|
-
</div>
|
52
|
-
|
53
|
-
<!-- This is a honeypot field to keep the spammers away. Do not remove. -->
|
54
|
-
<!-- If this field is filled in, feedback will not be emailed -->
|
55
|
-
<div class="contact-input" style="position: absolute; left: -9999px;">
|
56
|
-
<%= f.text_field :contact_info %>
|
57
|
-
</div>
|
58
|
-
<!-- End of honeypot field -->
|
59
|
-
|
60
|
-
</fieldset>
|
61
|
-
|
62
|
-
<% if PointlessFeedback.using_captcha? %>
|
63
|
-
<div class="g-recaptcha" data-sitekey="<%= PointlessFeedback.google_captcha_site_key %>"></div>
|
64
|
-
<% end %>
|
65
|
-
|
66
|
-
<%= f.submit 'Submit' %>
|
67
|
-
<% end %>
|