panda_pal 5.0.0.beta.2 → 5.0.0.beta.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
  SHA256:
3
- metadata.gz: 71c014369a46408099c365ffcaf1c28364b741ad04debd70a8578781e282910f
4
- data.tar.gz: 51799f778547d13a38c21eca3c1469bde737b769bad706655782aba2e86a4344
3
+ metadata.gz: f40ed131f1e4a21e4b2f804bddb0df1500b7594fb7ddf07e5f8fca3bbe02a7c6
4
+ data.tar.gz: e27d2f357d57b7dc72952acf7a3d345b39614a5a617a0888737046abbf3f2bae
5
5
  SHA512:
6
- metadata.gz: b60d3aa8b0a9448977fd510a998f9c486d64b09d78f9f82d18aca8c2b415a76075735e14a2e7d619677757200082191051b1cca30df7102dacc307e112aacd6b
7
- data.tar.gz: 3f42d6f23b1d0e77a53cce6ce4d1dabf60bf0fbb35fc5557ed46cd797c954728d226f42674301a4a0f97913511f17d6b11c54c1a5c44510459ab8c6f42e1b07c
6
+ metadata.gz: f6b6dbbcf85c11363e459916df1f0569f9c905ac473d852681bb83e76ec00baa350c531150dc59760c5d0fdd498bcf2c50862f3dbfb5e3d5f0039624aa74d088
7
+ data.tar.gz: de4c5fd317349625e49e826e622f91b245464f99b1301fe42fbb5ff0a2b8809e4e59f7babe13f0b73cc487db92440d9451d722b784f94d590b58b83ec19d8d7c
@@ -130,7 +130,7 @@ module PandaPal::Helpers::ControllerHelper
130
130
 
131
131
  def session_key
132
132
  if params[:encrypted_session_key]
133
- crypt = ActiveSupport::MessageEncryptor.new(Rails.application.secrets.secret_key_base[0..31])
133
+ crypt = ActiveSupport::MessageEncryptor.new(Rails.application.secret_key_base[0..31])
134
134
  return crypt.decrypt_and_verify(params[:encrypted_session_key])
135
135
  end
136
136
  params[:session_key] || session_key_header || flash[:session_key] || session[:session_key]
@@ -167,7 +167,7 @@ module PandaPal::Helpers::ControllerHelper
167
167
  end
168
168
 
169
169
  def redirect_production_mode(location, params)
170
- crypt = ActiveSupport::MessageEncryptor.new(Rails.application.secrets.secret_key_base[0..31])
170
+ crypt = ActiveSupport::MessageEncryptor.new(Rails.application.secret_key_base[0..31])
171
171
  encrypted_data = crypt.encrypt_and_sign(current_session.session_key)
172
172
  redirect_to send(location, {
173
173
  encrypted_session_key: encrypted_data,
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.0.0.beta.2"
2
+ VERSION = "5.0.0.beta.3"
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: 5.0.0.beta.2
4
+ version: 5.0.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure ProServe