contact_us 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -4,6 +4,11 @@ A Rails 3+ Engine providing a basic contact form. I used Formtastic to keep thi
4
4
 
5
5
  [![Build Status](https://secure.travis-ci.org/jdutil/contact_us.png)](http://travis-ci.org/jdutil/contact_us)
6
6
 
7
+ There is also a demo application showing how the ContactUs form works:
8
+
9
+ * [View Demo Form In Action](http://contact-us-demo.heroku.com)
10
+ * [View Demo Applications Source Code](http://github.com/jdutil/contact_us_demo)
11
+
7
12
  ## REQUIREMENTS
8
13
 
9
14
  Contact Us requires the Formtastic Gem. Read more about Formtastic @ https://github.com/justinfrench/formtastic
@@ -12,7 +17,7 @@ Contact Us requires the Formtastic Gem. Read more about Formtastic @ https://gi
12
17
 
13
18
  In your `Gemfile`, add the following dependencies:
14
19
 
15
- gem 'contact_us', '~> 0.1.2'
20
+ gem 'contact_us', '~> 0.1.3'
16
21
 
17
22
  From `Rails.root` run:
18
23
 
@@ -0,0 +1,17 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ es:
5
+ contact_us:
6
+ contact_mailer:
7
+ contact_email:
8
+ sent_by_contact_form: "Enviado por el formulario de contacto."
9
+ contacts:
10
+ new:
11
+ contact_us: "Contactanos"
12
+ email: "Email"
13
+ message: "Mensaje"
14
+ submit: "Enviar"
15
+ notices:
16
+ error: "Debes de ingresar ambos campos."
17
+ success: "El correo electrónico de contacto fue enviado con éxito."
@@ -0,0 +1,17 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ it:
5
+ contact_us:
6
+ contact_mailer:
7
+ contact_email:
8
+ sent_by_contact_form: "Inviato dal formato di contatto."
9
+ contacts:
10
+ new:
11
+ contact_us: "Contattaci"
12
+ email: "Email"
13
+ message: "Messaggio"
14
+ submit: "Inviare"
15
+ notices:
16
+ error: "Devi inserire entrambi i campi."
17
+ success: "La mail di contatto è stata inviata."
@@ -0,0 +1,17 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ pt-BR:
5
+ contact_us:
6
+ contact_mailer:
7
+ contact_email:
8
+ sent_by_contact_form: "Enviado pelo formulário de contato."
9
+ contacts:
10
+ new:
11
+ contact_us: "Contate-nos"
12
+ email: "Email"
13
+ message: "Messagem"
14
+ submit: "Enviar"
15
+ notices:
16
+ error: "Você deve preencher os campos."
17
+ success: "Email de contato foi enviado com sucesso."
@@ -1,3 +1,3 @@
1
1
  module ContactUs
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -0,0 +1,17 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ es:
5
+ contact_us:
6
+ contact_mailer:
7
+ contact_email:
8
+ sent_by_contact_form: "Enviado por el formulario de contacto."
9
+ contacts:
10
+ new:
11
+ contact_us: "Contactanos"
12
+ email: "Email"
13
+ message: "Mensaje"
14
+ submit: "Enviar"
15
+ notices:
16
+ error: "Debes de ingresar ambos campos."
17
+ success: "El correo electrónico de contacto fue enviado con éxito."
@@ -0,0 +1,17 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ it:
5
+ contact_us:
6
+ contact_mailer:
7
+ contact_email:
8
+ sent_by_contact_form: "Inviato dal formato di contatto."
9
+ contacts:
10
+ new:
11
+ contact_us: "Contattaci"
12
+ email: "Email"
13
+ message: "Messaggio"
14
+ submit: "Inviare"
15
+ notices:
16
+ error: "Devi inserire entrambi i campi."
17
+ success: "La mail di contatto è stata inviata."
@@ -0,0 +1,17 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ pt-BR:
5
+ contact_us:
6
+ contact_mailer:
7
+ contact_email:
8
+ sent_by_contact_form: "Enviado pelo formulário de contato."
9
+ contacts:
10
+ new:
11
+ contact_us: "Contate-nos"
12
+ email: "Email"
13
+ message: "Messagem"
14
+ submit: "Enviar"
15
+ notices:
16
+ error: "Você deve preencher os campos."
17
+ success: "Email de contato foi enviado com sucesso."
@@ -48,7 +48,7 @@ Dummy::Application.routes.draw do
48
48
 
49
49
  # You can have the root of your site routed with "root"
50
50
  # just remember to delete public/index.html.
51
- # root :to => "welcome#index"
51
+ root :to => "contact_us/contacts#new"
52
52
 
53
53
  # See how all your routes lay out with "rake routes"
54
54
 
@@ -985,6 +985,612 @@ Content-Type: text/html;
985
985
  charset=UTF-8
986
986
  Content-Transfer-Encoding: 7bit
987
987
 
988
+ <p>Thanks!</p>
989
+ <p>---------------------</p>
990
+ <p>Sent by contact form.</p>
991
+ SQL (0.5ms)  SELECT name
992
+ FROM sqlite_master
993
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
994
+ 
995
+ SQL (0.5ms) select sqlite_version(*)
996
+ SQL (0.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
997
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
998
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
999
+ SQL (0.2ms) SELECT name
1000
+ FROM sqlite_master
1001
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1002
+ Processing by ContactUs::ContactsController#create as HTML
1003
+ Parameters: {"contact_us_contact"=>{"email"=>"test@test.com", "message"=>"test"}}
1004
+ Rendered /Users/JD/contact_us/app/views/contact_us/contact_mailer/contact_email.html.erb (62.4ms)
1005
+
1006
+ Sent mail to contact@please-change-me.com (160ms)
1007
+ Date: Fri, 02 Sep 2011 21:29:08 -0400
1008
+ From: test@test.com
1009
+ To: contact@please-change-me.com
1010
+ Message-ID: <4e6182e45f407_139bd3ffba2034ed03407@JDs-MacBook-Pro.local.mail>
1011
+ Subject: Contact Us message from test@test.com
1012
+ Mime-Version: 1.0
1013
+ Content-Type: text/html;
1014
+ charset=UTF-8
1015
+ Content-Transfer-Encoding: 7bit
1016
+
1017
+ <p>test</p>
1018
+ <p>---------------------</p>
1019
+ <p>Sent by contact form.</p>
1020
+ Redirected to http://test.host/
1021
+ Completed 302 Found in 421ms
1022
+ Processing by ContactUs::ContactsController#create as HTML
1023
+ Parameters: {"contact_us_contact"=>{"email"=>"test@test.com", "message"=>""}}
1024
+ Completed 200 OK in 36ms (Views: 33.3ms | ActiveRecord: 2.0ms)
1025
+ Processing by ContactUs::ContactsController#new as HTML
1026
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)
1027
+
1028
+
1029
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:29:08 -0400
1030
+ Processing by ContactUs::ContactsController#new as HTML
1031
+ Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)
1032
+
1033
+
1034
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:29:08 -0400
1035
+ Processing by ContactUs::ContactsController#new as HTML
1036
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
1037
+
1038
+
1039
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:29:08 -0400
1040
+ Processing by ContactUs::ContactsController#new as HTML
1041
+ Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)
1042
+
1043
+
1044
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1045
+ Processing by ContactUs::ContactsController#new as HTML
1046
+ Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)
1047
+
1048
+
1049
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1050
+ Processing by ContactUs::ContactsController#new as HTML
1051
+ Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
1052
+
1053
+
1054
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1055
+ Processing by ContactUs::ContactsController#create as HTML
1056
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"test@example.com", "message"=>"howdy"}, "commit"=>"Submit"}
1057
+
1058
+ Sent mail to contact@please-change-me.com (14ms)
1059
+ Date: Fri, 02 Sep 2011 21:29:09 -0400
1060
+ From: test@example.com
1061
+ To: contact@please-change-me.com
1062
+ Message-ID: <4e6182e519f62_139bd3ffba2034ed034127@JDs-MacBook-Pro.local.mail>
1063
+ Subject: Contact Us message from test@example.com
1064
+ Mime-Version: 1.0
1065
+ Content-Type: text/html;
1066
+ charset=UTF-8
1067
+ Content-Transfer-Encoding: 7bit
1068
+
1069
+ <p>howdy</p>
1070
+ <p>---------------------</p>
1071
+ <p>Sent by contact form.</p>
1072
+ Redirected to http://www.example.com/
1073
+ Completed 302 Found in 32ms
1074
+
1075
+
1076
+ Started GET "/" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1077
+
1078
+
1079
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1080
+ Processing by ContactUs::ContactsController#new as HTML
1081
+ Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
1082
+
1083
+
1084
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1085
+ Processing by ContactUs::ContactsController#create as HTML
1086
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"test@example.com", "message"=>"howdy"}, "commit"=>"Submit"}
1087
+
1088
+ Sent mail to contact@please-change-me.com (14ms)
1089
+ Date: Fri, 02 Sep 2011 21:29:09 -0400
1090
+ From: test@example.com
1091
+ To: contact@please-change-me.com
1092
+ Message-ID: <4e6182e52a549_139bd3ffba2034ed034253@JDs-MacBook-Pro.local.mail>
1093
+ Subject: Contact Us message from test@example.com
1094
+ Mime-Version: 1.0
1095
+ Content-Type: text/html;
1096
+ charset=UTF-8
1097
+ Content-Transfer-Encoding: 7bit
1098
+
1099
+ <p>howdy</p>
1100
+ <p>---------------------</p>
1101
+ <p>Sent by contact form.</p>
1102
+ Redirected to http://www.example.com/
1103
+ Completed 302 Found in 36ms
1104
+
1105
+
1106
+ Started GET "/" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1107
+
1108
+
1109
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1110
+ Processing by ContactUs::ContactsController#new as HTML
1111
+ Completed 200 OK in 10ms (Views: 10.1ms | ActiveRecord: 0.0ms)
1112
+
1113
+
1114
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1115
+ Processing by ContactUs::ContactsController#create as HTML
1116
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"test@example.com", "message"=>"howdy"}, "commit"=>"Submit"}
1117
+
1118
+ Sent mail to contact@please-change-me.com (14ms)
1119
+ Date: Fri, 02 Sep 2011 21:29:09 -0400
1120
+ From: test@example.com
1121
+ To: contact@please-change-me.com
1122
+ Message-ID: <4e6182e54ac6f_139bd3ffba2034ed0343f7@JDs-MacBook-Pro.local.mail>
1123
+ Subject: Contact Us message from test@example.com
1124
+ Mime-Version: 1.0
1125
+ Content-Type: text/html;
1126
+ charset=UTF-8
1127
+ Content-Transfer-Encoding: 7bit
1128
+
1129
+ <p>howdy</p>
1130
+ <p>---------------------</p>
1131
+ <p>Sent by contact form.</p>
1132
+ Redirected to http://www.example.com/
1133
+ Completed 302 Found in 97ms
1134
+
1135
+
1136
+ Started GET "/" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1137
+
1138
+
1139
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1140
+ Processing by ContactUs::ContactsController#new as HTML
1141
+ Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)
1142
+
1143
+
1144
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1145
+ Processing by ContactUs::ContactsController#create as HTML
1146
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"a", "message"=>""}, "commit"=>"Submit"}
1147
+ Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.0ms)
1148
+
1149
+
1150
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1151
+ Processing by ContactUs::ContactsController#new as HTML
1152
+ Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
1153
+
1154
+
1155
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:29:09 -0400
1156
+ Processing by ContactUs::ContactsController#create as HTML
1157
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"a", "message"=>""}, "commit"=>"Submit"}
1158
+ Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms)
1159
+
1160
+ Sent mail to contact@please-change-me.com (15ms)
1161
+ Date: Fri, 02 Sep 2011 21:29:09 -0400
1162
+ From: test@email.com
1163
+ To: contact@please-change-me.com
1164
+ Message-ID: <4e6182e5ae425_139bd3ffba2034ed03443c@JDs-MacBook-Pro.local.mail>
1165
+ Subject: Contact Us message from test@email.com
1166
+ Mime-Version: 1.0
1167
+ Content-Type: text/html;
1168
+ charset=UTF-8
1169
+ Content-Transfer-Encoding: 7bit
1170
+
1171
+ <p>Thanks!</p>
1172
+ <p>---------------------</p>
1173
+ <p>Sent by contact form.</p>
1174
+
1175
+ Sent mail to contact@please-change-me.com (17ms)
1176
+ Date: Fri, 02 Sep 2011 21:29:09 -0400
1177
+ From: test@email.com
1178
+ To: contact@please-change-me.com
1179
+ Message-ID: <4e6182e5ba80c_139bd3ffba2034ed034594@JDs-MacBook-Pro.local.mail>
1180
+ Subject: Contact Us message from test@email.com
1181
+ Mime-Version: 1.0
1182
+ Content-Type: text/html;
1183
+ charset=UTF-8
1184
+ Content-Transfer-Encoding: 7bit
1185
+
1186
+ <p>Thanks!</p>
1187
+ <p>---------------------</p>
1188
+ <p>Sent by contact form.</p>
1189
+ SQL (0.4ms)  SELECT name
1190
+ FROM sqlite_master
1191
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1192
+ 
1193
+ SQL (0.1ms) select sqlite_version(*)
1194
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1195
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
1196
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1197
+ SQL (0.2ms) SELECT name
1198
+ FROM sqlite_master
1199
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1200
+ Processing by ContactUs::ContactsController#create as HTML
1201
+ Parameters: {"contact_us_contact"=>{"email"=>"test@test.com", "message"=>"test"}}
1202
+ Rendered /Users/JD/contact_us/app/views/contact_us/contact_mailer/contact_email.html.erb (6.8ms)
1203
+
1204
+ Sent mail to contact@please-change-me.com (169ms)
1205
+ Date: Fri, 02 Sep 2011 21:31:18 -0400
1206
+ From: test@test.com
1207
+ To: contact@please-change-me.com
1208
+ Message-ID: <4e6183665baab_13a9b3fed31434ec475362@JDs-MacBook-Pro.local.mail>
1209
+ Subject: Contact Us message from test@test.com
1210
+ Mime-Version: 1.0
1211
+ Content-Type: text/html;
1212
+ charset=UTF-8
1213
+ Content-Transfer-Encoding: 7bit
1214
+
1215
+ <p>test</p>
1216
+ <p>---------------------</p>
1217
+ <p>Sent by contact form.</p>
1218
+ Redirected to http://test.host/
1219
+ Completed 302 Found in 343ms
1220
+ Processing by ContactUs::ContactsController#create as HTML
1221
+ Parameters: {"contact_us_contact"=>{"email"=>"test@test.com", "message"=>""}}
1222
+ Completed 200 OK in 14ms (Views: 10.7ms | ActiveRecord: 1.1ms)
1223
+ Processing by ContactUs::ContactsController#new as HTML
1224
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
1225
+
1226
+
1227
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:31:18 -0400
1228
+ Processing by ContactUs::ContactsController#new as HTML
1229
+ Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.0ms)
1230
+
1231
+
1232
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:31:18 -0400
1233
+ Processing by ContactUs::ContactsController#new as HTML
1234
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
1235
+
1236
+
1237
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:31:18 -0400
1238
+ Processing by ContactUs::ContactsController#new as HTML
1239
+ Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms)
1240
+
1241
+
1242
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:31:18 -0400
1243
+ Processing by ContactUs::ContactsController#new as HTML
1244
+ Completed 200 OK in 8ms (Views: 8.0ms | ActiveRecord: 0.0ms)
1245
+
1246
+
1247
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:31:18 -0400
1248
+ Processing by ContactUs::ContactsController#new as HTML
1249
+ Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
1250
+
1251
+
1252
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:31:18 -0400
1253
+ Processing by ContactUs::ContactsController#create as HTML
1254
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"test@example.com", "message"=>"howdy"}, "commit"=>"Submit"}
1255
+
1256
+ Sent mail to contact@please-change-me.com (15ms)
1257
+ Date: Fri, 02 Sep 2011 21:31:18 -0400
1258
+ From: test@example.com
1259
+ To: contact@please-change-me.com
1260
+ Message-ID: <4e618366e66ba_13a9b3fed31434ec475489@JDs-MacBook-Pro.local.mail>
1261
+ Subject: Contact Us message from test@example.com
1262
+ Mime-Version: 1.0
1263
+ Content-Type: text/html;
1264
+ charset=UTF-8
1265
+ Content-Transfer-Encoding: 7bit
1266
+
1267
+ <p>howdy</p>
1268
+ <p>---------------------</p>
1269
+ <p>Sent by contact form.</p>
1270
+ Redirected to http://www.example.com/
1271
+ Completed 302 Found in 33ms
1272
+
1273
+
1274
+ Started GET "/" for 127.0.0.1 at 2011-09-02 21:31:18 -0400
1275
+ Processing by ContactUs::ContactsController#new as HTML
1276
+ Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)
1277
+
1278
+
1279
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:31:18 -0400
1280
+ Processing by ContactUs::ContactsController#new as HTML
1281
+ Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)
1282
+
1283
+
1284
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:31:18 -0400
1285
+ Processing by ContactUs::ContactsController#create as HTML
1286
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"test@example.com", "message"=>"howdy"}, "commit"=>"Submit"}
1287
+
1288
+ Sent mail to contact@please-change-me.com (13ms)
1289
+ Date: Fri, 02 Sep 2011 21:31:19 -0400
1290
+ From: test@example.com
1291
+ To: contact@please-change-me.com
1292
+ Message-ID: <4e61836742de_13a9b3fed31434ec47554d@JDs-MacBook-Pro.local.mail>
1293
+ Subject: Contact Us message from test@example.com
1294
+ Mime-Version: 1.0
1295
+ Content-Type: text/html;
1296
+ charset=UTF-8
1297
+ Content-Transfer-Encoding: 7bit
1298
+
1299
+ <p>howdy</p>
1300
+ <p>---------------------</p>
1301
+ <p>Sent by contact form.</p>
1302
+ Redirected to http://www.example.com/
1303
+ Completed 302 Found in 32ms
1304
+
1305
+
1306
+ Started GET "/" for 127.0.0.1 at 2011-09-02 21:31:19 -0400
1307
+ Processing by ContactUs::ContactsController#new as HTML
1308
+ Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
1309
+
1310
+
1311
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:31:19 -0400
1312
+ Processing by ContactUs::ContactsController#new as HTML
1313
+ Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms)
1314
+
1315
+
1316
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:31:19 -0400
1317
+ Processing by ContactUs::ContactsController#create as HTML
1318
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"test@example.com", "message"=>"howdy"}, "commit"=>"Submit"}
1319
+
1320
+ Sent mail to contact@please-change-me.com (15ms)
1321
+ Date: Fri, 02 Sep 2011 21:31:19 -0400
1322
+ From: test@example.com
1323
+ To: contact@please-change-me.com
1324
+ Message-ID: <4e61836728d55_13a9b3fed31434ec475624@JDs-MacBook-Pro.local.mail>
1325
+ Subject: Contact Us message from test@example.com
1326
+ Mime-Version: 1.0
1327
+ Content-Type: text/html;
1328
+ charset=UTF-8
1329
+ Content-Transfer-Encoding: 7bit
1330
+
1331
+ <p>howdy</p>
1332
+ <p>---------------------</p>
1333
+ <p>Sent by contact form.</p>
1334
+ Redirected to http://www.example.com/
1335
+ Completed 302 Found in 34ms
1336
+
1337
+
1338
+ Started GET "/" for 127.0.0.1 at 2011-09-02 21:31:19 -0400
1339
+ Processing by ContactUs::ContactsController#new as HTML
1340
+ Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)
1341
+
1342
+
1343
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:31:19 -0400
1344
+ Processing by ContactUs::ContactsController#new as HTML
1345
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)
1346
+
1347
+
1348
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:31:19 -0400
1349
+ Processing by ContactUs::ContactsController#create as HTML
1350
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"a", "message"=>""}, "commit"=>"Submit"}
1351
+ Completed 200 OK in 17ms (Views: 13.9ms | ActiveRecord: 0.0ms)
1352
+
1353
+
1354
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:31:19 -0400
1355
+ Processing by ContactUs::ContactsController#new as HTML
1356
+ Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)
1357
+
1358
+
1359
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:31:19 -0400
1360
+ Processing by ContactUs::ContactsController#create as HTML
1361
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"a", "message"=>""}, "commit"=>"Submit"}
1362
+ Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.0ms)
1363
+
1364
+ Sent mail to contact@please-change-me.com (18ms)
1365
+ Date: Fri, 02 Sep 2011 21:31:19 -0400
1366
+ From: test@email.com
1367
+ To: contact@please-change-me.com
1368
+ Message-ID: <4e61836788525_13a9b3fed31434ec475712@JDs-MacBook-Pro.local.mail>
1369
+ Subject: Contact Us message from test@email.com
1370
+ Mime-Version: 1.0
1371
+ Content-Type: text/html;
1372
+ charset=UTF-8
1373
+ Content-Transfer-Encoding: 7bit
1374
+
1375
+ <p>Thanks!</p>
1376
+ <p>---------------------</p>
1377
+ <p>Sent by contact form.</p>
1378
+
1379
+ Sent mail to contact@please-change-me.com (14ms)
1380
+ Date: Fri, 02 Sep 2011 21:31:19 -0400
1381
+ From: test@email.com
1382
+ To: contact@please-change-me.com
1383
+ Message-ID: <4e61836795093_13a9b3fed31434ec4758fe@JDs-MacBook-Pro.local.mail>
1384
+ Subject: Contact Us message from test@email.com
1385
+ Mime-Version: 1.0
1386
+ Content-Type: text/html;
1387
+ charset=UTF-8
1388
+ Content-Transfer-Encoding: 7bit
1389
+
1390
+ <p>Thanks!</p>
1391
+ <p>---------------------</p>
1392
+ <p>Sent by contact form.</p>
1393
+ SQL (0.4ms)  SELECT name
1394
+ FROM sqlite_master
1395
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1396
+ 
1397
+ SQL (0.2ms) select sqlite_version(*)
1398
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1399
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
1400
+ SQL (0.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1401
+ SQL (0.1ms) SELECT name
1402
+ FROM sqlite_master
1403
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1404
+ Processing by ContactUs::ContactsController#create as HTML
1405
+ Parameters: {"contact_us_contact"=>{"email"=>"test@test.com", "message"=>"test"}}
1406
+ Rendered /Users/JD/contact_us/app/views/contact_us/contact_mailer/contact_email.html.erb (5.6ms)
1407
+
1408
+ Sent mail to contact@please-change-me.com (145ms)
1409
+ Date: Fri, 02 Sep 2011 21:32:39 -0400
1410
+ From: test@test.com
1411
+ To: contact@please-change-me.com
1412
+ Message-ID: <4e6183b777b02_13b1f3ff530434ecc577d7@JDs-MacBook-Pro.local.mail>
1413
+ Subject: Contact Us message from test@test.com
1414
+ Mime-Version: 1.0
1415
+ Content-Type: text/html;
1416
+ charset=UTF-8
1417
+ Content-Transfer-Encoding: 7bit
1418
+
1419
+ <p>test</p>
1420
+ <p>---------------------</p>
1421
+ <p>Sent by contact form.</p>
1422
+ Redirected to http://test.host/
1423
+ Completed 302 Found in 304ms
1424
+ Processing by ContactUs::ContactsController#create as HTML
1425
+ Parameters: {"contact_us_contact"=>{"email"=>"test@test.com", "message"=>""}}
1426
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 1.2ms)
1427
+ Processing by ContactUs::ContactsController#new as HTML
1428
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1429
+
1430
+
1431
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:32:39 -0400
1432
+ Processing by ContactUs::ContactsController#new as HTML
1433
+ Completed 200 OK in 10ms (Views: 10.2ms | ActiveRecord: 0.0ms)
1434
+
1435
+
1436
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:32:39 -0400
1437
+ Processing by ContactUs::ContactsController#new as HTML
1438
+ Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)
1439
+
1440
+
1441
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:32:39 -0400
1442
+ Processing by ContactUs::ContactsController#new as HTML
1443
+ Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)
1444
+
1445
+
1446
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:32:39 -0400
1447
+ Processing by ContactUs::ContactsController#new as HTML
1448
+ Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)
1449
+
1450
+
1451
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:32:39 -0400
1452
+ Processing by ContactUs::ContactsController#new as HTML
1453
+ Completed 200 OK in 10ms (Views: 10.1ms | ActiveRecord: 0.0ms)
1454
+
1455
+
1456
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:32:39 -0400
1457
+ Processing by ContactUs::ContactsController#create as HTML
1458
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"test@example.com", "message"=>"howdy"}, "commit"=>"Submit"}
1459
+
1460
+ Sent mail to contact@please-change-me.com (14ms)
1461
+ Date: Fri, 02 Sep 2011 21:32:39 -0400
1462
+ From: test@example.com
1463
+ To: contact@please-change-me.com
1464
+ Message-ID: <4e6183b7f00a3_13b1f3ff530434ecc578d@JDs-MacBook-Pro.local.mail>
1465
+ Subject: Contact Us message from test@example.com
1466
+ Mime-Version: 1.0
1467
+ Content-Type: text/html;
1468
+ charset=UTF-8
1469
+ Content-Transfer-Encoding: 7bit
1470
+
1471
+ <p>howdy</p>
1472
+ <p>---------------------</p>
1473
+ <p>Sent by contact form.</p>
1474
+ Redirected to http://www.example.com/
1475
+ Completed 302 Found in 35ms
1476
+
1477
+
1478
+ Started GET "/" for 127.0.0.1 at 2011-09-02 21:32:39 -0400
1479
+ Processing by ContactUs::ContactsController#new as HTML
1480
+ Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
1481
+
1482
+
1483
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:32:40 -0400
1484
+ Processing by ContactUs::ContactsController#new as HTML
1485
+ Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
1486
+
1487
+
1488
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:32:40 -0400
1489
+ Processing by ContactUs::ContactsController#create as HTML
1490
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"test@example.com", "message"=>"howdy"}, "commit"=>"Submit"}
1491
+
1492
+ Sent mail to contact@please-change-me.com (16ms)
1493
+ Date: Fri, 02 Sep 2011 21:32:40 -0400
1494
+ From: test@example.com
1495
+ To: contact@please-change-me.com
1496
+ Message-ID: <4e6183b8d02b_13b1f3ff530434ecc5793@JDs-MacBook-Pro.local.mail>
1497
+ Subject: Contact Us message from test@example.com
1498
+ Mime-Version: 1.0
1499
+ Content-Type: text/html;
1500
+ charset=UTF-8
1501
+ Content-Transfer-Encoding: 7bit
1502
+
1503
+ <p>howdy</p>
1504
+ <p>---------------------</p>
1505
+ <p>Sent by contact form.</p>
1506
+ Redirected to http://www.example.com/
1507
+ Completed 302 Found in 34ms
1508
+
1509
+
1510
+ Started GET "/" for 127.0.0.1 at 2011-09-02 21:32:40 -0400
1511
+ Processing by ContactUs::ContactsController#new as HTML
1512
+ Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
1513
+
1514
+
1515
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:32:40 -0400
1516
+ Processing by ContactUs::ContactsController#new as HTML
1517
+ Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
1518
+
1519
+
1520
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:32:40 -0400
1521
+ Processing by ContactUs::ContactsController#create as HTML
1522
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"test@example.com", "message"=>"howdy"}, "commit"=>"Submit"}
1523
+
1524
+ Sent mail to contact@please-change-me.com (12ms)
1525
+ Date: Fri, 02 Sep 2011 21:32:40 -0400
1526
+ From: test@example.com
1527
+ To: contact@please-change-me.com
1528
+ Message-ID: <4e6183b82ed49_13b1f3ff530434ecc58080@JDs-MacBook-Pro.local.mail>
1529
+ Subject: Contact Us message from test@example.com
1530
+ Mime-Version: 1.0
1531
+ Content-Type: text/html;
1532
+ charset=UTF-8
1533
+ Content-Transfer-Encoding: 7bit
1534
+
1535
+ <p>howdy</p>
1536
+ <p>---------------------</p>
1537
+ <p>Sent by contact form.</p>
1538
+ Redirected to http://www.example.com/
1539
+ Completed 302 Found in 29ms
1540
+
1541
+
1542
+ Started GET "/" for 127.0.0.1 at 2011-09-02 21:32:40 -0400
1543
+ Processing by ContactUs::ContactsController#new as HTML
1544
+ Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
1545
+
1546
+
1547
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:32:40 -0400
1548
+ Processing by ContactUs::ContactsController#new as HTML
1549
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
1550
+
1551
+
1552
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:32:40 -0400
1553
+ Processing by ContactUs::ContactsController#create as HTML
1554
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"a", "message"=>""}, "commit"=>"Submit"}
1555
+ Completed 200 OK in 13ms (Views: 10.1ms | ActiveRecord: 0.0ms)
1556
+
1557
+
1558
+ Started GET "/contact_us" for 127.0.0.1 at 2011-09-02 21:32:40 -0400
1559
+ Processing by ContactUs::ContactsController#new as HTML
1560
+ Completed 200 OK in 9ms (Views: 9.1ms | ActiveRecord: 0.0ms)
1561
+
1562
+
1563
+ Started POST "/contacts" for 127.0.0.1 at 2011-09-02 21:32:40 -0400
1564
+ Processing by ContactUs::ContactsController#create as HTML
1565
+ Parameters: {"utf8"=>"✓", "contact_us_contact"=>{"email"=>"a", "message"=>""}, "commit"=>"Submit"}
1566
+ Completed 200 OK in 12ms (Views: 9.2ms | ActiveRecord: 0.0ms)
1567
+
1568
+ Sent mail to contact@please-change-me.com (24ms)
1569
+ Date: Fri, 02 Sep 2011 21:32:40 -0400
1570
+ From: test@email.com
1571
+ To: contact@please-change-me.com
1572
+ Message-ID: <4e6183b892b69_13b1f3ff530434ecc58148@JDs-MacBook-Pro.local.mail>
1573
+ Subject: Contact Us message from test@email.com
1574
+ Mime-Version: 1.0
1575
+ Content-Type: text/html;
1576
+ charset=UTF-8
1577
+ Content-Transfer-Encoding: 7bit
1578
+
1579
+ <p>Thanks!</p>
1580
+ <p>---------------------</p>
1581
+ <p>Sent by contact form.</p>
1582
+
1583
+ Sent mail to contact@please-change-me.com (20ms)
1584
+ Date: Fri, 02 Sep 2011 21:32:40 -0400
1585
+ From: test@email.com
1586
+ To: contact@please-change-me.com
1587
+ Message-ID: <4e6183b8a49bc_13b1f3ff530434ecc582ad@JDs-MacBook-Pro.local.mail>
1588
+ Subject: Contact Us message from test@email.com
1589
+ Mime-Version: 1.0
1590
+ Content-Type: text/html;
1591
+ charset=UTF-8
1592
+ Content-Transfer-Encoding: 7bit
1593
+
988
1594
  <p>Thanks!</p>
989
1595
  <p>---------------------</p>
990
1596
  <p>Sent by contact form.</p>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: contact_us
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeff Dutil
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-18 00:00:00 Z
13
+ date: 2011-09-03 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capybara
@@ -100,6 +100,9 @@ files:
100
100
  - app/views/contact_us/contact_mailer/contact_email.text.plain.erb
101
101
  - app/views/contact_us/contacts/new.html.erb
102
102
  - config/locales/contact_us.en.yml
103
+ - config/locales/contact_us.es.yml
104
+ - config/locales/contact_us.it.yml
105
+ - config/locales/contact_us.pt-BR.yml
103
106
  - config/routes.rb
104
107
  - lib/contact_us/engine.rb
105
108
  - lib/contact_us/tasks/install.rb
@@ -124,6 +127,9 @@ files:
124
127
  - spec/dummy/config/initializers/mime_types.rb
125
128
  - spec/dummy/config/initializers/secret_token.rb
126
129
  - spec/dummy/config/initializers/session_store.rb
130
+ - spec/dummy/config/locales/contact_us.es.yml
131
+ - spec/dummy/config/locales/contact_us.it.yml
132
+ - spec/dummy/config/locales/contact_us.pt-BR.yml
127
133
  - spec/dummy/config/locales/en.yml
128
134
  - spec/dummy/config/routes.rb
129
135
  - spec/dummy/config.ru
@@ -160,7 +166,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
160
166
  requirements:
161
167
  - - ">="
162
168
  - !ruby/object:Gem::Version
163
- hash: 2145858243867173170
169
+ hash: 914418209538417473
164
170
  segments:
165
171
  - 0
166
172
  version: "0"
@@ -169,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
175
  requirements:
170
176
  - - ">="
171
177
  - !ruby/object:Gem::Version
172
- hash: 2145858243867173170
178
+ hash: 914418209538417473
173
179
  segments:
174
180
  - 0
175
181
  version: "0"
@@ -198,6 +204,9 @@ test_files:
198
204
  - spec/dummy/config/initializers/mime_types.rb
199
205
  - spec/dummy/config/initializers/secret_token.rb
200
206
  - spec/dummy/config/initializers/session_store.rb
207
+ - spec/dummy/config/locales/contact_us.es.yml
208
+ - spec/dummy/config/locales/contact_us.it.yml
209
+ - spec/dummy/config/locales/contact_us.pt-BR.yml
201
210
  - spec/dummy/config/locales/en.yml
202
211
  - spec/dummy/config/routes.rb
203
212
  - spec/dummy/config.ru