contour 2.1.0.beta17 → 2.1.0.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/assets/stylesheets/contour.css +0 -2
- data/app/controllers/contour/authentications_controller.rb +5 -4
- data/app/views/contour/authentications/_add_remove_table.html.erb +31 -0
- data/app/views/contour/authentications/_authentications.html.erb +3 -0
- data/app/views/contour/authentications/destroy.js.erb +1 -0
- data/app/views/contour/authentications/index.html.erb +1 -22
- data/lib/contour/engine.rb +1 -1
- data/lib/contour/version.rb +1 -1
- data/test/controllers/authentications_controller_test.rb +2 -3
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +3591 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0b793dc498fe65856d1b31a805f114dc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1c3ad26f378b8f1fc2c20392ce4a540d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/291c470bea09e91a82ed77cb455b45fc +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/3e2f53860ebad5d43a5b7b1d2f7c93db +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/408c90980fca5a250881bafa3ef0ca63 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6666059cb20313a69e518d351e00eb1f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8f6410f2a80e0115a1b8bf6cf7cbf317 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a7b222735fc6d94f5713fa8e4c00feec +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
- metadata +9 -5
- data/app/assets/stylesheets/contour/authentication.css +0 -63
- data/app/assets/stylesheets/contour/errors.css +0 -38
- data/app/views/contour/authentications/_index.html.erb +0 -14
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.0.
|
4
|
+
version: 2.1.0.rc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Remo Mueller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -231,8 +231,6 @@ files:
|
|
231
231
|
- app/assets/stylesheets/bootstrap/v3.0.0/bootstrap.css
|
232
232
|
- app/assets/stylesheets/bootstrap-overrides.css
|
233
233
|
- app/assets/stylesheets/contour/about.css
|
234
|
-
- app/assets/stylesheets/contour/authentication.css
|
235
|
-
- app/assets/stylesheets/contour/errors.css
|
236
234
|
- app/assets/stylesheets/contour.css
|
237
235
|
- app/assets/stylesheets/datepicker.css
|
238
236
|
- app/assets/stylesheets/glyphicons-overrides.css.erb
|
@@ -252,8 +250,10 @@ files:
|
|
252
250
|
- app/models/concerns/contour_authenticatable.rb
|
253
251
|
- app/models/concerns/contourable.rb
|
254
252
|
- app/views/contour/_links.html.erb
|
255
|
-
- app/views/contour/authentications/
|
253
|
+
- app/views/contour/authentications/_add_remove_table.html.erb
|
254
|
+
- app/views/contour/authentications/_authentications.html.erb
|
256
255
|
- app/views/contour/authentications/_menu.html.erb
|
256
|
+
- app/views/contour/authentications/destroy.js.erb
|
257
257
|
- app/views/contour/authentications/index.html.erb
|
258
258
|
- app/views/contour/confirmations/new.html.erb
|
259
259
|
- app/views/contour/layouts/_latest_news.html.erb
|
@@ -382,6 +382,7 @@ files:
|
|
382
382
|
- test/dummy/tmp/cache/assets/test/sprockets/16fce162bcec1f45a75c368abc73a8e9
|
383
383
|
- test/dummy/tmp/cache/assets/test/sprockets/1a4771f9c62410bd2e9883cbf32c7ab2
|
384
384
|
- test/dummy/tmp/cache/assets/test/sprockets/1bd3f905d35cb03d2c94ec89e0f14792
|
385
|
+
- test/dummy/tmp/cache/assets/test/sprockets/1c3ad26f378b8f1fc2c20392ce4a540d
|
385
386
|
- test/dummy/tmp/cache/assets/test/sprockets/202ee3e470074d921a4ebc990afe1182
|
386
387
|
- test/dummy/tmp/cache/assets/test/sprockets/2104a43b6b7d1d60519dc2deb62ae47b
|
387
388
|
- test/dummy/tmp/cache/assets/test/sprockets/2316c3ab821288d9cc78527e3b6272a9
|
@@ -397,6 +398,7 @@ files:
|
|
397
398
|
- test/dummy/tmp/cache/assets/test/sprockets/346128943c5e30fdb088f54a58af54cc
|
398
399
|
- test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
399
400
|
- test/dummy/tmp/cache/assets/test/sprockets/39c42dbcd5ab9548ffa2207486c5fc96
|
401
|
+
- test/dummy/tmp/cache/assets/test/sprockets/3e2f53860ebad5d43a5b7b1d2f7c93db
|
400
402
|
- test/dummy/tmp/cache/assets/test/sprockets/3ed734f0003effb5248235744ea7cfbf
|
401
403
|
- test/dummy/tmp/cache/assets/test/sprockets/3f0d51948383ef3441b45bc80b20fa9e
|
402
404
|
- test/dummy/tmp/cache/assets/test/sprockets/408c90980fca5a250881bafa3ef0ca63
|
@@ -604,6 +606,7 @@ test_files:
|
|
604
606
|
- test/dummy/tmp/cache/assets/test/sprockets/16fce162bcec1f45a75c368abc73a8e9
|
605
607
|
- test/dummy/tmp/cache/assets/test/sprockets/1a4771f9c62410bd2e9883cbf32c7ab2
|
606
608
|
- test/dummy/tmp/cache/assets/test/sprockets/1bd3f905d35cb03d2c94ec89e0f14792
|
609
|
+
- test/dummy/tmp/cache/assets/test/sprockets/1c3ad26f378b8f1fc2c20392ce4a540d
|
607
610
|
- test/dummy/tmp/cache/assets/test/sprockets/202ee3e470074d921a4ebc990afe1182
|
608
611
|
- test/dummy/tmp/cache/assets/test/sprockets/2104a43b6b7d1d60519dc2deb62ae47b
|
609
612
|
- test/dummy/tmp/cache/assets/test/sprockets/2316c3ab821288d9cc78527e3b6272a9
|
@@ -619,6 +622,7 @@ test_files:
|
|
619
622
|
- test/dummy/tmp/cache/assets/test/sprockets/346128943c5e30fdb088f54a58af54cc
|
620
623
|
- test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
621
624
|
- test/dummy/tmp/cache/assets/test/sprockets/39c42dbcd5ab9548ffa2207486c5fc96
|
625
|
+
- test/dummy/tmp/cache/assets/test/sprockets/3e2f53860ebad5d43a5b7b1d2f7c93db
|
622
626
|
- test/dummy/tmp/cache/assets/test/sprockets/3ed734f0003effb5248235744ea7cfbf
|
623
627
|
- test/dummy/tmp/cache/assets/test/sprockets/3f0d51948383ef3441b45bc80b20fa9e
|
624
628
|
- test/dummy/tmp/cache/assets/test/sprockets/408c90980fca5a250881bafa3ef0ca63
|
@@ -1,63 +0,0 @@
|
|
1
|
-
/* Authentication Styling */
|
2
|
-
.authentications {
|
3
|
-
margin-bottom: 30px;
|
4
|
-
}
|
5
|
-
|
6
|
-
.authentication {
|
7
|
-
width: 130px;
|
8
|
-
float: left;
|
9
|
-
background-color: #EEE;
|
10
|
-
border: solid 1px #999;
|
11
|
-
padding: 5px 10px;
|
12
|
-
border-radius: 8px;
|
13
|
-
-moz-border-radius: 8px;
|
14
|
-
-webkit-border-radius: 8px;
|
15
|
-
position: relative;
|
16
|
-
margin-right: 10px;
|
17
|
-
}
|
18
|
-
|
19
|
-
.authentication .remove {
|
20
|
-
text-decoration: none;
|
21
|
-
position: absolute;
|
22
|
-
top: 3px;
|
23
|
-
right: 3px;
|
24
|
-
color: #333;
|
25
|
-
padding: 2px 4px;
|
26
|
-
font-size: 10px;
|
27
|
-
}
|
28
|
-
|
29
|
-
.authentication .remove:hover {
|
30
|
-
color: #CCC;
|
31
|
-
background-color: #777;
|
32
|
-
border-radius: 6px;
|
33
|
-
-moz-border-radius: 6px;
|
34
|
-
-webkit-border-radius: 6px;
|
35
|
-
}
|
36
|
-
|
37
|
-
.authentication img {
|
38
|
-
float: left;
|
39
|
-
margin-right: 10px;
|
40
|
-
}
|
41
|
-
|
42
|
-
.authentication .provider {
|
43
|
-
font-weight: bold;
|
44
|
-
}
|
45
|
-
|
46
|
-
.authentication .uid {
|
47
|
-
color: #666;
|
48
|
-
font-size: 11px;
|
49
|
-
overflow: hidden;
|
50
|
-
white-space: nowrap;
|
51
|
-
}
|
52
|
-
|
53
|
-
.auth_provider img {
|
54
|
-
display: block;
|
55
|
-
}
|
56
|
-
|
57
|
-
.auth_provider {
|
58
|
-
float: left;
|
59
|
-
text-decoration: none;
|
60
|
-
margin-right: 20px;
|
61
|
-
text-align: center;
|
62
|
-
margin-bottom: 10px;
|
63
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
.control-group-error .control-label,
|
2
|
-
.control-group-error .help-block,
|
3
|
-
.control-group-error .help-inline {
|
4
|
-
color: #b94a48;
|
5
|
-
}
|
6
|
-
|
7
|
-
.control-group-error .checkbox,
|
8
|
-
.control-group-error .radio,
|
9
|
-
.control-group-error input,
|
10
|
-
.control-group-error select,
|
11
|
-
.control-group-error textarea {
|
12
|
-
color: #b94a48;
|
13
|
-
}
|
14
|
-
|
15
|
-
.control-group-error input,
|
16
|
-
.control-group-error select,
|
17
|
-
.control-group-error textarea {
|
18
|
-
border-color: #b94a48;
|
19
|
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
20
|
-
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
21
|
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
22
|
-
}
|
23
|
-
|
24
|
-
.control-group-error input:focus,
|
25
|
-
.control-group-error select:focus,
|
26
|
-
.control-group-error textarea:focus {
|
27
|
-
border-color: #953b39;
|
28
|
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
|
29
|
-
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
|
30
|
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
|
31
|
-
}
|
32
|
-
|
33
|
-
.control-group-error .input-prepend .add-on,
|
34
|
-
.control-group-error .input-append .add-on {
|
35
|
-
color: #b94a48;
|
36
|
-
background-color: #f2dede;
|
37
|
-
border-color: #b94a48;
|
38
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<table style="border-collapse:collapse;table-layout:fixed;margin:0px;padding:0px;border-width:0px"><%= ("<col width='64px'/>" * PROVIDERS.size).html_safe %>
|
2
|
-
<tr>
|
3
|
-
<% PROVIDERS.each do |provider| %>
|
4
|
-
<% url_params = (provider == :google_apps) ? '?domain=gmail.com' : '' %>
|
5
|
-
<% provider_name = OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize %>
|
6
|
-
<% image_name = provider.to_s.downcase %>
|
7
|
-
<td style="white-space:nowrap;text-align:center;border-width:0px">
|
8
|
-
<a href="<%= request.script_name %><%= "/" + OmniAuth.config.path_prefix.split('/').last.to_s %><%= "/" + provider.to_s.downcase %><%= url_params %>" class="noicon"><%= image_tag "contour/#{image_name}_64.png", align: 'absmiddle', height: "64px", alt: provider_name %></a>
|
9
|
-
<br /><br />
|
10
|
-
<%= provider_name %>
|
11
|
-
</td>
|
12
|
-
<% end %>
|
13
|
-
</tr>
|
14
|
-
</table>
|