lockup 1.4.5.1 → 1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -6
- data/app/controllers/lockup/lockup_controller.rb +3 -3
- data/app/helpers/lockup/lockup_helper.rb +8 -18
- data/app/views/lockup/lockup/unlock.html.erb +2 -2
- data/lib/lockup.rb +32 -34
- data/lib/lockup/version.rb +1 -1
- data/spec/controllers/lockup/lockup_controller_spec.rb +3 -3
- data/spec/dummy/log/test.log +318 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1S/1S-qcbypJoWh67XAomrFuZGWGFhl6HNhHAOp3gVaaiw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3T/3TDG6xxFriIdNUVsjkfIPHi9mn6xyJiufz5luT9uV5o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6-/6-m--XYRC6sgzU20Fjl3eNNi-KRD--wHvyp9NLC1Osc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FG/FG-BqpRggGMOXoepAAKDnKJf3YSxLoqyKYByHOyPhVE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GC/GCrmbUWerBeVYCAFt30IhkIhhe1F5oG6X5SzWdyj4dE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PM/PMPBz9_dKw9ipSgrNK8UFc61b5_CmXZe35m_NDnG878.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PQ/PQou7FpFPKLaf9zYBRfJsDy7BpglbbzivmOAodVr8uk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tE/tEEvLa1vvdK2lR98REdVz1IjLYaeMlV_AgQdGIW4LIo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
- data/spec/features/access_restricted_spec.rb +1 -1
- metadata +18 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a6bf9eec1d92448d31c179460807829a164ebfb
|
4
|
+
data.tar.gz: 95794d845959b877b952aeca58583f8451b48349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a54ec149ccd49a598316d40563f6ea6c11c867528a31560e5a23508b7e1d67bc4d94d809e627723cdee9f4832ab21dc20df63849a44bb01f6537fb4e67fd9ec
|
7
|
+
data.tar.gz: 5725af2865efc4746b286410ea248ce55a1c8cb78a4843e1db3cd4521a9238c111a7e1cb13fd8d77141cbbf0328f9a77298d1027ed0d26f362f62f3d22469f2e
|
data/README.md
CHANGED
@@ -36,17 +36,27 @@ If you think you might need a hint:
|
|
36
36
|
|
37
37
|
ENV["LOCKUP_HINT"] = 'Something that you do not tell everyone.'
|
38
38
|
|
39
|
-
If you’re using Rails 4.1 or
|
39
|
+
If you’re using Rails >= 4.1 or Rails >= 5.2, you can add your Lockup Codeword via Rails Secrets or Rails Credentials functionality in your secrets.yml or credentials.yml.enc file, respectively:
|
40
40
|
|
41
|
-
|
41
|
+
```yml
|
42
|
+
lockup_codeword: 'love'
|
43
|
+
lockup_hint: 'Pepé Le Pew'
|
44
|
+
```
|
42
45
|
|
43
|
-
|
46
|
+
Alternately, Rails Credentials in >= 5.2 may be organized under the `lockup` namespace:
|
44
47
|
|
45
|
-
|
48
|
+
```yml
|
49
|
+
lockup:
|
50
|
+
codeword: 'love'
|
51
|
+
hint: 'Pepé Le Pew'
|
52
|
+
```
|
46
53
|
|
47
|
-
|
54
|
+
If you’re using [Figaro](https://github.com/laserlemon/figaro), set your Lockup codeword and hint (optional) in your application.yml file:
|
48
55
|
|
49
|
-
|
56
|
+
```yml
|
57
|
+
lockup_codeword: 'love'
|
58
|
+
lockup_hint: 'Pepé Le Pew'
|
59
|
+
```
|
50
60
|
|
51
61
|
**Codewords are not case-sensitive, by design. Keep it simple.**
|
52
62
|
|
@@ -18,7 +18,7 @@ module Lockup
|
|
18
18
|
|
19
19
|
@codeword = params[:lockup_codeword].to_s.downcase
|
20
20
|
@return_to = params[:return_to]
|
21
|
-
if @codeword == lockup_codeword
|
21
|
+
if @codeword == lockup_codeword.to_s.downcase
|
22
22
|
set_cookie
|
23
23
|
run_redirect
|
24
24
|
end
|
@@ -26,7 +26,7 @@ module Lockup
|
|
26
26
|
if params[:lockup].present? && params[:lockup].respond_to?(:'[]')
|
27
27
|
@codeword = params[:lockup][:codeword].to_s.downcase
|
28
28
|
@return_to = params[:lockup][:return_to]
|
29
|
-
if @codeword == lockup_codeword
|
29
|
+
if @codeword == lockup_codeword.to_s.downcase
|
30
30
|
set_cookie
|
31
31
|
run_redirect
|
32
32
|
else
|
@@ -43,7 +43,7 @@ module Lockup
|
|
43
43
|
private
|
44
44
|
|
45
45
|
def set_cookie
|
46
|
-
cookies[:lockup] = { value: @codeword.to_s.downcase, expires: (Time.now +
|
46
|
+
cookies[:lockup] = { value: @codeword.to_s.downcase, expires: (Time.now + lockup_cookie_lifetime) }
|
47
47
|
end
|
48
48
|
|
49
49
|
def run_redirect
|
@@ -1,23 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Lockup
|
2
4
|
module LockupHelper
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
5
|
+
def lockup_hint
|
6
|
+
@lockup_hint ||=
|
7
|
+
ENV['LOCKUP_HINT'] ||
|
8
|
+
ENV['lockup_hint'] ||
|
9
|
+
::Lockup.from_config(:hint, :secrets) ||
|
10
|
+
::Lockup.from_config(:hint)
|
10
11
|
end
|
11
|
-
|
12
|
-
def lockup_hint_display
|
13
|
-
if ENV["LOCKUP_HINT"].present?
|
14
|
-
ENV["LOCKUP_HINT"].to_s
|
15
|
-
elsif ENV["lockup_hint"].present?
|
16
|
-
ENV["lockup_hint"].to_s
|
17
|
-
elsif (Rails::VERSION::MAJOR >= 4 && Rails::VERSION::MINOR >= 1) && Rails.application.secrets.lockup_hint.present?
|
18
|
-
Rails.application.secrets.lockup_hint.to_s
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
12
|
end
|
23
13
|
end
|
@@ -13,9 +13,9 @@
|
|
13
13
|
<p><%= form.password_field "codeword", value: @codeword, class: 'nope', autofocus: true %></p>
|
14
14
|
<% end %>
|
15
15
|
|
16
|
-
<% if
|
16
|
+
<% if lockup_hint %>
|
17
17
|
<p id='hint_icon'>?</p>
|
18
|
-
<p id='hint'><%=
|
18
|
+
<p id='hint'><%= lockup_hint %></p>
|
19
19
|
<% end %>
|
20
20
|
|
21
21
|
<% if params[:return_to].present? %>
|
data/lib/lockup.rb
CHANGED
@@ -1,60 +1,58 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'lockup/engine'
|
2
4
|
|
3
5
|
module Lockup
|
4
6
|
extend ActiveSupport::Concern
|
5
7
|
|
6
8
|
included do
|
7
|
-
if
|
8
|
-
before_action :check_for_lockup, except: [
|
9
|
+
if respond_to?(:before_action)
|
10
|
+
before_action :check_for_lockup, except: ['unlock']
|
9
11
|
else
|
10
|
-
before_filter :check_for_lockup, except: [
|
12
|
+
before_filter :check_for_lockup, except: ['unlock']
|
11
13
|
end
|
12
14
|
end
|
13
15
|
|
16
|
+
def self.from_config(setting, secrets_or_credentials = :credentials)
|
17
|
+
return unless Rails.application.respond_to?(secrets_or_credentials)
|
18
|
+
|
19
|
+
store = Rails.application.public_send(secrets_or_credentials)
|
20
|
+
|
21
|
+
store.lockup.respond_to?(:fetch) &&
|
22
|
+
store.lockup.fetch(setting, store.public_send("lockup_#{setting}")) ||
|
23
|
+
store.public_send("lockup_#{setting}") || store.public_send(setting)
|
24
|
+
end
|
25
|
+
|
14
26
|
private
|
15
27
|
|
16
28
|
def check_for_lockup
|
17
|
-
return unless respond_to?(:lockup) &&
|
18
|
-
return if cookies[:lockup].present? && cookies[:lockup] == lockup_codeword
|
29
|
+
return unless respond_to?(:lockup) && lockup_codeword
|
30
|
+
return if cookies[:lockup].present? && cookies[:lockup] == lockup_codeword.to_s.downcase
|
19
31
|
|
20
32
|
redirect_to lockup.unlock_path(
|
21
33
|
return_to: request.fullpath.split('?lockup_codeword')[0],
|
22
|
-
lockup_codeword: params[:lockup_codeword]
|
34
|
+
lockup_codeword: params[:lockup_codeword]
|
23
35
|
)
|
24
36
|
end
|
25
37
|
|
26
|
-
def
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
38
|
+
def cookie_lifetime
|
39
|
+
@cookie_lifetime ||=
|
40
|
+
ENV['COOKIE_LIFETIME_IN_WEEKS'] ||
|
41
|
+
ENV['cookie_lifetime_in_weeks'] ||
|
42
|
+
Lockup.from_config(:cookie_lifetime_in_weeks, :secrets) ||
|
43
|
+
Lockup.from_config(:cookie_lifetime_in_weeks)
|
31
44
|
end
|
32
45
|
|
33
46
|
def lockup_codeword
|
34
|
-
|
35
|
-
ENV[
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
Rails.application.secrets.lockup_codeword.to_s.downcase
|
40
|
-
elsif Rails.application.respond_to?(:credentials) && Rails.application.credentials.lockup_codeword.present?
|
41
|
-
Rails.application.credentials.lockup_codeword.to_s.downcase
|
42
|
-
end
|
47
|
+
@lockup_codeword ||=
|
48
|
+
ENV['LOCKUP_CODEWORD'] ||
|
49
|
+
ENV['lockup_codeword'] ||
|
50
|
+
Lockup.from_config(:codeword, :secrets) ||
|
51
|
+
Lockup.from_config(:codeword)
|
43
52
|
end
|
44
53
|
|
45
|
-
def
|
46
|
-
|
47
|
-
ENV["COOKIE_LIFETIME_IN_WEEKS"]
|
48
|
-
elsif ENV["cookie_lifetime_in_weeks"].present?
|
49
|
-
ENV["cookie_lifetime_in_weeks"]
|
50
|
-
elsif Rails.application.respond_to?(:secrets) && Rails.application.secrets.cookie_lifetime_in_weeks.present?
|
51
|
-
Rails.application.secrets.cookie_lifetime_in_weeks
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
def cookie_lifetime
|
56
|
-
weeks = (cookie_lifetime_variable || 0).to_f
|
57
|
-
seconds = (weeks * 1.week).to_i
|
54
|
+
def lockup_cookie_lifetime
|
55
|
+
seconds = (cookie_lifetime.to_f * 1.week).to_i
|
58
56
|
if seconds > 0
|
59
57
|
seconds
|
60
58
|
else
|
data/lib/lockup/version.rb
CHANGED
@@ -21,7 +21,7 @@ describe Lockup::LockupController do
|
|
21
21
|
before { ENV['COOKIE_LIFETIME_IN_WEEKS'] = '52' }
|
22
22
|
|
23
23
|
it "returns the integer" do
|
24
|
-
controller.send(:
|
24
|
+
controller.send(:lockup_cookie_lifetime).should eq(52.weeks)
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
@@ -29,7 +29,7 @@ describe Lockup::LockupController do
|
|
29
29
|
before { ENV['COOKIE_LIFETIME_IN_WEEKS'] = 'invalid value' }
|
30
30
|
|
31
31
|
it "returns the integer" do
|
32
|
-
controller.send(:
|
32
|
+
controller.send(:lockup_cookie_lifetime).should eq(5.years)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
@@ -37,7 +37,7 @@ describe Lockup::LockupController do
|
|
37
37
|
before { ENV.delete('COOKIE_LIFETIME_IN_WEEKS') }
|
38
38
|
|
39
39
|
it "returns the integer" do
|
40
|
-
controller.send(:
|
40
|
+
controller.send(:lockup_cookie_lifetime).should eq(5.years)
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
data/spec/dummy/log/test.log
CHANGED
@@ -5344,3 +5344,321 @@ Processing by PostsController#index as HTML
|
|
5344
5344
|
Rendering posts/index.html.erb within layouts/application
|
5345
5345
|
Rendered posts/index.html.erb within layouts/application (0.5ms)
|
5346
5346
|
Completed 200 OK in 9ms (Views: 6.8ms)
|
5347
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5348
|
+
Parameters: {"foo"=>"bar"}
|
5349
|
+
Completed 200 OK in 0ms
|
5350
|
+
Processing by Lockup::LockupController#unlock as TEXT
|
5351
|
+
Completed 406 Not Acceptable in 0ms
|
5352
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5353
|
+
Processing by PostsController#index as HTML
|
5354
|
+
Rendering posts/index.html.erb within layouts/application
|
5355
|
+
Rendered posts/index.html.erb within layouts/application (3.9ms)
|
5356
|
+
Completed 200 OK in 177ms (Views: 151.5ms)
|
5357
|
+
Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5358
|
+
Processing by PostsController#index as HTML
|
5359
|
+
Parameters: {"lockup_codeword"=>"omgponies"}
|
5360
|
+
Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
|
5361
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5362
|
+
Completed 302 Found in 2ms
|
5363
|
+
Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5364
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5365
|
+
Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
|
5366
|
+
Redirected to http://www.example.com/posts
|
5367
|
+
Completed 302 Found in 0ms
|
5368
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5369
|
+
Processing by PostsController#index as HTML
|
5370
|
+
Rendering posts/index.html.erb within layouts/application
|
5371
|
+
Rendered posts/index.html.erb within layouts/application (0.5ms)
|
5372
|
+
Completed 200 OK in 8ms (Views: 6.0ms)
|
5373
|
+
Started GET "/posts/1" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5374
|
+
Processing by PostsController#show as HTML
|
5375
|
+
Parameters: {"id"=>"1"}
|
5376
|
+
Rendering posts/show.html.erb within layouts/application
|
5377
|
+
Rendered posts/show.html.erb within layouts/application (0.3ms)
|
5378
|
+
Completed 200 OK in 8ms (Views: 5.6ms)
|
5379
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5380
|
+
Processing by PostsController#index as HTML
|
5381
|
+
Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
|
5382
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5383
|
+
Completed 302 Found in 1ms
|
5384
|
+
Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5385
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5386
|
+
Parameters: {"return_to"=>"/posts"}
|
5387
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5388
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (6.0ms)
|
5389
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.6ms)
|
5390
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.3ms)
|
5391
|
+
Completed 200 OK in 26ms (Views: 22.1ms)
|
5392
|
+
Started POST "/lockup/unlock" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5393
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5394
|
+
Parameters: {"utf8"=>"✓", "lockup"=>{"codeword"=>"omgponies", "return_to"=>"/posts"}, "button"=>""}
|
5395
|
+
Redirected to http://www.example.com/posts
|
5396
|
+
Completed 302 Found in 0ms
|
5397
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5398
|
+
Processing by PostsController#index as HTML
|
5399
|
+
Rendering posts/index.html.erb within layouts/application
|
5400
|
+
Rendered posts/index.html.erb within layouts/application (0.5ms)
|
5401
|
+
Completed 200 OK in 8ms (Views: 6.2ms)
|
5402
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5403
|
+
Processing by PostsController#index as HTML
|
5404
|
+
Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
|
5405
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5406
|
+
Completed 302 Found in 0ms
|
5407
|
+
Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5408
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5409
|
+
Parameters: {"return_to"=>"/posts"}
|
5410
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5411
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (0.9ms)
|
5412
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.3ms)
|
5413
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.2ms)
|
5414
|
+
Completed 200 OK in 17ms (Views: 14.0ms)
|
5415
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5416
|
+
Processing by PostsController#index as HTML
|
5417
|
+
Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
|
5418
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5419
|
+
Completed 302 Found in 0ms
|
5420
|
+
Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5421
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5422
|
+
Parameters: {"return_to"=>"/posts"}
|
5423
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5424
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (1.2ms)
|
5425
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.5ms)
|
5426
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.4ms)
|
5427
|
+
Completed 200 OK in 19ms (Views: 16.5ms)
|
5428
|
+
Started POST "/lockup/unlock" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5429
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5430
|
+
Parameters: {"utf8"=>"✓", "lockup"=>{"codeword"=>"lolwut", "return_to"=>"/posts"}, "button"=>""}
|
5431
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5432
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (1.3ms)
|
5433
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.4ms)
|
5434
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.2ms)
|
5435
|
+
Completed 200 OK in 19ms (Views: 15.2ms)
|
5436
|
+
Started GET "/posts?lookup_codeword=lolwut" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5437
|
+
Processing by PostsController#index as HTML
|
5438
|
+
Parameters: {"lookup_codeword"=>"lolwut"}
|
5439
|
+
Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts%3Flookup_codeword%3Dlolwut
|
5440
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5441
|
+
Completed 302 Found in 1ms
|
5442
|
+
Started GET "/lockup/unlock?return_to=%2Fposts%3Flookup_codeword%3Dlolwut" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5443
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5444
|
+
Parameters: {"return_to"=>"/posts?lookup_codeword=lolwut"}
|
5445
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5446
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (1.3ms)
|
5447
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.4ms)
|
5448
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.3ms)
|
5449
|
+
Completed 200 OK in 18ms (Views: 14.6ms)
|
5450
|
+
Started GET "/this-does-not-exist?lockup_codeword=omgponies" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5451
|
+
Processing by ApplicationController#render_404 as HTML
|
5452
|
+
Parameters: {"lockup_codeword"=>"omgponies", "path"=>"this-does-not-exist"}
|
5453
|
+
Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fthis-does-not-exist
|
5454
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5455
|
+
Completed 302 Found in 1ms
|
5456
|
+
Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fthis-does-not-exist" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5457
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5458
|
+
Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/this-does-not-exist"}
|
5459
|
+
Redirected to http://www.example.com/this-does-not-exist
|
5460
|
+
Completed 302 Found in 0ms
|
5461
|
+
Started GET "/this-does-not-exist" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5462
|
+
Processing by ApplicationController#render_404 as HTML
|
5463
|
+
Parameters: {"path"=>"this-does-not-exist"}
|
5464
|
+
Rendering public/404.html within layouts/application
|
5465
|
+
Rendered public/404.html within layouts/application (0.3ms)
|
5466
|
+
Completed 404 Not Found in 12ms (Views: 11.4ms)
|
5467
|
+
Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5468
|
+
Processing by PostsController#index as HTML
|
5469
|
+
Parameters: {"lockup_codeword"=>"omgponies"}
|
5470
|
+
Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
|
5471
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5472
|
+
Completed 302 Found in 1ms
|
5473
|
+
Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5474
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5475
|
+
Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
|
5476
|
+
Completed 200 OK in 0ms
|
5477
|
+
Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5478
|
+
Processing by PostsController#index as HTML
|
5479
|
+
Parameters: {"lockup_codeword"=>"omgponies"}
|
5480
|
+
Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
|
5481
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5482
|
+
Completed 302 Found in 0ms
|
5483
|
+
Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5484
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5485
|
+
Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
|
5486
|
+
Redirected to http://www.example.com/posts
|
5487
|
+
Completed 302 Found in 0ms
|
5488
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5489
|
+
Processing by PostsController#index as HTML
|
5490
|
+
Rendering posts/index.html.erb within layouts/application
|
5491
|
+
Rendered posts/index.html.erb within layouts/application (0.8ms)
|
5492
|
+
Completed 200 OK in 9ms (Views: 6.7ms)
|
5493
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5494
|
+
Processing by PostsController#index as HTML
|
5495
|
+
Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
|
5496
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5497
|
+
Completed 302 Found in 0ms
|
5498
|
+
Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 10:59:57 -0700
|
5499
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5500
|
+
Parameters: {"return_to"=>"/posts"}
|
5501
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5502
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (1.2ms)
|
5503
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.5ms)
|
5504
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.3ms)
|
5505
|
+
Completed 200 OK in 18ms (Views: 14.7ms)
|
5506
|
+
Processing by Lockup::LockupController#unlock as TEXT
|
5507
|
+
Completed 406 Not Acceptable in 0ms
|
5508
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5509
|
+
Parameters: {"foo"=>"bar"}
|
5510
|
+
Completed 200 OK in 0ms
|
5511
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5512
|
+
Processing by PostsController#index as HTML
|
5513
|
+
Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
|
5514
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5515
|
+
Completed 302 Found in 4ms
|
5516
|
+
Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5517
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5518
|
+
Parameters: {"return_to"=>"/posts"}
|
5519
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5520
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (8.6ms)
|
5521
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.6ms)
|
5522
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.2ms)
|
5523
|
+
Completed 200 OK in 32ms (Views: 27.9ms)
|
5524
|
+
Started GET "/posts?lookup_codeword=lolwut" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5525
|
+
Processing by PostsController#index as HTML
|
5526
|
+
Parameters: {"lookup_codeword"=>"lolwut"}
|
5527
|
+
Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts%3Flookup_codeword%3Dlolwut
|
5528
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5529
|
+
Completed 302 Found in 1ms
|
5530
|
+
Started GET "/lockup/unlock?return_to=%2Fposts%3Flookup_codeword%3Dlolwut" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5531
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5532
|
+
Parameters: {"return_to"=>"/posts?lookup_codeword=lolwut"}
|
5533
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5534
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (0.9ms)
|
5535
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.4ms)
|
5536
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.3ms)
|
5537
|
+
Completed 200 OK in 18ms (Views: 14.6ms)
|
5538
|
+
Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5539
|
+
Processing by PostsController#index as HTML
|
5540
|
+
Parameters: {"lockup_codeword"=>"omgponies"}
|
5541
|
+
Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
|
5542
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5543
|
+
Completed 302 Found in 0ms
|
5544
|
+
Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5545
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5546
|
+
Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
|
5547
|
+
Redirected to http://www.example.com/posts
|
5548
|
+
Completed 302 Found in 2ms
|
5549
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5550
|
+
Processing by PostsController#index as HTML
|
5551
|
+
Rendering posts/index.html.erb within layouts/application
|
5552
|
+
Rendered posts/index.html.erb within layouts/application (0.5ms)
|
5553
|
+
Completed 200 OK in 146ms (Views: 121.5ms)
|
5554
|
+
Started GET "/posts/1" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5555
|
+
Processing by PostsController#show as HTML
|
5556
|
+
Parameters: {"id"=>"1"}
|
5557
|
+
Rendering posts/show.html.erb within layouts/application
|
5558
|
+
Rendered posts/show.html.erb within layouts/application (0.3ms)
|
5559
|
+
Completed 200 OK in 9ms (Views: 6.6ms)
|
5560
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5561
|
+
Processing by PostsController#index as HTML
|
5562
|
+
Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
|
5563
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5564
|
+
Completed 302 Found in 0ms
|
5565
|
+
Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5566
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5567
|
+
Parameters: {"return_to"=>"/posts"}
|
5568
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5569
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (1.4ms)
|
5570
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.4ms)
|
5571
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.2ms)
|
5572
|
+
Completed 200 OK in 18ms (Views: 15.0ms)
|
5573
|
+
Started POST "/lockup/unlock" for 127.0.0.1 at 2019-04-29 11:07:28 -0700
|
5574
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5575
|
+
Parameters: {"utf8"=>"✓", "lockup"=>{"codeword"=>"lolwut", "return_to"=>"/posts"}, "button"=>""}
|
5576
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5577
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (1.0ms)
|
5578
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.3ms)
|
5579
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.2ms)
|
5580
|
+
Completed 200 OK in 17ms (Views: 14.5ms)
|
5581
|
+
Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5582
|
+
Processing by PostsController#index as HTML
|
5583
|
+
Parameters: {"lockup_codeword"=>"omgponies"}
|
5584
|
+
Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
|
5585
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5586
|
+
Completed 302 Found in 0ms
|
5587
|
+
Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5588
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5589
|
+
Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
|
5590
|
+
Completed 200 OK in 0ms
|
5591
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5592
|
+
Processing by PostsController#index as HTML
|
5593
|
+
Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
|
5594
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5595
|
+
Completed 302 Found in 1ms
|
5596
|
+
Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5597
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5598
|
+
Parameters: {"return_to"=>"/posts"}
|
5599
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5600
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (0.9ms)
|
5601
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.5ms)
|
5602
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.3ms)
|
5603
|
+
Completed 200 OK in 18ms (Views: 14.6ms)
|
5604
|
+
Started POST "/lockup/unlock" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5605
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5606
|
+
Parameters: {"utf8"=>"✓", "lockup"=>{"codeword"=>"omgponies", "return_to"=>"/posts"}, "button"=>""}
|
5607
|
+
Redirected to http://www.example.com/posts
|
5608
|
+
Completed 302 Found in 0ms
|
5609
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5610
|
+
Processing by PostsController#index as HTML
|
5611
|
+
Rendering posts/index.html.erb within layouts/application
|
5612
|
+
Rendered posts/index.html.erb within layouts/application (0.6ms)
|
5613
|
+
Completed 200 OK in 9ms (Views: 6.8ms)
|
5614
|
+
Started GET "/this-does-not-exist?lockup_codeword=omgponies" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5615
|
+
Processing by ApplicationController#render_404 as HTML
|
5616
|
+
Parameters: {"lockup_codeword"=>"omgponies", "path"=>"this-does-not-exist"}
|
5617
|
+
Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fthis-does-not-exist
|
5618
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5619
|
+
Completed 302 Found in 0ms
|
5620
|
+
Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fthis-does-not-exist" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5621
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5622
|
+
Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/this-does-not-exist"}
|
5623
|
+
Redirected to http://www.example.com/this-does-not-exist
|
5624
|
+
Completed 302 Found in 0ms
|
5625
|
+
Started GET "/this-does-not-exist" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5626
|
+
Processing by ApplicationController#render_404 as HTML
|
5627
|
+
Parameters: {"path"=>"this-does-not-exist"}
|
5628
|
+
Rendering public/404.html within layouts/application
|
5629
|
+
Rendered public/404.html within layouts/application (0.3ms)
|
5630
|
+
Completed 404 Not Found in 13ms (Views: 12.6ms)
|
5631
|
+
Started GET "/posts?lockup_codeword=omgponies" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5632
|
+
Processing by PostsController#index as HTML
|
5633
|
+
Parameters: {"lockup_codeword"=>"omgponies"}
|
5634
|
+
Redirected to http://www.example.com/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts
|
5635
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5636
|
+
Completed 302 Found in 0ms
|
5637
|
+
Started GET "/lockup/unlock?lockup_codeword=omgponies&return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5638
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5639
|
+
Parameters: {"lockup_codeword"=>"omgponies", "return_to"=>"/posts"}
|
5640
|
+
Redirected to http://www.example.com/posts
|
5641
|
+
Completed 302 Found in 0ms
|
5642
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5643
|
+
Processing by PostsController#index as HTML
|
5644
|
+
Rendering posts/index.html.erb within layouts/application
|
5645
|
+
Rendered posts/index.html.erb within layouts/application (0.4ms)
|
5646
|
+
Completed 200 OK in 8ms (Views: 6.8ms)
|
5647
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5648
|
+
Processing by PostsController#index as HTML
|
5649
|
+
Redirected to http://www.example.com/lockup/unlock?return_to=%2Fposts
|
5650
|
+
Filter chain halted as :check_for_lockup rendered or redirected
|
5651
|
+
Completed 302 Found in 0ms
|
5652
|
+
Started GET "/lockup/unlock?return_to=%2Fposts" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5653
|
+
Processing by Lockup::LockupController#unlock as HTML
|
5654
|
+
Parameters: {"return_to"=>"/posts"}
|
5655
|
+
Rendering /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application
|
5656
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/lockup/lockup/unlock.html.erb within layouts/lockup/application (1.6ms)
|
5657
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_css.html.erb (0.4ms)
|
5658
|
+
Rendered /Users/gblakeman/Dropbox/-Projects/Lockup/Build/Gem/lockup_gem/app/views/layouts/lockup/_inline_js.html.erb (0.2ms)
|
5659
|
+
Completed 200 OK in 18ms (Views: 14.8ms)
|
5660
|
+
Started GET "/posts" for 127.0.0.1 at 2019-04-29 11:07:29 -0700
|
5661
|
+
Processing by PostsController#index as HTML
|
5662
|
+
Rendering posts/index.html.erb within layouts/application
|
5663
|
+
Rendered posts/index.html.erb within layouts/application (0.5ms)
|
5664
|
+
Completed 200 OK in 9ms (Views: 7.1ms)
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1S/1S-qcbypJoWh67XAomrFuZGWGFhl6HNhHAOp3gVaaiw.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"}app/assets/stylesheets/application.css?type=text/css&id=af00dcf75f987a93e8578abb021c0db7aa4ffda7233bff3adf131abdcae0ca32:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3T/3TDG6xxFriIdNUVsjkfIPHi9mn6xyJiufz5luT9uV5o.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6-/6-m--XYRC6sgzU20Fjl3eNNi-KRD--wHvyp9NLC1Osc.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&id=d7388a67041eaaeaa1a9f1a6ff90bf48556eb616808012aa506e9f8c68757526:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FG/FG-BqpRggGMOXoepAAKDnKJf3YSxLoqyKYByHOyPhVE.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GC/GCrmbUWerBeVYCAFt30IhkIhhe1F5oG6X5SzWdyj4dE.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PM/PMPBz9_dKw9ipSgrNK8UFc61b5_CmXZe35m_NDnG878.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=efe8087318862c2254884d27cc8116796809f1fafdfab3ff7f69e0af20256dbd:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PQ/PQou7FpFPKLaf9zYBRfJsDy7BpglbbzivmOAodVr8uk.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
CHANGED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
CHANGED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
CHANGED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tE/tEEvLa1vvdK2lR98REdVz1IjLYaeMlV_AgQdGIW4LIo.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=0dd654a6c51ac2148f970dceb9cbef93c70141ba2a5488eb400963b79aedfac9:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
CHANGED
Binary file
|
@@ -24,7 +24,7 @@ describe "Accessing a page in the application" do
|
|
24
24
|
end
|
25
25
|
|
26
26
|
context "with a configured code word" do
|
27
|
-
before { ENV['LOCKUP_CODEWORD'] = '
|
27
|
+
before { ENV['LOCKUP_CODEWORD'] = 'OMGponies' }
|
28
28
|
|
29
29
|
it "redirects to the password entry screen" do
|
30
30
|
visit '/posts'
|
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
|
+
version: '1.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gb Studio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -148,17 +148,24 @@ files:
|
|
148
148
|
- spec/dummy/public/500.html
|
149
149
|
- spec/dummy/public/favicon.ico
|
150
150
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-_/-_hoC7iCURPIMaZQtgjDhi4hCpLKG585HTC7Ul0JTyM.cache
|
151
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1S/1S-qcbypJoWh67XAomrFuZGWGFhl6HNhHAOp3gVaaiw.cache
|
151
152
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1T/1T-a1hn7TPU4VqYN1_WMFcWXOJr7VHGalLxVInuxckM.cache
|
152
153
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/2W/2WafOXAlZWOOKjT_pCsPP6H0bip-q92L9Q8XzWyMqbc.cache
|
153
154
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/2s/2s3YUjKGbnsy4nqjtt3_bLi2-n7vURwbi1N4I3efe3M.cache
|
155
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/3T/3TDG6xxFriIdNUVsjkfIPHi9mn6xyJiufz5luT9uV5o.cache
|
154
156
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/54/54JuizNobIWGWy1THHxcQSq9oLjimE6qRyKaKuNrnuA.cache
|
157
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/6-/6-m--XYRC6sgzU20Fjl3eNNi-KRD--wHvyp9NLC1Osc.cache
|
155
158
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/95/95P6bvsQVesazfXbch-k2X1l8jd1M5dhQwf3gkEMkW0.cache
|
156
159
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/B3/B33FTX989v8LP64xdx3RQwjUBAenWdgN6qT8sRqdw0U.cache
|
157
160
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Be/BeQzK8km75VcVbxttC5dc_XGArX1AAuZhDSKhwEI7Rk.cache
|
161
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/FG/FG-BqpRggGMOXoepAAKDnKJf3YSxLoqyKYByHOyPhVE.cache
|
158
162
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/GA/GASYa5vOdbDTxwlNjrbfSeP0VqSsLpI1WPJOL-DlpX8.cache
|
163
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/GC/GCrmbUWerBeVYCAFt30IhkIhhe1F5oG6X5SzWdyj4dE.cache
|
159
164
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/JT/JT67EmzctkGMcnuWGu3PGVl4VdsixOmCeTj1iN8XqFU.cache
|
160
165
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Ng/NgxbVmfEhJPMVKKQOWa0nwrHB7PcQjSyU8CLLguWYlo.cache
|
161
166
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/PE/PE4qT2vBxYzDt9ccdMf4qpdTP7dOm-R5cLIBQibKwRQ.cache
|
167
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/PM/PMPBz9_dKw9ipSgrNK8UFc61b5_CmXZe35m_NDnG878.cache
|
168
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/PQ/PQou7FpFPKLaf9zYBRfJsDy7BpglbbzivmOAodVr8uk.cache
|
162
169
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/WC/WCPElyBEHMaQVSX5y9b3OeK62YirmwoDyI47yFYx5GQ.cache
|
163
170
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/YE/YEsgbIYcOj5b--9MgCOjHz3rqCE_I1AodoqgsXAc0Rk.cache
|
164
171
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/a3/a3LI7V_UQhBf2PA5TNan-OFVEmOPGub-dALwHdcnl4g.cache
|
@@ -172,6 +179,7 @@ files:
|
|
172
179
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_9WAKcyhWaKsXtDJBWkFXYEpjeVSDI-aYQcoIby45I.cache
|
173
180
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_N92h27J6XZ47drVHd36L-LHb1TeVSJOP8GCoR6rfc.cache
|
174
181
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
|
182
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/tE/tEEvLa1vvdK2lR98REdVz1IjLYaeMlV_AgQdGIW4LIo.cache
|
175
183
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
|
176
184
|
- spec/features/access_restricted_spec.rb
|
177
185
|
- spec/spec_helper.rb
|
@@ -238,7 +246,10 @@ test_files:
|
|
238
246
|
- spec/dummy/public/404.html
|
239
247
|
- spec/dummy/log/test.log
|
240
248
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/95/95P6bvsQVesazfXbch-k2X1l8jd1M5dhQwf3gkEMkW0.cache
|
249
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/PM/PMPBz9_dKw9ipSgrNK8UFc61b5_CmXZe35m_NDnG878.cache
|
241
250
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/YE/YEsgbIYcOj5b--9MgCOjHz3rqCE_I1AodoqgsXAc0Rk.cache
|
251
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/6-/6-m--XYRC6sgzU20Fjl3eNNi-KRD--wHvyp9NLC1Osc.cache
|
252
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/PQ/PQou7FpFPKLaf9zYBRfJsDy7BpglbbzivmOAodVr8uk.cache
|
242
253
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/PE/PE4qT2vBxYzDt9ccdMf4qpdTP7dOm-R5cLIBQibKwRQ.cache
|
243
254
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/GA/GASYa5vOdbDTxwlNjrbfSeP0VqSsLpI1WPJOL-DlpX8.cache
|
244
255
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/a3/a3LI7V_UQhBf2PA5TNan-OFVEmOPGub-dALwHdcnl4g.cache
|
@@ -252,14 +263,19 @@ test_files:
|
|
252
263
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
|
253
264
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/JT/JT67EmzctkGMcnuWGu3PGVl4VdsixOmCeTj1iN8XqFU.cache
|
254
265
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
|
266
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1S/1S-qcbypJoWh67XAomrFuZGWGFhl6HNhHAOp3gVaaiw.cache
|
255
267
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1T/1T-a1hn7TPU4VqYN1_WMFcWXOJr7VHGalLxVInuxckM.cache
|
268
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/tE/tEEvLa1vvdK2lR98REdVz1IjLYaeMlV_AgQdGIW4LIo.cache
|
256
269
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
|
257
270
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/WC/WCPElyBEHMaQVSX5y9b3OeK62YirmwoDyI47yFYx5GQ.cache
|
258
271
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
|
259
272
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/2s/2s3YUjKGbnsy4nqjtt3_bLi2-n7vURwbi1N4I3efe3M.cache
|
273
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/3T/3TDG6xxFriIdNUVsjkfIPHi9mn6xyJiufz5luT9uV5o.cache
|
260
274
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/54/54JuizNobIWGWy1THHxcQSq9oLjimE6qRyKaKuNrnuA.cache
|
261
275
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/dJ/dJWRgn1--GxOqSrtxei98rXsb6G2dLteWRCtrwvf9lY.cache
|
276
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/GC/GCrmbUWerBeVYCAFt30IhkIhhe1F5oG6X5SzWdyj4dE.cache
|
262
277
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/jB/jBSZ526UktWa5tR11UzXAqsEYE1Uf1yI6odiAdWnvmA.cache
|
278
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/FG/FG-BqpRggGMOXoepAAKDnKJf3YSxLoqyKYByHOyPhVE.cache
|
263
279
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_9WAKcyhWaKsXtDJBWkFXYEpjeVSDI-aYQcoIby45I.cache
|
264
280
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_N92h27J6XZ47drVHd36L-LHb1TeVSJOP8GCoR6rfc.cache
|
265
281
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/2W/2WafOXAlZWOOKjT_pCsPP6H0bip-q92L9Q8XzWyMqbc.cache
|