any_login_multiple 0.1.5 → 0.1.6
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 +9 -3
- data/lib/any_login_multiple/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee0bb67f98a9ccbfe2dc7a0d7a3552e07b4c9022d9d5b97210d2a15a5ad4ebc6
|
|
4
|
+
data.tar.gz: 6b0bf4f6cd7548b7b0fa5cf7b65b22e2e1edc2f9a38ad57d36be2282db552e48
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da564f68fba44d629008c4da39f7b7783ee2658a6081e6aa3a95486f4f7347ee4dce823edfb4245f36de107c64e9760e4b626cd671d129f09071c4cd73b59764
|
|
7
|
+
data.tar.gz: a137f7f534193fc2c64cf4f3b922f0af6a2e9a29ce0887d79378968d185ada5264453defd136ff8aa05fe3fda41522309435d9fda60a7ecd9c3a97c0df70cf6f
|
data/README.md
CHANGED
|
@@ -5,13 +5,13 @@ This gem supports multiple models.
|
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
|
-
First of all, this gem only work in an environment
|
|
9
|
-
where [devise](https://github.com/heartcombo/devise) is installed
|
|
8
|
+
**First of all, this gem only work in an environment
|
|
9
|
+
where [devise](https://github.com/heartcombo/devise) is installed.**
|
|
10
10
|
|
|
11
11
|
Add this line to your application's Gemfile:
|
|
12
12
|
|
|
13
13
|
```ruby
|
|
14
|
-
group :development do
|
|
14
|
+
group :development, :test do
|
|
15
15
|
gem 'any_login_multiple'
|
|
16
16
|
end
|
|
17
17
|
```
|
|
@@ -21,6 +21,12 @@ And then execute:
|
|
|
21
21
|
$ bundle install
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
Add this line to `routes.rb`:
|
|
25
|
+
|
|
26
|
+
```rb
|
|
27
|
+
mount AnyLoginMultiple::Engine => '/any_login_multiple' if Rails.env.development?
|
|
28
|
+
```
|
|
29
|
+
|
|
24
30
|
Add `config/initializers/any_login_multiple.rb` and set `klass_names`:
|
|
25
31
|
|
|
26
32
|
```rb
|