mumukit-login 5.3.1 → 5.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mumukit/login/provider/base.rb +10 -2
- data/lib/mumukit/login/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e36fd2e076cfae5452b64673fb12a977f0b55e7d39d393268d36a3ab92a44c7
|
4
|
+
data.tar.gz: be2b007c7cad4d8a6ccef8eb04a591d6d2668fa03ad03ee9c9811d738d947991
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a2b6c4add2e22f9584d16580da9580eb37d7dc6eb48dec741a3bb67ca6d8dfa2208954f4bad68c67dfefec82f87329403dcebe337913664e6aee392d1f9580b
|
7
|
+
data.tar.gz: 153b01a9d3b5411bd57a5bbdab4cde35a84f395c1b72ead874208011da52673f309c6a4edede805bc102c9d76f62d1ca84ca94858f0356b1cd275768ea76e61a
|
@@ -14,7 +14,7 @@ class Mumukit::Login::Provider::Base
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def login_path(controller)
|
17
|
-
|
17
|
+
create_uri '/login', origin: create_uri(controller.request.path, controller.request.params)
|
18
18
|
end
|
19
19
|
|
20
20
|
def auth_path
|
@@ -40,4 +40,12 @@ class Mumukit::Login::Provider::Base
|
|
40
40
|
def header_html(*)
|
41
41
|
nil
|
42
42
|
end
|
43
|
-
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def create_uri(path, query_values)
|
47
|
+
uri = Addressable::URI.heuristic_parse path
|
48
|
+
uri.query_values = query_values if query_values.present?
|
49
|
+
uri.to_s
|
50
|
+
end
|
51
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumukit-login
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Leonardo Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|