analytics-rails 0.0.6 → 0.0.7
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.
- checksums.yaml +4 -4
- data/Rakefile +2 -8
- data/lib/analytics-rails.rb +0 -3
- data/lib/analytics/rails/version.rb +1 -1
- data/test/dummy/README.rdoc +15 -248
- data/test/dummy/Rakefile +0 -1
- data/test/dummy/app/assets/javascripts/application.js +3 -5
- data/test/dummy/app/controllers/application_controller.rb +3 -1
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +1 -1
- data/test/dummy/config/application.rb +2 -34
- data/test/dummy/config/boot.rb +4 -9
- data/test/dummy/config/environment.rb +2 -2
- data/test/dummy/config/environments/development.rb +10 -15
- data/test/dummy/config/environments/production.rb +40 -30
- data/test/dummy/config/environments/test.rb +13 -11
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +6 -5
- data/test/dummy/config/initializers/secret_token.rb +7 -2
- data/test/dummy/config/initializers/session_store.rb +0 -5
- data/test/dummy/config/initializers/wrap_parameters.rb +6 -6
- data/test/dummy/config/locales/en.yml +20 -2
- data/test/dummy/config/routes.rb +22 -24
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +16 -0
- data/test/dummy/log/development.log +8 -176
- data/test/dummy/log/test.log +19 -182
- data/test/dummy/public/404.html +43 -11
- data/test/dummy/public/422.html +43 -11
- data/test/dummy/public/500.html +43 -11
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/include_tag_test.rb +3 -3
- data/test/test_helper.rb +6 -0
- metadata +12 -32
- data/test/dummy/script/rails +0 -6
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D9B/E00/sprockets%2Fb66a75bd10bef6da5f16f4fa9113926c +0 -0
- data/test/dummy/tmp/cache/assets/DAC/650/sprockets%2Ff8ec2e25f819797cb9a491d0af22ae9b +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/DEF/100/sprockets%2F8b9d88bfa8f8eed7910469ef2ab8a8c7 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E29/AA0/sprockets%2F6eaab4ab4dbae1b8b5a6f9286aa966d4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6ee31c758c2207128f3b2fb9f1e7fc1c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/78bbdd3d4b68f961ea76c51d172aec6b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c7342e04b6a4ad6af1bb72c5c094c804 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f09692c097713119fa701a4122205808 +0 -0
data/test/dummy/log/test.log
CHANGED
@@ -1,189 +1,26 @@
|
|
1
|
-
|
2
|
-
[1m[
|
3
|
-
[1m[
|
4
|
-
[1m[
|
5
|
-
Started GET "/" for 127.0.0.1 at 2013-04-01 14:50:44 -0300
|
6
|
-
Processing by StaticsController#home as HTML
|
7
|
-
Rendered statics/home.html.erb within layouts/application (12.6ms)
|
8
|
-
Completed 200 OK in 34ms (Views: 33.5ms | ActiveRecord: 0.0ms)
|
9
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
10
|
-
Connecting to database specified by database.yml
|
11
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
12
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
13
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14
|
-
Started GET "/" for 127.0.0.1 at 2013-04-01 14:52:45 -0300
|
15
|
-
Processing by StaticsController#home as HTML
|
16
|
-
Rendered statics/home.html.erb within layouts/application (3.0ms)
|
17
|
-
Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.0ms)
|
18
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
19
|
-
Connecting to database specified by database.yml
|
20
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
21
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
22
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23
|
-
Started GET "/" for 127.0.0.1 at 2013-04-01 14:52:57 -0300
|
24
|
-
Processing by StaticsController#home as HTML
|
25
|
-
Rendered statics/home.html.erb within layouts/application (2.8ms)
|
26
|
-
Completed 200 OK in 17ms (Views: 17.0ms | ActiveRecord: 0.0ms)
|
27
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
28
|
-
Connecting to database specified by database.yml
|
29
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
30
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
31
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32
|
-
Started GET "/" for 127.0.0.1 at 2013-04-01 14:55:05 -0300
|
33
|
-
Processing by StaticsController#home as HTML
|
34
|
-
Rendered statics/home.html.erb within layouts/application (3.0ms)
|
35
|
-
Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.0ms)
|
36
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
37
|
-
Connecting to database specified by database.yml
|
38
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
39
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
40
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41
|
-
Started GET "/" for 127.0.0.1 at 2013-04-01 14:55:58 -0300
|
42
|
-
Processing by StaticsController#home as HTML
|
43
|
-
Rendered statics/home.html.erb within layouts/application (3.0ms)
|
44
|
-
Completed 200 OK in 18ms (Views: 17.7ms | ActiveRecord: 0.0ms)
|
45
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
46
|
-
Connecting to database specified by database.yml
|
47
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
48
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
49
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50
|
-
Started GET "/" for 127.0.0.1 at 2013-04-01 14:56:15 -0300
|
51
|
-
Processing by StaticsController#home as HTML
|
52
|
-
Rendered statics/home.html.erb within layouts/application (3.1ms)
|
53
|
-
Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.0ms)
|
54
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
55
|
-
Connecting to database specified by database.yml
|
56
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
57
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
4
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
58
5
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
64
|
-
Connecting to database specified by database.yml
|
65
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
66
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
67
|
-
Connecting to database specified by database.yml
|
68
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
69
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
70
|
-
Connecting to database specified by database.yml
|
71
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
72
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
73
|
-
Connecting to database specified by database.yml
|
74
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
75
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
76
|
-
Connecting to database specified by database.yml
|
77
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
78
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
79
|
-
Connecting to database specified by database.yml
|
80
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
81
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
82
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
83
|
-
------------------------------------------------
|
84
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
85
|
-
------------------------------------------------
|
86
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:33:33 -0300
|
87
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
88
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
89
|
-
------------------------------------------------
|
90
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
91
|
-
------------------------------------------------
|
92
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:34:11 -0300
|
93
|
-
Processing by PagesController#index as HTML
|
94
|
-
Completed 500 Internal Server Error in 1ms
|
95
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
96
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
97
|
-
------------------------------------------------
|
98
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
99
|
-
------------------------------------------------
|
100
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:35:37 -0300
|
101
|
-
Processing by PagesController#index as HTML
|
102
|
-
Completed 500 Internal Server Error in 1ms
|
103
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
104
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
105
|
-
------------------------------------------------
|
106
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
107
|
-
------------------------------------------------
|
108
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:36:10 -0300
|
109
|
-
Processing by PagesController#index as HTML
|
110
|
-
Completed 500 Internal Server Error in 1ms
|
111
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
112
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
113
|
-
------------------------------------------------
|
114
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
115
|
-
------------------------------------------------
|
116
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:36:50 -0300
|
117
|
-
Processing by PagesController#index as HTML
|
118
|
-
Completed 500 Internal Server Error in 1ms
|
119
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
120
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
121
|
-
------------------------------------------------
|
122
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
123
|
-
------------------------------------------------
|
124
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:38:57 -0300
|
125
|
-
Processing by PagesController#index as HTML
|
126
|
-
Completed 500 Internal Server Error in 1ms
|
127
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
128
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
129
|
-
------------------------------------------------
|
130
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
131
|
-
------------------------------------------------
|
132
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:40:26 -0300
|
133
|
-
Processing by PagesController#index as HTML
|
134
|
-
Completed 500 Internal Server Error in 1ms
|
135
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
136
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
137
|
-
------------------------------------------------
|
138
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
139
|
-
------------------------------------------------
|
140
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:40:43 -0300
|
141
|
-
Processing by PagesController#index as HTML
|
142
|
-
Rendered pages/index.html.erb within layouts/application (0.4ms)
|
143
|
-
Completed 200 OK in 62ms (Views: 61.1ms | ActiveRecord: 0.0ms)
|
144
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
145
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
146
|
-
------------------------------------------------
|
147
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
148
|
-
------------------------------------------------
|
149
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:43:19 -0300
|
150
|
-
Processing by PagesController#index as HTML
|
151
|
-
Rendered pages/index.html.erb within layouts/application (1.0ms)
|
152
|
-
Completed 200 OK in 17ms (Views: 16.8ms | ActiveRecord: 0.0ms)
|
153
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
154
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
155
|
-
------------------------------------------------
|
156
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
157
|
-
------------------------------------------------
|
158
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:43:59 -0300
|
159
|
-
Processing by PagesController#index as HTML
|
160
|
-
Rendered pages/index.html.erb within layouts/application (0.8ms)
|
161
|
-
Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
|
162
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
163
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
164
|
-
------------------------------------------------
|
165
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
166
|
-
------------------------------------------------
|
167
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:44:16 -0300
|
6
|
+
--------------------------------------------
|
7
|
+
IncludeTagTest: test_should_show_include_tag
|
8
|
+
--------------------------------------------
|
9
|
+
Started GET "/" for 127.0.0.1 at 2013-08-18 21:43:20 -0300
|
168
10
|
Processing by PagesController#index as HTML
|
169
11
|
Rendered pages/index.html.erb within layouts/application (0.8ms)
|
170
|
-
Completed 200 OK in
|
12
|
+
Completed 200 OK in 83ms (Views: 82.7ms | ActiveRecord: 0.0ms)
|
171
13
|
[1m[35m (0.1ms)[0m rollback transaction
|
172
|
-
[1m[36m (0.2ms)[0m [
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
182
|
-
------------------------------------------------
|
183
|
-
AnalyticsRailsTest: test_should_show_include_tag
|
184
|
-
------------------------------------------------
|
185
|
-
Started GET "/" for 127.0.0.1 at 2013-08-05 14:48:10 -0300
|
14
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
15
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
16
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
17
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
18
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19
|
+
--------------------------------------------
|
20
|
+
IncludeTagTest: test_should_show_include_tag
|
21
|
+
--------------------------------------------
|
22
|
+
Started GET "/" for 127.0.0.1 at 2013-08-18 21:43:46 -0300
|
186
23
|
Processing by PagesController#index as HTML
|
187
24
|
Rendered pages/index.html.erb within layouts/application (0.9ms)
|
188
|
-
Completed 200 OK in
|
25
|
+
Completed 200 OK in 90ms (Views: 89.8ms | ActiveRecord: 0.0ms)
|
189
26
|
[1m[35m (0.1ms)[0m rollback transaction
|
data/test/dummy/public/404.html
CHANGED
@@ -2,17 +2,48 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
-
<style
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
16
47
|
</style>
|
17
48
|
</head>
|
18
49
|
|
@@ -22,5 +53,6 @@
|
|
22
53
|
<h1>The page you were looking for doesn't exist.</h1>
|
23
54
|
<p>You may have mistyped the address or the page may have moved.</p>
|
24
55
|
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
25
57
|
</body>
|
26
58
|
</html>
|
data/test/dummy/public/422.html
CHANGED
@@ -2,17 +2,48 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>The change you wanted was rejected (422)</title>
|
5
|
-
<style
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
16
47
|
</style>
|
17
48
|
</head>
|
18
49
|
|
@@ -22,5 +53,6 @@
|
|
22
53
|
<h1>The change you wanted was rejected.</h1>
|
23
54
|
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
55
|
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
25
57
|
</body>
|
26
58
|
</html>
|
data/test/dummy/public/500.html
CHANGED
@@ -2,17 +2,48 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>We're sorry, but something went wrong (500)</title>
|
5
|
-
<style
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
16
47
|
</style>
|
17
48
|
</head>
|
18
49
|
|
@@ -21,5 +52,6 @@
|
|
21
52
|
<div class="dialog">
|
22
53
|
<h1>We're sorry, but something went wrong.</h1>
|
23
54
|
</div>
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
24
56
|
</body>
|
25
57
|
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/include_tag_test.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
|
-
class
|
3
|
+
class IncludeTagTest < ActionDispatch::IntegrationTest
|
4
4
|
|
5
5
|
test "should show include tag" do
|
6
6
|
get '/'
|
7
|
-
assert_response :success
|
8
|
-
assert response.body.include?("_gaq.push(['_setAccount', 'your-id']);")
|
7
|
+
assert_response :success
|
8
|
+
assert response.body.include?("_gaq.push(['_setAccount', 'your-id']);")
|
9
9
|
end
|
10
10
|
|
11
11
|
end
|
data/test/test_helper.rb
CHANGED
@@ -13,3 +13,9 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
|
13
13
|
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
14
|
ActiveSupport::TestCase.fixture_path = File.expand_path('../fixtures', __FILE__)
|
15
15
|
end
|
16
|
+
|
17
|
+
# Load database
|
18
|
+
config = YAML::load(File.read(File.expand_path('../dummy/config/database.yml', __FILE__)))
|
19
|
+
config['test']['adapter'] = 'jdbcsqlite3' if RUBY_PLATFORM == 'java'
|
20
|
+
ActiveRecord::Base.establish_connection(config['test'])
|
21
|
+
load(File.expand_path('../dummy/db/schema.rb', __FILE__))
|