milia 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/app/controllers/sessions_controller.rb +3 -6
- data/lib/milia/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01d5ec28d364287e5523aa540cc862856a393bc9
|
4
|
+
data.tar.gz: 076c4aa7c92ebce3d96bcee694eaae717d2c643c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6342ef6369d9d7fa0d1a678fed1b3b204e6ceac4945649f14ffaea9dc28208e9615f9cebb9b3119b488c3108416ccf7fef785071d08ae7f218a7757a7da933b
|
7
|
+
data.tar.gz: da893d949eaf5cb57d38fc31332ad4bcf9e6a44a6713256572f01ddfcb346c8d327506abd58e0161d64b5994f78bb29b21fa647839b0487e6df961a9cec4a28b
|
data/README.md
CHANGED
@@ -37,12 +37,13 @@ by invitation. New tenants are not created for every new user.
|
|
37
37
|
|
38
38
|
## Version
|
39
39
|
|
40
|
-
milia v1.1.
|
40
|
+
milia v1.1.1 is the release version for Rails 4.1.x and is now available for usage.
|
41
41
|
I will soon start working on the Rails 4.2 release ... on the newdev branch.
|
42
42
|
|
43
43
|
## v1.1.x - What's changed?
|
44
44
|
* Rails 4.1.x adapted
|
45
45
|
* Devise 3.4.x adapted
|
46
|
+
* fixes Issue #42: Redirect loop (sign up & activate with email1; trying to sign up again with email1 fails but immediately signing in with email1 caused a redirect loop).
|
46
47
|
|
47
48
|
## v1.0.x - What's changed?
|
48
49
|
|
@@ -1,13 +1,10 @@
|
|
1
1
|
module Milia
|
2
2
|
|
3
3
|
class SessionsController < Devise::SessionsController
|
4
|
-
|
4
|
+
# skip need for authentication
|
5
5
|
skip_before_action :authenticate_tenant!, :only => [:new, :create, :destroy]
|
6
|
-
|
7
|
-
|
8
|
-
__milia_reset_tenant! # clear tenanting
|
9
|
-
super
|
10
|
-
end
|
6
|
+
# clear tenanting
|
7
|
+
before_action :__milia_reset_tenant!, :only => [:create, :destroy]
|
11
8
|
|
12
9
|
end # class
|
13
10
|
end # module
|
data/lib/milia/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: milia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- daudi amani
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|