incline 0.2.8 → 0.2.9
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/incline/extensions/action_controller_base.rb +3 -3
- data/lib/incline/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dbae7c62994b97391e8dd5fdce61b99e8c807c1e
|
|
4
|
+
data.tar.gz: a818d364f285e349983058efc25f743285f14cd9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c77a4ca28433d4948d2dda39b3e808a29311b24399c6394abe01c20690688f4c7b4bb531369174c321ee8e2937ba53d65ec36af79c641ed41d4e0ccdfa584ffe
|
|
7
|
+
data.tar.gz: 5f09342e29be9f1486a999a0b9246162c6b866d56296c6393aeda433ea41fde9faf775b6ea90d5137d4bcd0d12fde373315ec793ea68c893a848e71f27de01b8
|
data/Gemfile.lock
CHANGED
|
@@ -285,13 +285,13 @@ module Incline::Extensions
|
|
|
285
285
|
# an authenticated user must exist.
|
|
286
286
|
unless logged_in?
|
|
287
287
|
|
|
288
|
+
store_location
|
|
289
|
+
|
|
288
290
|
if (auth_url = ::Incline::UserManager.begin_external_authentication(request))
|
|
289
291
|
::Incline::Log.debug 'Redirecting for external authentication.'
|
|
290
292
|
redirect_to auth_url
|
|
291
293
|
return false
|
|
292
294
|
end
|
|
293
|
-
|
|
294
|
-
store_location
|
|
295
295
|
|
|
296
296
|
raise_not_logged_in "You need to login to access '#{request.fullpath}'.",
|
|
297
297
|
'nobody is logged in'
|
|
@@ -429,7 +429,7 @@ module Incline::Extensions
|
|
|
429
429
|
elsif require_anon_for_request?
|
|
430
430
|
if logged_in?
|
|
431
431
|
flash[:warning] = 'The specified action cannot be performed while logged in.'
|
|
432
|
-
redirect_to current_user
|
|
432
|
+
redirect_to incline.user_path(current_user)
|
|
433
433
|
end
|
|
434
434
|
elsif allow_anon_for_request?
|
|
435
435
|
true
|
data/lib/incline/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: incline
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Beau Barker
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-08-
|
|
11
|
+
date: 2017-08-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -604,7 +604,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
604
604
|
version: '0'
|
|
605
605
|
requirements: []
|
|
606
606
|
rubyforge_project:
|
|
607
|
-
rubygems_version: 2.
|
|
607
|
+
rubygems_version: 2.5.2
|
|
608
608
|
signing_key:
|
|
609
609
|
specification_version: 4
|
|
610
610
|
summary: A gem designed to get off to an even quicker start with Rails.
|