coalescing_panda 1.1.10 → 1.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGRmMDk4Y2QwYTg3MzYxOTZhMDE4ZDkzMzQ1OTJlOTdiZjNiM2RjZQ==
4
+ Nzc0YzUxOGY5MGVkMTA4ZmI4MGU5ZDc0Y2UxNmI3ZDMwNGRiMzBiMg==
5
5
  data.tar.gz: !binary |-
6
- NGY3MGQ5ZDY1Y2Q1MzM5ZjY3MWE2NGM3ZTYyOWI2Y2NiMWQzZTk0MQ==
6
+ MjkxN2UyZWFlY2RlY2QzMDNmNjA5ZDUwYzkzODA5ZGY0NWQ1ZThhZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDQ0MDJlNGJmZGY0YTQ1ZmVjY2UyYzlhNGFiYzdkNWM5OTBiYjkxYTJiMzI1
10
- NTJkZTJlZjY0M2Y1NjMwOTkzNDEyZjZmZjY5NTY1ZDM5ZjY1ZGYwZmM2NGE1
11
- YzlkMTRmM2Q2NzA3MmVmNDU5N2Y3NDJhOTU5NTUzZmJhODY1NWU=
9
+ M2U2ZGI5YjJhNzgwZTNjNmU1ODUxNzY2ZDk2ODhlNDk0MGJlYjFlYzdmZTQ3
10
+ YjczZGI2MTE4MGZjNDZjNmNhNGU2ZTJhNmRmOWVlNjFhOTZiNmQ1ZDYyOTFl
11
+ NmU4YTkxZDBlZjNiZmIyMWFhZjk3ZTUyOTRmNTVhMTg0YzRlZGU=
12
12
  data.tar.gz: !binary |-
13
- YWM5Mzc5NDRjMjcxZDhjYzFhZmJhMGM5NmFlODQ3ZGM1YzlmMDZjZjBiYjNl
14
- MmYzYmMyYjg1NDI3ZjZlNjZmMzE1ZTJlZTQ5ZjkyNWU5NTY0NDgxZjJmMTk2
15
- M2QwNDExY2U1NDViMzlmM2U0ODUyYTE1MWQ4ODc4ODYzNTdlMTM=
13
+ MjAzMjRlYjIwNDllMTVlNGU2YzM2MjZkNmJlM2E5NjNlYWM2YzQxNWFhYTNj
14
+ MDE4MTIyZDIwNDhhNzBhZTZhMWQwZDFhZTA0MjA0MDZmZDliZWYzZDU1ZTA4
15
+ OGUyMGQxNTRlNmZlOTg0ZTI2NGRhODEzOTI4MmNhOWVmYjljM2I=
@@ -61,11 +61,11 @@ module CoalescingPanda
61
61
  @tp = IMS::LTI::ToolProvider.new(@lti_account.key, @lti_account.secret, params)
62
62
  authorized = @tp.valid_request?(request)
63
63
  end
64
- logger.error 'not authorized on tp valid request' unless authorized
64
+ logger.info 'not authorized on tp valid request' if !authorized
65
65
  authorized = authorized && (roles.count == 0 || (roles & lti_roles).count > 0)
66
- logger.error 'not authorized on roles' unless authorized
66
+ logger.info 'not authorized on roles' if !authorized
67
67
  authorized = authorized && @lti_account.validate_nonce(params['oauth_nonce'], DateTime.strptime(params['oauth_timestamp'], '%s'))
68
- logger.error 'not authorized on nonce' unless authorized
68
+ logger.info 'not authorized on nonce' if !authorized
69
69
  if !authorized
70
70
  render :text => 'Invalid Credentials, please contact your Administrator.', :status => :unauthorized
71
71
  end
@@ -1,3 +1,3 @@
1
1
  module CoalescingPanda
2
- VERSION = '1.1.10'
2
+ VERSION = '1.1.11'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coalescing_panda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Mills