lockup 1.4.4 → 1.4.5.1

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: ee323e0b4451d7c45b4c45c887e02228205fd98b
4
- data.tar.gz: 54bfb4dc3a8b0d7681f98cf37ed81ba3210e0989
3
+ metadata.gz: 136130a926ef1ba34eacc2fb2fa5c367417dc852
4
+ data.tar.gz: f285ee4b493050e53a5698391cc7749db14d936f
5
5
  SHA512:
6
- metadata.gz: 2a3ccabab609ea1485b5ff502a9db5ea74e31eca642cd0b800e5d7514f6ae07bc95eb83ccc2008784f48a673527468ee3f2f2ea588cb799f3aecb29f1ef6431d
7
- data.tar.gz: fc338ecdaaadf6a0d43146eab6a0b5da03c255f32df56e8f2554f7721440f36a8f8622ca645216046b43939e679b70ec6a0089b06f49322d410e07c9fd924324
6
+ metadata.gz: 7efd1f4da8f13bc233e28cadee641a3fb4c46e17242d101b9a7149fe74c67f9871b55dc2f79606d5255176b5b0142bc64a75110ef5cffc7dc1a09e5cbdce9b0d
7
+ data.tar.gz: 49b27bd4332c9e80ba08e33baca06adff6663030ac7038720aca7c341d6362dee5a9ce6dce38580b1937e8ae73476f7659bf2767e79632042999ea8150e280b3
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Lockup
4
4
 
5
- [![Gem Version](https://badge.fury.io/rb/lockup.png)](http://badge.fury.io/rb/lockup)
5
+ [![Gem Version](https://badge.fury.io/rb/lockup.svg)](http://badge.fury.io/rb/lockup)
6
6
 
7
7
  A simple gem to more elegantly place a staging server or other in-progress rails application behind a basic codeword. It’s easy to implement, share with clients/collaborators, and more beautiful than the typical password-protection sheet.
8
8
 
@@ -58,7 +58,7 @@ If you’re using [Figaro](https://github.com/laserlemon/figaro), set your Locku
58
58
 
59
59
  2. In your application_controller.rb file, add:
60
60
 
61
- skip_before_action :check_for_lockup
61
+ skip_before_action :check_for_lockup, raise: false
62
62
 
63
63
  4. In the controller(s) you would like to restrict:
64
64
 
@@ -8,9 +8,9 @@
8
8
 
9
9
  <%= form_for :lockup, url: { action: 'unlock' } do |form| %>
10
10
  <% unless @wrong == true %>
11
- <p><%= form.password_field "codeword", placeholder: "code word" %></p>
11
+ <p><%= form.password_field "codeword", placeholder: "code word", autofocus: true %></p>
12
12
  <% else %>
13
- <p><%= form.password_field "codeword", value: @codeword, class: 'nope' %></p>
13
+ <p><%= form.password_field "codeword", value: @codeword, class: 'nope', autofocus: true %></p>
14
14
  <% end %>
15
15
 
16
16
  <% if lockup_hint_present? %>
@@ -1,3 +1,3 @@
1
1
  module Lockup
2
- VERSION = "1.4.4"
2
+ VERSION = "1.4.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - gb Studio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-01 00:00:00.000000000 Z
11
+ date: 2019-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails