integration_pal 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59b002ba2404727ddc2b30b019fe051b6edca4fe
|
4
|
+
data.tar.gz: 83325ebb2c2946d9d94ef6a12adba50cbfe4852b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02c6fd6359d1c50b8011f8b92925a4f53ec7c152b62be5bf364650c5e26c5a84193ed7ffbcaae701db85663982054ddd0241d26099878ce1c77fb66e607638b1
|
7
|
+
data.tar.gz: 3b38a505c968460c2c8d6239ee65ee9a59c78c8f2134dd82732b24d3bde8aef3967032e9e5e98583e800c2481b1663ee6f8eb9168a35b1985baee7ce895b5171
|
@@ -6,7 +6,12 @@ module IntegrationPal
|
|
6
6
|
def authenticate!
|
7
7
|
# pretend to be logged in; you can still go directly to /login if you want to test the SAML flow
|
8
8
|
session[:saml_username] ||= ENV['USER'] if Rails.env.in?(%w(development test))
|
9
|
-
redirect_to saml2_login_url unless
|
9
|
+
redirect_to saml2_login_url unless logged_in?
|
10
10
|
end
|
11
|
+
|
12
|
+
def logged_in?
|
13
|
+
session[:saml_username].present?
|
14
|
+
end
|
15
|
+
helper_method :logged_in?
|
11
16
|
end
|
12
17
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: integration_pal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Tanner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -243,6 +243,7 @@ files:
|
|
243
243
|
- app/views/integration_pal/jobs/index.html.erb
|
244
244
|
- app/views/integration_pal/jobs/new.html.erb
|
245
245
|
- app/views/integration_pal/jobs/show.html.erb
|
246
|
+
- app/views/integration_pal/saml/logout.html.erb
|
246
247
|
- app/views/integration_pal/tasks/index.html.erb
|
247
248
|
- app/views/integration_pal/tasks/show.html.erb
|
248
249
|
- app/views/integration_pal/workers/_form.html.erb
|
@@ -350,7 +351,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
350
351
|
version: '0'
|
351
352
|
requirements: []
|
352
353
|
rubyforge_project:
|
353
|
-
rubygems_version: 2.
|
354
|
+
rubygems_version: 2.6.12
|
354
355
|
signing_key:
|
355
356
|
specification_version: 4
|
356
357
|
summary: Mountable engine for SIS integrations
|