casino 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
(function(win, doc) {
|
2
|
-
var url = '
|
2
|
+
var url = win.CASino.url('login'),
|
3
3
|
cookie_regex = /(^|;)\s*tgt=/,
|
4
4
|
ready_bound = false;
|
5
5
|
|
@@ -8,7 +8,6 @@
|
|
8
8
|
service = serviceEl ? serviceEl.getAttribute('value') : null;
|
9
9
|
|
10
10
|
if(cookie_regex.test(doc.cookie)) {
|
11
|
-
url = '/login';
|
12
11
|
if(service) {
|
13
12
|
url += '?service=' + encodeURIComponent(service);
|
14
13
|
}
|
@@ -4,6 +4,7 @@
|
|
4
4
|
<title><%= CASino.config.frontend[:sso_name] %></title>
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
6
6
|
<%= stylesheet_link_tag "application", :media => "all" %>
|
7
|
+
<%= javascript_tag "window.CASino = { baseUrl: '#{root_path}' };" %>
|
7
8
|
<%= javascript_include_tag "application" %>
|
8
9
|
<%= csrf_meta_tags %>
|
9
10
|
<%= favicon_link_tag 'favicon.png', type: 'image/png' %>
|
data/lib/casino/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: casino
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-
|
14
|
+
date: 2014-08-27 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: capybara
|
@@ -405,6 +405,7 @@ files:
|
|
405
405
|
- db/migrate/20131022110146_cleanup_indexes.rb
|
406
406
|
- db/migrate/20131022110246_fix_long_index_names.rb
|
407
407
|
- db/migrate/20131022110346_change_service_to_text.rb
|
408
|
+
- db/migrate/20140821142611_change_user_agent_to_text.rb
|
408
409
|
- lib/assets/.gitkeep
|
409
410
|
- lib/casino.rb
|
410
411
|
- lib/casino/authenticator.rb
|