easy_login 1.2.1 → 1.2.2
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/README.md +2 -1
- data/easy_login.gemspec +1 -1
- data/lib/easy_login/version.rb +1 -1
- metadata +9 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1e3be94d9bbdb16d77a46d6a9eff385459b8853
|
|
4
|
+
data.tar.gz: f7b93c34bdf0dc40e9bcfa83a6506858f94b5b61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 208063ffb655f732a85128fa3c4058e4c0be940bafe1070ab10466eacd281735b45530550511e7ed16c135bfbe00d852f66ee676bdaa84b5d6d6b091cb7daebb
|
|
7
|
+
data.tar.gz: 0db5b2ac6d3e80526bf5f6f03244b5df31a7c18ccf0e2e056a2a292b9050cbe7852701a6776386b88fa196bc000b8311acbde05a862bbd7ac07baf384edc9964
|
data/README.md
CHANGED
|
@@ -73,7 +73,8 @@ controller:
|
|
|
73
73
|
user_role3: raise->{message}
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
The `user_role` if the role attribute of your user model configed in `config/application.rb` or `config/environments/*.rb`
|
|
76
|
+
The `user_role` if the role attribute of your user model configed in `config/application.rb` or `config/environments/*.rb`
|
|
77
|
+
|
|
77
78
|
The `action` has 3 types
|
|
78
79
|
|
|
79
80
|
```
|
data/easy_login.gemspec
CHANGED
data/lib/easy_login/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easy_login
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- goshan
|
|
@@ -42,16 +42,22 @@ dependencies:
|
|
|
42
42
|
name: json
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - "<"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '2.0'
|
|
48
|
+
- - ">="
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: '1.8'
|
|
48
51
|
type: :runtime
|
|
49
52
|
prerelease: false
|
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
54
|
requirements:
|
|
52
|
-
- - "
|
|
55
|
+
- - "<"
|
|
53
56
|
- !ruby/object:Gem::Version
|
|
54
57
|
version: '2.0'
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '1.8'
|
|
55
61
|
description: a simple session controller which just including :sign_in, :sign_out,
|
|
56
62
|
:sign_in?, :current_user, :current_user? for controllers and :current_user, :current_user?,
|
|
57
63
|
:sign_in? for views
|