admin_auth 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjIwNjQ0ZmVhZjI4NTJhNWFmNjI4ZjJkODg5ZmRlYzViZWQ4MjAzYg==
4
+ YjQ4MDk1ODMwYjQzMzRmNmNkY2Y3MDQ5MTM5OTU2NDcwNjIxNmM4OA==
5
5
  data.tar.gz: !binary |-
6
- NTZiZWZiNDcxYzBmMGFiZjBhNzZiZTY2ZTJlNjViYjQ2YzNhYTgzZA==
6
+ ZDZjNjdhZWY3ODQ3MTJlNGVhNmU0MDk0NWVkMzMxNWI2YWI0Y2VhZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjYxNWIwYWY5NDA5OWU0ZDUwZjZlOTk1MGE1MzUyNWQxOGMzNjY2NGY1Yjky
10
- OGFmYmRhOGY4MWFjMGFkZjI3ZmRlNmFjNzQxMmFlZTZkODU1ZGUzMzVmZDBk
11
- NmEzMzU1N2ZiNzU1NjMxZDFiM2IxN2RkN2E2NTg4YWM2YTBkMTA=
9
+ ZmE3NTM5ZWFkZDZiZmU0YmJiYzQ1MGQ0MGQzNTJhM2VmODA1ZjVkMWUzMDIx
10
+ ZWZkMGFhYWY3NGE2ZjFlZDM2NGQwNzYyMWVhYTNjZWRhY2Y2NjAzNWFhNzJi
11
+ ZDI3YWM3ZjRmNTU4ZTJiZjM1NDFlODhkMjQ1NGY4ZGY4YTgzNWM=
12
12
  data.tar.gz: !binary |-
13
- Njc1ZDkxZjQwZDU0ZjFkYTEyNjFkNWZlNDczMmY4ODJhMDQxYzQzNzM5MDAx
14
- NTllNTA4YzBkYzg3MGZkNzZiOTEzMzcwNjU2ZGM0ZDY2NGMyYTQ3YWJiODJl
15
- ZWZiZGIyMGE2YzUzZWE0NmRjMmM0NThiMDhjMDk1Y2QyZDExODg=
13
+ MmUyMTgxY2ViOGMxZTVkNjY0MzczYTFlMjM5NjNkNWZiYjgwZTUwNTA2MjEx
14
+ ZTM2NWU5NjRlYzk3NTUyYjM4ZjJjZTUxYjhjNDg0YzZlNjM0YTExMzAxYjNj
15
+ ZjU0M2Q4ODJjMzU4MGIxNjZlNTAwODIyYzg1MWM0NTcyOWU2NDk=
@@ -1,6 +1,6 @@
1
1
  .admin-auth.edit
2
2
  %h2= 'Edit admin'
3
3
  = form_for admin, url: admin_admin_path(locale, admin), method: :put do |f|
4
- = f.password_field :password, placeholder: '********'
5
- = f.password_field :password_confirmation, placeholder: '********'
6
- = f.submit 'Save'
4
+ .section= f.password_field :password, placeholder: '********'
5
+ .section= f.password_field :password_confirmation, placeholder: '********'
6
+ .section.actions= f.submit 'Save'
@@ -1,6 +1,6 @@
1
1
  .admin-auth.index
2
2
  %h2= 'Admins'
3
- .action
3
+ .section.actions
4
4
  = link_to 'Add an Admin', new_admin_admin_path(locale), class: 'button'
5
5
  = link_to 'Change your password', edit_admin_admin_path(locale, current_admin), class: 'button'
6
6
 
@@ -1,7 +1,7 @@
1
1
  .admin-auth.new
2
2
  %h2= 'New admin'
3
3
  = form_for admin, url: admin_admins_path(locale), method: :post do |f|
4
- = f.text_field :email, placeholder: 'email@email.com'
5
- = f.password_field :password, placeholder: '********'
6
- = f.password_field :password_confirmation, placeholder: '********'
7
- = f.submit 'Save'
4
+ .section= f.text_field :email, placeholder: 'email@email.com'
5
+ .section= f.password_field :password, placeholder: '********'
6
+ .section= f.password_field :password_confirmation, placeholder: '********'
7
+ .section.actions= f.submit 'Save'
@@ -1,6 +1,6 @@
1
1
  .admin-auth.login
2
2
  %h2= 'Admin login'
3
3
  = form_for admin, url: admin_login_path(locale), method: :post do |f|
4
- = f.text_field :email, placeholder: 'email@email.com'
5
- = f.password_field :password, placeholder: '********'
6
- = f.submit 'Login'
4
+ .section= f.text_field :email, autofocus: true, placeholder: 'email@email.com'
5
+ .section= f.password_field :password, placeholder: '********'
6
+ .section.actions= f.submit 'Login'
@@ -1,3 +1,3 @@
1
1
  module AdminAuth
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: admin_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phillip Boksz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-18 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt