lwqzx_auth 0.0.7 → 0.0.9

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
- SHA1:
3
- metadata.gz: e29816fa8dbb15c6cd2639cdf82eeaffe7773708
4
- data.tar.gz: 1f7f06cbd53b624511f16e3039c5edec8f78b430
2
+ SHA256:
3
+ metadata.gz: 20218c425d0a074da1a3b19fdfb5696e416928c4678b5a241363e034f4d94e0c
4
+ data.tar.gz: 87764ec7f26a5cf667719bd8a0fe39b2ce343449783590fe9e81c26ccc8bf8a3
5
5
  SHA512:
6
- metadata.gz: 8de63b9946f16dff1ec7b68b29035c9a619a580c0dd96e23c1d9cbc8b65a310f63955a012a76d9020bb88b1d3c9bb825b0313b76855110fca4a0816d1c30685e
7
- data.tar.gz: ced1578d2eeee4f593f7a179b2f089c379b0cfe1d2e9865df6ac0db1dbdad95b90422e487d1cd8dc6938690ccb2cae58f56ca4f6909eb04f7e111301022b5571
6
+ metadata.gz: 8051249dfea2188d85243ffa854e25dbaea512a1766222aceba59b37610fb41f0f36430b2b3200e0ad57c7f958ebd647f4182719b7e1703caa0dc817859acfc2
7
+ data.tar.gz: 83f7eab3501fa49f7aa6221251afe5cf7e9ada352521e5e32396f005e980575e4c0e942b5417c137409bd45af96781b0f63ce183375c526795bbf08db2d73f40
@@ -2,4 +2,3 @@
2
2
  *= require_tree .
3
3
  *= require_self
4
4
  */
5
- @import "bootstrap-sprockets";
@@ -1,10 +1,10 @@
1
- h2.text-center =<> icon("user") + ' 登 录'
1
+ h2.text-center =<> icon("fas","user") + ' 登 录'
2
2
  br
3
3
  .row
4
4
  .col-md-4
5
5
  .col-md-4
6
- = form_tag auth_path, role: "form", class: "panel panel-default form-horizontal" do
7
- .panel-body
6
+ = form_tag auth_path, role: "form", class: "card form-horizontal" do
7
+ .card-body
8
8
  strong 登录名
9
9
  br
10
10
  = text_field_tag :login,nil,class: "form-control"
@@ -14,5 +14,5 @@ br
14
14
  = password_field_tag :password,nil, class: "form-control"
15
15
 
16
16
 
17
- .panel-footer
17
+ .card-footer
18
18
  = submit_tag '登录', class: "btn-block btn-primary btn"
@@ -12,10 +12,10 @@ module LwqzxAuth
12
12
  end
13
13
  end
14
14
 
15
- #initializer "lwqzx_auth.mount" do |app|
16
- #app.routes.prepend do
17
- # mount LwqzxAuth::Engine => "/"
18
- #end
19
- #end
15
+ initializer "lwqzx_auth.mount" do |app|
16
+ app.routes.prepend do
17
+ mount LwqzxAuth::Engine => ENV["LWQZX_AUTH_MOUNT_PATH"]
18
+ end
19
+ end
20
20
  end
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module LwqzxAuth
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lwqzx_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - zxy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-23 00:00:00.000000000 Z
11
+ date: 2018-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  requirements: []
71
71
  rubyforge_project:
72
- rubygems_version: 2.6.8
72
+ rubygems_version: 2.7.3
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: add auth function to host application.