panda_pal 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/apartment.rb +6 -1
- data/lib/panda_pal.rb +3 -2
- data/lib/panda_pal/empty_engine.rb +5 -0
- data/lib/panda_pal/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc63b71fd71ca6563dd61d115da4d247b6aab7db
|
4
|
+
data.tar.gz: 51c531a1b825b1c54dba337f92db068aae5e3dbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65f467b94bee045c2d771e5a5ac07d3ced63c43ce203b26df9e7a25bcb5260b0d0fc5823dcf65ea466d5990a5af92f00ab94f93c9577df5b60e36e3f8bb3e70e
|
7
|
+
data.tar.gz: b897fbac6c53bd258e71954cc3564487b3caa17007e818d49246ba56ef5b9d02c34907039c5eb405b2715042825ff39e7d6d7f35d324279360530ce169362069
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require 'apartment/elevators/generic'
|
2
|
-
|
2
|
+
# Just stencil in the routes if pandapal isn't initialized.
|
3
|
+
if ENV['NO_PANDAPAL_INIT']
|
4
|
+
def lti_nav(junk)
|
5
|
+
end
|
6
|
+
return
|
7
|
+
end
|
3
8
|
Apartment.configure do |config|
|
4
9
|
config.excluded_models = ['PandaPal::Organization', 'PandaPal::Session']
|
5
10
|
|
data/lib/panda_pal.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require "panda_pal/engine" unless ENV['NO_PANDAPAL_INIT']
|
2
|
-
require
|
3
|
-
require 'panda_pal/
|
2
|
+
require "panda_pal/empty_engine" if ENV['NO_PANDAPAL_INIT']
|
3
|
+
require 'panda_pal/plugins' unless ENV['NO_PANDAPAL_INIT']
|
4
|
+
require 'panda_pal/helpers' unless ENV['NO_PANDAPAL_INIT']
|
4
5
|
|
5
6
|
module PandaPal
|
6
7
|
class LtiNavigationInUse < StandardError;end
|
data/lib/panda_pal/version.rb
CHANGED
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: 3.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Instructure ProServe
|
@@ -156,6 +156,7 @@ files:
|
|
156
156
|
- db/migrate/20171205183457_encrypt_organization_settings.rb
|
157
157
|
- db/migrate/20171205194657_remove_old_organization_settings.rb
|
158
158
|
- lib/panda_pal.rb
|
159
|
+
- lib/panda_pal/empty_engine.rb
|
159
160
|
- lib/panda_pal/engine.rb
|
160
161
|
- lib/panda_pal/helpers.rb
|
161
162
|
- lib/panda_pal/helpers/controller_helper.rb
|