easy_login 1.0.1 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20afe342d855ff53d347daca03b522b15328ac80
4
- data.tar.gz: 5bba64f0e386e50e6e58376607018f5d689df2db
3
+ metadata.gz: 4d6eea9cc2dc1a5193d6ce838887f4053e81ac9c
4
+ data.tar.gz: b488c349846165f73744d77d4c75237bb77d7b1f
5
5
  SHA512:
6
- metadata.gz: bc079ff72d0c938ac3a54064e5712e38e85756e50d7ca4c14aafa50e6daae559b90de4a3fd9feb3dd804a8c94f58f488ca67454cdeb26745729b54d86505f5fe
7
- data.tar.gz: 26f68e95ee17ec13fd644d348cefa303e1657f05596970c1ee98e2e7e2a311be2c3a2490b710b6bf368068ad2d4ac00a14c6c67c2779278389b44ee65dc7d3b0
6
+ metadata.gz: e7a84eff82c7e1b513a0ab3aeecc2c2ecc9bcd538dfd6f65b1b3d8c19350cad006b93a1e474ca98cd603bb5682b16416f05c5e746ec5ccb063625e3bfe147c5e
7
+ data.tar.gz: d7a5f857fbd98626da6d98474d9a058e0e251144e66c3613f4f4b4b9d0ee89d806c9f529a0d2fc3dac595df876518255e83f53300b85924c07431adc46bc319f
data/README.md CHANGED
@@ -33,6 +33,12 @@ EasyLogin.setup do |config|
33
33
  end
34
34
  ```
35
35
 
36
+ Added following code to `application_controller.rb`
37
+
38
+ ```ruby
39
+ include EasyLogin
40
+ ```
41
+
36
42
  And then abosultely use all methods above in controller and view
37
43
 
38
44
  Also you can declare a redirect schema for differenct user accessing differect
@@ -1,3 +1,3 @@
1
1
  module EasyLogin
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
data/lib/easy_login.rb CHANGED
@@ -9,10 +9,6 @@ module EasyLogin
9
9
  end
10
10
 
11
11
  class Railtie < Rails::Railtie
12
- initializer "load this gem to controller" do
13
- ApplicationController.send :include, EasyLogin
14
- end
15
-
16
12
  config.to_prepare do
17
13
  unless EasyLogin.configed?
18
14
  EasyLogin.setup do |config|
Binary file
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.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - goshan
@@ -63,6 +63,7 @@ files:
63
63
  - pkg/easy_login-0.1.2.gem
64
64
  - pkg/easy_login-0.1.3.gem
65
65
  - pkg/easy_login-1.0.0.gem
66
+ - pkg/easy_login-1.0.1.gem
66
67
  homepage: https://github.com/goshan/easy_login
67
68
  licenses:
68
69
  - MIT