incline 0.3.9 → 0.3.10
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 +5 -4
- 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: 1d5d1abaffb8b442512be985a626e01eb13b2308
|
|
4
|
+
data.tar.gz: 2095919c34d08a1382643789e09914b7646148d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 243589dbeb90f561f3ab66c33cc95d797cc633aab588cc893a35fcca251c0f9eee35f28a6be411a61eb6245c9b9244746a67ffbedb13418625319d6437bffc80
|
|
7
|
+
data.tar.gz: b73158d1d7cca19585d9620e4f6abf66bb3e1fc72dbb9c87d2d301c194b1bb6a5f67b50bd12bdad2b488b9ffec115a6051d9c590b478ff20511984ec2be24095
|
data/Gemfile.lock
CHANGED
|
@@ -284,9 +284,9 @@ module Incline::Extensions
|
|
|
284
284
|
|
|
285
285
|
# an authenticated user must exist.
|
|
286
286
|
unless logged_in?
|
|
287
|
-
|
|
287
|
+
|
|
288
288
|
store_location
|
|
289
|
-
|
|
289
|
+
|
|
290
290
|
if (auth_url = ::Incline::UserManager.begin_external_authentication(request))
|
|
291
291
|
::Incline::Log.debug 'Redirecting for external authentication.'
|
|
292
292
|
redirect_to auth_url
|
|
@@ -493,11 +493,12 @@ module Incline::Extensions
|
|
|
493
493
|
|
|
494
494
|
# if the id is in AAAAA_NNN format, then we can extract the ID from it.
|
|
495
495
|
if id.include?('_')
|
|
496
|
-
|
|
496
|
+
id,_, item_id = id.rpartition('_')
|
|
497
|
+
params[:id] = item_id.to_i
|
|
497
498
|
end
|
|
498
499
|
|
|
499
500
|
# merge the item data into the params array.
|
|
500
|
-
params.merge! item
|
|
501
|
+
params.merge!(id => item)
|
|
501
502
|
end
|
|
502
503
|
|
|
503
504
|
# since we are processing for an API request, we should return JSON.
|
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.3.
|
|
4
|
+
version: 0.3.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Beau Barker
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-03-
|
|
11
|
+
date: 2018-03-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -610,7 +610,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
610
610
|
version: '0'
|
|
611
611
|
requirements: []
|
|
612
612
|
rubyforge_project:
|
|
613
|
-
rubygems_version: 2.6.
|
|
613
|
+
rubygems_version: 2.6.13
|
|
614
614
|
signing_key:
|
|
615
615
|
specification_version: 4
|
|
616
616
|
summary: A gem designed to get off to an even quicker start with Rails.
|