panda_pal 2.0.0 → 2.0.1

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: 3ab758dc4994760c0c91ba55bce063fc48ea21f1
4
- data.tar.gz: f78acd01750b1da73ab02f6afda4bf519d86833b
3
+ metadata.gz: ee6016299d069242332167b82a3eb2fd2425cf5e
4
+ data.tar.gz: eaff332533e96acfe82ec40ba2980776d11c9165
5
5
  SHA512:
6
- metadata.gz: 20edbe332ee651b90b28b4fc3e31a9f419d8ab8fe4d524bd06c740cd317891904a78325e3b08da626ec14c067c7f9b15566457b87c145d427eed47a55106941b
7
- data.tar.gz: 29ff89b6b555eeec77c8ec749d56e587b34dd2417a399a9188660f3c8aea10a9174bde3471d6808254611947e5640d18938c99e21c02ff04935a1e7efd0929a0
6
+ metadata.gz: '058797c10fc0ea92c292155727184b51d77a291bd02cfaab9ffca948d6cac67a9136d59193dc22803d50d85407d9baa989ecd11991dfe94b01cdb1412d053581'
7
+ data.tar.gz: 40c33b478e090f10563eaaf1635e509b5121750ec5cbf8022f530cfa0b6c0172f9b8853f19985fa2c3767006251836cd20d84684031ddc4eebc13d9d4ad8b744
@@ -10,7 +10,7 @@ module PandaPal
10
10
  lti_custom_params = PandaPal.lti_custom_params
11
11
 
12
12
  if lti_environments.empty?
13
- render text: 'Domains must be set in lti_environments'
13
+ render plain: 'Domains must be set in lti_environments'
14
14
  return
15
15
  end
16
16
 
@@ -28,7 +28,7 @@ module PandaPal::Helpers::ControllerHelper
28
28
  authenticator = IMS::LTI::Services::MessageAuthenticator.new(request.original_url, request.request_parameters, @organization.secret)
29
29
  authorized = authenticator.valid_signature?
30
30
  end
31
- render :text => 'Invalid Credentials, please contact your Administrator.', :status => :unauthorized unless authorized
31
+ render plain: 'Invalid Credentials, please contact your Administrator.', :status => :unauthorized unless authorized
32
32
  authorized
33
33
  end
34
34
 
@@ -42,7 +42,7 @@ module PandaPal::Helpers::ControllerHelper
42
42
  end
43
43
 
44
44
  def forbid_access_if_lacking_session
45
- render text: 'You should do an LTI Tool Launch.', status: :unauthorized unless valid_session?
45
+ render plain: 'You should do an LTI Tool Launch.', status: :unauthorized unless valid_session?
46
46
  end
47
47
 
48
48
  def valid_session?
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Young
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-12 00:00:00.000000000 Z
12
+ date: 2017-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails