lockup 1.4.1 → 1.4.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.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -0
  3. data/app/controllers/lockup/lockup_controller.rb +1 -1
  4. data/lib/lockup.rb +20 -0
  5. data/lib/lockup/version.rb +1 -1
  6. data/spec/controllers/lockup/lockup_controller_spec.rb +26 -0
  7. data/spec/dummy/log/test.log +143 -0
  8. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-_/-_hoC7iCURPIMaZQtgjDhi4hCpLKG585HTC7Ul0JTyM.cache +0 -0
  9. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2W/2WafOXAlZWOOKjT_pCsPP6H0bip-q92L9Q8XzWyMqbc.cache +0 -0
  10. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/95/95P6bvsQVesazfXbch-k2X1l8jd1M5dhQwf3gkEMkW0.cache +0 -0
  11. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Be/BeQzK8km75VcVbxttC5dc_XGArX1AAuZhDSKhwEI7Rk.cache +0 -0
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YE/YEsgbIYcOj5b--9MgCOjHz3rqCE_I1AodoqgsXAc0Rk.cache +0 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a3/a3LI7V_UQhBf2PA5TNan-OFVEmOPGub-dALwHdcnl4g.cache +1 -0
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/d7/d7DB4O8lDLFo9gOfMQSaCnB8k1EOhi9CI-wORs7phHA.cache +1 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dJ/dJWRgn1--GxOqSrtxei98rXsb6G2dLteWRCtrwvf9lY.cache +1 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mF/mFzO6RlRkEilcU4bVWSiyPNzUWv9R9eh45cdsmGqpvw.cache +1 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_9WAKcyhWaKsXtDJBWkFXYEpjeVSDI-aYQcoIby45I.cache +1 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
  22. metadata +22 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2875d9830e24b149067a271bfdc7c2cb6a0d5b1f
4
- data.tar.gz: 3e0506c7845e4ab375f42535b1e3acea201ce371
3
+ metadata.gz: 57cda6607d2690482820fcd0980604b893b8c883
4
+ data.tar.gz: c62c62ff5609958e4a4f81a62f003cf26adf3d43
5
5
  SHA512:
6
- metadata.gz: e375b926cdfbf5271773cf93136cc200fa3784b91679f368629129a5e0b62ce00cee5574acb4343262f3f33048045f5fa0c0dff68e25ecab793f9806078bade8
7
- data.tar.gz: d536f469916c4b8f6b6001f2b1c9ea43e2ef77e931243db152abd56c1529f8c8b21c97bdddead0d4558b1a7640860a60a1ad4fd985583e70e84442c007decce3
6
+ metadata.gz: 66fcc7fa8aa47024b130496f544adb34b9d27d7660da099bf2f211992501a0942e0ae11b70695ea221c2ee65a7ae43ddd7ff8ecaeaa10ec03bcb4ac6baa3db46
7
+ data.tar.gz: ab8747e80de6f7fbea1a0332daa32c3ab71fb77599e1e1f14fca26178d290149e9a7736850b888d14da3ab9a8e60a5619408a19d9b3703c84f466739bad706bd
data/README.md CHANGED
@@ -72,6 +72,14 @@ The visitor is redirected and the cookie is set without them ever seeing the Loc
72
72
 
73
73
  (Lockup also makes a rudimentary attempt based on user agent to **block major search engine bots/crawlers** from following this link and indexing the site, just in case it ever gets out into the wild.)
74
74
 
75
+ ### Set a custom lifetime for cookie
76
+
77
+ The cookie set by Lockup defaults to 5 years. If you want to set a shorter amount of time, you can specify a number of weeks:
78
+
79
+ ENV["COOKIE_LIFETIME_IN_WEEKS"] = 4
80
+
81
+ cookie_lifetime_in_weeks: 4
82
+
75
83
  ### Design Customization
76
84
 
77
85
  If you would like to change the content or design of the lockup page, you can create the directories `app/views/layouts/lockup` and `app/views/lockup/lockup` and populate them with the default content from [here](https://github.com/gblakeman/lockup/tree/master/app/views), and then customize as desired.
@@ -40,7 +40,7 @@ module Lockup
40
40
  private
41
41
 
42
42
  def set_cookie
43
- cookies[:lockup] = { value: @codeword.to_s.downcase, expires: (Time.now + 5.years) }
43
+ cookies[:lockup] = { value: @codeword.to_s.downcase, expires: (Time.now + cookie_lifetime) }
44
44
  end
45
45
 
46
46
  def run_redirect
data/lib/lockup.rb CHANGED
@@ -33,4 +33,24 @@ module Lockup
33
33
  Rails.application.secrets.lockup_codeword.to_s.downcase
34
34
  end
35
35
  end
36
+
37
+ def cookie_lifetime_variable
38
+ if ENV["COOKIE_LIFETIME_IN_WEEKS"].present?
39
+ ENV["COOKIE_LIFETIME_IN_WEEKS"]
40
+ elsif ENV["cookie_lifetime_in_weeks"].present?
41
+ ENV["cookie_lifetime_in_weeks"]
42
+ elsif Rails.application.respond_to?(:secrets) && Rails.application.secrets.cookie_lifetime_in_weeks.present?
43
+ Rails.application.secrets.cookie_lifetime_in_weeks
44
+ end
45
+ end
46
+
47
+ def cookie_lifetime
48
+ weeks = (cookie_lifetime_variable || 0).to_f
49
+ seconds = (weeks * 1.week).to_i
50
+ if seconds > 0
51
+ seconds
52
+ else
53
+ 5.years
54
+ end
55
+ end
36
56
  end
@@ -1,3 +1,3 @@
1
1
  module Lockup
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
@@ -14,4 +14,30 @@ describe Lockup::LockupController do
14
14
  lambda { get 'unlock', format: 'text' }.should raise_error(ActionController::UnknownFormat)
15
15
  end
16
16
  end
17
+
18
+ describe "#cookie_lifetime" do
19
+ context "COOKIE_LIFETIME_IN_WEEKS is set to an integer" do
20
+ before { ENV['COOKIE_LIFETIME_IN_WEEKS'] = '52' }
21
+
22
+ it "returns the integer" do
23
+ controller.send(:cookie_lifetime).should eq(52.weeks)
24
+ end
25
+ end
26
+
27
+ context "COOKIE_LIFETIME_IN_WEEKS is not a valid integer" do
28
+ before { ENV['COOKIE_LIFETIME_IN_WEEKS'] = 'invalid value' }
29
+
30
+ it "returns the integer" do
31
+ controller.send(:cookie_lifetime).should eq(5.years)
32
+ end
33
+ end
34
+
35
+ context "COOKIE_LIFETIME_IN_WEEKS is not set" do
36
+ before { ENV.delete('COOKIE_LIFETIME_IN_WEEKS') }
37
+
38
+ it "returns the integer" do
39
+ controller.send(:cookie_lifetime).should eq(5.years)
40
+ end
41
+ end
42
+ end
17
43
  end
@@ -4899,3 +4899,146 @@ Processing by Lockup::LockupController#unlock as HTML
4899
4899
  Rendered /Users/gblakeman/Documents/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.5ms)
4900
4900
  Rendered /Users/gblakeman/Documents/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.4ms)
4901
4901
  Completed 200 OK in 17ms (Views: 14.2ms)
4902
+ Started GET "/posts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4903
+ Processing by PostsController#index as HTML
4904
+ Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
4905
+ Filter chain halted as :check_for_lockup rendered or redirected
4906
+ Completed 302 Found in 4ms
4907
+ Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4908
+ Processing by Lockup::LockupController#unlock as HTML
4909
+ Parameters: {"return_to"=>"/posts"}
4910
+ Rendering /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
4911
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (10.1ms)
4912
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.3ms)
4913
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.7ms)
4914
+ Completed 200 OK in 30ms (Views: 27.1ms)
4915
+ Started GET "/posts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4916
+ Processing by PostsController#index as HTML
4917
+ Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
4918
+ Filter chain halted as :check_for_lockup rendered or redirected
4919
+ Completed 302 Found in 0ms
4920
+ Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4921
+ Processing by Lockup::LockupController#unlock as HTML
4922
+ Parameters: {"return_to"=>"/posts"}
4923
+ Rendering /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
4924
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (0.9ms)
4925
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.3ms)
4926
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.2ms)
4927
+ Completed 200 OK in 17ms (Views: 13.7ms)
4928
+ Started POST "/lockup/unlock" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4929
+ Processing by Lockup::LockupController#unlock as HTML
4930
+ Parameters: {"utf8"=>"✓", "lockup"=>{"codeword"=>"lolwut", "return_to"=>"/posts"}, "button"=>""}
4931
+ Rendering /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
4932
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (1.2ms)
4933
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.3ms)
4934
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.2ms)
4935
+ Completed 200 OK in 18ms (Views: 15.0ms)
4936
+ Started GET "/this-does-not-exist?lockup_codeword=omgponies" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4937
+ Processing by ApplicationController#render_404 as HTML
4938
+ Parameters: {"lockup_codeword"=>"omgponies", "path"=>"this-does-not-exist"}
4939
+ Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fthis-does-not-exist
4940
+ Filter chain halted as :check_for_lockup rendered or redirected
4941
+ Completed 302 Found in 0ms
4942
+ Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fthis-does-not-exist" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4943
+ Processing by Lockup::LockupController#unlock as HTML
4944
+ Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/this-does-not-exist"}
4945
+ Redirected to http://www.example.com/this-does-not-exist
4946
+ Completed 302 Found in 2ms
4947
+ Started GET "/this-does-not-exist" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4948
+ Processing by ApplicationController#render_404 as HTML
4949
+ Parameters: {"path"=>"this-does-not-exist"}
4950
+ Rendering public/404.html within layouts/application
4951
+ Rendered public/404.html within layouts/application (0.2ms)
4952
+ Completed 404 Not Found in 118ms (Views: 118.3ms)
4953
+ Started GET "/posts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4954
+ Processing by PostsController#index as HTML
4955
+ Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
4956
+ Filter chain halted as :check_for_lockup rendered or redirected
4957
+ Completed 302 Found in 0ms
4958
+ Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4959
+ Processing by Lockup::LockupController#unlock as HTML
4960
+ Parameters: {"return_to"=>"/posts"}
4961
+ Rendering /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
4962
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (1.1ms)
4963
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.4ms)
4964
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.3ms)
4965
+ Completed 200 OK in 21ms (Views: 17.2ms)
4966
+ Started POST "/lockup/unlock" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4967
+ Processing by Lockup::LockupController#unlock as HTML
4968
+ Parameters: {"utf8"=>"✓", "lockup"=>{"codeword"=>"omgponies", "return_to"=>"/posts"}, "button"=>""}
4969
+ Redirected to http://www.example.com/posts
4970
+ Completed 302 Found in 0ms
4971
+ Started GET "/posts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4972
+ Processing by PostsController#index as HTML
4973
+ Rendering posts/index.html.erb within layouts/application
4974
+ Rendered posts/index.html.erb within layouts/application (0.5ms)
4975
+ Completed 200 OK in 29ms (Views: 7.3ms)
4976
+ Started GET "/posts?lookup_codeword=lolwut" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4977
+ Processing by PostsController#index as HTML
4978
+ Parameters: {"lookup_codeword"=>"lolwut"}
4979
+ Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts%3Flookup_codeword%3Dlolwut
4980
+ Filter chain halted as :check_for_lockup rendered or redirected
4981
+ Completed 302 Found in 1ms
4982
+ Started GET "/lockup/unlock?return_to=%2Fposts%3Flookup_codeword%3Dlolwut" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4983
+ Processing by Lockup::LockupController#unlock as HTML
4984
+ Parameters: {"return_to"=>"/posts?lookup_codeword=lolwut"}
4985
+ Rendering /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
4986
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (1.2ms)
4987
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.4ms)
4988
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.3ms)
4989
+ Completed 200 OK in 19ms (Views: 15.5ms)
4990
+ Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4991
+ Processing by PostsController#index as HTML
4992
+ Parameters: {"lockup_codeword"=>"omgponies"}
4993
+ Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
4994
+ Filter chain halted as :check_for_lockup rendered or redirected
4995
+ Completed 302 Found in 0ms
4996
+ Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
4997
+ Processing by Lockup::LockupController#unlock as HTML
4998
+ Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
4999
+ Completed 200 OK in 0ms
5000
+ Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
5001
+ Processing by PostsController#index as HTML
5002
+ Parameters: {"lockup_codeword"=>"omgponies"}
5003
+ Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
5004
+ Filter chain halted as :check_for_lockup rendered or redirected
5005
+ Completed 302 Found in 0ms
5006
+ Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
5007
+ Processing by Lockup::LockupController#unlock as HTML
5008
+ Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
5009
+ Redirected to http://www.example.com/posts
5010
+ Completed 302 Found in 0ms
5011
+ Started GET "/posts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
5012
+ Processing by PostsController#index as HTML
5013
+ Rendering posts/index.html.erb within layouts/application
5014
+ Rendered posts/index.html.erb within layouts/application (0.6ms)
5015
+ Completed 200 OK in 9ms (Views: 7.0ms)
5016
+ Started GET "/posts/1" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
5017
+ Processing by PostsController#show as HTML
5018
+ Parameters: {"id"=>"1"}
5019
+ Rendering posts/show.html.erb within layouts/application
5020
+ Rendered posts/show.html.erb within layouts/application (0.3ms)
5021
+ Completed 200 OK in 10ms (Views: 7.9ms)
5022
+ Started GET "/posts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
5023
+ Processing by PostsController#index as HTML
5024
+ Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
5025
+ Filter chain halted as :check_for_lockup rendered or redirected
5026
+ Completed 302 Found in 1ms
5027
+ Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
5028
+ Processing by Lockup::LockupController#unlock as HTML
5029
+ Parameters: {"return_to"=>"/posts"}
5030
+ Rendering /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
5031
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (0.9ms)
5032
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.3ms)
5033
+ Rendered /Users/grantblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.2ms)
5034
+ Completed 200 OK in 17ms (Views: 13.9ms)
5035
+ Started GET "/posts" for 127.0.0.1 at 2018-07-26 18:24:34 -0700
5036
+ Processing by PostsController#index as HTML
5037
+ Rendering posts/index.html.erb within layouts/application
5038
+ Rendered posts/index.html.erb within layouts/application (0.5ms)
5039
+ Completed 200 OK in 8ms (Views: 6.3ms)
5040
+ Processing by Lockup::LockupController#unlock as HTML
5041
+ Parameters: {"foo"=>"bar"}
5042
+ Completed 200 OK in 0ms
5043
+ Processing by Lockup::LockupController#unlock as TEXT
5044
+ Completed 406 Not Acceptable in 0ms
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=fef0bfd811264d6352406da289cd0b5479eb98aaff21d105d894688223767a21:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=612494a59323d82e68084ff09a49691dfe09730a058ce99ebd121f79e5bbe120:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=5ca9e1362bb6ac7296892ca0197ed80046054ecda74248d15d494b9f713f6575:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=113447d08cd837dd8f23b8596516dd5d40d2f02b0ec0f7462b2341beaf5964a5:ET
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
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.1
4
+ version: 1.4.2
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-06-06 00:00:00.000000000 Z
11
+ date: 2018-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -147,19 +147,29 @@ files:
147
147
  - spec/dummy/public/422.html
148
148
  - spec/dummy/public/500.html
149
149
  - spec/dummy/public/favicon.ico
150
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/-_/-_hoC7iCURPIMaZQtgjDhi4hCpLKG585HTC7Ul0JTyM.cache
150
151
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/1T/1T-a1hn7TPU4VqYN1_WMFcWXOJr7VHGalLxVInuxckM.cache
152
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/2W/2WafOXAlZWOOKjT_pCsPP6H0bip-q92L9Q8XzWyMqbc.cache
151
153
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/2s/2s3YUjKGbnsy4nqjtt3_bLi2-n7vURwbi1N4I3efe3M.cache
152
154
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/54/54JuizNobIWGWy1THHxcQSq9oLjimE6qRyKaKuNrnuA.cache
155
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/95/95P6bvsQVesazfXbch-k2X1l8jd1M5dhQwf3gkEMkW0.cache
153
156
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/B3/B33FTX989v8LP64xdx3RQwjUBAenWdgN6qT8sRqdw0U.cache
157
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Be/BeQzK8km75VcVbxttC5dc_XGArX1AAuZhDSKhwEI7Rk.cache
154
158
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/GA/GASYa5vOdbDTxwlNjrbfSeP0VqSsLpI1WPJOL-DlpX8.cache
155
159
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/JT/JT67EmzctkGMcnuWGu3PGVl4VdsixOmCeTj1iN8XqFU.cache
156
160
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ng/NgxbVmfEhJPMVKKQOWa0nwrHB7PcQjSyU8CLLguWYlo.cache
157
161
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/PE/PE4qT2vBxYzDt9ccdMf4qpdTP7dOm-R5cLIBQibKwRQ.cache
158
162
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/WC/WCPElyBEHMaQVSX5y9b3OeK62YirmwoDyI47yFYx5GQ.cache
163
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/YE/YEsgbIYcOj5b--9MgCOjHz3rqCE_I1AodoqgsXAc0Rk.cache
164
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/a3/a3LI7V_UQhBf2PA5TNan-OFVEmOPGub-dALwHdcnl4g.cache
165
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/d7/d7DB4O8lDLFo9gOfMQSaCnB8k1EOhi9CI-wORs7phHA.cache
166
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/dJ/dJWRgn1--GxOqSrtxei98rXsb6G2dLteWRCtrwvf9lY.cache
159
167
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/gO/gO-rpB7IiDeyguj60kVlTKZVtRC2P1B99AOB14IdvVI.cache
160
168
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
161
169
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/jB/jBSZ526UktWa5tR11UzXAqsEYE1Uf1yI6odiAdWnvmA.cache
170
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/mF/mFzO6RlRkEilcU4bVWSiyPNzUWv9R9eh45cdsmGqpvw.cache
162
171
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
172
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_9WAKcyhWaKsXtDJBWkFXYEpjeVSDI-aYQcoIby45I.cache
163
173
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_N92h27J6XZ47drVHd36L-LHb1TeVSJOP8GCoR6rfc.cache
164
174
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
165
175
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
@@ -227,10 +237,17 @@ test_files:
227
237
  - spec/dummy/public/500.html
228
238
  - spec/dummy/public/404.html
229
239
  - spec/dummy/log/test.log
240
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/95/95P6bvsQVesazfXbch-k2X1l8jd1M5dhQwf3gkEMkW0.cache
241
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/YE/YEsgbIYcOj5b--9MgCOjHz3rqCE_I1AodoqgsXAc0Rk.cache
230
242
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/PE/PE4qT2vBxYzDt9ccdMf4qpdTP7dOm-R5cLIBQibKwRQ.cache
231
243
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/GA/GASYa5vOdbDTxwlNjrbfSeP0VqSsLpI1WPJOL-DlpX8.cache
244
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/a3/a3LI7V_UQhBf2PA5TNan-OFVEmOPGub-dALwHdcnl4g.cache
232
245
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/gO/gO-rpB7IiDeyguj60kVlTKZVtRC2P1B99AOB14IdvVI.cache
233
246
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ng/NgxbVmfEhJPMVKKQOWa0nwrHB7PcQjSyU8CLLguWYlo.cache
247
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/mF/mFzO6RlRkEilcU4bVWSiyPNzUWv9R9eh45cdsmGqpvw.cache
248
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/d7/d7DB4O8lDLFo9gOfMQSaCnB8k1EOhi9CI-wORs7phHA.cache
249
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Be/BeQzK8km75VcVbxttC5dc_XGArX1AAuZhDSKhwEI7Rk.cache
250
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/-_/-_hoC7iCURPIMaZQtgjDhi4hCpLKG585HTC7Ul0JTyM.cache
234
251
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/B3/B33FTX989v8LP64xdx3RQwjUBAenWdgN6qT8sRqdw0U.cache
235
252
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
236
253
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/JT/JT67EmzctkGMcnuWGu3PGVl4VdsixOmCeTj1iN8XqFU.cache
@@ -241,8 +258,11 @@ test_files:
241
258
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
242
259
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/2s/2s3YUjKGbnsy4nqjtt3_bLi2-n7vURwbi1N4I3efe3M.cache
243
260
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/54/54JuizNobIWGWy1THHxcQSq9oLjimE6qRyKaKuNrnuA.cache
261
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/dJ/dJWRgn1--GxOqSrtxei98rXsb6G2dLteWRCtrwvf9lY.cache
244
262
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/jB/jBSZ526UktWa5tR11UzXAqsEYE1Uf1yI6odiAdWnvmA.cache
263
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_9WAKcyhWaKsXtDJBWkFXYEpjeVSDI-aYQcoIby45I.cache
245
264
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_N92h27J6XZ47drVHd36L-LHb1TeVSJOP8GCoR6rfc.cache
265
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/2W/2WafOXAlZWOOKjT_pCsPP6H0bip-q92L9Q8XzWyMqbc.cache
246
266
  - spec/features/access_restricted_spec.rb
247
267
  - spec/support/features/user_agent_helper.rb
248
268
  - spec/controllers/lockup/lockup_controller_spec.rb