lockup 1.5.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dfdabe74f88fd0a7f96cc0954955ee25290aa744
4
- data.tar.gz: 3d0ce975765cf1f47248cd0f0254776c08775633
3
+ metadata.gz: 23a3049ae2acf4127aff54f2ed334ac6b9ca2489
4
+ data.tar.gz: 4844a877e19528413da8fb21309e8756fbe52951
5
5
  SHA512:
6
- metadata.gz: b26afc7b25e14712686a38139028cb823d74ba8f79e296f244217bc06a4552715572eb8a0182aa15f6e2f3d7d9ddde52fcdcc2d89ef93fec13a1c4315148ced8
7
- data.tar.gz: 3e5692094f806f2681c00ac2e3926854d05c6362e047d24ad892e44c6d640c2e5da71ae5191a22ca96ef06b0aa36deec8f36f009087235bc6c846c986d0f5e8e
6
+ metadata.gz: 7c005b3d992f5239cd2de38cebbb96a1d663e73a8c158ec002a6e99fb23382620c28737324fe0d9f8ae57f25c29bd4e9066bc20142daf4f8a3c6aa29574f6e34
7
+ data.tar.gz: bb9e89aa28ac4e4102166e77f738e7756bd036a419da45aa88f2460fdf0dca9e7e9abd472eb4c296ca901ac1ce8491fc3cfca6eee7afdaa7e466731bc9cc31c9
data/README.md CHANGED
@@ -10,7 +10,7 @@ _“Can I come into your fort?”_
10
10
 
11
11
  _“…what’s the codeword?”_
12
12
 
13
- (currently used in production with Rails 3.X, Rails 4.X, and Rails 5.X)
13
+ (currently used in production with Rails 3.X, Rails 4.X, Rails 5.X, and Rails 6.X)
14
14
 
15
15
  [Demos and more information.](http://lockupgem.com)
16
16
 
@@ -112,6 +112,6 @@ If you would like to change the content or design of the lockup page, you can cr
112
112
 
113
113
  Pull requests are quite welcome.
114
114
 
115
- ## Project Site
115
+ ## Project Site (with Demo)
116
116
 
117
- [lockupgem.com](http://lockupgem.com)
117
+ [lockupgem.com](https://lockupgem.com)
@@ -1,3 +1,3 @@
1
1
  module Lockup
2
- VERSION = "1.5.1"
2
+ VERSION = "1.6"
3
3
  end
@@ -5821,3 +5821,162 @@ Completed 406 Not Acceptable in 0ms
5821
5821
  Processing by Lockup::LockupController#unlock as HTML
5822
5822
  Parameters: {"foo"=>"bar"}
5823
5823
  Completed 200 OK in 0ms
5824
+ Started GET "/posts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5825
+ Processing by PostsController#index as HTML
5826
+ Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
5827
+ Filter chain halted as :check_for_lockup rendered or redirected
5828
+ Completed 302 Found in 1ms
5829
+ Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5830
+ Processing by Lockup::LockupController#unlock as HTML
5831
+ Parameters: {"return_to"=>"/posts"}
5832
+ Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
5833
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (4.0ms)
5834
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.2ms)
5835
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.1ms)
5836
+ Completed 200 OK in 19ms (Views: 16.3ms)
5837
+ Started POST "/lockup/unlock" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5838
+ Processing by Lockup::LockupController#unlock as HTML
5839
+ Parameters: {"utf8"=>"✓", "lockup"=>{"codeword"=>"omgponies", "return_to"=>"/posts"}, "button"=>""}
5840
+ Redirected to http://www.example.com/posts
5841
+ Completed 302 Found in 0ms
5842
+ Started GET "/posts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5843
+ Processing by PostsController#index as HTML
5844
+ Rendering posts/index.html.erb within layouts/application
5845
+ Rendered posts/index.html.erb within layouts/application (0.3ms)
5846
+ Completed 200 OK in 103ms (Views: 91.2ms)
5847
+ Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5848
+ Processing by PostsController#index as HTML
5849
+ Parameters: {"lockup_codeword"=>"omgponies"}
5850
+ Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
5851
+ Filter chain halted as :check_for_lockup rendered or redirected
5852
+ Completed 302 Found in 0ms
5853
+ Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5854
+ Processing by Lockup::LockupController#unlock as HTML
5855
+ Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
5856
+ Redirected to http://www.example.com/posts
5857
+ Completed 302 Found in 0ms
5858
+ Started GET "/posts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5859
+ Processing by PostsController#index as HTML
5860
+ Rendering posts/index.html.erb within layouts/application
5861
+ Rendered posts/index.html.erb within layouts/application (0.1ms)
5862
+ Completed 200 OK in 1ms (Views: 0.9ms)
5863
+ Started GET "/posts/1" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5864
+ Processing by PostsController#show as HTML
5865
+ Parameters: {"id"=>"1"}
5866
+ Rendering posts/show.html.erb within layouts/application
5867
+ Rendered posts/show.html.erb within layouts/application (0.2ms)
5868
+ Completed 200 OK in 3ms (Views: 1.4ms)
5869
+ Started GET "/posts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5870
+ Processing by PostsController#index as HTML
5871
+ Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
5872
+ Filter chain halted as :check_for_lockup rendered or redirected
5873
+ Completed 302 Found in 0ms
5874
+ Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5875
+ Processing by Lockup::LockupController#unlock as HTML
5876
+ Parameters: {"return_to"=>"/posts"}
5877
+ Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
5878
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (0.3ms)
5879
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.0ms)
5880
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.0ms)
5881
+ Completed 200 OK in 1ms (Views: 0.8ms)
5882
+ Started POST "/lockup/unlock" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5883
+ Processing by Lockup::LockupController#unlock as HTML
5884
+ Parameters: {"utf8"=>"✓", "lockup"=>{"codeword"=>"lolwut", "return_to"=>"/posts"}, "button"=>""}
5885
+ Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
5886
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (0.3ms)
5887
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.0ms)
5888
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.0ms)
5889
+ Completed 200 OK in 1ms (Views: 0.6ms)
5890
+ Started GET "/this-does-not-exist?lockup_codeword=omgponies" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5891
+ Processing by ApplicationController#render_404 as HTML
5892
+ Parameters: {"lockup_codeword"=>"omgponies", "path"=>"this-does-not-exist"}
5893
+ Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fthis-does-not-exist
5894
+ Filter chain halted as :check_for_lockup rendered or redirected
5895
+ Completed 302 Found in 0ms
5896
+ Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fthis-does-not-exist" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5897
+ Processing by Lockup::LockupController#unlock as HTML
5898
+ Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/this-does-not-exist"}
5899
+ Redirected to http://www.example.com/this-does-not-exist
5900
+ Completed 302 Found in 0ms
5901
+ Started GET "/this-does-not-exist" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5902
+ Processing by ApplicationController#render_404 as HTML
5903
+ Parameters: {"path"=>"this-does-not-exist"}
5904
+ Rendering public/404.html within layouts/application
5905
+ Rendered public/404.html within layouts/application (0.2ms)
5906
+ Completed 404 Not Found in 7ms (Views: 7.3ms)
5907
+ Started GET "/posts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5908
+ Processing by PostsController#index as HTML
5909
+ Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
5910
+ Filter chain halted as :check_for_lockup rendered or redirected
5911
+ Completed 302 Found in 0ms
5912
+ Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5913
+ Processing by Lockup::LockupController#unlock as HTML
5914
+ Parameters: {"return_to"=>"/posts"}
5915
+ Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
5916
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (0.3ms)
5917
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.0ms)
5918
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.0ms)
5919
+ Completed 200 OK in 1ms (Views: 0.7ms)
5920
+ Started GET "/posts?lookup_codeword=lolwut" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5921
+ Processing by PostsController#index as HTML
5922
+ Parameters: {"lookup_codeword"=>"lolwut"}
5923
+ Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts%3Flookup_codeword%3Dlolwut
5924
+ Filter chain halted as :check_for_lockup rendered or redirected
5925
+ Completed 302 Found in 0ms
5926
+ Started GET "/lockup/unlock?return_to=%2Fposts%3Flookup_codeword%3Dlolwut" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5927
+ Processing by Lockup::LockupController#unlock as HTML
5928
+ Parameters: {"return_to"=>"/posts?lookup_codeword=lolwut"}
5929
+ Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
5930
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (0.2ms)
5931
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.0ms)
5932
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.0ms)
5933
+ Completed 200 OK in 1ms (Views: 0.6ms)
5934
+ Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5935
+ Processing by PostsController#index as HTML
5936
+ Parameters: {"lockup_codeword"=>"omgponies"}
5937
+ Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
5938
+ Filter chain halted as :check_for_lockup rendered or redirected
5939
+ Completed 302 Found in 0ms
5940
+ Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5941
+ Processing by Lockup::LockupController#unlock as HTML
5942
+ Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
5943
+ Completed 200 OK in 0ms
5944
+ Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5945
+ Processing by PostsController#index as HTML
5946
+ Parameters: {"lockup_codeword"=>"omgponies"}
5947
+ Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
5948
+ Filter chain halted as :check_for_lockup rendered or redirected
5949
+ Completed 302 Found in 0ms
5950
+ Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5951
+ Processing by Lockup::LockupController#unlock as HTML
5952
+ Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
5953
+ Redirected to http://www.example.com/posts
5954
+ Completed 302 Found in 0ms
5955
+ Started GET "/posts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5956
+ Processing by PostsController#index as HTML
5957
+ Rendering posts/index.html.erb within layouts/application
5958
+ Rendered posts/index.html.erb within layouts/application (0.1ms)
5959
+ Completed 200 OK in 1ms (Views: 0.9ms)
5960
+ Started GET "/posts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5961
+ Processing by PostsController#index as HTML
5962
+ Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
5963
+ Filter chain halted as :check_for_lockup rendered or redirected
5964
+ Completed 302 Found in 0ms
5965
+ Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5966
+ Processing by Lockup::LockupController#unlock as HTML
5967
+ Parameters: {"return_to"=>"/posts"}
5968
+ Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
5969
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (0.3ms)
5970
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.0ms)
5971
+ Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.0ms)
5972
+ Completed 200 OK in 1ms (Views: 0.7ms)
5973
+ Started GET "/posts" for 127.0.0.1 at 2020-12-07 10:25:59 -0800
5974
+ Processing by PostsController#index as HTML
5975
+ Rendering posts/index.html.erb within layouts/application
5976
+ Rendered posts/index.html.erb within layouts/application (0.1ms)
5977
+ Completed 200 OK in 1ms (Views: 0.8ms)
5978
+ Processing by Lockup::LockupController#unlock as TEXT
5979
+ Completed 406 Not Acceptable in 0ms
5980
+ Processing by Lockup::LockupController#unlock as HTML
5981
+ Parameters: {"foo"=>"bar"}
5982
+ Completed 200 OK in 0ms
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.5.1
4
+ version: '1.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - gb Studio
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-05 00:00:00.000000000 Z
11
+ date: 2020-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.1'
22
+ version: '7.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.1'
32
+ version: '7.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec-rails
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -198,7 +198,7 @@ homepage: http://lockupgem.com
198
198
  licenses:
199
199
  - MIT
200
200
  metadata: {}
201
- post_install_message:
201
+ post_install_message:
202
202
  rdoc_options: []
203
203
  require_paths:
204
204
  - lib
@@ -213,9 +213,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  - !ruby/object:Gem::Version
214
214
  version: '0'
215
215
  requirements: []
216
- rubyforge_project:
216
+ rubyforge_project:
217
217
  rubygems_version: 2.5.1
218
- signing_key:
218
+ signing_key:
219
219
  specification_version: 4
220
220
  summary: Lock staging servers from search engines and prying eyes.
221
221
  test_files: